From b1248cd2537f641dd49ede420e3d84ffc5c59f6d Mon Sep 17 00:00:00 2001 From: ChessScholar Date: Mon, 11 Dec 2023 09:20:46 -0500 Subject: [PATCH 01/13] Signed-off-by: ChessScholar --- .eslintignore | 13 - .eslintrc.cjs | 15 - .gitattributes | 35 + .gitignore | 12 - .gitmodules | 11 - .npmrc | 2 - .prettierignore | 13 - .prettierrc | 9 - README.md | 55 +- assets/global-4d6647d9.css | 1 + assets/global-dc583974.js | 131 + assets/global-dc583974.js.map | 1 + assets/index-44ea4a9b.css | 1 + assets/index-693ac17f.css | 1 + assets/main-2562103c.js | 7 + assets/main-2562103c.js.map | 1 + assets/mobile-b32e0a74.js | 197 + assets/mobile-b32e0a74.js.map | 1 + {public/extra => extra}/danbooru.csv | 0 gradio | 1 - {public/image => image}/graph-bg.png | Bin index.html | 6 +- jsconfig.json | 16 - klecks | 1 - litegraph | 1 - mobile/index.html | 6 +- notebooks/ComfyBox_Colab.ipynb | 5589 ---------- package.json | 109 - pnpm-lock.yaml | 9452 ----------------- pnpm-workspace.yaml | 4 - bin/run.bat => run.bat | 0 bin/run.sh => run.sh | 0 bin/serve.py => serve.py | 0 {public/sound => sound}/notification.mp3 | Bin src/App.svelte | 15 - src/AppMobile.svelte | 237 - src/app.d.ts | 12 - src/global.d.ts | 8 - src/index.test.js | 7 - src/lib/ComfyBoxStdPrompt.ts | 263 - src/lib/ComfyBoxStdPromptSerializer.ts | 55 - src/lib/ComfyBoxTemplate.ts | 466 - src/lib/ComfyGraph.ts | 290 - src/lib/ComfyGraphCanvas.ts | 752 -- src/lib/ComfyNodeDef.ts | 73 - src/lib/DanbooruTags.ts | 195 - src/lib/IComfyInputSlot.ts | 20 - src/lib/ImageViewer.ts | 191 - src/lib/api.ts | 425 - src/lib/apiErrors.ts | 270 - src/lib/components/AccordionContainer.svelte | 242 - src/lib/components/BlockContainer.svelte | 329 - src/lib/components/ComfyApp.svelte | 83 - src/lib/components/ComfyApp.ts | 1382 --- .../components/ComfyBoxWorkflowView.svelte | 207 - .../components/ComfyBoxWorkflowsView.svelte | 640 -- src/lib/components/ComfyComboProperty.svelte | 61 - src/lib/components/ComfyGraphErrorList.svelte | 361 - src/lib/components/ComfyGraphView.svelte | 101 - src/lib/components/ComfyNumberProperty.svelte | 56 - src/lib/components/ComfyPaneView.svelte | 109 - src/lib/components/ComfyPromptSerializer.ts | 317 - src/lib/components/ComfyProperties.svelte | 632 -- src/lib/components/ComfyQueue.svelte | 402 - .../components/ComfyQueueGridDisplay.svelte | 142 - .../components/ComfyQueueListDisplay.svelte | 265 - src/lib/components/ComfySettingsView.svelte | 260 - src/lib/components/ComfyTemplates.svelte | 373 - src/lib/components/ComfyUnlockUIButton.svelte | 46 - src/lib/components/Container.svelte | 43 - src/lib/components/DropZone.svelte | 76 - src/lib/components/GlobalModal.svelte | 71 - src/lib/components/ImageComparison.svelte | 32 - src/lib/components/ImageUpload.svelte | 224 - src/lib/components/JsonView.svelte | 141 - src/lib/components/LightboxModal.svelte | 118 - src/lib/components/MaskCanvas.svelte | 669 -- src/lib/components/Modal.svelte | 99 - src/lib/components/NumberInput.svelte | 120 - src/lib/components/OnClickToastItem.svelte | 24 - src/lib/components/ProgressBar.svelte | 48 - src/lib/components/PromptDisplay.svelte | 307 - src/lib/components/Sidebar.svelte | 154 - src/lib/components/SidebarItem.svelte | 48 - src/lib/components/Spinner.svelte | 24 - src/lib/components/SystemStatsBar.svelte | 65 - src/lib/components/TabsContainer.svelte | 239 - src/lib/components/WidgetContainer.svelte | 157 - src/lib/components/f7/progressbar.svelte | 58 - .../components/gradio/app/Accordion.svelte | 44 - src/lib/components/gradio/app/Column.svelte | 58 - src/lib/components/gradio/app/Row.svelte | 60 - .../components/gradio/app/UploadText.svelte | 38 - src/lib/components/gradio/form/Range.svelte | 130 - src/lib/components/gradio/form/index.ts | 1 - .../components/gradio/gallery/Gallery.svelte | 416 - src/lib/components/gradio/gallery/index.ts | 1 - .../gradio/image/StaticImage.svelte | 80 - src/lib/components/gradio/image/index.ts | 1 - src/lib/components/gradio/image/utils.ts | 26 - src/lib/components/menu/ContextMenu.svelte | 47 - src/lib/components/menu/Icon.svelte | 3 - src/lib/components/menu/Menu.svelte | 83 - src/lib/components/menu/MenuDivider.svelte | 9 - src/lib/components/menu/MenuOption.svelte | 50 - src/lib/components/menu/menu.ts | 3 - .../components/modal/A1111PromptModal.svelte | 101 - ...irmConvertWithMissingNodeTypesModal.svelte | 26 - .../components/modal/EditTemplateModal.svelte | 220 - .../modal/MissingNodeTypesModal.svelte | 26 - .../modal/ReceiveOutputTargets.svelte | 79 - .../components/modal/SendOutputModal.svelte | 79 - .../modal/SerializedLayoutPreviewNode.svelte | 48 - .../modal/WorkflowLoadErrorModal.svelte | 38 - src/lib/components/utils.ts | 72 - src/lib/convertA1111ToStdPrompt.ts | 377 - src/lib/convertVanillaWorkflow.ts | 541 - src/lib/defaultGraph.ts | 31 - src/lib/init.ts | 44 - src/lib/nodeImports.ts | 9 - src/lib/nodes/ComfyBackendNode.ts | 132 - .../nodes/ComfyConfigureQueuePromptButton.ts | 45 - src/lib/nodes/ComfyGraphNode.ts | 361 - src/lib/nodes/ComfyNoChangeEvent.ts | 34 - src/lib/nodes/ComfyPickFirstNode.ts | 178 - src/lib/nodes/ComfyPickImageNode.ts | 139 - src/lib/nodes/ComfyRegionToCoordsNode.ts | 35 - src/lib/nodes/ComfyReroute.ts | 173 - src/lib/nodes/ComfySelector.ts | 170 - src/lib/nodes/ComfySwitch.ts | 147 - src/lib/nodes/ComfyTriggerNewEventNode.ts | 56 - src/lib/nodes/ComfyValueControl.ts | 149 - src/lib/nodes/actions/ComfyCopyAction.ts | 55 - .../actions/ComfyExecuteSubgraphAction.ts | 59 - src/lib/nodes/actions/ComfyNotifyAction.ts | 63 - src/lib/nodes/actions/ComfyPlaySoundAction.ts | 39 - src/lib/nodes/actions/ComfyQueueEvents.ts | 57 - .../nodes/actions/ComfyReceiveOutputNode.ts | 91 - .../nodes/actions/ComfySendOutputAction.ts | 56 - .../nodes/actions/ComfySetNodeModeAction.ts | 89 - .../actions/ComfySetNodeModeAdvancedAction.ts | 149 - .../actions/ComfySetPromptThumbnailsAction.ts | 34 - .../nodes/actions/ComfyStoreImagesAction.ts | 43 - src/lib/nodes/actions/ComfySwapAction.ts | 30 - src/lib/nodes/actions/index.ts | 12 - src/lib/nodes/index.ts | 10 - src/lib/nodes/widgets/ComfyButtonNode.ts | 48 - src/lib/nodes/widgets/ComfyCheckboxNode.ts | 43 - src/lib/nodes/widgets/ComfyComboNode.ts | 181 - src/lib/nodes/widgets/ComfyGalleryNode.ts | 166 - src/lib/nodes/widgets/ComfyImageUploadNode.ts | 82 - src/lib/nodes/widgets/ComfyMarkdownNode.ts | 58 - src/lib/nodes/widgets/ComfyMultiRegionNode.ts | 236 - src/lib/nodes/widgets/ComfyNumberNode.ts | 69 - src/lib/nodes/widgets/ComfyRadioNode.ts | 82 - src/lib/nodes/widgets/ComfyTextNode.ts | 50 - src/lib/nodes/widgets/ComfyWidgetNode.ts | 360 - src/lib/nodes/widgets/index.ts | 12 - src/lib/notify.ts | 139 - src/lib/parseA1111.ts | 166 - src/lib/pnginfo.ts | 417 - src/lib/stores/configDefs.ts | 281 - src/lib/stores/configState.ts | 143 - src/lib/stores/interfaceState.ts | 115 - src/lib/stores/layoutStates.ts | 1579 --- src/lib/stores/modalState.ts | 86 - src/lib/stores/queueState.ts | 586 - src/lib/stores/selectionState.ts | 57 - src/lib/stores/systemState.ts | 39 - src/lib/stores/templateState.ts | 157 - src/lib/stores/uiQueueState.ts | 208 - src/lib/stores/uiState.ts | 56 - src/lib/stores/workflowState.ts | 503 - src/lib/utils.ts | 836 -- src/lib/widgets.ts | 125 - src/lib/widgets/ButtonWidget.svelte | 61 - src/lib/widgets/CheckboxWidget.svelte | 69 - src/lib/widgets/ComboWidget.svelte | 348 - src/lib/widgets/ComfyUI.grammar | 36 - src/lib/widgets/ComfyUI.grammar.d.ts | 3 - src/lib/widgets/GalleryWidget.svelte | 242 - src/lib/widgets/ImageUploadWidget.svelte | 301 - src/lib/widgets/MarkdownWidget.svelte | 233 - src/lib/widgets/MultiRegionWidget.svelte | 616 -- src/lib/widgets/NumberWidget.svelte | 173 - src/lib/widgets/RadioWidget.svelte | 64 - src/lib/widgets/TextWidget.svelte | 65 - src/lib/widgets/TextWidgetCodeVariant.svelte | 244 - src/lib/widgets/TextWidgetCodeVariant.ts | 75 - .../markdown/NullMarkdownRenderer.svelte | 7 - src/lib/widgets/utils.ts | 74 - src/main-desktop.ts | 30 - src/main-mobile.ts | 26 - src/mobile/GenToolbar.svelte | 42 - src/mobile/Indicator.svelte | 45 - src/mobile/MainToolbar.svelte | 198 - src/mobile/routes/about.svelte | 9 - src/mobile/routes/gallery.svelte | 114 - src/mobile/routes/graph.svelte | 51 - src/mobile/routes/login.svelte | 9 - src/mobile/routes/queue.svelte | 155 - src/mobile/routes/workflow.svelte | 114 - src/mobile/routes/workflows.svelte | 75 - src/routes/+page.svelte | 377 - src/routes/+page.ts | 16 - src/scss/global.scss | 264 - src/scss/gradio.scss | 427 - src/scss/litegraph.scss | 108 - src/scss/ux.scss | 908 -- src/tests/ComfyGraphTests.ts | 131 - src/tests/ComfyPromptSerializerTests.ts | 251 - src/tests/UnitTest.ts | 4 - src/tests/convertA1111ToStdPromptTests.ts | 308 - src/tests/convertVanillaWorkflowTests.ts | 138 - src/tests/data/convertedSeedWidget.json | 134 - src/tests/data/convertedWidget.json | 68 - .../data/convertedWidgetAndPrimitiveNode.json | 135 - src/tests/data/objectInfo.json | 1 - src/tests/main.ts | 81 - src/tests/parseA1111Tests.ts | 158 - src/tests/stores/configStateTests.ts | 33 - src/tests/testSuite.ts | 6 - src/vite-env.d.ts | 1 - start_servers.bat | 27 + static/favicon.png | Bin 1571 -> 0 bytes static/screenshot.png | Bin 2757005 -> 0 bytes static/screenshot2.png | Bin 2747866 -> 0 bytes svelte.config.js | 23 - .../templates => templates}/ControlNet.svg | 0 {public/templates => templates}/LoRA x5.svg | 0 .../templates => templates}/Model Loader.svg | 0 .../Positive_Negative.svg | 0 .../Seed Randomizer.svg | 0 tsconfig.json | 21 - tsconfig.node.json | 9 - turbo.json | 13 - vite.config.ts | 96 - .../conditioningRegions.json | 0 .../defaultWorkflow.json | 0 .../img2imgMasked.json | 0 .../upscaleByModel.json | 0 241 files changed, 426 insertions(+), 46513 deletions(-) delete mode 100644 .eslintignore delete mode 100644 .eslintrc.cjs create mode 100644 .gitattributes delete mode 100644 .gitignore delete mode 100644 .gitmodules delete mode 100644 .npmrc delete mode 100644 .prettierignore delete mode 100644 .prettierrc create mode 100644 assets/global-4d6647d9.css create mode 100644 assets/global-dc583974.js create mode 100644 assets/global-dc583974.js.map create mode 100644 assets/index-44ea4a9b.css create mode 100644 assets/index-693ac17f.css create mode 100644 assets/main-2562103c.js create mode 100644 assets/main-2562103c.js.map create mode 100644 assets/mobile-b32e0a74.js create mode 100644 assets/mobile-b32e0a74.js.map rename {public/extra => extra}/danbooru.csv (100%) delete mode 160000 gradio rename {public/image => image}/graph-bg.png (100%) delete mode 100644 jsconfig.json delete mode 160000 klecks delete mode 160000 litegraph delete mode 100644 notebooks/ComfyBox_Colab.ipynb delete mode 100644 package.json delete mode 100644 pnpm-lock.yaml delete mode 100644 pnpm-workspace.yaml rename bin/run.bat => run.bat (100%) rename bin/run.sh => run.sh (100%) rename bin/serve.py => serve.py (100%) rename {public/sound => sound}/notification.mp3 (100%) delete mode 100644 src/App.svelte delete mode 100644 src/AppMobile.svelte delete mode 100644 src/app.d.ts delete mode 100644 src/global.d.ts delete mode 100644 src/index.test.js delete mode 100644 src/lib/ComfyBoxStdPrompt.ts delete mode 100644 src/lib/ComfyBoxStdPromptSerializer.ts delete mode 100644 src/lib/ComfyBoxTemplate.ts delete mode 100644 src/lib/ComfyGraph.ts delete mode 100644 src/lib/ComfyGraphCanvas.ts delete mode 100644 src/lib/ComfyNodeDef.ts delete mode 100644 src/lib/DanbooruTags.ts delete mode 100644 src/lib/IComfyInputSlot.ts delete mode 100644 src/lib/ImageViewer.ts delete mode 100644 src/lib/api.ts delete mode 100644 src/lib/apiErrors.ts delete mode 100644 src/lib/components/AccordionContainer.svelte delete mode 100644 src/lib/components/BlockContainer.svelte delete mode 100644 src/lib/components/ComfyApp.svelte delete mode 100644 src/lib/components/ComfyApp.ts delete mode 100644 src/lib/components/ComfyBoxWorkflowView.svelte delete mode 100644 src/lib/components/ComfyBoxWorkflowsView.svelte delete mode 100644 src/lib/components/ComfyComboProperty.svelte delete mode 100644 src/lib/components/ComfyGraphErrorList.svelte delete mode 100644 src/lib/components/ComfyGraphView.svelte delete mode 100644 src/lib/components/ComfyNumberProperty.svelte delete mode 100644 src/lib/components/ComfyPaneView.svelte delete mode 100644 src/lib/components/ComfyPromptSerializer.ts delete mode 100644 src/lib/components/ComfyProperties.svelte delete mode 100644 src/lib/components/ComfyQueue.svelte delete mode 100644 src/lib/components/ComfyQueueGridDisplay.svelte delete mode 100644 src/lib/components/ComfyQueueListDisplay.svelte delete mode 100644 src/lib/components/ComfySettingsView.svelte delete mode 100644 src/lib/components/ComfyTemplates.svelte delete mode 100644 src/lib/components/ComfyUnlockUIButton.svelte delete mode 100644 src/lib/components/Container.svelte delete mode 100644 src/lib/components/DropZone.svelte delete mode 100644 src/lib/components/GlobalModal.svelte delete mode 100644 src/lib/components/ImageComparison.svelte delete mode 100644 src/lib/components/ImageUpload.svelte delete mode 100644 src/lib/components/JsonView.svelte delete mode 100644 src/lib/components/LightboxModal.svelte delete mode 100644 src/lib/components/MaskCanvas.svelte delete mode 100644 src/lib/components/Modal.svelte delete mode 100644 src/lib/components/NumberInput.svelte delete mode 100644 src/lib/components/OnClickToastItem.svelte delete mode 100644 src/lib/components/ProgressBar.svelte delete mode 100644 src/lib/components/PromptDisplay.svelte delete mode 100644 src/lib/components/Sidebar.svelte delete mode 100644 src/lib/components/SidebarItem.svelte delete mode 100644 src/lib/components/Spinner.svelte delete mode 100644 src/lib/components/SystemStatsBar.svelte delete mode 100644 src/lib/components/TabsContainer.svelte delete mode 100644 src/lib/components/WidgetContainer.svelte delete mode 100644 src/lib/components/f7/progressbar.svelte delete mode 100644 src/lib/components/gradio/app/Accordion.svelte delete mode 100644 src/lib/components/gradio/app/Column.svelte delete mode 100644 src/lib/components/gradio/app/Row.svelte delete mode 100644 src/lib/components/gradio/app/UploadText.svelte delete mode 100644 src/lib/components/gradio/form/Range.svelte delete mode 100644 src/lib/components/gradio/form/index.ts delete mode 100644 src/lib/components/gradio/gallery/Gallery.svelte delete mode 100644 src/lib/components/gradio/gallery/index.ts delete mode 100644 src/lib/components/gradio/image/StaticImage.svelte delete mode 100644 src/lib/components/gradio/image/index.ts delete mode 100644 src/lib/components/gradio/image/utils.ts delete mode 100644 src/lib/components/menu/ContextMenu.svelte delete mode 100644 src/lib/components/menu/Icon.svelte delete mode 100644 src/lib/components/menu/Menu.svelte delete mode 100644 src/lib/components/menu/MenuDivider.svelte delete mode 100644 src/lib/components/menu/MenuOption.svelte delete mode 100644 src/lib/components/menu/menu.ts delete mode 100644 src/lib/components/modal/A1111PromptModal.svelte delete mode 100644 src/lib/components/modal/ConfirmConvertWithMissingNodeTypesModal.svelte delete mode 100644 src/lib/components/modal/EditTemplateModal.svelte delete mode 100644 src/lib/components/modal/MissingNodeTypesModal.svelte delete mode 100644 src/lib/components/modal/ReceiveOutputTargets.svelte delete mode 100644 src/lib/components/modal/SendOutputModal.svelte delete mode 100644 src/lib/components/modal/SerializedLayoutPreviewNode.svelte delete mode 100644 src/lib/components/modal/WorkflowLoadErrorModal.svelte delete mode 100644 src/lib/components/utils.ts delete mode 100644 src/lib/convertA1111ToStdPrompt.ts delete mode 100644 src/lib/convertVanillaWorkflow.ts delete mode 100644 src/lib/defaultGraph.ts delete mode 100644 src/lib/init.ts delete mode 100644 src/lib/nodeImports.ts delete mode 100644 src/lib/nodes/ComfyBackendNode.ts delete mode 100644 src/lib/nodes/ComfyConfigureQueuePromptButton.ts delete mode 100644 src/lib/nodes/ComfyGraphNode.ts delete mode 100644 src/lib/nodes/ComfyNoChangeEvent.ts delete mode 100644 src/lib/nodes/ComfyPickFirstNode.ts delete mode 100644 src/lib/nodes/ComfyPickImageNode.ts delete mode 100644 src/lib/nodes/ComfyRegionToCoordsNode.ts delete mode 100644 src/lib/nodes/ComfyReroute.ts delete mode 100644 src/lib/nodes/ComfySelector.ts delete mode 100644 src/lib/nodes/ComfySwitch.ts delete mode 100644 src/lib/nodes/ComfyTriggerNewEventNode.ts delete mode 100644 src/lib/nodes/ComfyValueControl.ts delete mode 100644 src/lib/nodes/actions/ComfyCopyAction.ts delete mode 100644 src/lib/nodes/actions/ComfyExecuteSubgraphAction.ts delete mode 100644 src/lib/nodes/actions/ComfyNotifyAction.ts delete mode 100644 src/lib/nodes/actions/ComfyPlaySoundAction.ts delete mode 100644 src/lib/nodes/actions/ComfyQueueEvents.ts delete mode 100644 src/lib/nodes/actions/ComfyReceiveOutputNode.ts delete mode 100644 src/lib/nodes/actions/ComfySendOutputAction.ts delete mode 100644 src/lib/nodes/actions/ComfySetNodeModeAction.ts delete mode 100644 src/lib/nodes/actions/ComfySetNodeModeAdvancedAction.ts delete mode 100644 src/lib/nodes/actions/ComfySetPromptThumbnailsAction.ts delete mode 100644 src/lib/nodes/actions/ComfyStoreImagesAction.ts delete mode 100644 src/lib/nodes/actions/ComfySwapAction.ts delete mode 100644 src/lib/nodes/actions/index.ts delete mode 100644 src/lib/nodes/index.ts delete mode 100644 src/lib/nodes/widgets/ComfyButtonNode.ts delete mode 100644 src/lib/nodes/widgets/ComfyCheckboxNode.ts delete mode 100644 src/lib/nodes/widgets/ComfyComboNode.ts delete mode 100644 src/lib/nodes/widgets/ComfyGalleryNode.ts delete mode 100644 src/lib/nodes/widgets/ComfyImageUploadNode.ts delete mode 100644 src/lib/nodes/widgets/ComfyMarkdownNode.ts delete mode 100644 src/lib/nodes/widgets/ComfyMultiRegionNode.ts delete mode 100644 src/lib/nodes/widgets/ComfyNumberNode.ts delete mode 100644 src/lib/nodes/widgets/ComfyRadioNode.ts delete mode 100644 src/lib/nodes/widgets/ComfyTextNode.ts delete mode 100644 src/lib/nodes/widgets/ComfyWidgetNode.ts delete mode 100644 src/lib/nodes/widgets/index.ts delete mode 100644 src/lib/notify.ts delete mode 100644 src/lib/parseA1111.ts delete mode 100644 src/lib/pnginfo.ts delete mode 100644 src/lib/stores/configDefs.ts delete mode 100644 src/lib/stores/configState.ts delete mode 100644 src/lib/stores/interfaceState.ts delete mode 100644 src/lib/stores/layoutStates.ts delete mode 100644 src/lib/stores/modalState.ts delete mode 100644 src/lib/stores/queueState.ts delete mode 100644 src/lib/stores/selectionState.ts delete mode 100644 src/lib/stores/systemState.ts delete mode 100644 src/lib/stores/templateState.ts delete mode 100644 src/lib/stores/uiQueueState.ts delete mode 100644 src/lib/stores/uiState.ts delete mode 100644 src/lib/stores/workflowState.ts delete mode 100644 src/lib/utils.ts delete mode 100644 src/lib/widgets.ts delete mode 100644 src/lib/widgets/ButtonWidget.svelte delete mode 100644 src/lib/widgets/CheckboxWidget.svelte delete mode 100644 src/lib/widgets/ComboWidget.svelte delete mode 100644 src/lib/widgets/ComfyUI.grammar delete mode 100644 src/lib/widgets/ComfyUI.grammar.d.ts delete mode 100644 src/lib/widgets/GalleryWidget.svelte delete mode 100644 src/lib/widgets/ImageUploadWidget.svelte delete mode 100644 src/lib/widgets/MarkdownWidget.svelte delete mode 100644 src/lib/widgets/MultiRegionWidget.svelte delete mode 100644 src/lib/widgets/NumberWidget.svelte delete mode 100644 src/lib/widgets/RadioWidget.svelte delete mode 100644 src/lib/widgets/TextWidget.svelte delete mode 100644 src/lib/widgets/TextWidgetCodeVariant.svelte delete mode 100644 src/lib/widgets/TextWidgetCodeVariant.ts delete mode 100644 src/lib/widgets/markdown/NullMarkdownRenderer.svelte delete mode 100644 src/lib/widgets/utils.ts delete mode 100644 src/main-desktop.ts delete mode 100644 src/main-mobile.ts delete mode 100644 src/mobile/GenToolbar.svelte delete mode 100644 src/mobile/Indicator.svelte delete mode 100644 src/mobile/MainToolbar.svelte delete mode 100644 src/mobile/routes/about.svelte delete mode 100644 src/mobile/routes/gallery.svelte delete mode 100644 src/mobile/routes/graph.svelte delete mode 100644 src/mobile/routes/login.svelte delete mode 100644 src/mobile/routes/queue.svelte delete mode 100644 src/mobile/routes/workflow.svelte delete mode 100644 src/mobile/routes/workflows.svelte delete mode 100644 src/routes/+page.svelte delete mode 100644 src/routes/+page.ts delete mode 100644 src/scss/global.scss delete mode 100644 src/scss/gradio.scss delete mode 100644 src/scss/litegraph.scss delete mode 100644 src/scss/ux.scss delete mode 100644 src/tests/ComfyGraphTests.ts delete mode 100644 src/tests/ComfyPromptSerializerTests.ts delete mode 100644 src/tests/UnitTest.ts delete mode 100644 src/tests/convertA1111ToStdPromptTests.ts delete mode 100644 src/tests/convertVanillaWorkflowTests.ts delete mode 100644 src/tests/data/convertedSeedWidget.json delete mode 100644 src/tests/data/convertedWidget.json delete mode 100644 src/tests/data/convertedWidgetAndPrimitiveNode.json delete mode 100644 src/tests/data/objectInfo.json delete mode 100644 src/tests/main.ts delete mode 100644 src/tests/parseA1111Tests.ts delete mode 100644 src/tests/stores/configStateTests.ts delete mode 100644 src/tests/testSuite.ts delete mode 100644 src/vite-env.d.ts create mode 100644 start_servers.bat delete mode 100644 static/favicon.png delete mode 100644 static/screenshot.png delete mode 100644 static/screenshot2.png delete mode 100644 svelte.config.js rename {public/templates => templates}/ControlNet.svg (100%) rename {public/templates => templates}/LoRA x5.svg (100%) rename {public/templates => templates}/Model Loader.svg (100%) rename {public/templates => templates}/Positive_Negative.svg (100%) rename {public/templates => templates}/Seed Randomizer.svg (100%) delete mode 100644 tsconfig.json delete mode 100644 tsconfig.node.json delete mode 100644 turbo.json delete mode 100644 vite.config.ts rename {public/workflows => workflows}/conditioningRegions.json (100%) rename {public/workflows => workflows}/defaultWorkflow.json (100%) rename {public/workflows => workflows}/img2imgMasked.json (100%) rename {public/workflows => workflows}/upscaleByModel.json (100%) diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 3897265..0000000 --- a/.eslintignore +++ /dev/null @@ -1,13 +0,0 @@ -.DS_Store -node_modules -/build -/.svelte-kit -/package -.env -.env.* -!.env.example - -# Ignore files for PNPM, NPM and YARN -pnpm-lock.yaml -package-lock.json -yarn.lock diff --git a/.eslintrc.cjs b/.eslintrc.cjs deleted file mode 100644 index fab32bf..0000000 --- a/.eslintrc.cjs +++ /dev/null @@ -1,15 +0,0 @@ -module.exports = { - root: true, - extends: ['eslint:recommended', 'prettier'], - plugins: ['svelte3'], - overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }], - parserOptions: { - sourceType: 'module', - ecmaVersion: 2020 - }, - env: { - browser: true, - es2017: true, - node: true - } -}; diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..a6344aa --- /dev/null +++ b/.gitattributes @@ -0,0 +1,35 @@ +*.7z filter=lfs diff=lfs merge=lfs -text +*.arrow filter=lfs diff=lfs merge=lfs -text +*.bin filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.ckpt filter=lfs diff=lfs merge=lfs -text +*.ftz filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.h5 filter=lfs diff=lfs merge=lfs -text +*.joblib filter=lfs diff=lfs merge=lfs -text +*.lfs.* filter=lfs diff=lfs merge=lfs -text +*.mlmodel filter=lfs diff=lfs merge=lfs -text +*.model filter=lfs diff=lfs merge=lfs -text +*.msgpack filter=lfs diff=lfs merge=lfs -text +*.npy filter=lfs diff=lfs merge=lfs -text +*.npz filter=lfs diff=lfs merge=lfs -text +*.onnx filter=lfs diff=lfs merge=lfs -text +*.ot filter=lfs diff=lfs merge=lfs -text +*.parquet filter=lfs diff=lfs merge=lfs -text +*.pb filter=lfs diff=lfs merge=lfs -text +*.pickle filter=lfs diff=lfs merge=lfs -text +*.pkl filter=lfs diff=lfs merge=lfs -text +*.pt filter=lfs diff=lfs merge=lfs -text +*.pth filter=lfs diff=lfs merge=lfs -text +*.rar filter=lfs diff=lfs merge=lfs -text +*.safetensors filter=lfs diff=lfs merge=lfs -text +saved_model/**/* filter=lfs diff=lfs merge=lfs -text +*.tar.* filter=lfs diff=lfs merge=lfs -text +*.tar filter=lfs diff=lfs merge=lfs -text +*.tflite filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.wasm filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text +*tfevents* filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 0482290..0000000 --- a/.gitignore +++ /dev/null @@ -1,12 +0,0 @@ -.DS_Store -node_modules -/build -/.svelte-kit -/package -.env -.env.* -!.env.example -vite.config.js.timestamp-* -vite.config.ts.timestamp-* -/dist -/stats.html diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 20457ce..0000000 --- a/.gitmodules +++ /dev/null @@ -1,11 +0,0 @@ -[submodule "gradio"] - path = gradio - url = https://github.com/gradio-app/gradio - branch = v3.24.1 -[submodule "litegraph"] - path = litegraph - url = https://github.com/space-nuko/litegraph.ts -[submodule "klecks"] - path = klecks - url = https://github.com/space-nuko/klecks - branch = comfybox diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 48ce58a..0000000 --- a/.npmrc +++ /dev/null @@ -1,2 +0,0 @@ -engine-strict=true -use-node-version=18.8.0 diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index 3897265..0000000 --- a/.prettierignore +++ /dev/null @@ -1,13 +0,0 @@ -.DS_Store -node_modules -/build -/.svelte-kit -/package -.env -.env.* -!.env.example - -# Ignore files for PNPM, NPM and YARN -pnpm-lock.yaml -package-lock.json -yarn.lock diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index a77fdde..0000000 --- a/.prettierrc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "useTabs": true, - "singleQuote": true, - "trailingComma": "none", - "printWidth": 100, - "plugins": ["prettier-plugin-svelte"], - "pluginSearchDirs": ["."], - "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }] -} diff --git a/README.md b/README.md index 2c52735..c344bf1 100644 --- a/README.md +++ b/README.md @@ -1,58 +1,29 @@ -# ComfyBox +# ComfyBox_ReOpened -ComfyBox is a frontend to Stable Diffusion that lets you create custom image generation interfaces without any code. It uses [ComfyUI](https://github.com/comfyanonymous/ComfyUI) under the hood for maximum power and extensibility. +This is a very broken down version of spacenuko's orifinal ComfyBox concept. "https://github.com/space-nuko/ComfyBox.git" +_ +All credit for the coding goes to them. I have only removed any files that were not integral for running the program on my Windows computer (I cannot say if this will work on other systems such as Linux, Google Colab, etc). If you find out it does, let me know and I'll update the README.md. It is my hope that this will help others to have at least SOMETHING to use. I am not a coder, I only know beginner/intermediate Python, so any features, requests, updates are going to be on the community to figure out. Thank you._ + -![Screenshot](./static/screenshot.png) - -![Screenshot](./static/screenshot2.png) - -## Installation - -1. Download the latest release [here](https://nightly.link/space-nuko/ComfyBox/workflows/build-and-publish/master/ComfyBox-dist) and extract it somewhere. -2. Start the ComfyUI backend with `python main.py --enable-cors-header`. -3. In the folder you extracted open the `run.bat`/`run.sh` script (requires Python 3 to be on your PATH). Alternatively you can serve the contents of the folder with any web server. +**_Originial README_** ## Usage - A preconfigured workflow is included for the most common txt2img and img2img use cases, so all it takes to start generating is clicking `Load Default` to load the default workflow and then `Queue Prompt`. You can import your existing workflows from ComfyUI into ComfyBox by clicking `Load` and choosing the `.json` or `.png` with embedded metadata, or dropping either file onto the graph viewer. -## NOTE - -This project is *still under construction* and some features are missing, be aware of the tradeoffs if you're interested in using it. - -Also note that the saved workflow format is subject to change until it's been finalized after enough testing, so be prepared to lose some of your work from time to time. - ## Features - **No-Code UI Builder** - A novel system for creating your own Stable Diffusion user interfaces from the basic components. -- **Manage Multiple Workflows** - You can open as many workflows as you like and switch between them using tabs within the app. You can also write custom "Send To" actions to copy your image outputs into other workflows for further processing. -- **Use Your Existing Workflows** - Import workflows you've created in ComfyUI into ComfyBox and a new UI will be created for you. -- **Extension Support** - All custom ComfyUI nodes are supported out of the box. - **Prompt Queue** - Queue up multiple prompts without waiting for them to finish first. Inspect currently queued and executed prompts. - **Prompt History** - Browse through previously generated prompts and their output images/parameters. -- **Mobile-Friendly Version** - Includes a version of the UI optimized for mobile use, while still supporting the same customized workflows of the desktop version. - -## Development +## **_Updated_ Installation** ### Requirements +1) Clone/Install [ComfyUI](https://github.com/comfyanonymous/ComfyUI) for the backend and follow all of their instructions. +2) Clone this repo and place it into the "ComfyUI_windows_portable" folder. +** 3) Most important step: Move "start_servers.bat" to the root folder of ComfyUI. +4) Run start_servers.bet. +5) All set! -- `git` -- `pnpm` -- An installation of vanilla [ComfyUI](https://github.com/comfyanonymous/ComfyUI) for the backend - -### Installation - -**NOTE:** If you're using Windows, the following commands must be run with [Git Bash](https://git-scm.com/downloads). - -1. Clone the repo with submodules: - -``` -git clone https://github.com/space-nuko/ComfyBox --recursive -``` +### Installation **WINDOWS ONLY FOR NOW** -2. `pnpm install` -4. `pnpm prebuild` -5. `pnpm dev` -6. Start ComfyUI with `python main.py --enable-cors-header` -7. Visit `http://localhost:3000` in your browser diff --git a/assets/global-4d6647d9.css b/assets/global-4d6647d9.css new file mode 100644 index 0000000..c7d1267 --- /dev/null +++ b/assets/global-4d6647d9.css @@ -0,0 +1 @@ +@charset "UTF-8";.gradio-container,*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid}html{-webkit-text-size-adjust:100%;line-height:1.5;font-family:-var(--font-sans);-moz-tab-size:4;tab-size:2}body{margin:0;line-height:inherit}hr{border-top-width:1px;height:0;color:inherit}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-weight:inherit;font-size:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-size:1em;font-family:-var(--font-mono)}small{font-size:80%}sub,sup{position:relative;vertical-align:baseline;font-size:75%;line-height:0}sub{bottom:-.25em}sup{top:-.5em}table{border-color:inherit;border-collapse:collapse;text-indent:0}button,input,optgroup,select,textarea{margin:0;padding:0;color:inherit;font-weight:inherit;font-size:100%;line-height:inherit;font-family:inherit}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-image:none;background-color:transparent}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:--color-var(--color-grey-400)}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{--tw-shadow: 0 0 #0000;appearance:none;border-width:1px;border-color:#6b7280;border-radius:0;background-color:#fff;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem}[type=checkbox],[type=radio]{color-adjust:exact;display:inline-block;flex-shrink:0;vertical-align:middle;appearance:none;border-width:1px;border-color:#6b7280;background-origin:border-box;background-color:#fff;padding:0;width:1rem;height:1rem;color:#2563eb;user-select:none}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-size:1.5em 1.5em;background-repeat:no-repeat;padding-right:2.5rem}[type=checkbox]:checked,[type=radio]:checked{background-position:center;background-size:100% 100%;background-repeat:no-repeat}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent}[type=checkbox]:focus-visible,[type=radio]:focus-visible{outline:none}.scroll-hide{-ms-overflow-style:none;scrollbar-width:none}.sr-only{clip:rect(0,0,0,0);position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap}.scroll-hide::-webkit-scrollbar{display:none}.gradio-container{-webkit-text-size-adjust:100%;line-height:1.5;font-family:var(--font);-moz-tab-size:4;tab-size:4}.cropper-container{position:relative;-ms-touch-action:none;touch-action:none;font-size:0;line-height:0;direction:ltr;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{display:block;image-orientation:0deg;width:100%;min-width:0!important;max-width:none!important;height:100%;min-height:0!important;max-height:none!important}.cropper-wrap-box,.cropper-canvas,.cropper-drag-box,.cropper-crop-box,.cropper-modal{position:absolute;top:0;right:0;bottom:0;left:0}.cropper-wrap-box,.cropper-canvas{overflow:hidden}.cropper-drag-box{opacity:0;background-color:#fff}.cropper-modal{opacity:.5;background-color:#000}.cropper-view-box{display:block;outline:1px solid #39f;outline-color:#3399ffbf;width:100%;height:100%;overflow:hidden}.cropper-dashed{display:block;position:absolute;opacity:.5;border:0 dashed #eee}.cropper-dashed.dashed-h{top:calc(100% / 3);left:0;border-top-width:1px;border-bottom-width:1px;width:100%;height:calc(100% / 3)}.cropper-dashed.dashed-v{top:0;left:calc(100% / 3);border-right-width:1px;border-left-width:1px;width:calc(100% / 3);height:100%}.cropper-center{display:block;position:absolute;top:50%;left:50%;opacity:.75;width:0;height:0}.cropper-center:before,.cropper-center:after{display:block;position:absolute;background-color:#eee;content:" "}.cropper-center:before{top:0;left:-3px;width:7px;height:1px}.cropper-center:after{top:-3px;left:0;width:1px;height:7px}.cropper-face,.cropper-line,.cropper-point{display:block;position:absolute;opacity:.1;width:100%;height:100%}.cropper-face{top:0;left:0;background-color:#fff}.cropper-line{background-color:#39f}.cropper-line.line-e{top:0;right:-3px;cursor:ew-resize;width:5px}.cropper-line.line-n{top:-3px;left:0;cursor:ns-resize;height:5px}.cropper-line.line-w{top:0;left:-3px;cursor:ew-resize;width:5px}.cropper-line.line-s{bottom:-3px;left:0;cursor:ns-resize;height:5px}.cropper-point{opacity:.75;background-color:#39f;width:5px;height:5px}.cropper-point.point-e{top:50%;right:-3px;cursor:ew-resize;margin-top:-3px}.cropper-point.point-n{top:-3px;left:50%;cursor:ns-resize;margin-left:-3px}.cropper-point.point-w{top:50%;left:-3px;cursor:ew-resize;margin-top:-3px}.cropper-point.point-s{bottom:-3px;left:50%;cursor:s-resize;margin-left:-3px}.cropper-point.point-ne{top:-3px;right:-3px;cursor:nesw-resize}.cropper-point.point-nw{top:-3px;left:-3px;cursor:nwse-resize}.cropper-point.point-sw{bottom:-3px;left:-3px;cursor:nesw-resize}.cropper-point.point-se{right:-3px;bottom:-3px;opacity:1;cursor:nwse-resize;width:20px;height:20px}@media (min-width: 768px){.cropper-point.point-se{width:15px;height:15px}}@media (min-width: 992px){.cropper-point.point-se{width:10px;height:10px}}@media (min-width: 1200px){.cropper-point.point-se{opacity:.75;width:5px;height:5px}}.cropper-point.point-se:before{display:block;position:absolute;right:-50%;bottom:-50%;opacity:0;background-color:#39f;width:200%;height:200%;content:" "}.cropper-invisible{opacity:0}.cropper-bg{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC)}.cropper-hide{display:block;position:absolute;width:0;height:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}:root{--scale-0: 1rem;--scale-1: 1.125rem;--scale-2: 1.25rem;--scale-3: 1.5rem;--scale-4: 1.875rem;--scale-5: 2.25rem;--scale-6: 3rem;--scale-7: 3.75rem;--scale-8: 4.5rem;--scale-9: 6rem;--scale-10: 8rem;--scale-000: .75rem;--scale-00: .875rem;--scale-fluid-0: clamp(.875rem, .8rem + .25vw, 1rem);--scale-fluid-1: clamp(1rem, .925rem + .25vw, 1.125rem);--scale-fluid-2: clamp(1.125rem, 1.05rem + .25vw, 1.25rem);--scale-fluid-3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);--scale-fluid-4: clamp(1.5rem, 1.275rem + .75vw, 1.875rem);--scale-fluid-5: clamp(1.875rem, 1.65rem + .75vw, 2.25rem);--scale-fluid-6: clamp(2.25rem, 1.8rem + 1.5vw, 3rem);--scale-fluid-7: clamp(3rem, 2.55rem + 1.5vw, 3.75rem);--scale-fluid-8: clamp(3.75rem, 3.3rem + 1.5vw, 4.5rem);--scale-fluid-9: clamp(4.5rem, 3.6rem + 3vw, 6rem);--scale-fluid-10: clamp(6rem, 4.8rem + 4vw, 8rem);--scale-fluid-000: clamp(.625rem, .55rem + .25vw, .75rem);--scale-fluid-00: clamp(.75rem, .675rem + .25vw, .875rem);--font-sans: Source Sans Pro, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-serif: Georgia, Cambria, "Times New Roman", Times, serif;--font-mono: IBM Plex Mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--weight-light: 300;--weight-regular: 400;--weight-medium: 500;--weight-semibold: 600;--weight-bold: 700;--weight-extrabold: 800;--weight-black: 900;--line-none: 1;--line-xs: 1.125;--line-sm: 1.4;--line-md: 1.5;--line-lg: 1.625;--line-xl: 2;--letter-xs: -.05em;--letter-sm: -.025em;--letter-none: 0em;--letter-lg: .025em;--letter-xl: .05em;--prose-xs: 45ch;--prose-sm: 55ch;--prose-md: 65ch;--prose-lg: 75ch;--prose-xl: 85ch;--size-1: 4px;--size-2: 8px;--size-3: 12px;--size-4: 16px;--size-5: 20px;--size-6: 24px;--size-7: 28px;--size-8: 32px;--size-9: 36px;--size-10: 40px;--size-11: 44px;--size-12: 48px;--size-14: 56px;--size-16: 64px;--size-20: 80px;--size-24: 96px;--size-28: 112px;--size-32: 128px;--size-36: 144px;--size-40: 160px;--size-44: 176px;--size-48: 192px;--size-52: 208px;--size-56: 224px;--size-60: 240px;--size-64: 256px;--size-72: 288px;--size-80: 320px;--size-96: 384px;--size-px: 1px;--size-full: 100%;--size-screen: 100vw;--size-min: min-content;--size-max: max-content;--size-0-5: 2px;--size-1-5: 6px;--size-2-5: 10px;--size-screen-h: 100vh;--width-xs: 480px;--width-sm: 640px;--width-md: 768px;--width-lg: 1024px;--width-xl: 1280px;--ratio-square: 1/1;--ratio-portrait: 3/4;--ratio-landscape: 4/3;--ratio-tall: 2/3;--ratio-wide: 3/2;--ratio-widescreen: 16/9;--ratio-golden: 1.618/1;--radius-100: 100%;--radius-xs: 2px;--radius-sm: 4px;--radius-md: 6px;--radius-lg: 8px;--radius-xl: 12px;--radius-full: 9999px;--radius-2xl: 16px;--radius-3xl: 22px;--blur-xs: blur(4px);--blur-sm: blur(8px);--blur-md: blur(16px);--blur-lg: blur(24px);--blur-xl: blur(40px);--layer-1: 10;--layer-2: 20;--layer-3: 30;--layer-4: 40;--layer-5: 50;--layer-below: -1;--layer-top: 2147483647;--shadow-xs: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);--shadow-sm: 0 4px 6px -2px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .06);--shadow-md: 0 12px 16px -4px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);--shadow-lg: 0 20px 24px -4px rgba(0, 0, 0, .1), 0 8px 8px -4px rgba(0, 0, 0, .04);--shadow-xl: 0 24px 48px -12px rgba(0, 0, 0, .25);--ease-in-sine: cubic-bezier(.47, 0, .745, .715);--ease-out-sine: cubic-bezier(.39, .575, .565, 1);--ease-in-out-sine: cubic-bezier(.445, .05, .55, .95);--ease-in-quad: cubic-bezier(.55, .085, .68, .53);--ease-out-quad: cubic-bezier(.25, .46, .45, .94);--ease-in-out-quad: cubic-bezier(.455, .03, .515, .955);--ease-in-cubic: cubic-bezier(.55, .055, .675, .19);--ease-out-cubic: cubic-bezier(.215, .61, .355, 1);--ease-in-out-cubic: cubic-bezier(.645, .045, .355, 1);--ease-in-quart: cubic-bezier(.895, .03, .685, .22);--ease-out-quart: cubic-bezier(.165, .84, .44, 1);--ease-in-out-quart: cubic-bezier(.77, 0, .175, 1);--ease-in-quint: cubic-bezier(.755, .05, .855, .06);--ease-out-quint: cubic-bezier(.23, 1, .32, 1);--ease-in-out-quint: cubic-bezier(.86, 0, .07, 1);--ease-in-expo: cubic-bezier(.95, .05, .795, .035);--ease-out-expo: cubic-bezier(.19, 1, .22, 1);--ease-in-out-expo: cubic-bezier(1, 0, 0, 1);--ease-in-circ: cubic-bezier(.6, .04, .98, .335);--ease-out-circ: cubic-bezier(.075, .82, .165, 1);--ease-in-out-circ: cubic-bezier(.785, .135, .15, .86);--ease-in-back: cubic-bezier(.6, -.28, .735, .045);--ease-out-back: cubic-bezier(.175, .885, .32, 1.275);--ease-in-out-back: cubic-bezier(.68, -.55, .265, 1.55);--easing-standard: cubic-bezier(.4, 0, .2, 1);--easing-accelerate: cubic-bezier(.4, 0, 1, 1);--easing-decelerate: cubic-bezier(0, 0, .2, 1);--elevation-1: 0 1px 2px 0 rgba(0, 0, 0, .05);--elevation-2: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);--elevation-3: 0 4px 6px -2px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .06);--elevation-4: 0 12px 16px -4px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);--elevation-5: 0 20px 24px -4px rgba(0, 0, 0, .1), 0 8px 8px -4px rgba(0, 0, 0, .04);--elevation-6: 0 24px 48px -12px rgba(0, 0, 0, .25);--elevation-7: 0 32px 64px -12px rgba(0, 0, 0, .2);--color-grey-50: #f9fafb;--color-grey-100: #f3f4f6;--color-grey-200: #e5e7eb;--color-grey-300: #d1d5db;--color-grey-400: #9ca3af;--color-grey-500: #6b7280;--color-grey-600: #4b5563;--color-grey-700: #374151;--color-grey-800: #1f2937;--color-grey-900: #111827;--color-black: #14141b;--color-grey: #6b7280;--color-red-300: #fca5a5;--color-red-500: #ef4444;--color-red-700: #b91c1c;--color-red: #ef4444;--color-green-300: #86efac;--color-green-500: #22c55e;--color-green-700: #15803d;--color-green: #22c55e;--color-blue-300: #93c5fd;--color-blue-500: #0ea5e9;--color-blue-700: #1d4ed8;--color-blue: #0ea5e9;--color-pink-300: #fbb6ce;--color-pink-500: #ed64a6;--color-pink-700: #d53f8c;--color-pink: var(--color-pink-500);--color-purple-300: #b794f4;--color-purple-500: #805ad5;--color-purple-700: #6b46c1;--color-purple: var(--color-purple-500);--color-teal-300: #81e6d9;--color-teal-500: #38b2ac;--color-teal-700: #2c7a7b;--color-teal: var(--color-teal-500);--color-yellow-300: #fde047;--color-yellow-500: #eab308;--color-yellow-700: #a16207;--color-yellow: #eab308;--color-orange-300: #ffb066;--color-orange-500: #ff7c00;--color-orange-700: #ce6400;--color-orange: #f97316;--color-brown-300: #a1887f;--color-brown-500: #795548;--color-brown-700: #5d4037;--color-brown: var(--color-brown-500);--color-blue-10: #fafcff;--color-blue-50: #eff6ff;--color-blue-100: #dbeafe;--color-blue-200: #bfdbfe;--color-blue-400: #60a5fa;--color-blue-600: #2563eb;--color-blue-800: #1e40af;--color-blue-900: #1e3a8a;--color-blue-950: #1c366b;--color-grey-10: #fdfdfe;--color-grey-950: #0b0f19;--color-red-10: #fffbfb;--color-red-50: #fef2f2;--color-red-100: #fee2e2;--color-red-200: #fecaca;--color-red-400: #f87171;--color-red-600: #dc2626;--color-red-800: #991b1b;--color-red-900: #7f1d1d;--color-red-950: #63171a;--color-green-10: #f9fefc;--color-green-50: #ecfdf5;--color-green-100: #d1fae5;--color-green-200: #bbf7d0;--color-green-400: #4ade80;--color-green-600: #16a34a;--color-green-800: #166534;--color-green-900: #14532d;--color-green-950: #134227;--color-orange-10: #fffbf6;--color-orange-50: #fff2e5;--color-orange-100: #ffe5cc;--color-orange-200: #ffd8b4;--color-orange-400: #ff9633;--color-orange-600: #ee7400;--color-orange-800: #a45000;--color-orange-900: #5c2d00;--color-orange-950: #3c1f00;--color-yellow-10: #fffef8;--color-yellow-50: #fffbeb;--color-yellow-100: #fff9c2;--color-yellow-200: #fef08a;--color-yellow-400: #facc15;--color-yellow-600: #ca8a04;--color-yellow-800: #854d0e;--color-yellow-900: #713f12;--color-yellow-950: #633112;--grid-2: repeat(2, minmax(0, 1fr));--grid-3: repeat(3, minmax(0, 1fr));--grid-4: repeat(4, minmax(0, 1fr));--grid-5: repeat(5, minmax(0, 1fr));--grid-6: repeat(6, minmax(0, 1fr));--grid-7: repeat(7, minmax(0, 1fr));--grid-8: repeat(8, minmax(0, 1fr));--grid-9: repeat(9, minmax(0, 1fr));--grid-10: repeat(10, minmax(0, 1fr));--grid-11: repeat(11, minmax(0, 1fr));--grid-12: repeat(12, minmax(0, 1fr));--grid-page-width: var(--width-xl);--grid-page-gutter: 5vw;--grid-page-main: 2 / 3;--grid-page: minmax(var(--grid-page-gutter), 1fr) minmax(0, var(--grid-page-width)) minmax(var(--grid-page-gutter), 1fr)}.prose{font-weight:var(--prose-text-weight);font-size:var(--text-md)}.prose *{color:var(--body-text-color)}.prose p{margin-bottom:var(--spacing-sm);line-height:var(--line-lg)}.prose h1,.prose h2,.prose h3,.prose h4,.prose h5{margin:var(--spacing-xxl) 0 var(--spacing-lg);font-weight:var(--prose-header-text-weight);line-height:1.3}.prose>*:first-child{margin-top:0}.prose h1{margin-top:0;font-size:var(--text-xxl)}.prose h2{font-size:var(--text-xl)}.prose h3{font-size:var(--text-lg)}.prose h4{font-size:1.1em}.prose h5{font-size:1.05em}.prose ul{list-style:circle inside}.prose ol{list-style:decimal inside}.prose ul>p,.prose li>p{display:inline-block}.prose ol,.prose ul{margin-top:0;padding-left:0}.prose ul ul,.prose ul ol,.prose ol ol,.prose ol ul{margin:.5em 0 .5em 3em;font-size:90%}.prose li{margin-bottom:.5em}.prose code{border:1px solid var(--border-color-primary);border-radius:var(--radius-sm);background:var(--background-fill-secondary);padding:1px 3px;font-size:85%;white-space:nowrap}.prose pre>code{display:block;padding:.5em .7em;white-space:pre}.prose th,.prose td{border-bottom:1px solid #e1e1e1;padding:12px 15px;text-align:left}.prose th:first-child,.prose td:first-child{padding-left:0}.prose th:last-child,.prose td:last-child{padding-right:0}.prose button,.prose .button,.prose input,.prose textarea,.prose select,.prose fieldset{margin-bottom:var(--spacing-sm)}.prose pre,.prose blockquote,.prose dl,.prose figure,.prose table,.prose p,.prose ul,.prose ol,.prose form{margin-bottom:var(--spacing-md)}.prose a{color:var(--link-text-color);text-decoration:underline}.prose a:visited{color:var(--link-text-color-visited)}.prose a:hover{color:var(--link-text-color-hover)}.prose a:active{color:var(--link-text-color-active)}.prose hr{margin-top:3em;margin-bottom:3.5em;border-width:0;border-top:1px solid #e1e1e1}.prose blockquote{margin:var(--size-6) 0!important;border-left:5px solid var(--border-color-primary);padding-left:var(--size-2)}.prose :last-child{margin-bottom:0!important}button.svelte-1n8g1go{display:inline-flex;justify-content:center;align-items:center;transition:var(--button-transition);box-shadow:var(--button-shadow);padding:var(--size-0-5) var(--size-2);text-align:center}button.svelte-1n8g1go:hover,button[disabled].svelte-1n8g1go{box-shadow:var(--button-shadow-hover)}button.svelte-1n8g1go:active{box-shadow:var(--button-shadow-active)}button[disabled].svelte-1n8g1go{opacity:.5;filter:grayscale(30%);cursor:not-allowed}.hide.svelte-1n8g1go{display:none}.primary.svelte-1n8g1go{border:var(--button-border-width) solid var(--button-primary-border-color);background:var(--button-primary-background-fill);color:var(--button-primary-text-color)}.primary.svelte-1n8g1go:hover,.primary[disabled].svelte-1n8g1go{border-color:var(--button-primary-border-color-hover);background:var(--button-primary-background-fill-hover);color:var(--button-primary-text-color-hover)}.secondary.svelte-1n8g1go{border:var(--button-border-width) solid var(--button-secondary-border-color);background:var(--button-secondary-background-fill);color:var(--button-secondary-text-color)}.secondary.svelte-1n8g1go:hover,.secondary[disabled].svelte-1n8g1go{border-color:var(--button-secondary-border-color-hover);background:var(--button-secondary-background-fill-hover);color:var(--button-secondary-text-color-hover)}.stop.svelte-1n8g1go{border:var(--button-border-width) solid var(--button-cancel-border-color);background:var(--button-cancel-background-fill);color:var(--button-cancel-text-color)}.stop.svelte-1n8g1go:hover,.stop[disabled].svelte-1n8g1go{border-color:var(--button-cancel-border-color-hover);background:var(--button-cancel-background-fill-hover);color:var(--button-cancel-text-color-hover)}.sm.svelte-1n8g1go{border-radius:var(--button-small-radius);padding:var(--button-small-padding);font-weight:var(--button-small-text-weight);font-size:var(--button-small-text-size)}.lg.svelte-1n8g1go{border-radius:var(--button-large-radius);padding:var(--button-large-padding);font-weight:var(--button-large-text-weight);font-size:var(--button-large-text-size)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.wrapper.svelte-b28czd{padding:2px;width:100%;height:100%}.wrapper.svelte-b28czd>button{height:100%}.block.svelte-1ievav7{position:relative;margin:0;box-shadow:var(--block-shadow);border-width:var(--block-border-width);border-color:var(--block-border-color);border-radius:var(--block-radius);background:var(--block-background-fill);width:100%;line-height:var(--line-sm)}.block.border_focus.svelte-1ievav7{border-color:var(--color-accent)}.padded.svelte-1ievav7{padding:var(--block-padding)}.hidden.svelte-1ievav7{display:none}div.svelte-1hnfib2{margin-bottom:var(--spacing-lg);color:var(--block-info-text-color);font-weight:var(--block-info-text-weight);font-size:var(--block-info-text-size);line-height:var(--line-sm)}span.has-info.svelte-22c38v{margin-bottom:var(--spacing-xs)}span.svelte-22c38v:not(.has-info){margin-bottom:var(--spacing-lg)}span.svelte-22c38v{display:inline-block;position:relative;z-index:var(--layer-4);border:solid var(--block-title-border-width) var(--block-title-border-color);border-radius:var(--block-title-radius);background:var(--block-title-background-fill);padding:var(--block-title-padding);color:var(--block-title-text-color);font-weight:var(--block-title-text-weight);font-size:var(--block-title-text-size);line-height:var(--line-sm)}.hide.svelte-22c38v{margin:0;height:0}div.svelte-1q6ny6{display:inline-flex;align-items:center;z-index:var(--layer-2);box-shadow:var(--block-label-shadow);border:var(--block-label-border-width) solid var(--border-color-primary);border-top:none;border-left:none;border-radius:var(--block-label-radius);background:var(--block-label-background-fill);padding:var(--block-label-padding);pointer-events:none;color:var(--block-label-text-color);font-weight:var(--block-label-text-weight);font-size:var(--block-label-text-size);line-height:var(--line-sm)}div.float.svelte-1q6ny6{position:absolute;top:var(--block-label-margin);left:var(--block-label-margin)}div.svelte-1q6ny6:not(.float){position:static;margin-top:var(--block-label-margin);margin-left:var(--block-label-margin)}.hide.svelte-1q6ny6{height:0}span.svelte-1q6ny6{opacity:.8;margin-right:var(--size-2);width:calc(var(--block-label-text-size) - 1px);height:calc(var(--block-label-text-size) - 1px)}button.svelte-uf5pl7{display:flex;justify-content:center;align-items:center;z-index:var(--layer-1);box-shadow:var(--shadow-drop);border:1px solid var(--button-secondary-border-color);border-radius:var(--radius-sm);background:var(--background-fill-primary);width:var(--size-5);height:var(--size-5);color:var(--block-label-text-color)}button.svelte-uf5pl7:hover{cursor:pointer;border:2px solid var(--button-secondary-border-color-hover);color:var(--block-label-text-color)}div.svelte-uf5pl7{width:60%;height:60%}.empty.svelte-14bvguo{display:flex;justify-content:center;align-items:center;height:var(--size-full)}.icon.svelte-14bvguo{opacity:.5;height:var(--size-5);color:var(--body-text-color)}.small.svelte-14bvguo{height:calc(var(--size-32) - 20px)}.large.svelte-14bvguo{height:calc(var(--size-64) - 20px)}.unpadded_box.small.svelte-14bvguo{min-height:var(--size-32)}.unpadded_box.large.svelte-14bvguo{min-height:var(--size-64)}label.svelte-8xl2dc.svelte-8xl2dc.svelte-8xl2dc{display:flex;align-items:center;cursor:pointer;color:var(--body-text-color);font-weight:var(--checkbox-label-text-weight);font-size:var(--checkbox-label-text-size);line-height:var(--line-md)}label.svelte-8xl2dc>.svelte-8xl2dc+.svelte-8xl2dc{margin-left:var(--size-2)}input.svelte-8xl2dc.svelte-8xl2dc.svelte-8xl2dc{--ring-color:transparent;position:relative;box-shadow:var(--input-shadow);border:1px solid var(--checkbox-border-color);border-radius:var(--checkbox-border-radius);background-color:var(--checkbox-background-color);line-height:var(--line-sm)}input.svelte-8xl2dc.svelte-8xl2dc.svelte-8xl2dc:checked,input.svelte-8xl2dc.svelte-8xl2dc.svelte-8xl2dc:checked:hover,input.svelte-8xl2dc.svelte-8xl2dc.svelte-8xl2dc:checked:focus{border-color:var(--checkbox-border-color-selected);background-image:var(--checkbox-check);background-color:var(--checkbox-background-color-selected)}input.svelte-8xl2dc.svelte-8xl2dc.svelte-8xl2dc:hover{border-color:var(--checkbox-border-color-hover);background-color:var(--checkbox-background-color-hover)}input.svelte-8xl2dc.svelte-8xl2dc.svelte-8xl2dc:focus{border-color:var(--checkbox-border-color-focus);background-color:var(--checkbox-background-color-focus)}input[disabled].svelte-8xl2dc.svelte-8xl2dc.svelte-8xl2dc,.disabled.svelte-8xl2dc.svelte-8xl2dc.svelte-8xl2dc{cursor:not-allowed}.wrap.svelte-6ulcb4.svelte-6ulcb4.svelte-6ulcb4{display:flex;flex-wrap:wrap;gap:var(--checkbox-label-gap)}label.svelte-6ulcb4.svelte-6ulcb4.svelte-6ulcb4{display:flex;align-items:center;transition:var(--button-transition);cursor:pointer;box-shadow:var(--checkbox-label-shadow);border:var(--checkbox-label-border-width) solid var(--checkbox-label-border-color);border-radius:var(--button-small-radius);background:var(--checkbox-label-background-fill);padding:var(--checkbox-label-padding);color:var(--checkbox-label-text-color);font-weight:var(--checkbox-label-text-weight);font-size:var(--checkbox-label-text-size);line-height:var(--line-md)}label.svelte-6ulcb4.svelte-6ulcb4.svelte-6ulcb4:hover{background:var(--checkbox-label-background-fill-hover)}label.svelte-6ulcb4.svelte-6ulcb4.svelte-6ulcb4:focus{background:var(--checkbox-label-background-fill-focus)}label.selected.svelte-6ulcb4.svelte-6ulcb4.svelte-6ulcb4{background:var(--checkbox-label-background-fill-selected);color:var(--checkbox-label-text-color-selected)}label.svelte-6ulcb4>.svelte-6ulcb4+.svelte-6ulcb4{margin-left:var(--size-2)}input.svelte-6ulcb4.svelte-6ulcb4.svelte-6ulcb4{--ring-color:transparent;position:relative;box-shadow:var(--checkbox-shadow);border:var(--checkbox-border-width) solid var(--checkbox-border-color);border-radius:var(--checkbox-border-radius);background-color:var(--checkbox-background-color);line-height:var(--line-sm)}input.svelte-6ulcb4.svelte-6ulcb4.svelte-6ulcb4:checked,input.svelte-6ulcb4.svelte-6ulcb4.svelte-6ulcb4:checked:hover,input.svelte-6ulcb4.svelte-6ulcb4.svelte-6ulcb4:checked:focus{border-color:var(--checkbox-border-color-selected);background-image:var(--checkbox-check);background-color:var(--checkbox-background-color-selected)}input.svelte-6ulcb4.svelte-6ulcb4.svelte-6ulcb4:hover{border-color:var(--checkbox-border-color-hover);background-color:var(--checkbox-background-color-hover)}input.svelte-6ulcb4.svelte-6ulcb4.svelte-6ulcb4:focus{border-color:var(--checkbox-border-color-focus);background-color:var(--checkbox-background-color-focus)}input[disabled].svelte-6ulcb4.svelte-6ulcb4.svelte-6ulcb4,.disabled.svelte-6ulcb4.svelte-6ulcb4.svelte-6ulcb4{cursor:not-allowed}.options.svelte-1okxmnp{--window-padding:var(--size-8);position:absolute;z-index:var(--layer-5);margin-left:0;box-shadow:var(--shadow-drop-lg);border-radius:var(--container-radius);background:var(--background-fill-primary);width:var(--size-full);min-width:fit-content;max-width:inherit;overflow:auto;color:var(--body-text-color);list-style:none}.item.svelte-1okxmnp{display:flex;cursor:pointer;padding:var(--size-2)}.item.svelte-1okxmnp:hover,.active.svelte-1okxmnp{background:var(--background-fill-secondary)}.inner-item.svelte-1okxmnp{padding-right:var(--size-1)}.hide.svelte-1okxmnp{visibility:hidden}.dropdown-arrow.svelte-1in5nh4{fill:var(--body-text-color);margin-right:var(--size-2);width:var(--size-5)}.wrap.svelte-zxix90.svelte-zxix90.svelte-zxix90{position:relative;box-shadow:var(--input-shadow);border:var(--input-border-width) solid var(--border-color-primary);border-radius:var(--input-radius);background:var(--input-background-fill)}.wrap.svelte-zxix90.svelte-zxix90.svelte-zxix90:focus-within{box-shadow:var(--input-shadow-focus);border-color:var(--input-border-color-focus)}.wrap-inner.svelte-zxix90.svelte-zxix90.svelte-zxix90{display:flex;position:relative;flex-wrap:wrap;align-items:center;gap:var(--checkbox-label-gap);padding:var(--checkbox-label-padding)}.token.svelte-zxix90.svelte-zxix90.svelte-zxix90{display:flex;align-items:center;transition:var(--button-transition);cursor:pointer;box-shadow:var(--checkbox-label-shadow);border:var(--checkbox-label-border-width) solid var(--checkbox-label-border-color);border-radius:var(--button-small-radius);background:var(--checkbox-label-background-fill);padding:var(--checkbox-label-padding);color:var(--checkbox-label-text-color);font-weight:var(--checkbox-label-text-weight);font-size:var(--checkbox-label-text-size);line-height:var(--line-md)}.token.svelte-zxix90>.svelte-zxix90+.svelte-zxix90{margin-left:var(--size-2)}.token-remove.svelte-zxix90.svelte-zxix90.svelte-zxix90{fill:var(--body-text-color);display:flex;justify-content:center;align-items:center;cursor:pointer;border:var(--checkbox-border-width) solid var(--border-color-primary);border-radius:var(--radius-full);background:var(--background-fill-primary);padding:var(--size-0-5);width:18px;height:18px}.secondary-wrap.svelte-zxix90.svelte-zxix90.svelte-zxix90{display:flex;flex:1 1 0%;align-items:center;border:none;min-width:min-content}input.svelte-zxix90.svelte-zxix90.svelte-zxix90{margin:var(--spacing-sm);outline:none;border:none;background:inherit;width:var(--size-full);color:var(--body-text-color);font-size:var(--input-text-size)}input.svelte-zxix90.svelte-zxix90.svelte-zxix90:disabled{-webkit-text-fill-color:var(--body-text-color);-webkit-opacity:1;opacity:1;cursor:not-allowed}.remove-all.svelte-zxix90.svelte-zxix90.svelte-zxix90{margin-left:var(--size-1);width:20px;height:20px}.hide.svelte-zxix90.svelte-zxix90.svelte-zxix90{display:none}.subdued.svelte-zxix90.svelte-zxix90.svelte-zxix90{color:var(--body-text-color-subdued)}input[type=number].svelte-13bgpld{display:block;position:relative;outline:none!important;box-shadow:var(--input-shadow);border:var(--input-border-width) solid var(--input-border-color);border-radius:var(--input-radius);background:var(--input-background-fill);padding:var(--input-padding);width:100%;color:var(--body-text-color);font-size:var(--input-text-size);line-height:var(--line-sm)}input.svelte-13bgpld:disabled{-webkit-text-fill-color:var(--body-text-color);-webkit-opacity:1;opacity:1}input.svelte-13bgpld:focus{box-shadow:var(--input-shadow-focus);border-color:var(--input-border-color-focus)}input.svelte-13bgpld::placeholder{color:var(--input-placeholder-color)}.wrap.svelte-1vn8q55.svelte-1vn8q55.svelte-1vn8q55{display:flex;flex-wrap:wrap;gap:var(--checkbox-label-gap)}label.svelte-1vn8q55.svelte-1vn8q55.svelte-1vn8q55{display:flex;align-items:center;transition:var(--button-transition);cursor:pointer;box-shadow:var(--checkbox-label-shadow);border:var(--checkbox-label-border-width) solid var(--checkbox-label-border-color);border-radius:var(--button-small-radius);background:var(--checkbox-label-background-fill);padding:var(--checkbox-label-padding);color:var(--checkbox-label-text-color);font-weight:var(--checkbox-label-text-weight);font-size:var(--checkbox-label-text-size);line-height:var(--line-md)}label.svelte-1vn8q55.svelte-1vn8q55.svelte-1vn8q55:hover{background:var(--checkbox-label-background-fill-hover)}label.svelte-1vn8q55.svelte-1vn8q55.svelte-1vn8q55:focus{background:var(--checkbox-label-background-fill-focus)}label.selected.svelte-1vn8q55.svelte-1vn8q55.svelte-1vn8q55{background:var(--checkbox-label-background-fill-selected);color:var(--checkbox-label-text-color-selected)}label.svelte-1vn8q55>.svelte-1vn8q55+.svelte-1vn8q55{margin-left:var(--size-2)}input.svelte-1vn8q55.svelte-1vn8q55.svelte-1vn8q55{--ring-color:transparent;position:relative;box-shadow:var(--checkbox-shadow);border:var(--checkbox-border-width) solid var(--checkbox-border-color);border-radius:var(--radius-full);background-color:var(--checkbox-background-color);line-height:var(--line-sm)}input.svelte-1vn8q55.svelte-1vn8q55.svelte-1vn8q55:checked,input.svelte-1vn8q55.svelte-1vn8q55.svelte-1vn8q55:checked:hover,input.svelte-1vn8q55.svelte-1vn8q55.svelte-1vn8q55:checked:focus{border-color:var(--checkbox-border-color-selected);background-image:var(--radio-circle);background-color:var(--checkbox-background-color-selected)}input.svelte-1vn8q55.svelte-1vn8q55.svelte-1vn8q55:hover{border-color:var(--checkbox-border-color-hover);background-color:var(--checkbox-background-color-hover)}input.svelte-1vn8q55.svelte-1vn8q55.svelte-1vn8q55:focus{border-color:var(--checkbox-border-color-focus);background-color:var(--checkbox-background-color-focus)}input[disabled].svelte-1vn8q55.svelte-1vn8q55.svelte-1vn8q55,.disabled.svelte-1vn8q55.svelte-1vn8q55.svelte-1vn8q55{cursor:not-allowed}label.svelte-13rodre{display:block;width:100%}input[type=text].svelte-13rodre,input[type=password].svelte-13rodre,input[type=email].svelte-13rodre,textarea.svelte-13rodre{display:block;position:relative;outline:none!important;box-shadow:var(--input-shadow);border:var(--input-border-width) solid var(--input-border-color);border-radius:var(--input-radius);background:var(--input-background-fill);padding:var(--input-padding);width:100%;color:var(--body-text-color);font-weight:var(--input-text-weight);font-size:var(--input-text-size);line-height:var(--line-sm)}input.svelte-13rodre:disabled,textarea.svelte-13rodre:disabled{-webkit-text-fill-color:var(--body-text-color);-webkit-opacity:1;opacity:1}input.svelte-13rodre:focus,textarea.svelte-13rodre:focus{box-shadow:var(--input-shadow-focus);border-color:var(--input-border-color-focus)}input.svelte-13rodre::placeholder,textarea.svelte-13rodre::placeholder{color:var(--input-placeholder-color)}button.svelte-13rodre{display:flex;position:absolute;top:var(--block-label-margin);right:var(--block-label-margin);align-items:center;box-shadow:var(--shadow-drop);border:1px solid var(--color-border-primary);border-top:none;border-right:none;border-radius:var(--block-label-right-radius);background:var(--block-label-background-fill);padding:5px;width:22px;height:22px;overflow:hidden;color:var(--block-label-color);font:var(--font-sans);font-size:var(--button-small-text-size)}.wrap.svelte-1jg56fs{display:flex;flex-direction:column;width:100%}.head.svelte-1jg56fs{display:flex;justify-content:space-between}input[type=number].svelte-1jg56fs{display:block;position:relative;outline:none!important;box-shadow:var(--input-shadow);border:var(--input-border-width) solid var(--input-border-color);border-radius:var(--input-radius);background:var(--input-background-fill);padding:var(--size-2) var(--size-2);height:var(--size-6);color:var(--body-text-color);font-size:var(--input-text-size);line-height:var(--line-sm);text-align:center}input.svelte-1jg56fs:disabled{-webkit-text-fill-color:var(--body-text-color);-webkit-opacity:1;opacity:1}input[type=number].svelte-1jg56fs:focus{box-shadow:var(--input-shadow-focus);border-color:var(--input-border-color-focus)}input.svelte-1jg56fs::placeholder{color:var(--input-placeholder-color)}input[type=range].svelte-1jg56fs{width:100%;accent-color:var(--slider-color)}input[disabled].svelte-1jg56fs{cursor:not-allowed}input.svelte-16l8u73{display:block;position:relative;background:var(--background-fill-primary);line-height:var(--line-sm)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.wrapper.svelte-8q271n.svelte-8q271n{display:flex;flex-direction:row;align-items:flex-end;height:100%}.wrapper.svelte-8q271n>.inner.svelte-8q271n{padding:2px;width:100%;height:100%;display:flex;flex-direction:row}.wrapper.svelte-8q271n>.inner.svelte-8q271n>.block>label{height:100%}svg.svelte-qbd276{width:var(--chevron-icon-width, 20px);height:var(--chevron-icon-width, 20px);color:var(--chevron-icon-colour, currentColor)}svg.svelte-whdbu1{width:var(--clear-icon-width, 20px);height:var(--clear-icon-width, 20px);color:var(--clear-icon-color, currentColor)}.loading.svelte-1p3nqvd{width:var(--spinner-width, 20px);height:var(--spinner-height, 20px);color:var(--spinner-color, var(--icons-color));animation:svelte-1p3nqvd-rotate .75s linear infinite;transform-origin:center center;transform:none}.circle_path.svelte-1p3nqvd{stroke-dasharray:90;stroke-linecap:round}@keyframes svelte-1p3nqvd-rotate{to{transform:rotate(360deg)}}.svelte-select.svelte-apvs86.svelte-apvs86.svelte-apvs86{--borderRadius:var(--border-radius);--clearSelectColor:var(--clear-select-color);--clearSelectWidth:var(--clear-select-width);--disabledBackground:var(--disabled-background);--disabledBorderColor:var(--disabled-border-color);--disabledColor:var(--disabled-color);--disabledPlaceholderColor:var(--disabled-placeholder-color);--disabledPlaceholderOpacity:var(--disabled-placeholder-opacity);--errorBackground:var(--error-background);--errorBorder:var(--error-border);--groupItemPaddingLeft:var(--group-item-padding-left);--groupTitleColor:var(--group-title-color);--groupTitleFontSize:var(--group-title-font-size);--groupTitleFontWeight:var(--group-title-font-weight);--groupTitlePadding:var(--group-title-padding);--groupTitleTextTransform:var(--group-title-text-transform);--indicatorColor:var(--chevron-color);--indicatorHeight:var(--chevron-height);--indicatorWidth:var(--chevron-width);--inputColor:var(--input-color);--inputLeft:var(--input-left);--inputLetterSpacing:var(--input-letter-spacing);--inputMargin:var(--input-margin);--inputPadding:var(--input-padding);--itemActiveBackground:var(--item-active-background);--itemColor:var(--item-color);--itemFirstBorderRadius:var(--item-first-border-radius);--itemHoverBG:var(--item-hover-bg);--itemHoverColor:var(--item-hover-color);--itemIsActiveBG:var(--item-is-active-bg);--itemIsActiveColor:var(--item-is-active-color);--itemIsNotSelectableColor:var(--item-is-not-selectable-color);--itemPadding:var(--item-padding);--listBackground:var(--list-background);--listBorder:var(--list-border);--listBorderRadius:var(--list-border-radius);--listEmptyColor:var(--list-empty-color);--listEmptyPadding:var(--list-empty-padding);--listEmptyTextAlign:var(--list-empty-text-align);--listMaxHeight:var(--list-max-height);--listPosition:var(--list-position);--listShadow:var(--list-shadow);--listZIndex:var(--list-z-index);--multiItemBG:var(--multi-item-bg);--multiItemBorderRadius:var(--multi-item-border-radius);--multiItemDisabledHoverBg:var(--multi-item-disabled-hover-bg);--multiItemDisabledHoverColor:var(--multi-item-disabled-hover-color);--multiItemHeight:var(--multi-item-height);--multiItemMargin:var(--multi-item-margin);--multiItemPadding:var(--multi-item-padding);--multiSelectInputMargin:var(--multi-select-input-margin);--multiSelectInputPadding:var(--multi-select-input-padding);--multiSelectPadding:var(--multi-select-padding);--placeholderColor:var(--placeholder-color);--placeholderOpacity:var(--placeholder-opacity);--selectedItemPadding:var(--selected-item-padding);--spinnerColor:var(--spinner-color);--spinnerHeight:var(--spinner-height);--spinnerWidth:var(--spinner-width);--internal-padding:0 0 0 16px;border:var(--border, 1px solid #d8dbdf);border-radius:var(--border-radius, 6px);min-height:var(--height, 42px);position:relative;display:flex;align-items:stretch;padding:var(--padding, var(--internal-padding));background:var(--background, #fff);margin:var(--margin, 0);width:var(--width, 100%);font-size:var(--font-size, 16px);max-height:var(--max-height)}.svelte-apvs86.svelte-apvs86.svelte-apvs86{box-sizing:var(--box-sizing, border-box)}.svelte-select.svelte-apvs86.svelte-apvs86.svelte-apvs86:hover{border:var(--border-hover, 1px solid #b2b8bf)}.value-container.svelte-apvs86.svelte-apvs86.svelte-apvs86{display:flex;flex:1 1 0%;flex-wrap:wrap;align-items:center;gap:5px 10px;padding:var(--value-container-padding, 5px 0);position:relative;overflow:var(--value-container-overflow, hidden);align-self:stretch}.prepend.svelte-apvs86.svelte-apvs86.svelte-apvs86,.indicators.svelte-apvs86.svelte-apvs86.svelte-apvs86{display:flex;flex-shrink:0;align-items:center}.indicators.svelte-apvs86.svelte-apvs86.svelte-apvs86{position:var(--indicators-position);top:var(--indicators-top);right:var(--indicators-right);bottom:var(--indicators-bottom)}input.svelte-apvs86.svelte-apvs86.svelte-apvs86{position:absolute;cursor:default;border:none;color:var(--input-color, var(--item-color));padding:var(--input-padding, 0);letter-spacing:var(--input-letter-spacing, inherit);margin:var(--input-margin, 0);min-width:10px;top:0;right:0;bottom:0;left:0;background:transparent;font-size:var(--font-size, 16px)}.svelte-apvs86:not(.multi)>.value-container.svelte-apvs86>input.svelte-apvs86{width:100%;height:100%}input.svelte-apvs86.svelte-apvs86.svelte-apvs86::placeholder{color:var(--placeholder-color, #78848f);opacity:var(--placeholder-opacity, 1)}input.svelte-apvs86.svelte-apvs86.svelte-apvs86:focus{outline:none}.svelte-select.focused.svelte-apvs86.svelte-apvs86.svelte-apvs86{border:var(--border-focused, 1px solid #006fe8);border-radius:var(--border-radius-focused, var(--border-radius, 6px))}.disabled.svelte-apvs86.svelte-apvs86.svelte-apvs86{background:var(--disabled-background, #ebedef);border-color:var(--disabled-border-color, #ebedef);color:var(--disabled-color, #c1c6cc)}.disabled.svelte-apvs86 input.svelte-apvs86.svelte-apvs86::placeholder{color:var(--disabled-placeholder-color, #c1c6cc);opacity:var(--disabled-placeholder-opacity, 1)}.selected-item.svelte-apvs86.svelte-apvs86.svelte-apvs86{position:relative;overflow:var(--selected-item-overflow, hidden);padding:var(--selected-item-padding, 0 20px 0 0);text-overflow:ellipsis;white-space:nowrap;color:var(--selected-item-color, inherit);font-size:var(--font-size, 16px)}.multi.svelte-apvs86 .selected-item.svelte-apvs86.svelte-apvs86{position:absolute;line-height:var(--height, 42px);height:var(--height, 42px)}.selected-item.svelte-apvs86.svelte-apvs86.svelte-apvs86:focus{outline:none}.hide-selected-item.svelte-apvs86.svelte-apvs86.svelte-apvs86{opacity:0}.icon.svelte-apvs86.svelte-apvs86.svelte-apvs86{display:flex;align-items:center;justify-content:center}.clear-select.svelte-apvs86.svelte-apvs86.svelte-apvs86{all:unset;display:flex;align-items:center;justify-content:center;width:var(--clear-select-width, 40px);height:var(--clear-select-height, 100%);color:var(--clear-select-color, var(--icons-color));margin:var(--clear-select-margin, 0);pointer-events:all;flex-shrink:0}.clear-select.svelte-apvs86.svelte-apvs86.svelte-apvs86:focus{outline:var(--clear-select-focus-outline, 1px solid #006fe8)}.loading.svelte-apvs86.svelte-apvs86.svelte-apvs86{width:var(--loading-width, 40px);height:var(--loading-height);color:var(--loading-color, var(--icons-color));margin:var(--loading--margin, 0);flex-shrink:0}.chevron.svelte-apvs86.svelte-apvs86.svelte-apvs86{width:var(--chevron-width, 40px);height:var(--chevron-height, 40px);background:var(--chevron-background, transparent);pointer-events:var(--chevron-pointer-events, none);color:var(--chevron-color, var(--icons-color));border:var(--chevron-border, 0 0 0 1px solid #d8dbdf);flex-shrink:0}.multi.svelte-apvs86.svelte-apvs86.svelte-apvs86{padding:var(--multi-select-padding, var(--internal-padding))}.multi.svelte-apvs86 input.svelte-apvs86.svelte-apvs86{padding:var(--multi-select-input-padding, 0);position:relative;margin:var(--multi-select-input-margin, 5px 0);flex:1 1 40px}.svelte-select.error.svelte-apvs86.svelte-apvs86.svelte-apvs86{border:var(--error-border, 1px solid #ff2d55);background:var(--error-background, #fff)}.a11y-text.svelte-apvs86.svelte-apvs86.svelte-apvs86{z-index:9999;border:0px;clip:rect(1px,1px,1px,1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap}.multi-item.svelte-apvs86.svelte-apvs86.svelte-apvs86{background:var(--multi-item-bg, #ebedef);margin:var(--multi-item-margin, 0);outline:var(--multi-item-outline, 1px solid #ddd);border-radius:var(--multi-item-border-radius, 4px);height:var(--multi-item-height, 25px);line-height:var(--multi-item-height, 25px);display:flex;cursor:default;padding:var(--multi-item-padding, 0 5px);overflow:hidden;gap:var(--multi-item-gap, 4px);outline-offset:-1px;max-width:var(--multi-max-width, none);color:var(--multi-item-color, var(--item-color))}.multi-item.disabled.svelte-apvs86.svelte-apvs86.svelte-apvs86:hover{background:var(--multi-item-disabled-hover-bg, #ebedef);color:var(--multi-item-disabled-hover-color, #c1c6cc)}.multi-item-text.svelte-apvs86.svelte-apvs86.svelte-apvs86{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multi-item-clear.svelte-apvs86.svelte-apvs86.svelte-apvs86{display:flex;align-items:center;justify-content:center;--clear-icon-color:var(--multi-item-clear-icon-color, #000)}.multi-item.active.svelte-apvs86.svelte-apvs86.svelte-apvs86{outline:var(--multi-item-active-outline, 1px solid #006fe8)}.svelte-select-list.svelte-apvs86.svelte-apvs86.svelte-apvs86{box-shadow:var(--list-shadow, 0 2px 3px 0 rgba(44, 62, 80, .24));border-radius:var(--list-border-radius, 4px);max-height:var(--list-max-height, 252px);overflow-y:auto;background:var(--list-background, #fff);position:var(--list-position, absolute);z-index:var(--list-z-index, 2);border:var(--list-border)}.prefloat.svelte-apvs86.svelte-apvs86.svelte-apvs86{opacity:0;pointer-events:none}.list-group-title.svelte-apvs86.svelte-apvs86.svelte-apvs86{color:var(--group-title-color, #8f8f8f);cursor:default;font-size:var(--group-title-font-size, 16px);font-weight:var(--group-title-font-weight, 600);height:var(--height, 42px);line-height:var(--height, 42px);padding:var(--group-title-padding, 0 20px);text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap;text-transform:var(--group-title-text-transform, uppercase)}.empty.svelte-apvs86.svelte-apvs86.svelte-apvs86{text-align:var(--list-empty-text-align, center);padding:var(--list-empty-padding, 20px 0);color:var(--list-empty-color, #78848f)}.item.svelte-apvs86.svelte-apvs86.svelte-apvs86{cursor:default;height:var(--item-height, var(--height, 42px));line-height:var(--item-line-height, var(--height, 42px));padding:var(--item-padding, 0 20px);color:var(--item-color, inherit);text-overflow:ellipsis;overflow:hidden;white-space:nowrap;transition:var(--item-transition, all .2s);align-items:center;width:100%}.item.group-item.svelte-apvs86.svelte-apvs86.svelte-apvs86{padding-left:var(--group-item-padding-left, 40px)}.item.svelte-apvs86.svelte-apvs86.svelte-apvs86:active{background:var(--item-active-background, #b9daff)}.item.active.svelte-apvs86.svelte-apvs86.svelte-apvs86{background:var(--item-is-active-bg, #007aff);color:var(--item-is-active-color, #fff)}.item.first.svelte-apvs86.svelte-apvs86.svelte-apvs86{border-radius:var(--item-first-border-radius, 4px 4px 0 0)}.item.hover.svelte-apvs86.svelte-apvs86.svelte-apvs86:not(.active){background:var(--item-hover-bg, #e7f2ff);color:var(--item-hover-color, inherit)}.item.not-selectable.svelte-apvs86.svelte-apvs86.svelte-apvs86,.item.hover.item.not-selectable.svelte-apvs86.svelte-apvs86.svelte-apvs86,.item.active.item.not-selectable.svelte-apvs86.svelte-apvs86.svelte-apvs86,.item.not-selectable.svelte-apvs86.svelte-apvs86.svelte-apvs86:active{color:var(--item-is-not-selectable-color, #999);background:transparent}.required.svelte-apvs86.svelte-apvs86.svelte-apvs86{opacity:0;z-index:-1;position:absolute;top:0;left:0;bottom:0;right:0}.virtual-list-wrapper.svelte-dwpad5{overflow:auto;will-change:transform;-webkit-overflow-scrolling:touch}.virtual-list-inner.svelte-dwpad5{position:relative;display:flex;width:100%}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.wrapper.svelte-1fd1n9i.svelte-1fd1n9i{padding:2px;width:100%}.wrapper.svelte-1fd1n9i .count-text.svelte-1fd1n9i{font-size:smaller}.wrapper.svelte-1fd1n9i .selected-item{position:absolute!important;width:-webkit-fill-available!important}@keyframes light-up{0%{background-color:var(--color-yellow-400)}to{background-color:none}}.updated.svelte-1fd1n9i.svelte-1fd1n9i,.updated.svelte-1fd1n9i .svelte-select{animation:light-up 1s ease-out}.svelte-select{width:auto;--font-size:13px;--height:32px;--background:var(--input-background-fill);--selected-item-color:var(--body-text-color);--input-color:var(--body-text-color);--chevron-color:var(--body-text-color);--border:1px solid var(--input-border-color);--border-hover:1px solid var(--input-border-color-hover);--border-focused:1px solid var(--neutral-400);--border-radius-focused:0px;--border-radius:0px;--list-background:var(--comfy-dropdown-list-background);--item-border:var(--comfy-dropdown-border-color);--item-color:var(--body-text-color);--item-color-hover:var(--comfy-dropdown-item-color-hover);--item-background-hover:var(--comfy-dropdown-item-background-hover);--item-color-active:var(--comfy-dropdown-item-color-active);--item-background-active:var(--comfy-dropdown-item-background-active);--disabled-color:var(--comfy-disabled-textbox-text-color);--disabled-border-color:var(--comfy-disabled-textbox-border-color);--disabled-background:var(--comfy-disabled-textbox-background-fill)}.svelte-select.disabled{--input-color:var(--comfy-disabled-textbox-text-color) !important;--selected-item-color:var(--comfy-disabled-textbox-text-color) !important}.svelte-select-list{z-index:var(--layer-top)!important;overflow-y:initial!important;width:auto!important}.comfy-select-list.svelte-1fd1n9i.svelte-1fd1n9i{--maxLabelWidth:100;--maxListWidth:50vw;font-size:14px;color:var(--item-color);width:min((var(--maxLabelWidth) + 10) * 1ch,var(--maxListWidth))}.comfy-select-list.mobile.svelte-1fd1n9i.svelte-1fd1n9i{--maxListWidth:80vw}.comfy-select-list.svelte-1fd1n9i>.virtual-list-wrapper{box-shadow:var(--block-shadow);background-color:var(--list-background)}.comfy-select-list.svelte-1fd1n9i .comfy-empty-list.svelte-1fd1n9i{height:100%;display:flex;justify-content:center;align-items:center;font-size:xx-large;color:var(--neutral-400)}.comfy-select-list.svelte-1fd1n9i .comfy-select-item.svelte-1fd1n9i{border:1px solid var(--item-border);border-top:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;background-color:var(--list-background);font-size:14px;padding:.2rem}.comfy-select-list.svelte-1fd1n9i .comfy-select-item.mobile.svelte-1fd1n9i{font-size:16px;padding:1.2rem}.comfy-select-list.svelte-1fd1n9i .comfy-select-item.hover.svelte-1fd1n9i{color:var(--item-color-hover);background:var(--item-background-hover);cursor:pointer}.comfy-select-list.svelte-1fd1n9i .comfy-select-item.active.svelte-1fd1n9i{color:var(--item-color-active);background:var(--item-background-active)}.comfy-select-list.svelte-1fd1n9i svelte-virtual-list-row{white-space:nowrap}div.svelte-1h87ywf{cursor:pointer;width:var(--size-full);height:var(--size-full)}.center.svelte-1h87ywf{text-align:center}.flex.svelte-1h87ywf{display:flex;justify-content:center;align-items:center}input.svelte-1h87ywf{display:none}div.svelte-1wj0ocy{display:flex;top:var(--size-2);right:var(--size-2);justify-content:flex-end;gap:var(--spacing-sm);z-index:var(--layer-1)}.not-absolute.svelte-1wj0ocy{margin:var(--size-1)}.preview.svelte-1im3pwl.svelte-1im3pwl{display:flex;position:absolute;top:0px;right:0px;bottom:0px;left:0px;flex-direction:column;z-index:var(--layer-2);backdrop-filter:blur(8px);background:var(--background-fill-primary);height:var(--size-full)}.fixed-height.svelte-1im3pwl.svelte-1im3pwl{min-height:var(--size-80);max-height:55vh}@media (--screen-xl){.fixed-height.svelte-1im3pwl.svelte-1im3pwl{min-height:450px}}.preview.svelte-1im3pwl img.svelte-1im3pwl{width:var(--size-full);height:calc(var(--size-full) - 60px);object-fit:contain}.preview.svelte-1im3pwl img.with-caption.svelte-1im3pwl{height:calc(var(--size-full) - 80px)}.caption.svelte-1im3pwl.svelte-1im3pwl{padding:var(--size-2) var(--size-3);overflow:hidden;color:var(--block-label-text-color);font-weight:var(--weight-semibold);text-align:center;text-overflow:ellipsis;white-space:nowrap}.thumbnails.svelte-1im3pwl.svelte-1im3pwl{display:flex;position:absolute;bottom:0;justify-content:center;align-items:center;gap:var(--spacing-lg);width:var(--size-full);height:var(--size-14);overflow-x:scroll}.thumbnail-item.svelte-1im3pwl.svelte-1im3pwl{--ring-color:transparent;position:relative;outline:none;box-shadow:0 0 0 2px var(--ring-color),var(--shadow-drop);border:1px solid var(--border-color-primary);border-radius:var(--button-small-radius);background:var(--background-fill-secondary);aspect-ratio:var(--ratio-square);width:var(--size-full);height:var(--size-full);overflow:clip}.thumbnail-item.svelte-1im3pwl.svelte-1im3pwl:hover{--ring-color:var(--border-color-accent);filter:brightness(1.1);border-color:var(--border-color-accent)}.thumbnail-small.svelte-1im3pwl.svelte-1im3pwl{flex:none;transform:scale(.9);transition:75ms;width:var(--size-9);height:var(--size-9)}.thumbnail-small.selected.svelte-1im3pwl.svelte-1im3pwl{--ring-color:var(--color-accent);transform:scale(1);border-color:var(--color-accent)}.thumbnail-small.svelte-1im3pwl>img.svelte-1im3pwl{width:var(--size-full);height:var(--size-full);overflow:hidden;object-fit:var(--object-fit)}.grid-wrap.svelte-1im3pwl.svelte-1im3pwl{padding:var(--size-2);height:var(--size-full);overflow-y:auto}.grid-container.svelte-1im3pwl.svelte-1im3pwl{display:grid;grid-template-rows:var(--grid-rows);grid-template-columns:var(--grid-cols);gap:var(--spacing-lg)}@media (--screen-sm){.grid-container.svelte-1im3pwl.svelte-1im3pwl{grid-template-columns:var(--sm-grid-cols)}}@media (--screen-md){.grid-container.svelte-1im3pwl.svelte-1im3pwl{grid-template-columns:var(--md-grid-cols)}}@media (--screen-lg){.grid-container.svelte-1im3pwl.svelte-1im3pwl{grid-template-columns:var(--lg-grid-cols)}}@media (--screen-xl){.grid-container.svelte-1im3pwl.svelte-1im3pwl{grid-template-columns:var(--xl-grid-cols)}}@media (--screen-xxl){.grid-container.svelte-1im3pwl.svelte-1im3pwl{grid-template-columns:var(--2xl-grid-cols)}}.thumbnail-lg.svelte-1im3pwl>img.svelte-1im3pwl{width:var(--size-full);height:var(--size-full);overflow:hidden;object-fit:var(--object-fit)}.thumbnail-lg.svelte-1im3pwl:hover .caption-label.svelte-1im3pwl{opacity:.5}.caption-label.svelte-1im3pwl.svelte-1im3pwl{position:absolute;right:var(--block-label-margin);bottom:var(--block-label-margin);z-index:var(--layer-1);border-top:1px solid var(--border-color-primary);border-left:1px solid var(--border-color-primary);border-radius:var(--block-label-radius);background:var(--background-fill-secondary);padding:var(--block-label-padding);max-width:80%;overflow:hidden;font-size:var(--block-label-text-size);text-align:left;text-overflow:ellipsis;white-space:nowrap}img.svelte-ce8fvd{width:var(--size-full);height:var(--size-full);object-fit:contain}.selectable.svelte-ce8fvd{cursor:crosshair}.buttons.svelte-ce8fvd{display:flex;position:absolute;top:var(--size-2);right:var(--size-2);justify-content:flex-end;gap:var(--spacing-sm);z-index:var(--layer-5)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.scroll-container.svelte-17e1ti5.svelte-17e1ti5{overflow:auto;position:relative;flex:1 1 0%;height:100%}.scroll-container.svelte-17e1ti5>.block{background:var(--panel-background-fill)}.target.svelte-17e1ti5.svelte-17e1ti5{display:flex;flex-direction:row;justify-content:center;text-align:left}.target.svelte-17e1ti5 .target-name-and-desc.svelte-17e1ti5{margin:auto auto auto 0;left:0px}.target.svelte-17e1ti5 .target-name-and-desc .target-desc.svelte-17e1ti5{opacity:65%;font-size:11pt}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.send-output-modal.svelte-2jsitd{width:60vw;height:70vh;color:none;display:flex;flex-wrap:nowrap;overflow-y:none;flex-direction:row}.targets-container.svelte-2jsitd{width:100%;flex-direction:column}.output-display.svelte-2jsitd{width:40vw}._toastItem.svelte-95rq8t{width:var(--toastWidth, 16rem);height:var(--toastHeight, auto);min-height:var(--toastMinHeight, 3.5rem);margin:var(--toastMargin, 0 0 .5rem 0);padding:var(--toastPadding, 0);background:var(--toastBackground, rgba(66, 66, 66, .9));color:var(--toastColor, #fff);box-shadow:var( --toastBoxShadow, 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06) );border:var(--toastBorder, none);border-radius:var(--toastBorderRadius, .125rem);position:relative;display:flex;flex-direction:row;align-items:center;overflow:hidden;will-change:transform,opacity;-webkit-tap-highlight-color:transparent}._toastMsg.svelte-95rq8t{padding:var(--toastMsgPadding, .75rem .5rem);flex:1 1 0%}.pe.svelte-95rq8t,._toastMsg.svelte-95rq8t a{pointer-events:auto}._toastBtn.svelte-95rq8t{width:var(--toastBtnWidth, 2rem);height:var(--toastBtnHeight, 100%);cursor:pointer;outline:none}._toastBtn.svelte-95rq8t:after{content:var(--toastBtnContent, "✕");font:var(--toastBtnFont, 1rem sans-serif);display:flex;align-items:center;justify-content:center}._toastBar.svelte-95rq8t{top:var(--toastBarTop, auto);right:var(--toastBarRight, auto);bottom:var(--toastBarBottom, 0);left:var(--toastBarLeft, 0);height:var(--toastBarHeight, 6px);width:var(--toastBarWidth, 100%);position:absolute;display:block;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;pointer-events:none}._toastBar.svelte-95rq8t::-webkit-progress-bar{background:transparent}._toastBar.svelte-95rq8t::-webkit-progress-value{background:var(--toastProgressBackground, var(--toastBarBackground, rgba(33, 150, 243, .75)))}._toastBar.svelte-95rq8t::-moz-progress-bar{background:var(--toastProgressBackground, var(--toastBarBackground, rgba(33, 150, 243, .75)))}._toastContainer.svelte-1u812xz{top:var(--toastContainerTop, 1.5rem);right:var(--toastContainerRight, 2rem);bottom:var(--toastContainerBottom, auto);left:var(--toastContainerLeft, auto);position:fixed;margin:0;padding:0;list-style-type:none;pointer-events:none;z-index:var(--toastContainerZIndex, 9999)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}div.svelte-49d8ld{cursor:pointer}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.dark.svelte-18z87vi{--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-100);--color-accent-soft:var(--neutral-700);--background-fill-primary:var(--neutral-950);--background-fill-secondary:var(--neutral-900);--border-color-accent:var(--neutral-600);--border-color-primary:var(--neutral-700);--link-text-color-active:var(--secondary-500);--link-text-color:var(--secondary-500);--link-text-color-hover:var(--secondary-400);--link-text-color-visited:var(--secondary-600);--body-text-color-subdued:var(--neutral-400);--shadow-spread:1px;--block-background-fill:var(--neutral-800);--block-border-color:var(--border-color-primary);--block_border_width:None;--block-info-text-color:var(--body-text-color-subdued);--block-label-background-fill:var(--background-fill-secondary);--block-label-border-color:var(--border-color-primary);--block_label_border_width:None;--block-label-text-color:var(--neutral-200);--block_shadow:None;--block_title_background_fill:None;--block_title_border_color:None;--block_title_border_width:None;--block-title-text-color:var(--neutral-200);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel_border_width:None;--checkbox-background-color:var(--neutral-800);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-700);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-600);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:var(--background-fill-primary);--error-border-color:var(--border-color-primary);--error_border_width:None;--error-text-color:#ef4444;--input-background-fill:var(--neutral-800);--input-background-fill-focus:var(--secondary-600);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--neutral-700);--input-border-color-hover:var(--input-border-color);--input_border_width:None;--input-placeholder-color:var(--neutral-500);--input_shadow:None;--input-shadow-focus:0 0 0 var(--shadow-spread) var(--neutral-700), var(--shadow-inset);--loader_color:None;--slider_color:None;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-600));--table-border-color:var(--neutral-700);--table-even-background-fill:var(--neutral-950);--table-odd-background-fill:var(--neutral-900);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #dc2626, #b91c1c);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #dc2626, #dc2626);--button-cancel-border-color:#dc2626;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:white;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-500), var(--primary-600));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-500), var(--primary-500));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-600), var(--primary-700));--button-primary-border-color:var(--primary-500);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:white;--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--neutral-300);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-700));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-600));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-700), var(--neutral-800));--button-secondary-border-color:var(--neutral-600);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:white;--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-300);--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--block-border-width:1px;--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-border-radius:var(--radius-sm);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--error-border-width:1px;--input-border-width:1px;--input-padding:var(--spacing-xl);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--table-radius:var(--radius-lg);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.litegraph.graphdialog.svelte-18z87vi{min-height:1em;background-color:var(--litegraph-comfy-menu-bg)}.litegraph.litesearchbox.svelte-18z87vi{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;overflow:hidden}.litegraph.lite-search-item.svelte-18z87vi{color:var(--litegraph-input-text);background-color:var(--litegraph-comfy-input-bg);filter:brightness(80%);padding-left:.2em}.litegraph.lite-search-item.generic_type.svelte-18z87vi{color:var(--litegraph-input-text);filter:brightness(50%)}.litemenu-entry.has_submenu.svelte-18z87vi:after{content:">";position:absolute;top:0;right:2px}.litegraph.litecontextmenu.svelte-18z87vi,.litegraph.litecontextmenu.dark.svelte-18z87vi{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;filter:brightness(95%)}.dark.svelte-18z87vi{color-scheme:dark;--input-border-color-focus:var(--neutral-500);--comfy-accent-soft:var(--neutral-600);--comfy-widget-selected-background-fill:var(--primary-500);--comfy-widget-hovered-background-fill:var(--neutral-600);--comfy-container-selected-background-fill:var(--primary-700);--comfy-container-hovered-background-fill:var(--neutral-500);--comfy-container-empty-background-fill:var(--color-grey-800);--comfy-container-empty-border-color:var(--color-grey-600);--comfy-disabled-label-color:var(--neutral-500);--comfy-disabled-textbox-background-fill:var(--neutral-800);--comfy-disabled-textbox-border-color:var(--neutral-700);--comfy-disabled-textbox-text-color:var(--neutral-500);--comfy-splitpanes-background-fill:var(--panel-border-color);--comfy-splitpanes-background-fill-hover:var(--secondary-500);--comfy-splitpanes-background-fill-active:var(--secondary-300);--comfy-dropdown-list-background:var(--neutral-800);--comfy-dropdown-item-color-hover:var(--neutral-400);--comfy-dropdown-item-background-hover:var(--neutral-600);--comfy-dropdown-item-background-active:var(--secondary-600);--comfy-dropdown-border-color:var(--neutral-600);--comfy-progress-bar-background:var(--neutral-500);--comfy-progress-bar-foreground:var(--secondary-400);--comfy-node-name-background:var(--neutral-700);--comfy-node-name-foreground:var(--body-text-color);--comfy-spinner-main-color:var(--neutral-600);--comfy-spinner-accent-color:var(--secondary-600);--f7-navbar-color:var(--body-text-color);--f7-navbar-bg-color:var(--neutral-800)}.container.svelte-18z87vi{background:var(--body-background-fill)!important}.container.selected.svelte-18z87vi{background:var(--ae-primary-color)!important}@keyframes svelte-18z87vi-rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loader.svelte-18z87vi{width:48px;height:48px;border:5px solid var(--comfy-spinner-main-color);border-bottom-color:var(--comfy-spinner-accent-color);border-radius:50%;display:inline-block;box-sizing:border-box;animation:svelte-18z87vi-rotation 2s linear infinite}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.wrapper.svelte-1vwl2ct.svelte-1vwl2ct{width:100%}.wrapper.svelte-1vwl2ct>.block{border-radius:0!important}.wrapper.svelte-1vwl2ct button.thumbnail-lg{width:var(--size-32)}.wrapper.comfy-image-widget.svelte-1vwl2ct.svelte-1vwl2ct{aspect-ratio:1/1}.wrapper.comfy-image-widget.svelte-1vwl2ct>.block{height:100%}.wrapper.comfy-image-widget.svelte-1vwl2ct>.block img{width:100%;height:100%;object-fit:contain}.wrapper.svelte-1vwl2ct:hover .comfy-gallery-preview.svelte-1vwl2ct{opacity:0%}.comfy-gallery-preview.svelte-1vwl2ct.svelte-1vwl2ct{position:absolute;top:0;left:0;width:100%;height:100%;z-index:var(--layer-top);pointer-events:none;transition:opacity .1s linear;opacity:100%}.comfy-gallery-preview.svelte-1vwl2ct>img.svelte-1vwl2ct{width:var(--size-full);height:var(--size-full);object-fit:contain;border:5px dashed var(--secondary-400)}.padding.svelte-1vwl2ct.svelte-1vwl2ct{height:30rem}div.svelte-1hiax8p{display:flex;flex-wrap:wrap;gap:var(--layout-gap);width:var(--size-full)}.hide.svelte-1hiax8p{display:none}.compact.svelte-1hiax8p>*,.compact.svelte-1hiax8p .box{border-radius:0}.compact.svelte-1hiax8p,.panel.svelte-1hiax8p{border-radius:var(--container-radius);background:var(--background-fill-secondary);padding:var(--size-2)}.unequal-height.svelte-1hiax8p{align-items:flex-start}.stretch.svelte-1hiax8p{align-items:stretch}div.svelte-1hiax8p>*,div.svelte-1hiax8p>.form>*{flex:1 1 0%;flex-wrap:wrap;min-width:min(--row-min-width,100%)}.wrap.svelte-8ytugg{display:flex;flex-direction:column;justify-content:center;min-height:var(--size-60);color:var(--block-label-text-color);line-height:var(--line-md)}.or.svelte-8ytugg{color:var(--body-text-color-subdued)}@media (--screen-md){.wrap.svelte-8ytugg{font-size:var(--text-lg)}}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.image-upload.svelte-7aqtz8.svelte-7aqtz8{height:var(--size-96)}.image-upload.svelte-7aqtz8 .block{height:inherit;padding:0;border-radius:0}.image-upload.svelte-7aqtz8 img.svelte-7aqtz8{position:absolute;top:0;left:0;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}input.svelte-1v4o7xm.svelte-1v4o7xm{color:var(--body-text-color);background:var(--input-background-fill);border:var(--input-border-width) solid var(--input-border-color)}input.svelte-1v4o7xm.svelte-1v4o7xm:not(input[type=radio]){border-radius:0!important}.me-container.svelte-1v4o7xm.svelte-1v4o7xm{width:100%;height:100%;position:relative;overflow:hidden;background-color:#fff;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(135deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(135deg,transparent 75%,#ccc 75%);background-size:25px 25px;background-position:0 0,12.5px 0,12.5px -12.5px,0px 12.5px}.me-container.fullscreen.svelte-1v4o7xm.svelte-1v4o7xm{position:fixed;top:0;left:0;width:100vw;height:100vh;margin:auto;z-index:var(--layer-top)}.me-transform.svelte-1v4o7xm.svelte-1v4o7xm{--scale:1;display:flex;flex-wrap:wrap;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;margin:0;padding:0;transform-origin:0% 0%}.me-original-image-container.svelte-1v4o7xm.svelte-1v4o7xm{position:absolute;top:0;left:0;grid-area:editor-content;pointer-events:none;user-select:none;display:grid;grid-template-areas:"original-image-content";border:calc(1 / var(--scale) * 5px) dashed grey}.me-original-image-container.svelte-1v4o7xm img.me-original-image.svelte-1v4o7xm{grid-area:original-image-content}.me-canvas.svelte-1v4o7xm.svelte-1v4o7xm{position:absolute;z-index:1}.me-brush-cursor.svelte-1v4o7xm.svelte-1v4o7xm{position:absolute;border-radius:50%;background-color:#000;border:1px solid var(--yellow-accent);pointer-events:none}.me-toolkit-bar.svelte-1v4o7xm.svelte-1v4o7xm{position:absolute;bottom:.5rem;border-radius:3rem;padding:.4rem 24px;display:flex;margin:.5rem auto;gap:16px;left:0;right:0;width:80%;height:3rem;align-items:center;justify-content:space-evenly;backdrop-filter:blur(12px);background-color:#fff;animation:slideUp .2s ease-out;border:var(--editor-toolkit-panel-border);box-shadow:0 0 0 4px #0000001a,0 3px 16px #00000014,0 2px 6px 1px #00000017}.me-toolkit-bar.svelte-1v4o7xm label.svelte-1v4o7xm{display:flex;flex-direction:row;gap:4px}.me-toolkit-bar.svelte-1v4o7xm label input.svelte-1v4o7xm{width:5rem}.me-toolkit-bar.svelte-1v4o7xm button.svelte-1v4o7xm:not(:disabled){cursor:pointer}.me-toolkit-bar.svelte-1v4o7xm button.svelte-1v4o7xm:hover:not(:disabled){color:var(--secondary-600)}.me-toolkit-bar.svelte-1v4o7xm button.svelte-1v4o7xm:disabled{opacity:40%}.me-toolkit-bar.svelte-1v4o7xm .toggle-button.svelte-1v4o7xm:hover:not(:disabled){color:var(--secondary-600)}.me-toolkit-bar.svelte-1v4o7xm .toggle-button.svelte-1v4o7xm:not(:disabled){cursor:pointer}.me-toolkit-bar.svelte-1v4o7xm .toggle-button.toggled.svelte-1v4o7xm{color:var(--secondary-400)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.comfy-image-editor.svelte-xilbl7>dialog{overflow:hidden}.mask-canvas-wrapper.svelte-xilbl7{height:calc(var(--size-96) * 1.5)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}input.svelte-17c17fl{color:var(--body-text-color);background:var(--input-background-fill);border:var(--input-border-width) solid var(--input-border-color)}input.svelte-17c17fl:not(input[type=radio]){border-radius:0!important}.wrap.svelte-17c17fl{display:flex;flex-direction:column;width:100%}.head.svelte-17c17fl{display:flex;justify-content:space-between}input[type=number].svelte-17c17fl{display:block;position:relative;outline:none!important;box-shadow:var(--input-shadow);border:var(--input-border-width) solid var(--input-border-color);border-radius:var(--input-radius);background:var(--input-background-fill);padding:var(--size-2) var(--size-2);height:var(--size-6);color:var(--body-text-color);font-size:var(--input-text-size);line-height:var(--line-sm);text-align:center}input.svelte-17c17fl:disabled{-webkit-text-fill-color:var(--body-text-color);-webkit-opacity:1;opacity:1}input[type=number].svelte-17c17fl:focus{box-shadow:var(--input-shadow-focus);border-color:var(--input-border-color-focus)}input.svelte-17c17fl::placeholder{color:var(--input-placeholder-color)}input[type=range].svelte-17c17fl{width:100%;accent-color:var(--slider-color)}input[disabled].svelte-17c17fl{cursor:not-allowed}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.wrapper.svelte-jib6x3{padding:2px;width:100%}.wrapper.svelte-jib6x3 input[type=number]{text-overflow:ellipsis}.wrapper.svelte-jib6x3 input[type=number]:disabled{-webkit-text-fill-color:var(--comfy-disabled-textbox-text-color);background-color:var(--comfy-disabled-textbox-background-fill);border-color:var(--comfy-disabled-textbox-border-color);box-shadow:0 0 0 var(--shadow-spread) transparent,#00000014 0 2px 4px inset;cursor:not-allowed;color:var(--comfy-disabled-label-color)}.wrapper.mobile.svelte-jib6x3 input[type=range]{pointer-events:none;-webkit-appearance:none;appearance:none;cursor:default;height:.6rem;padding:initial;border:initial;margin:.8rem 0;width:100%;background:linear-gradient(to right,var(--color-blue-600),var(--color-blue-600)),#D7D7D7;background-size:var(--background-size, 0%) 100%;background-repeat:no-repeat;border-radius:1rem;border:1px solid var(--neutral-400)}.wrapper.mobile.svelte-jib6x3 input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;pointer-events:all;width:1.75rem;height:1.75rem;border-radius:50%;background:var(--color-blue-600);cursor:pointer;border:2px solid var(--neutral-100);box-shadow:0 0 0 1px var(--neutral-400)}.wrapper.mobile.svelte-jib6x3 input[type=range] input[type=number]{font-size:16px;height:var(--size-6)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.dark.svelte-1y013ij.svelte-1y013ij{--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-100);--color-accent-soft:var(--neutral-700);--background-fill-primary:var(--neutral-950);--background-fill-secondary:var(--neutral-900);--border-color-accent:var(--neutral-600);--border-color-primary:var(--neutral-700);--link-text-color-active:var(--secondary-500);--link-text-color:var(--secondary-500);--link-text-color-hover:var(--secondary-400);--link-text-color-visited:var(--secondary-600);--body-text-color-subdued:var(--neutral-400);--shadow-spread:1px;--block-background-fill:var(--neutral-800);--block-border-color:var(--border-color-primary);--block_border_width:None;--block-info-text-color:var(--body-text-color-subdued);--block-label-background-fill:var(--background-fill-secondary);--block-label-border-color:var(--border-color-primary);--block_label_border_width:None;--block-label-text-color:var(--neutral-200);--block_shadow:None;--block_title_background_fill:None;--block_title_border_color:None;--block_title_border_width:None;--block-title-text-color:var(--neutral-200);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel_border_width:None;--checkbox-background-color:var(--neutral-800);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-700);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-600);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:var(--background-fill-primary);--error-border-color:var(--border-color-primary);--error_border_width:None;--error-text-color:#ef4444;--input-background-fill:var(--neutral-800);--input-background-fill-focus:var(--secondary-600);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--neutral-700);--input-border-color-hover:var(--input-border-color);--input_border_width:None;--input-placeholder-color:var(--neutral-500);--input_shadow:None;--input-shadow-focus:0 0 0 var(--shadow-spread) var(--neutral-700), var(--shadow-inset);--loader_color:None;--slider_color:None;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-600));--table-border-color:var(--neutral-700);--table-even-background-fill:var(--neutral-950);--table-odd-background-fill:var(--neutral-900);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #dc2626, #b91c1c);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #dc2626, #dc2626);--button-cancel-border-color:#dc2626;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:white;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-500), var(--primary-600));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-500), var(--primary-500));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-600), var(--primary-700));--button-primary-border-color:var(--primary-500);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:white;--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--neutral-300);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-700));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-600));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-700), var(--neutral-800));--button-secondary-border-color:var(--neutral-600);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:white;--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-300);--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--block-border-width:1px;--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-border-radius:var(--radius-sm);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--error-border-width:1px;--input-border-width:1px;--input-padding:var(--spacing-xl);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--table-radius:var(--radius-lg);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.litegraph.graphdialog.svelte-1y013ij.svelte-1y013ij{min-height:1em;background-color:var(--litegraph-comfy-menu-bg)}.litegraph.litesearchbox.svelte-1y013ij.svelte-1y013ij{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;overflow:hidden}.litegraph.lite-search-item.svelte-1y013ij.svelte-1y013ij{color:var(--litegraph-input-text);background-color:var(--litegraph-comfy-input-bg);filter:brightness(80%);padding-left:.2em}.litegraph.lite-search-item.generic_type.svelte-1y013ij.svelte-1y013ij{color:var(--litegraph-input-text);filter:brightness(50%)}.litemenu-entry.has_submenu.svelte-1y013ij.svelte-1y013ij:after{content:">";position:absolute;top:0;right:2px}.litegraph.litecontextmenu.svelte-1y013ij.svelte-1y013ij,.litegraph.litecontextmenu.dark.svelte-1y013ij.svelte-1y013ij{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;filter:brightness(95%)}.dark.svelte-1y013ij.svelte-1y013ij{color-scheme:dark;--input-border-color-focus:var(--neutral-500);--comfy-accent-soft:var(--neutral-600);--comfy-widget-selected-background-fill:var(--primary-500);--comfy-widget-hovered-background-fill:var(--neutral-600);--comfy-container-selected-background-fill:var(--primary-700);--comfy-container-hovered-background-fill:var(--neutral-500);--comfy-container-empty-background-fill:var(--color-grey-800);--comfy-container-empty-border-color:var(--color-grey-600);--comfy-disabled-label-color:var(--neutral-500);--comfy-disabled-textbox-background-fill:var(--neutral-800);--comfy-disabled-textbox-border-color:var(--neutral-700);--comfy-disabled-textbox-text-color:var(--neutral-500);--comfy-splitpanes-background-fill:var(--panel-border-color);--comfy-splitpanes-background-fill-hover:var(--secondary-500);--comfy-splitpanes-background-fill-active:var(--secondary-300);--comfy-dropdown-list-background:var(--neutral-800);--comfy-dropdown-item-color-hover:var(--neutral-400);--comfy-dropdown-item-background-hover:var(--neutral-600);--comfy-dropdown-item-background-active:var(--secondary-600);--comfy-dropdown-border-color:var(--neutral-600);--comfy-progress-bar-background:var(--neutral-500);--comfy-progress-bar-foreground:var(--secondary-400);--comfy-node-name-background:var(--neutral-700);--comfy-node-name-foreground:var(--body-text-color);--comfy-spinner-main-color:var(--neutral-600);--comfy-spinner-accent-color:var(--secondary-600);--f7-navbar-color:var(--body-text-color);--f7-navbar-bg-color:var(--neutral-800)}.container.svelte-1y013ij.svelte-1y013ij{background:var(--body-background-fill)!important}.container.selected.svelte-1y013ij.svelte-1y013ij{background:var(--ae-primary-color)!important}.code-editor-wrapper.svelte-1y013ij>.block{background:var(--panel-background-fill)!important}.wrap.svelte-1y013ij.svelte-1y013ij{display:flex;flex-direction:column;flex-flow:column;margin:0;padding:0;height:100%;border:1px solid var(--input-border-color)}.wrap.svelte-1y013ij .codemirror-wrapper.svelte-1y013ij{height:100%;overflow:auto}.cm-scroller{height:100%!important}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.wrapper.svelte-1bwr6zx{padding:2px;width:100%}.wrapper.svelte-1bwr6zx input[type=text]:disabled{-webkit-text-fill-color:var(--comfy-disabled-textbox-text-color);background-color:var(--comfy-disabled-textbox-background-fill);border-color:var(--comfy-disabled-textbox-border-color);box-shadow:0 0 0 var(--shadow-spread) transparent,#00000014 0 2px 4px inset;cursor:not-allowed;color:var(--comfy-disabled-label-color)}.wrapper.svelte-1bwr6zx textarea:disabled{-webkit-text-fill-color:var(--comfy-disabled-textbox-text-color);background-color:var(--comfy-disabled-textbox-background-fill);border-color:var(--comfy-disabled-textbox-border-color);box-shadow:0 0 0 var(--shadow-spread) transparent,#00000014 0 2px 4px inset;cursor:not-allowed;color:var(--comfy-disabled-label-color)}.wrapper.svelte-1bwr6zx label:has(input:disabled)>span{color:var(--comfy-disabled-label-color)}.wrapper.svelte-1bwr6zx label:has(textarea:disabled)>span{color:var(--comfy-disabled-label-color)}span.hide{display:none}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.regions-container.svelte-4pq7qz.svelte-4pq7qz{position:relative;padding:0}.regions-container.svelte-4pq7qz .regions-image-container.svelte-4pq7qz{display:flex}.regions-container.svelte-4pq7qz .regions-image-container img.svelte-4pq7qz{height:100%;border:3px solid var(--input-border-color)}.regions.svelte-4pq7qz.svelte-4pq7qz{position:absolute;left:0px;top:0px;width:100%;height:100%}.regions.svelte-4pq7qz .region.svelte-4pq7qz{position:absolute;z-index:var(--layer-3);cursor:move;border-style:dotted;border-width:2px}.regions.svelte-4pq7qz .region .tip.svelte-4pq7qz{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:12px;font-weight:700;text-align:center;color:red;z-index:var(--layer-2)}.regions-empty.svelte-4pq7qz.svelte-4pq7qz{display:flex;position:relative;height:10rem;justify-content:center;text-align:center;font-size:32px;font-weight:bolder;color:var(--comfy-accent-soft)}.regions-empty.svelte-4pq7qz span.svelte-4pq7qz{margin:auto}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.wrapper.svelte-2ict3b{padding:2px;width:100%;height:100%}.wrapper.svelte-2ict3b>button{height:100%}.wrapper.svelte-2ict3b>.block{border-radius:0!important}.prose.svelte-2ict3b{font-weight:var(--prose-text-weight);font-size:var(--text-md)}._jsonList.svelte-uhdygg{list-style:none;margin:0;padding:0;padding-left:var(--jsonPaddingLeft, 1rem);border-left:var(--jsonBorderLeft, 1px dotted)}._jsonBkt.svelte-uhdygg{color:var(--jsonBracketColor, currentcolor)}._jsonBkt.svelte-uhdygg:not(.empty):hover{cursor:pointer;background:var(--jsonBracketHoverBackground, #e5e7eb)}._jsonSep.svelte-uhdygg{color:var(--jsonSeparatorColor, currentcolor)}._jsonKey.svelte-uhdygg{color:var(--jsonKeyColor, currentcolor)}._jsonVal.svelte-uhdygg{color:var(--jsonValColor, #9ca3af)}._jsonVal.string.svelte-uhdygg{color:var(--jsonValStringColor, #059669)}._jsonVal.number.svelte-uhdygg{color:var(--jsonValNumberColor, #d97706)}._jsonVal.boolean.svelte-uhdygg{color:var(--jsonValBooleanColor, #2563eb)}._jsonCollapsed.svelte-uhdygg{color:var(--jsonCollapsedColor, currentcolor);background:var(--jsonCollapsedBackground, currentcolor)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.a1111-prompt-display.svelte-a5z4q2.svelte-a5z4q2{width:70vw;height:70vh;color:none;display:flex;flex-wrap:nowrap;overflow-y:none;flex-direction:row}.a1111-prompt-display.svelte-a5z4q2 .prompt-container.svelte-a5z4q2{flex-direction:column;overflow:auto}.a1111-prompt-display.svelte-a5z4q2 .prompt-container .json.svelte-a5z4q2{--jsonPaddingLeft:1rem;--jsonBorderLeft:1px dotted var(--neutral-600);--jsonBracketColor:currentcolor;--jsonBracketHoverBackground:var(--primary-200);--jsonSeparatorColor:currentcolor;--jsonKeyColor:var(--body-text-color);--jsonValColor:var(--body-text-color-subdued);--jsonValStringColor:var(--color-green-500);--jsonValNumberColor:var(--color-blue-500);--jsonValBooleanColor:var(--color-red-500);--jsonCollapsedColor:var(--neutral-100);--jsonCollapsedBackground:var(--primary-400);font-family:monospace}.a1111-prompt-display.svelte-a5z4q2 .prompt-container .scroll-container.svelte-a5z4q2{position:relative;flex:1 1 0%;height:100%}.a1111-prompt-display.svelte-a5z4q2>.block{background:var(--panel-background-fill)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}div.svelte-162c7mp.svelte-162c7mp{padding:1rem}ul.svelte-162c7mp.svelte-162c7mp{padding-left:2rem}ul.svelte-162c7mp>li.svelte-162c7mp{font-weight:700}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}div.svelte-12ax952.svelte-12ax952{padding:1rem}div.svelte-12ax952>.error-block.svelte-12ax952{margin-top:1rem}pre.svelte-12ax952.svelte-12ax952{font-size:1.2rem;padding:1rem 0;background-color:#f003}pre.stack.svelte-12ax952.svelte-12ax952{font-size:1rem;color:#ccc;max-height:50vh;overflow:auto;background-color:#0003}.tabs.svelte-1tkhcg5{display:flex;position:relative;flex-direction:column}.hide.svelte-1tkhcg5{display:none}.tab-nav.svelte-1tkhcg5{display:flex;position:relative;flex-wrap:wrap;border-bottom:1px solid var(--border-color-primary);white-space:nowrap}button.svelte-1tkhcg5{margin-bottom:-1px;border:1px solid transparent;border-color:transparent;border-bottom:none;border-top-right-radius:var(--container-radius);border-top-left-radius:var(--container-radius);padding:var(--size-1) var(--size-4);color:var(--body-text-color-subdued);font-weight:var(--section-header-text-weight);font-size:var(--section-header-text-size)}button.svelte-1tkhcg5:hover{color:var(--body-text-color)}.selected.svelte-1tkhcg5{border-color:var(--border-color-primary);background:var(--background-fill-primary);color:var(--body-text-color)}.bar.svelte-1tkhcg5{display:block;position:absolute;bottom:-2px;left:0;z-index:999;background:var(--background-fill-primary);width:100%;height:2px;content:""}div.svelte-ztmw93{display:flex;position:relative;border:1px solid var(--border-color-primary);border-top:none;border-bottom-right-radius:var(--container-radius);border-bottom-left-radius:var(--container-radius);padding:var(--block-padding)}span.svelte-xyse2h{font-weight:var(--section-header-text-weight);font-size:var(--section-header-text-size)}.label-wrap.svelte-xyse2h{display:flex;justify-content:space-between;cursor:pointer;width:var(--size-full)}.label-wrap.open.svelte-xyse2h{margin-bottom:var(--size-2)}.icon.svelte-xyse2h{transition:.15s}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.layout-container.svelte-1fp9590>.block{background:var(--panel-background-fill)}.layout-widget.svelte-1fp9590>.block{background:var(--block-background-fill)}div.svelte-1m1obck{display:flex;position:relative;flex-direction:column}div.svelte-1m1obck>*,div.svelte-1m1obck>.form>*{width:var(--size-full)}.gap.svelte-1m1obck{gap:var(--layout-gap)}.hide.svelte-1m1obck{display:none}.compact.svelte-1m1obck>*,.compact.svelte-1m1obck .box{border-radius:0}.compact.svelte-1m1obck,.panel.svelte-1m1obck{border:solid var(--panel-border-width) var(--panel-border-color);border-radius:var(--container-radius);background:var(--panel-background-fill);padding:var(--spacing-lg)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.template-preview.svelte-qwu684.svelte-qwu684{width:70vw;height:70vh;display:flex;flex-direction:column;gap:var(--layout-gap)}.template-metadata.svelte-qwu684.svelte-qwu684{position:relative;flex:1 1 0%}.template-metadata.svelte-qwu684>.block{background:var(--panel-background-fill)}.template-layout-preview.svelte-qwu684.svelte-qwu684{flex-grow:1;overflow:auto}.template-layout-preview.svelte-qwu684>.block{background:var(--panel-background-fill)}.template-graph-preview.svelte-qwu684.svelte-qwu684{min-width:0}.template-graph-preview.svelte-qwu684>.block{background:var(--panel-background-fill)}.template-graph-preview.svelte-qwu684 .json.svelte-qwu684{--jsonPaddingLeft:1rem;--jsonBorderLeft:1px dotted var(--neutral-600);--jsonBracketColor:currentcolor;--jsonBracketHoverBackground:var(--primary-200);--jsonSeparatorColor:currentcolor;--jsonKeyColor:var(--body-text-color);--jsonValColor:var(--body-text-color-subdued);--jsonValStringColor:var(--color-green-500);--jsonValNumberColor:var(--color-blue-500);--jsonValBooleanColor:var(--color-red-500);--jsonCollapsedColor:var(--neutral-100);--jsonCollapsedBackground:var(--primary-400);font-family:monospace}.template-graph-wrapper.svelte-qwu684.svelte-qwu684{overflow:auto;margin:auto}.json-button.svelte-qwu684.svelte-qwu684{display:flex;position:absolute;top:var(--block-label-margin);right:var(--block-label-margin);align-items:center;box-shadow:var(--shadow-drop);border:1px solid var(--border-color-primary);border-radius:var(--block-label-right-radius);background:var(--block-label-background-fill);padding:5px;width:30px;height:30px;overflow:hidden;color:var(--block-label-text-color);font:var(--font);font-size:var(--button-small-text-size)}.progress.svelte-1wglhuw{height:30px;margin:5px;text-align:center;background:var(--comfy-progress-bar-background);padding:0;position:relative}.bar.svelte-1wglhuw{height:100%;background:var(--comfy-progress-bar-foreground)}.label.svelte-1wglhuw{font-size:.9em;position:absolute;margin:0;left:0;right:0;top:50%;transform:translateY(-50%)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.dark.svelte-ihejkv.svelte-ihejkv{--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-100);--color-accent-soft:var(--neutral-700);--background-fill-primary:var(--neutral-950);--background-fill-secondary:var(--neutral-900);--border-color-accent:var(--neutral-600);--border-color-primary:var(--neutral-700);--link-text-color-active:var(--secondary-500);--link-text-color:var(--secondary-500);--link-text-color-hover:var(--secondary-400);--link-text-color-visited:var(--secondary-600);--body-text-color-subdued:var(--neutral-400);--shadow-spread:1px;--block-background-fill:var(--neutral-800);--block-border-color:var(--border-color-primary);--block_border_width:None;--block-info-text-color:var(--body-text-color-subdued);--block-label-background-fill:var(--background-fill-secondary);--block-label-border-color:var(--border-color-primary);--block_label_border_width:None;--block-label-text-color:var(--neutral-200);--block_shadow:None;--block_title_background_fill:None;--block_title_border_color:None;--block_title_border_width:None;--block-title-text-color:var(--neutral-200);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel_border_width:None;--checkbox-background-color:var(--neutral-800);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-700);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-600);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:var(--background-fill-primary);--error-border-color:var(--border-color-primary);--error_border_width:None;--error-text-color:#ef4444;--input-background-fill:var(--neutral-800);--input-background-fill-focus:var(--secondary-600);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--neutral-700);--input-border-color-hover:var(--input-border-color);--input_border_width:None;--input-placeholder-color:var(--neutral-500);--input_shadow:None;--input-shadow-focus:0 0 0 var(--shadow-spread) var(--neutral-700), var(--shadow-inset);--loader_color:None;--slider_color:None;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-600));--table-border-color:var(--neutral-700);--table-even-background-fill:var(--neutral-950);--table-odd-background-fill:var(--neutral-900);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #dc2626, #b91c1c);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #dc2626, #dc2626);--button-cancel-border-color:#dc2626;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:white;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-500), var(--primary-600));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-500), var(--primary-500));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-600), var(--primary-700));--button-primary-border-color:var(--primary-500);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:white;--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--neutral-300);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-700));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-600));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-700), var(--neutral-800));--button-secondary-border-color:var(--neutral-600);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:white;--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-300);--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--block-border-width:1px;--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-border-radius:var(--radius-sm);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--error-border-width:1px;--input-border-width:1px;--input-padding:var(--spacing-xl);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--table-radius:var(--radius-lg);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.litegraph.graphdialog.svelte-ihejkv.svelte-ihejkv{min-height:1em;background-color:var(--litegraph-comfy-menu-bg)}.litegraph.litesearchbox.svelte-ihejkv.svelte-ihejkv{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;overflow:hidden}.litegraph.lite-search-item.svelte-ihejkv.svelte-ihejkv{color:var(--litegraph-input-text);background-color:var(--litegraph-comfy-input-bg);filter:brightness(80%);padding-left:.2em}.litegraph.lite-search-item.generic_type.svelte-ihejkv.svelte-ihejkv{color:var(--litegraph-input-text);filter:brightness(50%)}.litemenu-entry.has_submenu.svelte-ihejkv.svelte-ihejkv:after{content:">";position:absolute;top:0;right:2px}.litegraph.litecontextmenu.svelte-ihejkv.svelte-ihejkv,.litegraph.litecontextmenu.dark.svelte-ihejkv.svelte-ihejkv{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;filter:brightness(95%)}.dark.svelte-ihejkv.svelte-ihejkv{color-scheme:dark;--input-border-color-focus:var(--neutral-500);--comfy-accent-soft:var(--neutral-600);--comfy-widget-selected-background-fill:var(--primary-500);--comfy-widget-hovered-background-fill:var(--neutral-600);--comfy-container-selected-background-fill:var(--primary-700);--comfy-container-hovered-background-fill:var(--neutral-500);--comfy-container-empty-background-fill:var(--color-grey-800);--comfy-container-empty-border-color:var(--color-grey-600);--comfy-disabled-label-color:var(--neutral-500);--comfy-disabled-textbox-background-fill:var(--neutral-800);--comfy-disabled-textbox-border-color:var(--neutral-700);--comfy-disabled-textbox-text-color:var(--neutral-500);--comfy-splitpanes-background-fill:var(--panel-border-color);--comfy-splitpanes-background-fill-hover:var(--secondary-500);--comfy-splitpanes-background-fill-active:var(--secondary-300);--comfy-dropdown-list-background:var(--neutral-800);--comfy-dropdown-item-color-hover:var(--neutral-400);--comfy-dropdown-item-background-hover:var(--neutral-600);--comfy-dropdown-item-background-active:var(--secondary-600);--comfy-dropdown-border-color:var(--neutral-600);--comfy-progress-bar-background:var(--neutral-500);--comfy-progress-bar-foreground:var(--secondary-400);--comfy-node-name-background:var(--neutral-700);--comfy-node-name-foreground:var(--body-text-color);--comfy-spinner-main-color:var(--neutral-600);--comfy-spinner-accent-color:var(--secondary-600);--f7-navbar-color:var(--body-text-color);--f7-navbar-bg-color:var(--neutral-800)}.container.svelte-ihejkv.svelte-ihejkv{background:var(--body-background-fill)!important}.container.selected.svelte-ihejkv.svelte-ihejkv{background:var(--ae-primary-color)!important}.v-pane.svelte-ihejkv.svelte-ihejkv{height:100%;width:100%;overflow:visible;display:flex;flex:1 1 0%;flex-wrap:wrap}.v-pane.svelte-ihejkv .edit.svelte-ihejkv{min-width:200px;margin:.2rem 0}.v-pane.svelte-ihejkv .animation-wrapper.hidden.svelte-ihejkv:not(.edit){display:none}.v-pane.empty.svelte-ihejkv.svelte-ihejkv{border-width:3px;border-color:var(--comfy-container-empty-border-color);border-radius:0;background:var(--comfy-container-empty-background-fill);min-height:100px;border-style:dashed}.container.svelte-ihejkv.svelte-ihejkv{display:flex}.container.selected.svelte-ihejkv.svelte-ihejkv{background:var(--comfy-container-selected-background-fill)!important}.container.svelte-ihejkv>*{border-radius:0}.container.svelte-ihejkv>.padded{padding:10px 12px 0 10px}.container.svelte-ihejkv>.padded:last-child{padding-bottom:12px}.container.svelte-ihejkv>.block{height:fit-content}.container.svelte-ihejkv .edit.svelte-ihejkv>.block{border-color:var(--color-pink-500);border-width:2px;border-style:dashed!important;margin:.2em;padding:1.4em}.container.svelte-ihejkv>.hide-block>.block{padding:.5em .25em;box-shadow:unset;border-width:0;border-color:unset;border-radius:unset;background:var(--block-background-fill);width:100%;line-height:var(--line-sm)}.container.horizontal.svelte-ihejkv.svelte-ihejkv{flex-wrap:wrap;gap:var(--layout-gap);width:var(--size-full)}.container.horizontal.svelte-ihejkv>.block>.v-pane{flex-direction:row}.container.vertical.svelte-ihejkv.svelte-ihejkv{position:relative}.container.vertical.svelte-ihejkv>.block>.v-pane{flex-direction:column}.container.selected.svelte-ihejkv>.block{background:var(--color-yellow-300)}.is-executing.svelte-ihejkv.svelte-ihejkv{border:3px dashed var(--color-green-600)!important;margin:.2em;padding:.2em}.handle.svelte-ihejkv.svelte-ihejkv{cursor:grab;z-index:99999;position:absolute;right:0;top:0;width:100%;height:100%}.animation-wrapper.svelte-ihejkv.svelte-ihejkv{position:relative;flex-basis:0%;flex-grow:100;flex-shrink:100}.handle-hidden.svelte-ihejkv.svelte-ihejkv{background-color:#303030a0}.handle-widget.svelte-ihejkv.svelte-ihejkv:hover{background-color:#add8e680}.handle-container.svelte-ihejkv.svelte-ihejkv:hover{background-color:#d8ade680}.drag-item-shadow.svelte-ihejkv.svelte-ihejkv{position:absolute;top:0;left:0;right:0;bottom:0;visibility:visible;border:1px dashed grey;background:lightblue;opacity:.5;margin:0}.node-type.svelte-ihejkv.svelte-ihejkv{font-size:smaller;color:var(--neutral-400)}.edit-title-label.svelte-ihejkv.svelte-ihejkv{z-index:10000;position:relative}.edit-title.svelte-ihejkv.svelte-ihejkv{z-index:10000;display:block;position:relative;outline:none!important;box-shadow:var(--input-shadow);border:var(--input-border-width) solid var(--input-border-color);border-radius:var(--input-radius);background:var(--input-background-fill);padding:var(--input-padding);width:100%;color:var(--body-text-color);font-weight:var(--input-text-weight);font-size:var(--input-text-size);line-height:var(--line-sm)}.edit-title.svelte-ihejkv.svelte-ihejkv:focus{box-shadow:var(--input-shadow-focus);border-color:var(--input-border-color-focus)}.edit-title.svelte-ihejkv.svelte-ihejkv::placeholder{color:var(--input-placeholder-color)}.root-container.svelte-ihejkv>.block{padding:0}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.dark.svelte-gk4lmp.svelte-gk4lmp{--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-100);--color-accent-soft:var(--neutral-700);--background-fill-primary:var(--neutral-950);--background-fill-secondary:var(--neutral-900);--border-color-accent:var(--neutral-600);--border-color-primary:var(--neutral-700);--link-text-color-active:var(--secondary-500);--link-text-color:var(--secondary-500);--link-text-color-hover:var(--secondary-400);--link-text-color-visited:var(--secondary-600);--body-text-color-subdued:var(--neutral-400);--shadow-spread:1px;--block-background-fill:var(--neutral-800);--block-border-color:var(--border-color-primary);--block_border_width:None;--block-info-text-color:var(--body-text-color-subdued);--block-label-background-fill:var(--background-fill-secondary);--block-label-border-color:var(--border-color-primary);--block_label_border_width:None;--block-label-text-color:var(--neutral-200);--block_shadow:None;--block_title_background_fill:None;--block_title_border_color:None;--block_title_border_width:None;--block-title-text-color:var(--neutral-200);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel_border_width:None;--checkbox-background-color:var(--neutral-800);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-700);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-600);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:var(--background-fill-primary);--error-border-color:var(--border-color-primary);--error_border_width:None;--error-text-color:#ef4444;--input-background-fill:var(--neutral-800);--input-background-fill-focus:var(--secondary-600);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--neutral-700);--input-border-color-hover:var(--input-border-color);--input_border_width:None;--input-placeholder-color:var(--neutral-500);--input_shadow:None;--input-shadow-focus:0 0 0 var(--shadow-spread) var(--neutral-700), var(--shadow-inset);--loader_color:None;--slider_color:None;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-600));--table-border-color:var(--neutral-700);--table-even-background-fill:var(--neutral-950);--table-odd-background-fill:var(--neutral-900);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #dc2626, #b91c1c);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #dc2626, #dc2626);--button-cancel-border-color:#dc2626;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:white;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-500), var(--primary-600));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-500), var(--primary-500));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-600), var(--primary-700));--button-primary-border-color:var(--primary-500);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:white;--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--neutral-300);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-700));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-600));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-700), var(--neutral-800));--button-secondary-border-color:var(--neutral-600);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:white;--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-300);--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--block-border-width:1px;--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-border-radius:var(--radius-sm);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--error-border-width:1px;--input-border-width:1px;--input-padding:var(--spacing-xl);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--table-radius:var(--radius-lg);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.litegraph.graphdialog.svelte-gk4lmp.svelte-gk4lmp{min-height:1em;background-color:var(--litegraph-comfy-menu-bg)}.litegraph.litesearchbox.svelte-gk4lmp.svelte-gk4lmp{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;overflow:hidden}.litegraph.lite-search-item.svelte-gk4lmp.svelte-gk4lmp{color:var(--litegraph-input-text);background-color:var(--litegraph-comfy-input-bg);filter:brightness(80%);padding-left:.2em}.litegraph.lite-search-item.generic_type.svelte-gk4lmp.svelte-gk4lmp{color:var(--litegraph-input-text);filter:brightness(50%)}.litemenu-entry.has_submenu.svelte-gk4lmp.svelte-gk4lmp:after{content:">";position:absolute;top:0;right:2px}.litegraph.litecontextmenu.svelte-gk4lmp.svelte-gk4lmp,.litegraph.litecontextmenu.dark.svelte-gk4lmp.svelte-gk4lmp{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;filter:brightness(95%)}.dark.svelte-gk4lmp.svelte-gk4lmp{color-scheme:dark;--input-border-color-focus:var(--neutral-500);--comfy-accent-soft:var(--neutral-600);--comfy-widget-selected-background-fill:var(--primary-500);--comfy-widget-hovered-background-fill:var(--neutral-600);--comfy-container-selected-background-fill:var(--primary-700);--comfy-container-hovered-background-fill:var(--neutral-500);--comfy-container-empty-background-fill:var(--color-grey-800);--comfy-container-empty-border-color:var(--color-grey-600);--comfy-disabled-label-color:var(--neutral-500);--comfy-disabled-textbox-background-fill:var(--neutral-800);--comfy-disabled-textbox-border-color:var(--neutral-700);--comfy-disabled-textbox-text-color:var(--neutral-500);--comfy-splitpanes-background-fill:var(--panel-border-color);--comfy-splitpanes-background-fill-hover:var(--secondary-500);--comfy-splitpanes-background-fill-active:var(--secondary-300);--comfy-dropdown-list-background:var(--neutral-800);--comfy-dropdown-item-color-hover:var(--neutral-400);--comfy-dropdown-item-background-hover:var(--neutral-600);--comfy-dropdown-item-background-active:var(--secondary-600);--comfy-dropdown-border-color:var(--neutral-600);--comfy-progress-bar-background:var(--neutral-500);--comfy-progress-bar-foreground:var(--secondary-400);--comfy-node-name-background:var(--neutral-700);--comfy-node-name-foreground:var(--body-text-color);--comfy-spinner-main-color:var(--neutral-600);--comfy-spinner-accent-color:var(--secondary-600);--f7-navbar-color:var(--body-text-color);--f7-navbar-bg-color:var(--neutral-800)}.container.svelte-gk4lmp.svelte-gk4lmp{background:var(--body-background-fill)!important}.container.selected.svelte-gk4lmp.svelte-gk4lmp{background:var(--ae-primary-color)!important}.container.selected.svelte-gk4lmp.svelte-gk4lmp{background:var(--comfy-container-selected-background-fill)!important}.container.svelte-gk4lmp>*{border-radius:0}.container.svelte-gk4lmp .v-pane>.block{height:fit-content}.container.edit.svelte-gk4lmp.svelte-gk4lmp{border-color:var(--color-pink-500);border-width:2px;border-style:dashed!important;margin:2em .2em}.container.edit.svelte-gk4lmp>.v-pane{padding:1.4em}.container.horizontal.svelte-gk4lmp.svelte-gk4lmp{flex-wrap:wrap;gap:var(--layout-gap);width:var(--size-full)}.container.horizontal.svelte-gk4lmp>.block>.v-pane{flex-direction:row}.container.horizontal.svelte-gk4lmp>*,.container.horizontal.svelte-gk4lmp>.form>*{flex:1 1 0%;flex-wrap:wrap;min-width:min(160px,100%)}.container.vertical.svelte-gk4lmp.svelte-gk4lmp{position:relative}.container.vertical.svelte-gk4lmp>.block>.v-pane{flex-direction:column}.container.vertical.svelte-gk4lmp>*,.container.vertical.svelte-gk4lmp>.form>*,.container.vertical.svelte-gk4lmp .v-pane.svelte-gk4lmp{width:var(--size-full)}.label-wrap>span{color:var(--block-title-text-color);font-size:16px}.handle.svelte-gk4lmp.svelte-gk4lmp{cursor:grab;z-index:99999;position:absolute;right:0;top:0;width:100%;height:100%}.animation-wrapper.svelte-gk4lmp.svelte-gk4lmp{position:relative;flex:1 1 0%}.handle-widget.svelte-gk4lmp.svelte-gk4lmp:hover{background-color:#add8e680}.handle-container.svelte-gk4lmp.svelte-gk4lmp:hover{background-color:#d8ade680}.container.selected.svelte-gk4lmp>.block{background:var(--color-yellow-300)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.dark.svelte-1gex4qr.svelte-1gex4qr{--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-100);--color-accent-soft:var(--neutral-700);--background-fill-primary:var(--neutral-950);--background-fill-secondary:var(--neutral-900);--border-color-accent:var(--neutral-600);--border-color-primary:var(--neutral-700);--link-text-color-active:var(--secondary-500);--link-text-color:var(--secondary-500);--link-text-color-hover:var(--secondary-400);--link-text-color-visited:var(--secondary-600);--body-text-color-subdued:var(--neutral-400);--shadow-spread:1px;--block-background-fill:var(--neutral-800);--block-border-color:var(--border-color-primary);--block_border_width:None;--block-info-text-color:var(--body-text-color-subdued);--block-label-background-fill:var(--background-fill-secondary);--block-label-border-color:var(--border-color-primary);--block_label_border_width:None;--block-label-text-color:var(--neutral-200);--block_shadow:None;--block_title_background_fill:None;--block_title_border_color:None;--block_title_border_width:None;--block-title-text-color:var(--neutral-200);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel_border_width:None;--checkbox-background-color:var(--neutral-800);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-700);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-600);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:var(--background-fill-primary);--error-border-color:var(--border-color-primary);--error_border_width:None;--error-text-color:#ef4444;--input-background-fill:var(--neutral-800);--input-background-fill-focus:var(--secondary-600);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--neutral-700);--input-border-color-hover:var(--input-border-color);--input_border_width:None;--input-placeholder-color:var(--neutral-500);--input_shadow:None;--input-shadow-focus:0 0 0 var(--shadow-spread) var(--neutral-700), var(--shadow-inset);--loader_color:None;--slider_color:None;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-600));--table-border-color:var(--neutral-700);--table-even-background-fill:var(--neutral-950);--table-odd-background-fill:var(--neutral-900);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #dc2626, #b91c1c);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #dc2626, #dc2626);--button-cancel-border-color:#dc2626;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:white;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-500), var(--primary-600));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-500), var(--primary-500));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-600), var(--primary-700));--button-primary-border-color:var(--primary-500);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:white;--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--neutral-300);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-700));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-600));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-700), var(--neutral-800));--button-secondary-border-color:var(--neutral-600);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:white;--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-300);--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--block-border-width:1px;--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-border-radius:var(--radius-sm);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--error-border-width:1px;--input-border-width:1px;--input-padding:var(--spacing-xl);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--table-radius:var(--radius-lg);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.litegraph.graphdialog.svelte-1gex4qr.svelte-1gex4qr{min-height:1em;background-color:var(--litegraph-comfy-menu-bg)}.litegraph.litesearchbox.svelte-1gex4qr.svelte-1gex4qr{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;overflow:hidden}.litegraph.lite-search-item.svelte-1gex4qr.svelte-1gex4qr{color:var(--litegraph-input-text);background-color:var(--litegraph-comfy-input-bg);filter:brightness(80%);padding-left:.2em}.litegraph.lite-search-item.generic_type.svelte-1gex4qr.svelte-1gex4qr{color:var(--litegraph-input-text);filter:brightness(50%)}.litemenu-entry.has_submenu.svelte-1gex4qr.svelte-1gex4qr:after{content:">";position:absolute;top:0;right:2px}.litegraph.litecontextmenu.svelte-1gex4qr.svelte-1gex4qr,.litegraph.litecontextmenu.dark.svelte-1gex4qr.svelte-1gex4qr{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;filter:brightness(95%)}.dark.svelte-1gex4qr.svelte-1gex4qr{color-scheme:dark;--input-border-color-focus:var(--neutral-500);--comfy-accent-soft:var(--neutral-600);--comfy-widget-selected-background-fill:var(--primary-500);--comfy-widget-hovered-background-fill:var(--neutral-600);--comfy-container-selected-background-fill:var(--primary-700);--comfy-container-hovered-background-fill:var(--neutral-500);--comfy-container-empty-background-fill:var(--color-grey-800);--comfy-container-empty-border-color:var(--color-grey-600);--comfy-disabled-label-color:var(--neutral-500);--comfy-disabled-textbox-background-fill:var(--neutral-800);--comfy-disabled-textbox-border-color:var(--neutral-700);--comfy-disabled-textbox-text-color:var(--neutral-500);--comfy-splitpanes-background-fill:var(--panel-border-color);--comfy-splitpanes-background-fill-hover:var(--secondary-500);--comfy-splitpanes-background-fill-active:var(--secondary-300);--comfy-dropdown-list-background:var(--neutral-800);--comfy-dropdown-item-color-hover:var(--neutral-400);--comfy-dropdown-item-background-hover:var(--neutral-600);--comfy-dropdown-item-background-active:var(--secondary-600);--comfy-dropdown-border-color:var(--neutral-600);--comfy-progress-bar-background:var(--neutral-500);--comfy-progress-bar-foreground:var(--secondary-400);--comfy-node-name-background:var(--neutral-700);--comfy-node-name-foreground:var(--body-text-color);--comfy-spinner-main-color:var(--neutral-600);--comfy-spinner-accent-color:var(--secondary-600);--f7-navbar-color:var(--body-text-color);--f7-navbar-bg-color:var(--neutral-800)}.container.svelte-1gex4qr.svelte-1gex4qr{background:var(--body-background-fill)!important}.container.selected.svelte-1gex4qr.svelte-1gex4qr{background:var(--ae-primary-color)!important}.container.svelte-1gex4qr.svelte-1gex4qr{display:flex}.container.selected.svelte-1gex4qr.svelte-1gex4qr{background:var(--comfy-container-selected-background-fill)!important}.container.svelte-1gex4qr>*{border-radius:0}.container.svelte-1gex4qr .v-pane>.block{height:fit-content}.container.svelte-1gex4qr .edit.svelte-1gex4qr>.v-pane>.block{border-color:var(--color-pink-500);border-width:2px;border-style:dashed!important;margin:.2em;padding:1.4em}.container.horizontal.svelte-1gex4qr.svelte-1gex4qr{flex-wrap:wrap;gap:var(--layout-gap);width:var(--size-full)}.container.horizontal.svelte-1gex4qr>.block>.v-pane{flex-direction:row}.container.horizontal.svelte-1gex4qr>*,.container.horizontal.svelte-1gex4qr>.form>*{flex:1 1 0%;flex-wrap:wrap;min-width:min(160px,100%)}.container.vertical.svelte-1gex4qr.svelte-1gex4qr{position:relative}.container.vertical.svelte-1gex4qr>.block>.v-pane{flex-direction:column}.container.vertical.svelte-1gex4qr>*,.container.vertical.svelte-1gex4qr>.form>*,.container.vertical.svelte-1gex4qr .v-pane.svelte-1gex4qr{width:var(--size-full)}.handle.svelte-1gex4qr.svelte-1gex4qr{cursor:grab;z-index:99999;position:absolute;right:0;top:0;width:100%;height:100%}.animation-wrapper.svelte-1gex4qr.svelte-1gex4qr{position:relative;flex:1 100 0%}.handle-widget.svelte-1gex4qr.svelte-1gex4qr:hover{background-color:#add8e680}.handle-container.svelte-1gex4qr.svelte-1gex4qr:hover{background-color:#d8ade680}.container.selected.svelte-1gex4qr>.block{background:var(--color-yellow-300)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.dark.svelte-1nqgbfy{--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-100);--color-accent-soft:var(--neutral-700);--background-fill-primary:var(--neutral-950);--background-fill-secondary:var(--neutral-900);--border-color-accent:var(--neutral-600);--border-color-primary:var(--neutral-700);--link-text-color-active:var(--secondary-500);--link-text-color:var(--secondary-500);--link-text-color-hover:var(--secondary-400);--link-text-color-visited:var(--secondary-600);--body-text-color-subdued:var(--neutral-400);--shadow-spread:1px;--block-background-fill:var(--neutral-800);--block-border-color:var(--border-color-primary);--block_border_width:None;--block-info-text-color:var(--body-text-color-subdued);--block-label-background-fill:var(--background-fill-secondary);--block-label-border-color:var(--border-color-primary);--block_label_border_width:None;--block-label-text-color:var(--neutral-200);--block_shadow:None;--block_title_background_fill:None;--block_title_border_color:None;--block_title_border_width:None;--block-title-text-color:var(--neutral-200);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel_border_width:None;--checkbox-background-color:var(--neutral-800);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-700);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-600);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:var(--background-fill-primary);--error-border-color:var(--border-color-primary);--error_border_width:None;--error-text-color:#ef4444;--input-background-fill:var(--neutral-800);--input-background-fill-focus:var(--secondary-600);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--neutral-700);--input-border-color-hover:var(--input-border-color);--input_border_width:None;--input-placeholder-color:var(--neutral-500);--input_shadow:None;--input-shadow-focus:0 0 0 var(--shadow-spread) var(--neutral-700), var(--shadow-inset);--loader_color:None;--slider_color:None;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-600));--table-border-color:var(--neutral-700);--table-even-background-fill:var(--neutral-950);--table-odd-background-fill:var(--neutral-900);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #dc2626, #b91c1c);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #dc2626, #dc2626);--button-cancel-border-color:#dc2626;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:white;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-500), var(--primary-600));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-500), var(--primary-500));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-600), var(--primary-700));--button-primary-border-color:var(--primary-500);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:white;--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--neutral-300);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-700));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-600));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-700), var(--neutral-800));--button-secondary-border-color:var(--neutral-600);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:white;--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-300);--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--block-border-width:1px;--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-border-radius:var(--radius-sm);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--error-border-width:1px;--input-border-width:1px;--input-padding:var(--spacing-xl);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--table-radius:var(--radius-lg);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}:root{--litegraph-fg-color:#000;--litegraph-bg-color:#fff;--litegraph-comfy-menu-bg:#353535;--litegraph-comfy-input-bg:#222;--litegraph-input-text:#ddd;--litegraph-descrip-text:#999;--litegraph-drag-text:#ccc;--litegraph-error-text:#ff4444;--litegraph-border-color:#4e4e4e}.litegraph.graphdialog.svelte-1nqgbfy{min-height:1em;background-color:var(--litegraph-comfy-menu-bg)}.litegraph.litesearchbox.svelte-1nqgbfy{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;overflow:hidden}.litegraph.lite-search-item.svelte-1nqgbfy{color:var(--litegraph-input-text);background-color:var(--litegraph-comfy-input-bg);filter:brightness(80%);padding-left:.2em}.litegraph.lite-search-item.generic_type.svelte-1nqgbfy{color:var(--litegraph-input-text);filter:brightness(50%)}.litemenu-entry.has_submenu.svelte-1nqgbfy:after{content:">";position:absolute;top:0;right:2px}.litegraph.litecontextmenu.svelte-1nqgbfy,.litegraph.litecontextmenu.dark.svelte-1nqgbfy{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;filter:brightness(95%)}:root{--color-blue-500:#3985f5;--input-border-color-focus:var(--neutral-400);--comfy-accent-soft:var(--neutral-300);--comfy-widget-selected-background-fill:var(--color-yellow-100);--comfy-widget-hovered-background-fill:var(--secondary-200);--comfy-container-selected-background-fill:var(--color-yellow-300);--comfy-container-hovered-background-fill:var(--secondary-300);--comfy-container-empty-background-fill:var(--color-grey-300);--comfy-container-empty-border-color:var(--color-grey-400);--comfy-disabled-label-color:var(--neutral-400);--comfy-disabled-textbox-background-fill:var(--neutral-200);--comfy-disabled-textbox-border-color:var(--neutral-300);--comfy-disabled-textbox-text-color:var(--neutral-500);--comfy-splitpanes-background-fill:var(--secondary-100);--comfy-splitpanes-background-fill-hover:var(--secondary-300);--comfy-splitpanes-background-fill-active:var(--secondary-400);--comfy-dropdown-list-background:white;--comfy-dropdown-item-color-hover:white;--comfy-dropdown-item-background-hover:var(--neutral-400);--comfy-dropdown-item-color-active:var(--neutral-100);--comfy-dropdown-item-background-active:var(--secondary-600);--comfy-progress-bar-background:var(--neutral-300);--comfy-progress-bar-foreground:var(--secondary-300);--comfy-node-name-background:var(--color-blue-200);--comfy-node-name-foreground:var(--body-text-color);--comfy-spinner-main-color:var(--neutral-400);--comfy-spinner-accent-color:var(--secondary-500)}.dark.svelte-1nqgbfy{color-scheme:dark;--input-border-color-focus:var(--neutral-500);--comfy-accent-soft:var(--neutral-600);--comfy-widget-selected-background-fill:var(--primary-500);--comfy-widget-hovered-background-fill:var(--neutral-600);--comfy-container-selected-background-fill:var(--primary-700);--comfy-container-hovered-background-fill:var(--neutral-500);--comfy-container-empty-background-fill:var(--color-grey-800);--comfy-container-empty-border-color:var(--color-grey-600);--comfy-disabled-label-color:var(--neutral-500);--comfy-disabled-textbox-background-fill:var(--neutral-800);--comfy-disabled-textbox-border-color:var(--neutral-700);--comfy-disabled-textbox-text-color:var(--neutral-500);--comfy-splitpanes-background-fill:var(--panel-border-color);--comfy-splitpanes-background-fill-hover:var(--secondary-500);--comfy-splitpanes-background-fill-active:var(--secondary-300);--comfy-dropdown-list-background:var(--neutral-800);--comfy-dropdown-item-color-hover:var(--neutral-400);--comfy-dropdown-item-background-hover:var(--neutral-600);--comfy-dropdown-item-background-active:var(--secondary-600);--comfy-dropdown-border-color:var(--neutral-600);--comfy-progress-bar-background:var(--neutral-500);--comfy-progress-bar-foreground:var(--secondary-400);--comfy-node-name-background:var(--neutral-700);--comfy-node-name-foreground:var(--body-text-color);--comfy-spinner-main-color:var(--neutral-600);--comfy-spinner-accent-color:var(--secondary-600);--f7-navbar-color:var(--body-text-color);--f7-navbar-bg-color:var(--neutral-800)}.container.svelte-1nqgbfy{background:var(--body-background-fill)!important}.container.selected.svelte-1nqgbfy{background:var(--ae-primary-color)!important}[data-is-dnd-shadow-item]{min-height:5rem}.dark .photo-browser-popup,.dark .photo-browser-popup-{background:var(--neutral-700)}.photo-browser-exposed .toolbar~.toolbar.photo-browser-thumbs{transform:translate3d(0,calc(var(--f7-toolbar-height) * 2),0)}.widget.svelte-1nqgbfy{height:100%}.widget.selected.svelte-1nqgbfy{background:var(--comfy-widget-selected-background-fill)}.is-executing.svelte-1nqgbfy{border:3px dashed var(--color-green-600)!important;margin:.2em;padding:.2em}.hidden.svelte-1nqgbfy:not(.edit){display:none}.handle.svelte-1nqgbfy{cursor:grab;z-index:99999;position:absolute;right:0;top:0;width:100%;height:100%}.handle-hidden.svelte-1nqgbfy{background-color:#40404080}.handle-widget.svelte-1nqgbfy:hover,.handle-widget.hovered.svelte-1nqgbfy{background-color:#add8e680}.node-type.svelte-1nqgbfy{font-size:smaller;color:var(--neutral-400)}.edit.svelte-1nqgbfy{border:2px dashed var(--color-blue-400);pointer-events:none;user-select:none}:root{--name: default;--primary-50: #fff7ed;--primary-100: #ffedd5;--primary-200: #fed7aa;--primary-300: #fdba74;--primary-400: #fb923c;--primary-500: #f97316;--primary-600: #ea580c;--primary-700: #c2410c;--primary-800: #9a3412;--primary-900: #7c2d12;--primary-950: #6c2e12;--secondary-50: #eff6ff;--secondary-100: #dbeafe;--secondary-200: #bfdbfe;--secondary-300: #93c5fd;--secondary-400: #60a5fa;--secondary-500: #3b82f6;--secondary-600: #2563eb;--secondary-700: #1d4ed8;--secondary-800: #1e40af;--secondary-900: #1e3a8a;--secondary-950: #1d3660;--neutral-50: #f9fafb;--neutral-100: #f3f4f6;--neutral-200: #e5e7eb;--neutral-300: #d1d5db;--neutral-400: #9ca3af;--neutral-500: #6b7280;--neutral-600: #4b5563;--neutral-700: #374151;--neutral-800: #1f2937;--neutral-900: #111827;--neutral-950: #0b0f19;--spacing-xxs: 1px;--spacing-xs: 2px;--spacing-sm: 4px;--spacing-md: 6px;--spacing-lg: 8px;--spacing-xl: 10px;--spacing-xxl: 16px;--radius-xxs: 1px;--radius-xs: 2px;--radius-sm: 4px;--radius-md: 6px;--radius-lg: 8px;--radius-xl: 12px;--radius-xxl: 22px;--text-xxs: 9px;--text-xs: 10px;--text-sm: 12px;--text-md: 14px;--text-lg: 16px;--text-xl: 22px;--text-xxl: 26px;--font: "Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono: "IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill: var(--background-fill-primary);--body-text-color: var(--neutral-800);--body-text-size: var(--text-md);--body-text-weight: 400;--embed-radius: var(--radius-lg);--color-accent: var(--primary-500);--color-accent-soft: var(--primary-50);--background-fill-primary: white;--background-fill-secondary: var(--neutral-50);--border-color-accent: var(--primary-300);--border-color-primary: var(--neutral-200);--link-text-color: var(--secondary-600);--link-text-color-active: var(--secondary-600);--link-text-color-hover: var(--secondary-700);--link-text-color-visited: var(--secondary-500);--body-text-color-subdued: var(--neutral-400);--shadow-drop: rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset: rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread: 3px;--block-background-fill: var(--background-fill-primary);--block-border-color: var(--border-color-primary);--block-border-width: 1px;--block-info-text-color: var(--body-text-color-subdued);--block-info-text-size: var(--text-sm);--block-info-text-weight: 400;--block-label-background-fill: var(--background-fill-primary);--block-label-border-color: var(--border-color-primary);--block-label-border-width: 1px;--block-label-shadow: var(--block-shadow);--block-label-text-color: var(--neutral-500);--block-label-margin: 0;--block-label-padding: var(--spacing-sm) var(--spacing-lg);--block-label-radius: calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius: 0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size: var(--text-sm);--block-label-text-weight: 400;--block-padding: var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius: var(--radius-lg);--block-shadow: var(--shadow-drop);--block-title-background-fill: none;--block-title-border-color: none;--block-title-border-width: 0px;--block-title-text-color: var(--neutral-500);--block-title-padding: 0;--block-title-radius: none;--block-title-text-size: var(--text-md);--block-title-text-weight: 400;--container-radius: var(--radius-lg);--form-gap-width: 1px;--layout-gap: var(--spacing-xxl);--panel-background-fill: var(--background-fill-secondary);--panel-border-color: var(--border-color-primary);--panel-border-width: 0;--section-header-text-size: var(--text-md);--section-header-text-weight: 400;--checkbox-background-color: var(--background-fill-primary);--checkbox-background-color-focus: var(--checkbox-background-color);--checkbox-background-color-hover: var(--checkbox-background-color);--checkbox-background-color-selected: var(--secondary-600);--checkbox-border-color: var(--neutral-300);--checkbox-border-color-focus: var(--secondary-500);--checkbox-border-color-hover: var(--neutral-300);--checkbox-border-color-selected: var(--secondary-600);--checkbox-border-radius: var(--radius-sm);--checkbox-border-width: var(--input-border-width);--checkbox-label-background-fill: linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover: linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected: var(--checkbox-label-background-fill);--checkbox-label-border-color: var(--border-color-primary);--checkbox-label-border-color-hover: var(--checkbox-label-border-color);--checkbox-label-border-width: var(--input-border-width);--checkbox-label-gap: var(--spacing-lg);--checkbox-label-padding: var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow: var(--shadow-drop);--checkbox-label-text-size: var(--text-md);--checkbox-label-text-weight: 400;--checkbox-check: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow: var(--input-shadow);--checkbox-label-text-color: var(--body-text-color);--checkbox-label-text-color-selected: var(--checkbox-label-text-color);--error-background-fill: linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color: #fecaca;--error-border-width: 1px;--error-text-color: #ef4444;--input-background-fill: white;--input-background-fill-focus: var(--secondary-500);--input-background-fill-hover: var(--input-background-fill);--input-border-color: var(--border-color-primary);--input-border-color-focus: var(--secondary-300);--input-border-color-hover: var(--input-border-color);--input-border-width: 1px;--input-padding: var(--spacing-xl);--input-placeholder-color: var(--neutral-400);--input-radius: var(--radius-lg);--input-shadow: 0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus: 0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size: var(--text-md);--input-text-weight: 400;--loader-color: var(--color-accent);--prose-text-size: var(--text-md);--prose-text-weight: 400;--prose-header-text-weight: 600;--slider-color: auto;--stat-background-fill: linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color: var(--neutral-300);--table-even-background-fill: white;--table-odd-background-fill: var(--neutral-50);--table-radius: var(--radius-lg);--table-row-focus: var(--color-accent-soft);--button-border-width: var(--input-border-width);--button-cancel-background-fill: linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover: linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color: #fecaca;--button-cancel-border-color-hover: var(--button-cancel-border-color);--button-cancel-text-color: #dc2626;--button-cancel-text-color-hover: var(--button-cancel-text-color);--button-large-padding: var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius: var(--radius-lg);--button-large-text-size: var(--text-lg);--button-large-text-weight: 600;--button-primary-background-fill: linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover: linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active: linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color: var(--primary-200);--button-primary-border-color-hover: var(--button-primary-border-color);--button-primary-border-color-active: var(--button-primary-border-color);--button-primary-text-color: var(--primary-600);--button-primary-text-color-hover: var(--button-primary-text-color);--button-primary-text-color-active: var(--button-primary-text-color);--button-secondary-background-fill: linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover: linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active: linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color: var(--neutral-200);--button-secondary-border-color-hover: var(--button-secondary-border-color);--button-secondary-border-color-active: var(--button-secondary-border-color);--button-secondary-text-color: var(--neutral-700);--button-secondary-text-color-hover: var(--button-secondary-text-color);--button-secondary-text-color-active: var(--neutral-800);--button-shadow: var(--shadow-drop);--button-shadow-active: var(--shadow-inset);--button-shadow-hover: var(--shadow-drop-lg);--button-small-padding: var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius: var(--radius-lg);--button-small-text-size: var(--text-md);--button-small-text-weight: 400;--button-transition: none}.dark{--body-background-fill: var(--background-fill-primary);--body-text-color: var(--neutral-100);--color-accent-soft: var(--neutral-700);--background-fill-primary: var(--neutral-950);--background-fill-secondary: var(--neutral-900);--border-color-accent: var(--neutral-600);--border-color-primary: var(--neutral-700);--link-text-color-active: var(--secondary-500);--link-text-color: var(--secondary-500);--link-text-color-hover: var(--secondary-400);--link-text-color-visited: var(--secondary-600);--body-text-color-subdued: var(--neutral-400);--shadow-spread: 1px;--block-background-fill: var(--neutral-800);--block-border-color: var(--border-color-primary);--block_border_width: None;--block-info-text-color: var(--body-text-color-subdued);--block-label-background-fill: var(--background-fill-secondary);--block-label-border-color: var(--border-color-primary);--block_label_border_width: None;--block-label-text-color: var(--neutral-200);--block_shadow: None;--block_title_background_fill: None;--block_title_border_color: None;--block_title_border_width: None;--block-title-text-color: var(--neutral-200);--panel-background-fill: var(--background-fill-secondary);--panel-border-color: var(--border-color-primary);--panel_border_width: None;--checkbox-background-color: var(--neutral-800);--checkbox-background-color-focus: var(--checkbox-background-color);--checkbox-background-color-hover: var(--checkbox-background-color);--checkbox-background-color-selected: var(--secondary-600);--checkbox-border-color: var(--neutral-700);--checkbox-border-color-focus: var(--secondary-500);--checkbox-border-color-hover: var(--neutral-600);--checkbox-border-color-selected: var(--secondary-600);--checkbox-border-width: var(--input-border-width);--checkbox-label-background-fill: linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-hover: linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-selected: var(--checkbox-label-background-fill);--checkbox-label-border-color: var(--border-color-primary);--checkbox-label-border-color-hover: var(--checkbox-label-border-color);--checkbox-label-border-width: var(--input-border-width);--checkbox-label-text-color: var(--body-text-color);--checkbox-label-text-color-selected: var(--checkbox-label-text-color);--error-background-fill: var(--background-fill-primary);--error-border-color: var(--border-color-primary);--error_border_width: None;--error-text-color: #ef4444;--input-background-fill: var(--neutral-800);--input-background-fill-focus: var(--secondary-600);--input-background-fill-hover: var(--input-background-fill);--input-border-color: var(--border-color-primary);--input-border-color-focus: var(--neutral-700);--input-border-color-hover: var(--input-border-color);--input_border_width: None;--input-placeholder-color: var(--neutral-500);--input_shadow: None;--input-shadow-focus: 0 0 0 var(--shadow-spread) var(--neutral-700), var(--shadow-inset);--loader_color: None;--slider_color: None;--stat-background-fill: linear-gradient(to right, var(--primary-400), var(--primary-600));--table-border-color: var(--neutral-700);--table-even-background-fill: var(--neutral-950);--table-odd-background-fill: var(--neutral-900);--table-row-focus: var(--color-accent-soft);--button-border-width: var(--input-border-width);--button-cancel-background-fill: linear-gradient(to bottom right, #dc2626, #b91c1c);--button-cancel-background-fill-hover: linear-gradient(to bottom right, #dc2626, #dc2626);--button-cancel-border-color: #dc2626;--button-cancel-border-color-hover: var(--button-cancel-border-color);--button-cancel-text-color: white;--button-cancel-text-color-hover: var(--button-cancel-text-color);--button-primary-background-fill: linear-gradient(to bottom right, var(--primary-500), var(--primary-600));--button-primary-background-fill-hover: linear-gradient(to bottom right, var(--primary-500), var(--primary-500));--button-primary-background-fill-active: linear-gradient(to bottom right, var(--primary-600), var(--primary-700));--button-primary-border-color: var(--primary-500);--button-primary-border-color-hover: var(--button-primary-border-color);--button-primary-border-color-active: var(--button-primary-border-color);--button-primary-text-color: white;--button-primary-text-color-hover: var(--button-primary-text-color);--button-primary-text-color-active: var(--neutral-300);--button-secondary-background-fill: linear-gradient(to bottom right, var(--neutral-600), var(--neutral-700));--button-secondary-background-fill-hover: linear-gradient(to bottom right, var(--neutral-600), var(--neutral-600));--button-secondary-background-fill-active: linear-gradient(to bottom right, var(--neutral-700), var(--neutral-800));--button-secondary-border-color: var(--neutral-600);--button-secondary-border-color-hover: var(--button-secondary-border-color);--button-secondary-border-color-active: var(--button-secondary-border-color);--button-secondary-text-color: white;--button-secondary-text-color-hover: var(--button-secondary-text-color);--button-secondary-text-color-active: var(--neutral-300);--name: default;--primary-50: #fff7ed;--primary-100: #ffedd5;--primary-200: #fed7aa;--primary-300: #fdba74;--primary-400: #fb923c;--primary-500: #f97316;--primary-600: #ea580c;--primary-700: #c2410c;--primary-800: #9a3412;--primary-900: #7c2d12;--primary-950: #6c2e12;--secondary-50: #eff6ff;--secondary-100: #dbeafe;--secondary-200: #bfdbfe;--secondary-300: #93c5fd;--secondary-400: #60a5fa;--secondary-500: #3b82f6;--secondary-600: #2563eb;--secondary-700: #1d4ed8;--secondary-800: #1e40af;--secondary-900: #1e3a8a;--secondary-950: #1d3660;--neutral-50: #f9fafb;--neutral-100: #f3f4f6;--neutral-200: #e5e7eb;--neutral-300: #d1d5db;--neutral-400: #9ca3af;--neutral-500: #6b7280;--neutral-600: #4b5563;--neutral-700: #374151;--neutral-800: #1f2937;--neutral-900: #111827;--neutral-950: #0b0f19;--spacing-xxs: 1px;--spacing-xs: 2px;--spacing-sm: 4px;--spacing-md: 6px;--spacing-lg: 8px;--spacing-xl: 10px;--spacing-xxl: 16px;--radius-xxs: 1px;--radius-xs: 2px;--radius-sm: 4px;--radius-md: 6px;--radius-lg: 8px;--radius-xl: 12px;--radius-xxl: 22px;--text-xxs: 9px;--text-xs: 10px;--text-sm: 12px;--text-md: 14px;--text-lg: 16px;--text-xl: 22px;--text-xxl: 26px;--font: "Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono: "IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-text-size: var(--text-md);--body-text-weight: 400;--embed-radius: var(--radius-lg);--color-accent: var(--primary-500);--shadow-drop: rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset: rgba(0,0,0,.05) 0px 2px 4px 0px inset;--block-border-width: 1px;--block-info-text-size: var(--text-sm);--block-info-text-weight: 400;--block-label-border-width: 1px;--block-label-shadow: var(--block-shadow);--block-label-margin: 0;--block-label-padding: var(--spacing-sm) var(--spacing-lg);--block-label-radius: calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius: 0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size: var(--text-sm);--block-label-text-weight: 400;--block-padding: var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius: var(--radius-lg);--block-shadow: var(--shadow-drop);--block-title-background-fill: none;--block-title-border-color: none;--block-title-border-width: 0px;--block-title-padding: 0;--block-title-radius: none;--block-title-text-size: var(--text-md);--block-title-text-weight: 400;--container-radius: var(--radius-lg);--form-gap-width: 1px;--layout-gap: var(--spacing-xxl);--panel-border-width: 0;--section-header-text-size: var(--text-md);--section-header-text-weight: 400;--checkbox-border-radius: var(--radius-sm);--checkbox-label-gap: var(--spacing-lg);--checkbox-label-padding: var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow: var(--shadow-drop);--checkbox-label-text-size: var(--text-md);--checkbox-label-text-weight: 400;--checkbox-check: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow: var(--input-shadow);--error-border-width: 1px;--input-border-width: 1px;--input-padding: var(--spacing-xl);--input-radius: var(--radius-lg);--input-shadow: 0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-text-size: var(--text-md);--input-text-weight: 400;--loader-color: var(--color-accent);--prose-text-size: var(--text-md);--prose-text-weight: 400;--prose-header-text-weight: 600;--slider-color: auto;--table-radius: var(--radius-lg);--button-large-padding: var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius: var(--radius-lg);--button-large-text-size: var(--text-lg);--button-large-text-weight: 600;--button-shadow: var(--shadow-drop);--button-shadow-active: var(--shadow-inset);--button-shadow-hover: var(--shadow-drop-lg);--button-small-padding: var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius: var(--radius-lg);--button-small-text-size: var(--text-md);--button-small-text-weight: 400;--button-transition: none}:root{--litegraph-fg-color: #000;--litegraph-bg-color: #fff;--litegraph-comfy-menu-bg: #353535;--litegraph-comfy-input-bg: #222;--litegraph-input-text: #ddd;--litegraph-descrip-text: #999;--litegraph-drag-text: #ccc;--litegraph-error-text: #ff4444;--litegraph-border-color: #4e4e4e}.litegraph.graphdialog{min-height:1em;background-color:var(--litegraph-comfy-menu-bg)}.litegraph.graphdialog .name{font-size:14px;font-family:sans-serif;color:var(--litegraph-descrip-text)}.litegraph.graphdialog button{margin-top:unset;vertical-align:unset;height:1.6em;padding-right:8px}.litegraph .graphdialog input,.litegraph .graphdialog textarea,.litegraph .graphdialog select{background-color:var(--litegraph-comfy-input-bg);border:2px solid;border-color:var(--litegraph-border-color);color:var(--litegraph-input-text);border-radius:12px 0 0 12px}.litegraph .litemenu-entry.has_submenu{position:relative;padding-right:20px}.litegraph.litecontextmenu .litemenu-entry:hover:not(.disabled):not(.separator){background-color:var(--litegraph-comfy-menu-bg)!important;filter:brightness(155%);color:var(--litegraph-input-text)}.litegraph.litecontextmenu input{background-color:var(--litegraph-comfy-input-bg)!important;color:var(--litegraph-input-text)!important}.litegraph.litesearchbox{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;overflow:hidden}.litegraph.lite-search-item{color:var(--litegraph-input-text);background-color:var(--litegraph-comfy-input-bg);filter:brightness(80%);padding-left:.2em}.litegraph.lite-search-item.generic_type{color:var(--litegraph-input-text);filter:brightness(50%)}.litemenu-entry.has_submenu:after{content:">";position:absolute;top:0;right:2px}.litegraph.litecontextmenu,.litegraph.litecontextmenu.dark{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;filter:brightness(95%)}.litegraph.litecontextmenu .litemenu-entry.submenu,.litegraph.litecontextmenu.dark .litemenu-entry.submenu{background-color:var(--litegraph-comfy-menu-bg)!important;color:var(--litegraph-input-text)}.litegraph.litesearchbox input,.litegraph.litesearchbox select{background-color:var(--litegraph-comfy-input-bg)!important;color:var(--litegraph-input-text)}body{overflow:hidden;overscroll-behavior-y:contain;background:var(--body-background-fill);width:100%;height:100%;margin:0;font-family:Arial}:root{--color-blue-500: #3985f5;--input-border-color-focus: var(--neutral-400);--comfy-accent-soft: var(--neutral-300);--comfy-widget-selected-background-fill: var(--color-yellow-100);--comfy-widget-hovered-background-fill: var(--secondary-200);--comfy-container-selected-background-fill: var(--color-yellow-300);--comfy-container-hovered-background-fill: var(--secondary-300);--comfy-container-empty-background-fill: var(--color-grey-300);--comfy-container-empty-border-color: var(--color-grey-400);--comfy-disabled-label-color: var(--neutral-400);--comfy-disabled-textbox-background-fill: var(--neutral-200);--comfy-disabled-textbox-border-color: var(--neutral-300);--comfy-disabled-textbox-text-color: var(--neutral-500);--comfy-splitpanes-background-fill: var(--secondary-100);--comfy-splitpanes-background-fill-hover: var(--secondary-300);--comfy-splitpanes-background-fill-active: var(--secondary-400);--comfy-dropdown-list-background: white;--comfy-dropdown-item-color-hover: white;--comfy-dropdown-item-background-hover: var(--neutral-400);--comfy-dropdown-item-color-active: var(--neutral-100);--comfy-dropdown-item-background-active: var(--secondary-600);--comfy-progress-bar-background: var(--neutral-300);--comfy-progress-bar-foreground: var(--secondary-300);--comfy-node-name-background: var(--color-blue-200);--comfy-node-name-foreground: var(--body-text-color);--comfy-spinner-main-color: var(--neutral-400);--comfy-spinner-accent-color: var(--secondary-500)}.dark{color-scheme:dark;--input-border-color-focus: var(--neutral-500);--comfy-accent-soft: var(--neutral-600);--comfy-widget-selected-background-fill: var(--primary-500);--comfy-widget-hovered-background-fill: var(--neutral-600);--comfy-container-selected-background-fill: var(--primary-700);--comfy-container-hovered-background-fill: var(--neutral-500);--comfy-container-empty-background-fill: var(--color-grey-800);--comfy-container-empty-border-color: var(--color-grey-600);--comfy-disabled-label-color: var(--neutral-500);--comfy-disabled-textbox-background-fill: var(--neutral-800);--comfy-disabled-textbox-border-color: var(--neutral-700);--comfy-disabled-textbox-text-color: var(--neutral-500);--comfy-splitpanes-background-fill: var(--panel-border-color);--comfy-splitpanes-background-fill-hover: var(--secondary-500);--comfy-splitpanes-background-fill-active: var(--secondary-300);--comfy-dropdown-list-background: var(--neutral-800);--comfy-dropdown-item-color-hover: var(--neutral-400);--comfy-dropdown-item-background-hover: var(--neutral-600);--comfy-dropdown-item-background-active: var(--secondary-600);--comfy-dropdown-border-color: var(--neutral-600);--comfy-progress-bar-background: var(--neutral-500);--comfy-progress-bar-foreground: var(--secondary-400);--comfy-node-name-background: var(--neutral-700);--comfy-node-name-foreground: var(--body-text-color);--comfy-spinner-main-color: var(--neutral-600);--comfy-spinner-accent-color: var(--secondary-600);--f7-navbar-color: var(--body-text-color);--f7-navbar-bg-color: var(--neutral-800)}hr{color:var(--panel-border-color)}input{color:var(--body-text-color);background:var(--input-background-fill);border:var(--input-border-width) solid var(--input-border-color)}input:not(input[type=radio]),textarea{border-radius:0!important}:not(.litegraph) select{color:var(--body-text-color);background:var(--input-background-fill);border:var(--input-border-width) solid var(--input-border-color)}.container{background:var(--body-background-fill)!important}.container.selected{background:var(--ae-primary-color)!important}.container.selected>.block.padded{background:var(--ae-primary-color)!important}.container>.block{background:var(--body-background-fill)!important}.container.z-index0>.block{background:var(--panel-background-fill)!important}button.primary:active{border-color:var(--button-primary-border-color-active)!important;background:var(--button-primary-background-fill-active)!important;color:var(--button-primary-text-color-active)!important}button.secondary:active{border-color:var(--button-secondary-border-color-active)!important;background:var(--button-secondary-background-fill-active)!important;color:var(--button-secondary-text-color-active)!important}.widget .block{background:var(--block-background-fill)!important}:global([data-is-dnd-shadow-item]){min-height:5rem}:global(.dark .photo-browser-popup){background:var(--neutral-700)}:global(.dark .photo-browser-popup-){background:var(--neutral-700)}:global(.photo-browser-exposed .toolbar ~ .toolbar.photo-browser-thumbs){transform:translate3d(0,calc(var(--f7-toolbar-height) * 2),0)} diff --git a/assets/global-dc583974.js b/assets/global-dc583974.js new file mode 100644 index 0000000..f22c83a --- /dev/null +++ b/assets/global-dc583974.js @@ -0,0 +1,131 @@ +var GT=Object.defineProperty;var jT=(n,e,t)=>e in n?GT(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var P=(n,e,t)=>(jT(n,typeof e!="symbol"?e+"":e,t),t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function t(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerPolicy&&(r.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?r.credentials="include":s.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(s){if(s.ep)return;s.ep=!0;const r=t(s);fetch(s.href,r)}})();function Z(){}const Ec=n=>n;function et(n,e){for(const t in e)n[t]=e[t];return n}function qT(n){return!!n&&(typeof n=="object"||typeof n=="function")&&typeof n.then=="function"}function Ey(n){return n()}function Eg(){return Object.create(null)}function lt(n){n.forEach(Ey)}function Xn(n){return typeof n=="function"}function ae(n,e){return n!=n?e==e:n!==e||n&&typeof n=="object"||typeof n=="function"}let Aa;function Ti(n,e){return Aa||(Aa=document.createElement("a")),Aa.href=e,n===Aa.href}function YT(n){return Object.keys(n).length===0}function ot(n,...e){if(n==null){for(const i of e)i(void 0);return Z}const t=n.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ie(n){let e;return ot(n,t=>e=t)(),e}function Si(n,e,t){n.$$.on_destroy.push(ot(e,t))}function De(n,e,t,i){if(n){const s=Ay(n,e,t,i);return n[0](s)}}function Ay(n,e,t,i){return n[1]&&i?et(t.ctx.slice(),n[1](i(e))):t.ctx}function xe(n,e,t,i){if(n[2]&&i){const s=n[2](i(t));if(e.dirty===void 0)return s;if(typeof s=="object"){const r=[],o=Math.max(e.dirty.length,s.length);for(let l=0;l32){const e=[],t=n.ctx.length/32;for(let i=0;iwindow.performance.now():()=>Date.now(),tp=Oy?n=>requestAnimationFrame(n):Z;const Do=new Set;function Ny(n){Do.forEach(e=>{e.c(n)||(Do.delete(e),e.f())}),Do.size!==0&&tp(Ny)}function ip(n){let e;return Do.size===0&&tp(Ny),{promise:new Promise(t=>{Do.add(e={c:n,f:t})}),abort(){Do.delete(e)}}}const $T=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function F(n,e){n.appendChild(e)}function Dy(n){if(!n)return document;const e=n.getRootNode?n.getRootNode():n.ownerDocument;return e&&e.host?e:n.ownerDocument}function JT(n){const e=z("style");return e.textContent="/* empty */",ZT(Dy(n),e),e.sheet}function ZT(n,e){return F(n.head||n,e),e.sheet}function A(n,e,t){n.insertBefore(e,t||null)}function E(n){n.parentNode&&n.parentNode.removeChild(n)}function zi(n,e){for(let t=0;tn.removeEventListener(e,t,i)}function Yi(n){return function(e){return e.preventDefault(),n.call(this,e)}}function Hn(n){return function(e){return e.stopPropagation(),n.call(this,e)}}function UW(n){return function(e){e.target===this&&n.call(this,e)}}function v(n,e,t){t==null?n.removeAttribute(e):n.getAttribute(e)!==t&&n.setAttribute(e,t)}const QT=["width","height"];function Dh(n,e){const t=Object.getOwnPropertyDescriptors(n.__proto__);for(const i in e)e[i]==null?n.removeAttribute(i):i==="style"?n.style.cssText=e[i]:i==="__value"?n.value=n[i]=e[i]:t[i]&&t[i].set&&QT.indexOf(i)===-1?n[i]=e[i]:v(n,i,e[i])}function Jt(n,e){for(const t in e)v(n,t,e[t])}function eC(n,e){Object.keys(e).forEach(t=>{tC(n,t,e[t])})}function tC(n,e,t){e in n?n[e]=typeof n[e]=="boolean"&&t===""?!0:t:v(n,e,t)}function Og(n){return/-/.test(n)?eC:Dh}function iC(n){let e;return{p(...t){e=t,e.forEach(i=>n.push(i))},r(){e.forEach(t=>n.splice(n.indexOf(t),1))}}}function br(n){return n===""?null:+n}function nC(n){return Array.from(n.childNodes)}function je(n,e){e=""+e,n.data!==e&&(n.data=e)}function sC(n,e){e=""+e,n.wholeText!==e&&(n.data=e)}function GW(n,e,t){~KT.indexOf(t)?sC(n,e):je(n,e)}function Bt(n,e){n.value=e??""}function ve(n,e,t,i){t==null?n.style.removeProperty(e):n.style.setProperty(e,t,i?"important":"")}function jW(n,e,t){for(let i=0;i{o.source===i.contentWindow&&e()})):(i.src="about:blank",i.onload=()=>{r=ee(i.contentWindow,"resize",e),e()}),F(n,i),()=>{(s||r&&i.contentWindow)&&r(),E(i)}}function B(n,e,t){n.classList.toggle(e,!!t)}function xy(n,e,{bubbles:t=!1,cancelable:i=!1}={}){return new CustomEvent(n,{detail:e,bubbles:t,cancelable:i})}class lC{constructor(e=!1){P(this,"is_svg",!1);P(this,"e");P(this,"n");P(this,"t");P(this,"a");this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,i=null){this.e||(this.is_svg?this.e=ze(t.nodeName):this.e=z(t.nodeType===11?"TEMPLATE":t.nodeName),this.t=t.tagName!=="TEMPLATE"?t:t.content,this.c(e)),this.i(i)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t>>0}function uC(n,e){const t={stylesheet:JT(e),rules:{}};return Du.set(n,t),t}function np(n,e,t,i,s,r,o,l=0){const a=16.666/i;let u=`{ +`;for(let m=0;m<=1;m+=a){const _=e+(t-e)*r(m);u+=m*100+`%{${o(_,1-_)}} +`}const c=u+`100% {${o(t,1-t)}} +}`,f=`__svelte_${aC(c)}_${l}`,h=Dy(n),{stylesheet:d,rules:p}=Du.get(h)||uC(h,n);p[f]||(p[f]=!0,d.insertRule(`@keyframes ${f} ${c}`,d.cssRules.length));const g=n.style.animation||"";return n.style.animation=`${g?`${g}, `:""}${f} ${i}ms linear ${s}ms 1 both`,xu+=1,f}function Lu(n,e){const t=(n.style.animation||"").split(", "),i=t.filter(e?r=>r.indexOf(e)<0:r=>r.indexOf("__svelte")===-1),s=t.length-i.length;s&&(n.style.animation=i.join(", "),xu-=s,xu||cC())}function cC(){tp(()=>{xu||(Du.forEach(n=>{const{ownerNode:e}=n.stylesheet;e&&E(e)}),Du.clear())})}function sp(n,e,t,i){if(!e)return Z;const s=n.getBoundingClientRect();if(e.left===s.left&&e.right===s.right&&e.top===s.top&&e.bottom===s.bottom)return Z;const{delay:r=0,duration:o=300,easing:l=Ec,start:a=ep()+r,end:u=a+o,tick:c=Z,css:f}=t(n,{from:e,to:s},i);let h=!0,d=!1,p;function g(){f&&(p=np(n,0,1,o,r,l,f)),r||(d=!0)}function m(){f&&Lu(n,p),h=!1}return ip(_=>{if(!d&&_>=a&&(d=!0),d&&_>=u&&(c(1,0),m()),!h)return!1;if(d){const b=_-a,y=0+1*l(b/o);c(y,1-y)}return!0}),g(),c(0,1),m}function rp(n){const e=getComputedStyle(n);if(e.position!=="absolute"&&e.position!=="fixed"){const{width:t,height:i}=e,s=n.getBoundingClientRect();n.style.position="absolute",n.style.width=t,n.style.height=i,fC(n,s)}}function fC(n,e){const t=n.getBoundingClientRect();if(e.left!==t.left||e.top!==t.top){const i=getComputedStyle(n),s=i.transform==="none"?"":i.transform;n.style.transform=`${s} translate(${e.left-t.left}px, ${e.top-t.top}px)`}}let Hl;function Bs(n){Hl=n}function Dr(){if(!Hl)throw new Error("Function called outside component initialization");return Hl}function hC(n){Dr().$$.before_update.push(n)}function rl(n){Dr().$$.on_mount.push(n)}function YW(n){Dr().$$.after_update.push(n)}function op(n){Dr().$$.on_destroy.push(n)}function mi(){const n=Dr();return(e,t,{cancelable:i=!1}={})=>{const s=n.$$.callbacks[e];if(s){const r=xy(e,t,{cancelable:i});return s.slice().forEach(o=>{o.call(n,r)}),!r.defaultPrevented}return!0}}function Ly(n,e){return Dr().$$.context.set(n,e),e}function lp(n){return Dr().$$.context.get(n)}function Ut(n,e){const t=n.$$.callbacks[e.type];t&&t.slice().forEach(i=>i.call(this,e))}const ko=[],Ze=[];let xo=[];const xh=[],My=Promise.resolve();let Lh=!1;function Ry(){Lh||(Lh=!0,My.then(ap))}function yr(){return Ry(),My}function vn(n){xo.push(n)}function Gt(n){xh.push(n)}const Df=new Set;let go=0;function ap(){if(go!==0)return;const n=Hl;do{try{for(;gon.indexOf(i)===-1?e.push(i):t.push(i)),t.forEach(i=>i()),xo=e}let pl;function Py(){return pl||(pl=Promise.resolve(),pl.then(()=>{pl=null})),pl}function Mu(n,e,t){n.dispatchEvent(xy(`${e?"intro":"outro"}${t}`))}const au=new Set;let or;function oe(){or={r:0,c:[],p:or}}function le(){or.r||lt(or.c),or=or.p}function S(n,e){n&&n.i&&(au.delete(n),n.i(e))}function C(n,e,t,i){if(n&&n.o){if(au.has(n))return;au.add(n),or.c.push(()=>{au.delete(n),i&&(t&&n.d(1),i())}),n.o(e)}else i&&i()}const By={duration:0};function Ac(n,e,t){const i={direction:"in"};let s=e(n,t,i),r=!1,o,l,a=0;function u(){o&&Lu(n,o)}function c(){const{delay:h=0,duration:d=300,easing:p=Ec,tick:g=Z,css:m}=s||By;m&&(o=np(n,0,1,d,h,p,m,a++)),g(0,1);const _=ep()+h,b=_+d;l&&l.abort(),r=!0,vn(()=>Mu(n,!0,"start")),l=ip(y=>{if(r){if(y>=b)return g(1,0),Mu(n,!0,"end"),u(),r=!1;if(y>=_){const k=p((y-_)/d);g(k,1-k)}}return r})}let f=!1;return{start(){f||(f=!0,Lu(n),Xn(s)?(s=s(i),Py().then(c)):c())},invalidate(){f=!1},end(){r&&(u(),r=!1)}}}function XW(n,e,t){const i={direction:"out"};let s=e(n,t,i),r=!0,o;const l=or;l.r+=1;let a;function u(){const{delay:c=0,duration:f=300,easing:h=Ec,tick:d=Z,css:p}=s||By;p&&(o=np(n,1,0,f,c,h,p));const g=ep()+c,m=g+f;vn(()=>Mu(n,!1,"start")),"inert"in n&&(a=n.inert,n.inert=!0),ip(_=>{if(r){if(_>=m)return d(0,1),Mu(n,!1,"end"),--l.r||lt(l.c),!1;if(_>=g){const b=h((_-g)/f);d(1-b,b)}}return r})}return Xn(s)?Py().then(()=>{s=s(i),u()}):u(),{end(c){c&&"inert"in n&&(n.inert=a),c&&s.tick&&s.tick(1,0),r&&(o&&Lu(n,o),r=!1)}}}function KW(n,e){const t=e.token={};function i(s,r,o,l){if(e.token!==t)return;e.resolved=l;let a=e.ctx;o!==void 0&&(a=a.slice(),a[o]=l);const u=s&&(e.current=s)(a);let c=!1;e.block&&(e.blocks?e.blocks.forEach((f,h)=>{h!==r&&f&&(oe(),C(f,1,1,()=>{e.blocks[h]===f&&(e.blocks[h]=null)}),le())}):e.block.d(1),u.c(),S(u,1),u.m(e.mount(),e.anchor),c=!0),e.block=u,e.blocks&&(e.blocks[r]=u),c&&ap()}if(qT(n)){const s=Dr();if(n.then(r=>{Bs(s),i(e.then,1,e.value,r),Bs(null)},r=>{if(Bs(s),i(e.catch,2,e.error,r),Bs(null),!e.hasCatch)throw r}),e.current!==e.pending)return i(e.pending,0),!0}else{if(e.current!==e.then)return i(e.then,1,e.value,n),!0;e.resolved=n}}function $W(n,e,t){const i=e.slice(),{resolved:s}=n;n.current===n.then&&(i[n.value]=s),n.current===n.catch&&(i[n.error]=s),n.block.p(i,t)}function Xe(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function zy(n,e){n.d(1),e.delete(n.key)}function Oc(n,e){C(n,1,1,()=>{e.delete(n.key)})}function up(n,e){n.f(),Oc(n,e)}function xr(n,e,t,i,s,r,o,l,a,u,c,f){let h=n.length,d=r.length,p=h;const g={};for(;p--;)g[n[p].key]=p;const m=[],_=new Map,b=new Map,y=[];for(p=d;p--;){const R=f(s,r,p),x=t(R);let N=o.get(x);N?i&&y.push(()=>N.p(R,e)):(N=u(x,R),N.c()),_.set(x,m[p]=N),x in g&&b.set(x,Math.abs(p-g[x]))}const k=new Set,T=new Set;function I(R){S(R,1),R.m(l,c),o.set(R.key,R),c=R.first,d--}for(;h&&d;){const R=m[d-1],x=n[h-1],N=R.key,O=x.key;R===x?(c=R.first,h--,d--):_.has(O)?!o.has(N)||k.has(N)?I(R):T.has(O)?h--:b.get(N)>b.get(O)?(T.add(N),I(R)):(k.add(O),h--):(a(x,o),h--)}for(;h--;){const R=n[h];_.has(R.key)||a(R,o)}for(;d;)I(m[d-1]);return lt(y),m}function _i(n,e){const t={},i={},s={$$scope:1};let r=n.length;for(;r--;){const o=n[r],l=e[r];if(l){for(const a in o)a in l||(i[a]=1);for(const a in l)s[a]||(t[a]=l[a],s[a]=1);n[r]=l}else for(const a in o)s[a]=1}for(const o in i)o in t||(t[o]=void 0);return t}function ol(n){return typeof n=="object"&&n!==null?n:{}}function jt(n,e,t){const i=n.$$.props[e];i!==void 0&&(n.$$.bound[i]=t,t(n.$$.ctx[i]))}function Y(n){n&&n.c()}function G(n,e,t){const{fragment:i,after_update:s}=n.$$;i&&i.m(e,t),vn(()=>{const r=n.$$.on_mount.map(Ey).filter(Xn);n.$$.on_destroy?n.$$.on_destroy.push(...r):lt(r),n.$$.on_mount=[]}),s.forEach(vn)}function j(n,e){const t=n.$$;t.fragment!==null&&(pC(t.after_update),lt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function gC(n,e){n.$$.dirty[0]===-1&&(ko.push(n),Ry(),n.$$.dirty.fill(0)),n.$$.dirty[e/31|0]|=1<{const p=d.length?d[0]:h;return u.ctx&&s(u.ctx[f],u.ctx[f]=p)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](p),c&&gC(n,f)),h}):[],u.update(),c=!0,lt(u.before_update),u.fragment=i?i(u.ctx):!1,e.target){if(e.hydrate){const f=nC(e.target);u.fragment&&u.fragment.l(f),f.forEach(E)}else u.fragment&&u.fragment.c();e.intro&&S(n.$$.fragment),G(n,e.target,e.anchor),ap()}Bs(a)}class _e{constructor(){P(this,"$$");P(this,"$$set")}$destroy(){j(this,1),this.$destroy=Z}$on(e,t){if(!Xn(t))return Z;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const s=i.indexOf(t);s!==-1&&i.splice(s,1)}}$set(e){this.$$set&&!YT(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const mC="4",mo=[];function Be(n,e=Z){let t;const i=new Set;function s(l){if(ae(n,l)&&(n=l,t)){const a=!mo.length;for(const u of i)u[1](),mo.push(u,n);if(a){for(let u=0;u{i.delete(u),i.size===0&&t&&(t(),t=null)}}return{set:s,update:r,subscribe:o}}const Fy=Be({currentSelection:[],currentSelectionNodes:[],currentHovered:new Set,currentHoveredNodes:new Set});function _C(){Fy.set({currentSelection:[],currentSelectionNodes:[],currentHovered:new Set,currentHoveredNodes:new Set})}const Ri={...Fy,clear:_C};var Qe=(n=>(n[n.UP=1]="UP",n[n.DOWN=2]="DOWN",n[n.LEFT=3]="LEFT",n[n.RIGHT=4]="RIGHT",n[n.CENTER=5]="CENTER",n))(Qe||{}),ft=(n=>(n[n.ALWAYS=0]="ALWAYS",n[n.ON_EVENT=1]="ON_EVENT",n[n.NEVER=2]="NEVER",n[n.ON_TRIGGER=3]="ON_TRIGGER",n[n.ON_REQUEST=4]="ON_REQUEST",n))(ft||{});const Hr=["Always","On Event","Never","On Trigger"],Ng=["#666","#422","#333","#224","#626"];var Re=(n=>(n[n.DEFAULT=0]="DEFAULT",n[n.BOX_SHAPE=1]="BOX_SHAPE",n[n.ROUND_SHAPE=2]="ROUND_SHAPE",n[n.CIRCLE_SHAPE=3]="CIRCLE_SHAPE",n[n.CARD_SHAPE=4]="CARD_SHAPE",n[n.ARROW_SHAPE=5]="ARROW_SHAPE",n[n.GRID_SHAPE=6]="GRID_SHAPE",n))(Re||{});const Dg=["default","box","round","circle","card","arrow","square"];var mt=(n=>(n[n.INPUT=0]="INPUT",n[n.OUTPUT=1]="OUTPUT",n))(mt||{}),Ml=(n=>(n[n.STRAIGHT_LINK=0]="STRAIGHT_LINK",n[n.LINEAR_LINK=1]="LINEAR_LINK",n[n.SPLINE_LINK=2]="SPLINE_LINK",n))(Ml||{}),Ji=(n=>(n[n.NORMAL_TITLE=0]="NORMAL_TITLE",n[n.NO_TITLE=1]="NO_TITLE",n[n.TRANSPARENT_TITLE=2]="TRANSPARENT_TITLE",n[n.AUTOHIDE_TITLE=3]="AUTOHIDE_TITLE",n))(Ji||{}),$=(n=>(n[n.EVENT=-2]="EVENT",n[n.ACTION=-1]="ACTION",n[n.DEFAULT=0]="DEFAULT",n))($||{});const cp=["*","array","object","number","string","enum","boolean","table"];var So=(n=>(n.VERTICAL_LAYOUT="vertical",n.HORIZONTAL_LAYOUT="horizontal",n))(So||{});function Go(n,e,t){return e>n?e:t{const s=e(i);return t[s]=i,t},{})}function xg(n,e){return e in n?n[e]:null}function uu(n,e){return e in n.constructor?n.constructor[e]:null}function bC(n,e){if(n.target!==e)return;let t=n.clientX-parseInt(window.getComputedStyle(e).left),i=n.clientY-parseInt(window.getComputedStyle(e).top);const s=o=>{if(o.buttons===0){r();return}e.style.top=o.clientY-i+"px",e.style.left=o.clientX-t+"px"},r=()=>{window.removeEventListener("mousemove",s),window.removeEventListener("mouseup",r)};window.addEventListener("mousemove",s),window.addEventListener("mouseup",r)}function Mh(n){return n.addEventListener("mousedown",e=>bC(e,n)),n.classList.add("draggable"),n}function sn(n){return n===$.EVENT?"Event":n===$.ACTION?"Action":n===$.DEFAULT?"Default":n}function Wy(n){return n===$.EVENT||n===$.ACTION||n===$.DEFAULT||typeof n=="string"}const $e=class{static registerNodeType(n){$e.debug;const e=n.name,t=n.type;if(!t)throw"Config has no type: "+n;if($e.debug,n.category==null||n.category===""){const s=t.lastIndexOf("/");n.category=t.substring(0,s)}n.title||(n.title=e);const i=$e.registered_node_types[t];if(n.supported_extensions)for(let s in n.supported_extensions){const r=n.supported_extensions[s];r&&r.constructor===String&&($e.node_types_by_file_extension[r.toLowerCase()]=n)}n.class.__LITEGRAPH_TYPE__=t,$e.registered_node_types[t]=n,n.class.name&&($e.Nodes[e]=n),$e.onNodeTypeRegistered&&$e.onNodeTypeRegistered(t,n),i&&$e.onNodeTypeReplaced&&$e.onNodeTypeReplaced(t,n,i)}static unregisterNodeType(n){let e;if(typeof n=="string"?e=$e.registered_node_types[n]:e=n,!e)throw"node type not found: "+n;delete $e.registered_node_types[e.type],e.constructor.name&&delete $e.Nodes[e.constructor.name]}static registerNodeAndSlotType(n,e,t=!1){let i;if(typeof n=="string"?i=$e.registered_node_types[n]:"type"in n?i=$e.registered_node_types[n.type]:i=n,!i)throw"Node not registered!"+n;var s=i.class.__litegraph_type__;if(typeof e=="string")var r=e.split(",");else if(e==$.EVENT||e==$.ACTION)var r=["_event_"];else var r=["*"];for(var o=0;o"u"&&(this[a][l]={nodes:[]}),this[a][l].nodes.push(s),l!=="_event_"&&l!=="*"&&(t?$e.slot_types_out.includes(l.toLowerCase())||($e.slot_types_out.push(l.toLowerCase()),$e.slot_types_out.sort()):$e.slot_types_in.includes(l.toLowerCase())||($e.slot_types_in.push(l.toLowerCase()),$e.slot_types_in.sort()))}}static clearRegisteredTypes(){$e.registered_node_types={},$e.node_types_by_file_extension={},$e.Nodes={},$e.searchbox_extras={}}static createNode(n,e,t={}){let i=null,s;if(typeof n=="string")s=n;else if(s=n.__LITEGRAPH_TYPE__,!s)throw"Node was not registered yet!";if(i=$e.registered_node_types[s],!i)return null;e=e||i.title||s;var r=null;const o=t.constructorArgs||[];if($e.catch_exceptions)try{r=new i.class(e,...o)}catch{return null}else r=new i.class(e,...o);if(r.class=i.class,r.type=s,!r.title&&e&&(r.title=e),r.properties||(r.properties={}),r.properties_info||(r.properties_info=[]),r.flags||(r.flags={}),r.size||(r.size=r.computeSize()),r.pos||(r.pos=[$e.DEFAULT_POSITION[0],$e.DEFAULT_POSITION[1]]),r.mode||(r.mode=ft.ALWAYS),t.instanceProps)for(var l in t.instanceProps)r[l]=t.instanceProps[l];const a=xg(i.class,"propertyLayout");if(a){$e.debug;for(const c of a){const{name:f,defaultValue:h,type:d,options:p}=c;r.addProperty(f,h,d,p)}}const u=xg(i.class,"slotLayout");if(u){if($e.debug,u.inputs)for(const c of u.inputs){const{name:f,type:h,options:d}=c;r.addInput(f,h,d)}if(u.outputs)for(const c of u.outputs){const{name:f,type:h,options:d}=c;r.addOutput(f,h,d)}}return r.onNodeCreated&&r.onNodeCreated(),r}static getNodeType(n){return $e.registered_node_types[n]}static getNodeTypesInCategory(n,e){var t=[];for(var i in $e.registered_node_types){var s=$e.registered_node_types[i];s.filter==e&&(n==""?s.category==null&&t.push(s):s.category==n&&t.push(s))}return $e.auto_sort_node_types&&t.sort(function(r,o){return r.title.localeCompare(o.title)}),t}static getNodeTypesCategories(n){var e={"":1};for(var t in $e.registered_node_types){var i=$e.registered_node_types[t];if(i.category&&!i.hide_in_node_lists){if(i.filter!=n)continue;e[i.category]=1}}var s=[];for(var t in e)s.push(t);return $e.auto_sort_node_types?s.sort():s}static reloadNodes(n){for(var e=document.getElementsByTagName("script"),t=[],i=0;in&&ie}static growBounding(n,e,t){return en[2]&&(n[2]=e),tn[3]&&(n[3]=t),n}static isInsideBounding(n,e){return!(n[0]e[1][0]||n[1]>e[1][1])}static overlapBounding(n,e){var t=n[0]+n[2],i=n[1]+n[3],s=e[0]+e[2],r=e[1]+e[3];return!(n[0]>s||n[1]>r||t=this.viewport[0]&&r=this.viewport[1]&&othis.max_scale&&(e=this.max_scale),e!=this.scale&&this.element){var i=this.element.getBoundingClientRect();if(i){t=t||[i.width*.5,i.height*.5],t[0]-=i.left,t[1]-=i.top;var s=this.convertCanvasToOffset(t);this.scale=e,Math.abs(this.scale-1)<.01&&(this.scale=1);var r=this.convertCanvasToOffset(t),o=[r[0]-s[0],r[1]-s[1]];this.offset[0]+=o[0],this.offset[1]+=o[1],this.onredraw&&this.onredraw(this)}}}changeDeltaScale(e,t){this.changeScale(this.scale*e,t)}reset(){this.scale=1,this.offset[0]=0,this.offset[1]=0}}class Na{processMouseDown(e){if(this.set_canvas_dirty_on_mouse_event&&(this.dirty_canvas=!0),!this.graph)return;let t=e;this.adjustMouseEvent(t);var i=this.getCanvasWindow();i.document,re.active_canvas=this;var s=t.clientX,r=t.clientY;this.ds.viewport=this.viewport;var o=!this.viewport||this.viewport&&s>=this.viewport[0]&&s=this.viewport[1]&&rl.size[0]-w.NODE_TITLE_HEIGHT&&k[1]<0&&setTimeout(()=>{this.openSubgraph(l.subgraph)},10),this.live_mode&&(h=!0,y=!0)),y||(this.allow_dragnodes&&(this.graph.beforeChange(),this.node_dragged=l),this.selected_nodes[l.id]||this.processNodeSelected(l,t)),this.dirty_canvas=!0}}else if(!a){let X=!1;if(l&&l.subgraph&&!l.skip_subgraph_button){var k=[t.canvasX-l.pos[0],t.canvasY-l.pos[1]];!l.flags.collapsed&&k[0]>l.size[0]-w.NODE_TITLE_HEIGHT&&k[1]<0&&(X=!0,setTimeout(()=>{this.openSubgraph(l.subgraph)},10))}if(!X){if(this.allow_interaction&&!this.read_only){const q=this.findLinkCenterAtPos(t.canvasX,t.canvasY);q!=null&&(this.showLinkMenu(q,t),this.over_link_center=null)}if(this.selected_group=this.graph.getGroupOnPos(t.canvasX,t.canvasY),this.selected_group_resizing=!1,this.selected_group&&!this.read_only&&this.allow_interaction){t.ctrlKey&&(this.dragging_rectangle=null);var I=w.distance([t.canvasX,t.canvasY],[this.selected_group.pos[0]+this.selected_group.size[0],this.selected_group.pos[1]+this.selected_group.size[1]]);I*this.ds.scale<10?this.selected_group_resizing=!0:this.selected_group.recomputeInsideNodes()}f&&!this.read_only&&this.allow_searchbox&&this.allow_interaction&&(this.showSearchBox(t),t.preventDefault(),t.stopPropagation()),h=!0}}!a&&h&&this.allow_dragcanvas&&(this.dragging_canvas=!0)}else if(t.which==2){if(w.middle_click_slot_add_default_node&&l&&this.allow_interaction&&!a&&!this.read_only&&!this.connecting_node&&!l.flags.collapsed&&!this.live_mode){var R=null,x=null,N=null;if(l.outputs)for(var d=0,p=l.outputs.length;d10&&d>10){for(var m=[],_=0;_=this.viewport[0]&&s=this.viewport[1]&&r0?l*=1.1:i<0&&(l*=1/1.1),this.ds.changeScale(l,[t.clientX,t.clientY]),this.graph.change(),t.preventDefault(),!1}}}}const Ls=class{setZoom(n,e){this.ds.changeScale(n,e),this.maxZoom&&this.ds.scale>this.maxZoom?this.scale=this.maxZoom:this.minZoom&&this.ds.scale> ";e.fillText(a+l.getTitle(),n.width*.5,40),e.restore()}let i=!1;if(this.onRenderBackground&&this.onRenderBackground(n,e)&&(i=!0),this.viewport||(e.restore(),e.setTransform(1,0,0,1,0,0)),this.visible_links.length=0,this.graph){if(e.save(),this.ds.toCanvasContext(e),this.background_image&&this.ds.scale>.5&&!i){this.zoom_modify_alpha?e.globalAlpha=(1-.5/this.ds.scale)*this.editor_alpha:e.globalAlpha=this.editor_alpha,e.imageSmoothingEnabled=e.imageSmoothingEnabled=!1,(!this._bg_img||this._bg_img.name!=this.background_image)&&(this._bg_img=new Image,this._bg_img.name=this.background_image,this._bg_img.src=this.background_image,this._bg_img.onload=()=>{this.draw(!0,!0)});var s=null;this._pattern==null&&this._bg_img.width>0?(s=e.createPattern(this._bg_img,"repeat"),this._pattern_img=this._bg_img,this._pattern=s):s=this._pattern,s&&(e.fillStyle=s,e.fillRect(this.visible_area[0],this.visible_area[1],this.visible_area[2],this.visible_area[3]),e.fillStyle="transparent"),e.globalAlpha=1,e.imageSmoothingEnabled=e.imageSmoothingEnabled=!0}this.graph._groups.length&&!this.live_mode&&this.drawGroups(n,e),this.onDrawBackground&&this.onDrawBackground(e,this.visible_area),w.debug&&(e.fillStyle="red",e.fillRect(this.visible_area[0]+10,this.visible_area[1]+10,this.visible_area[2]-20,this.visible_area[3]-20)),this.render_canvas_border&&(e.strokeStyle="#235",e.strokeRect(0,0,n.width,n.height)),this.render_connections_shadows?(e.shadowColor="#000",e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowBlur=6):e.shadowColor="rgba(0,0,0,0)",!this.live_mode&&this.render_connections&&this.drawConnections(e),e.shadowColor="rgba(0,0,0,0)",e.restore()}this.dirty_bgcanvas=!1,this.dirty_canvas=!0}drawNode(n,e){this.current_node=n;var t=n.color||n.constructor.color||w.NODE_DEFAULT_COLOR,i=n.bgcolor||n.constructor.bgcolor||w.NODE_DEFAULT_BGCOLOR;n.mouseOver;var s=this.ds.scale<.6;if(this.live_mode){n.flags.collapsed||(e.shadowColor="transparent",n.onDrawForeground&&n.onDrawForeground(e,this,this.canvas));return}var r=this.editor_alpha;if(e.globalAlpha=r,this.render_shadows&&!s?(e.shadowColor=w.DEFAULT_SHADOW_COLOR,e.shadowOffsetX=2*this.ds.scale,e.shadowOffsetY=2*this.ds.scale,e.shadowBlur=3*this.ds.scale):e.shadowColor="transparent",!(n.flags.collapsed&&n.onDrawCollapsed&&n.onDrawCollapsed(e,this)==!0)){var o=n.shape||Re.BOX_SHAPE,l=Ls.temp_vec2;Ls.temp_vec2.set(n.size);var a=n.horizontal;if(n.flags.collapsed){e.font=this.inner_text_font;var u=n.getTitle?n.getTitle():n.title;u!=null&&(n._collapsed_width=Math.min(n.size[0],e.measureText(u).width+w.NODE_TITLE_HEIGHT*2),l[0]=n._collapsed_width,l[1]=0)}n.clip_area&&(e.save(),e.beginPath(),o==Re.BOX_SHAPE?e.rect(0,0,l[0],l[1]):o==Re.ROUND_SHAPE?e.roundRect(0,0,l[0],l[1],[10]):o==Re.CIRCLE_SHAPE&&e.arc(l[0]*.5,l[1]*.5,l[0]*.5,0,Math.PI*2),e.clip()),n.has_errors&&(i="red"),this.drawNodeShape(n,e,[l[0],l[1]],t,i,n.is_selected,n.mouseOver),e.shadowColor="transparent",n.onDrawForeground&&n.onDrawForeground(e,this,this.canvas),e.textAlign=a?"center":"left",e.font=this.inner_text_font;var c=!s,f=this.connecting_output,h=this.connecting_input;e.lineWidth=1;var d=0,p=[0,0];if(n.flags.collapsed){if(this.render_collapsed_slots){var R=null,x=null;if(n.inputs)for(let D=0;D0&&n.execute_triggered--,n.action_triggered>0&&n.action_triggered--}drawConnections(n){var e=w.getTime(),t=this.visible_area;let i=Ls.margin_area;i[0]=t[0]-20,i[1]=t[1]-20,i[2]=t[2]+40,i[3]=t[3]+40,n.lineWidth=this.connections_width,n.fillStyle="#AAA",n.strokeStyle="#AAA",n.globalAlpha=this.editor_alpha;for(var s=this.graph._nodes,r=0,o=s.length;r.6&&(n.lineWidth=this.connections_width+4),n.lineJoin="round",u=u||1,u>1&&(n.lineWidth=.5),n.beginPath();for(var f=0;f.6&&!s&&(n.strokeStyle="rgba(0,0,0,0.5)",n.stroke()),n.lineWidth=this.connections_width,n.fillStyle=n.strokeStyle=o,n.stroke();var I=this.computeConnectionPoint(e,t,.5,l,a);if(i&&i._pos&&(i._pos[0]=I[0],i._pos[1]=I[1]),this.ds.scale>=.6&&this.highquality_render&&a!=Qe.CENTER){if(this.render_connection_arrows){var R=this.computeConnectionPoint(e,t,.25,l,a),x=this.computeConnectionPoint(e,t,.26,l,a),N=this.computeConnectionPoint(e,t,.75,l,a),O=this.computeConnectionPoint(e,t,.76,l,a),D=0,M=0;this.render_curved_connections?(D=-Math.atan2(x[0]-R[0],x[1]-R[1]),M=-Math.atan2(O[0]-N[0],O[1]-N[1])):M=D=t[1]>e[1]?0:Math.PI,n.save(),n.translate(R[0],R[1]),n.rotate(D),n.beginPath(),n.moveTo(-5,-3),n.lineTo(0,7),n.lineTo(5,-3),n.fill(),n.restore(),n.save(),n.translate(N[0],N[1]),n.rotate(M),n.beginPath(),n.moveTo(-5,-3),n.lineTo(0,7),n.lineTo(5,-3),n.fill(),n.restore()}n.beginPath(),n.arc(I[0],I[1],5,0,Math.PI*2),n.fill()}if(r){n.fillStyle=o;for(var f=0;f<5;++f){var L=(w.getTime()*.001+f*.2)%1,I=this.computeConnectionPoint(e,t,L,l,a);n.beginPath(),n.arc(I[0],I[1],5,0,2*Math.PI),n.fill()}}}computeConnectionPoint(n,e,t,i=Qe.RIGHT,s=Qe.LEFT){var r=w.distance(n,e),o=n,l=[n[0],n[1]],a=[e[0],e[1]],u=e;switch(i){case Qe.LEFT:l[0]+=r*-.25;break;case Qe.RIGHT:l[0]+=r*.25;break;case Qe.UP:l[1]+=r*-.25;break;case Qe.DOWN:l[1]+=r*.25;break}switch(s){case Qe.LEFT:a[0]+=r*-.25;break;case Qe.RIGHT:a[0]+=r*.25;break;case Qe.UP:a[1]+=r*-.25;break;case Qe.DOWN:a[1]+=r*.25;break}var c=(1-t)*(1-t)*(1-t),f=3*((1-t)*(1-t))*t,h=3*(1-t)*(t*t),d=t*t*t,p=c*o[0]+f*l[0]+h*a[0]+d*u[0],g=c*o[1]+f*l[1]+h*a[1]+d*u[1];return[p,g]}drawExecutionOrder(n){n.shadowColor="transparent",n.globalAlpha=.25,n.textAlign="center",n.strokeStyle="white",n.globalAlpha=.75;for(var e=this.visible_nodes,t=0;t.5;t.save(),t.globalAlpha=this.editor_alpha;for(var a=w.WIDGET_OUTLINE_COLOR,u=w.WIDGET_BGCOLOR,c=w.WIDGET_TEXT_COLOR,f=w.WIDGET_SECONDARY_TEXT_COLOR,h=15,d=0;de&&this.pos[1]-r-it}setDirtyCanvas(e,t=!1){this.graph&&this.graph.sendActionToCanvas("setDirty",[e,t])}}class jo{constructor(e,t,i,s,r,o){this.data=null,this._pos=[0,0],this._last_time=0,this.id=e,this.type=t,this.origin_id=i,this.origin_slot=s,this.target_id=r,this.target_slot=o}static configure(e){return e instanceof Array?new jo(e[0],e[5],e[1],e[2],e[3],e[4]):new jo(e.id,e.type,e.origin_id,e.origin_slot,e.target_id,e.target_slot)}serialize(){return[this.id,this.origin_id,this.origin_slot,this.target_id,this.target_slot,this.type]}}let Da;const vC=new Uint8Array(16);function wC(){if(!Da&&(Da=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Da))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Da(vC)}const Ni=[];for(let n=0;n<256;++n)Ni.push((n+256).toString(16).slice(1));function kC(n,e=0){return(Ni[n[e+0]]+Ni[n[e+1]]+Ni[n[e+2]]+Ni[n[e+3]]+"-"+Ni[n[e+4]]+Ni[n[e+5]]+"-"+Ni[n[e+6]]+Ni[n[e+7]]+"-"+Ni[n[e+8]]+Ni[n[e+9]]+"-"+Ni[n[e+10]]+Ni[n[e+11]]+Ni[n[e+12]]+Ni[n[e+13]]+Ni[n[e+14]]+Ni[n[e+15]]).toLowerCase()}const SC=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Lg={randomUUID:SC};function fi(n,e,t){if(Lg.randomUUID&&!e&&!n)return Lg.randomUUID();n=n||{};const i=n.random||(n.rng||wC)();if(i[6]=i[6]&15|64,i[8]=i[8]&63|128,e){t=t||0;for(let s=0;s<16;++s)e[t+s]=i[s];return e}return kC(i)}const Rh=class{constructor(n){this.desc="",this.pos=[0,0],this.subgraph=null,this.skip_subgraph_button=!1,this.priority=0,this.removable=!0,this.clonable=!0,this.collapsable=!0,this.titleMode=Ji.NORMAL_TITLE,this.serialize_widgets=!1,this.hide_in_node_lists=!1,this.block_delete=!1,this.ignore_remove=!1,this.last_serialization=null,this._relative_id=null,this.exec_version=0,this.action_call=null,this.execute_triggered=0,this.action_triggered=0,this.console=[],this.title=n||"Unnamed",this.size=[w.NODE_WIDTH,60],this.graph=null,this.pos=[10,10],w.use_uuids?this.id=fi():this.id=-1,this.type=null,this.inputs=[],this.outputs=[],this.connections=[],this.properties={},this.properties_info=[],this.flags={}}get slotLayout(){return"slotLayout"in this.constructor?this.constructor.slotLayout:null}configure(n){this.graph&&this.graph._version++;for(var e in n){if(e=="properties"){for(var t in n.properties)this.properties[t]=n.properties[t],this.onPropertyChanged&&this.onPropertyChanged(t,n.properties[t]);continue}n[e]!=null&&(typeof n[e]=="object"?this[e]&&this[e].configure?this[e].configure(n[e]):this[e]=w.cloneObject(n[e],this[e]):this[e]=n[e])}n.title||(this.title=uu(this,"title")||this.title);const i=n.bgColor;if(i!=null&&(this.bgcolor||(this.bgcolor=i)),this.inputs)for(let o=0;o=this.inputs.length)){var t=this.inputs[n];if(t)return t.properties||(t.properties={}),t.properties[e]}}getOutputSlotProperty(n,e){if(!(!this.outputs||!this.graph)&&!(n==-1||n>=this.outputs.length)){var t=this.outputs[n];if(t)return t.properties||(t.properties={}),t.properties[e]}}setInputSlotProperty(n,e,t){if(!(!this.inputs||!this.graph)&&!(n==-1||n>=this.inputs.length)){var i=this.inputs[n];if(i&&(i.properties||(i.properties={}),t!==i.properties[e])){var s=i.properties[e];i.properties[e]=t,this.graph&&this.graph._version++,this.onSlotPropertyChanged&&this.onSlotPropertyChanged(mt.INPUT,n,i,e,t,s)===!1&&(i.properties[e]=s)}}}setOutputSlotProperty(n,e,t){if(!(!this.outputs||!this.graph)&&!(n==-1||n>=this.outputs.length)){var i=this.outputs[n];if(i&&(i.properties||(i.properties={}),t!==i.properties[e])){var s=i.properties[e];i.properties[e]=t,this.graph&&this.graph._version++,this.onSlotPropertyChanged&&this.onSlotPropertyChanged(mt.OUTPUT,n,i,e,t,s)===!1&&(i.properties[e]=s)}}}setOutputData(n,e){if(!(!this.outputs||!this.graph)&&!(n==-1||n>=this.outputs.length)){var t=this.outputs[n];if(t&&(w.serialize_slot_data?t._data=e:t._data=void 0,this.outputs[n].links))for(var i=0;i=this.outputs.length)){var t=this.outputs[n];if(t&&(t.type=e,this.outputs[n].links))for(let i=this.outputs[n].links.length-1;i>=0;i--){const s=this.outputs[n].links[i],r=this.graph.links[s];if(r){r.type=e;const o=this.graph.getNodeById(r.target_id);if(o){const l=o.getInputInfo(r.target_slot);l&&!w.isValidConnection(e,l.type)&&o.disconnectInput(r.target_slot)}}}}}*iterateInputInfo(){for(let n=0;n=this.inputs.length||this.inputs[n].link==null)){var t=this.inputs[n].link,i=this.graph.links[t];if(!i)return w.debug,null;if(!e)return i.data;var s=this.graph.getNodeById(i.origin_id);return s&&(s.updateOutputData?s.updateOutputData(i.origin_slot):s.onExecute&&s.onExecute(null,{})),i.data}}getInputDataType(n){if(!this.inputs||n>=this.inputs.length||this.inputs[n].link==null)return null;var e=this.inputs[n].link,t=this.graph.links[e];if(!t)return w.debug,null;var i=this.graph.getNodeById(t.origin_id);if(!i)return t.type;var s=i.outputs[t.origin_slot];return s&&s.type!=-1?s.type:null}getInputDataByName(n,e){var t=this.findInputSlotIndexByName(n);return t==-1?null:this.getInputData(t,e)}isInputConnected(n){return this.inputs?n=this.inputs.length)){var t=this.inputs[n];if(t&&(t.type=e,t.link)){const i=t.link,s=this.graph.links[i];s.type=e;const r=this.graph.getNodeById(s.origin_id);if(r){const o=r.getOutputInfo(s.origin_slot);o&&!w.isValidConnection(o.type,e)&&r.disconnectOutput(s.origin_slot)}}}}getOutputSlotConnectedTo(n){if(!this.outputs||!this.graph)return null;if(n>=0&&n=this.outputs.length)return null;var e=this.outputs[n];return e._data}getOutputLinks(n){if(!this.outputs||!this.graph)return[];if(n>=0&&n=0&&n0}isAnyOutputConnected(){if(!this.outputs||!this.graph)return!1;for(var n=0;n=this.outputs.length)return null;var e=this.outputs[n];if(!e.links||e.links.length==0)return null;for(var t=[],i=0;ithis.outputs.length-1)return;const i=this.outputs[e];if(t.links)for(const s of t.links){const r=this.graph.links[s];r.origin_slot=e}if(i.links)for(const s of i.links){const r=this.graph.links[s];r.origin_slot=n}this.outputs[e]=t,this.outputs[n]=i}addInput(n,e=$.DEFAULT,t){var i={name:n,type:e,link:null,properties:{}};if(t)for(var s in t)i[s]=t[s];return(i.shape==null||i.shape==Re.DEFAULT)&&(e=="array"?i.shape=Re.GRID_SHAPE:(e===$.EVENT||e===$.ACTION)&&(i.shape=Re.BOX_SHAPE)),this.inputs||(this.inputs=[]),this.inputs.push(i),this.setSize(this.computeSize()),this.onInputAdded&&this.onInputAdded(i),w.registerNodeAndSlotType(this,e),this.setDirtyCanvas(!0,!0),i}removeInput(n){this.disconnectInput(n);for(var e=this.inputs.splice(n,1),t=n;tthis.inputs.length-1)return;const i=this.inputs[e];if(t.link!=null){const s=this.graph.links[t.link];s.target_slot=e}if(i.link!=null){const s=this.graph.links[i.link];s.target_slot=n}this.inputs[e]=t,this.inputs[n]=i}addConnection(n,e,t,i){let s={name:n,type:e,pos:t,direction:i,links:null};return this.connections.push(s),s}computeSize(n=[0,0]){const e=uu(this,"overrideSize");if(e)return e.concat();var t=Math.max(this.inputs?this.inputs.length:1,this.outputs?this.outputs.length:1),i=n;t=Math.max(t,1);var s=w.NODE_TEXT_SIZE,r=g(this.title),o=0,l=0;if(this.inputs)for(var a=0,u=this.inputs.length;an&&this.pos[1]-s-te)return!0;return!1}getSlotInPosition(n,e){var t=[0,0];if(this.inputs)for(var i=0,s=this.inputs.length;i=0&&l!==null)return w.debug,this.connect(n,e,l);if(w.debug,r.createEventInCase&&t==$.EVENT)return w.debug,this.connect(n,e,-1);if(r.generalTypeInCase){let a=e.findInputSlotIndexByType($.DEFAULT,!0,!0);if(w.debug,a>=0)return this.connect(n,e,a)}if(r.firstFreeIfOutputGeneralInCase&&(t==0||t=="*"||t=="")){let a=e.findInputSlotIndexByName(null,!0,[$.EVENT]);if(w.debug,a>=0)return this.connect(n,e,a)}return w.debug,null}connectByTypeOutput(n,e,t,i={}){var s={createEventInCase:!0,firstFreeIfInputGeneralInCase:!0,generalTypeInCase:!0},r=Object.assign(s,i);e&&e.constructor===Number&&(e=this.graph.getNodeById(e));let o=t;if(t===$.EVENT?o=$.ACTION:t===$.ACTION&&(o=$.EVENT),l=e.findOutputSlotIndexByType(o,!0),l>=0&&l!==null)return e.connect(l,this,n);if(r.generalTypeInCase){var l=e.findOutputSlotIndexByType(0,!0,!0);if(l>=0)return e.connect(l,this,n)}if((r.createEventInCase&&t==$.EVENT||t==$.ACTION)&&w.do_add_triggers_slots){var l=e.addOnExecutedOutput();return e.connect(l,this,n)}if(r.firstFreeIfInputGeneralInCase&&(t==0||t=="*"||t=="")){let a=e.findOutputSlotIndexByName(null,!0,[$.EVENT,$.ACTION]);if(a>=0)return e.connect(a,this,n)}return null}connect(n,e,t){if(t=t||0,!this.graph)throw new Error("Connect: Error, node doesn't belong to any graph. Nodes must be added first to a graph before connecting them.");if(typeof n=="string"){if(n=this.findOutputSlotIndexByName(n),n==-1)return w.debug,null}else if(!this.outputs||n>=this.outputs.length)return w.debug,null;if(e&&e.constructor===Number&&(e=this.graph.getNodeById(e)),!e)throw"target node is null";if(e==this)return w.debug,null;if(!e.graph)throw new Error("Connect: Error, target node doesn't belong to any graph. Nodes must be added first to a graph before connecting them.");if(typeof t=="string"){if(t=e.findInputSlotIndexByName(t),t==-1)return w.debug,null}else if(t===$.EVENT)if(w.do_add_triggers_slots)e.changeMode(ft.ON_TRIGGER),t=e.findInputSlotIndexByName("onTrigger");else return w.debug,null;else if(!e.inputs||t>=e.inputs.length)return w.debug,null;var i=!1,s=e.inputs[t],r=null,o=this.outputs[n];if(!this.outputs[n])return w.debug,null;if(e.onBeforeConnectInput&&(t=e.onBeforeConnectInput(t)),t===-1||t===null||!w.isValidConnection(o.type,s.type))return this.setDirtyCanvas(!1,!0),i&&this.graph.connectionChange(this,r),null;if(w.debug,e.onConnectInput&&e.onConnectInput(t,o.type,o,this,n)===!1||this.onConnectOutput&&this.onConnectOutput(n,s.type,s,e,t)===!1)return w.debug,null;if(e.inputs[t]&&e.inputs[t].link!=null&&(this.graph.beforeChange(),e.disconnectInput(t,{doProcessChange:!1}),i=!0),o.links!==null&&o.links.length)switch(o.type){case $.EVENT:w.allow_multi_output_for_events||(this.graph.beforeChange(),this.disconnectOutput(n,null,{doProcessChange:!1}),i=!0);break}let l;return w.use_uuids?l=fi():l=++this.graph.last_link_id,r=new jo(l,s.type||o.type,this.id,n,e.id,t),this.graph.links[r.id],this.graph.links[r.id]=r,o.links==null&&(o.links=[]),o.links.push(r.id),e.inputs[t].link=r.id,this.graph&&this.graph._version++,this.onConnectionsChange&&this.onConnectionsChange(mt.OUTPUT,n,!0,r,o),e.onConnectionsChange&&e.onConnectionsChange(mt.INPUT,t,!0,r,s),this.graph&&this.graph.onNodeConnectionChange&&(this.graph.onNodeConnectionChange(mt.INPUT,e,t,this,n),this.graph.onNodeConnectionChange(mt.OUTPUT,this,n,e,t)),this.setDirtyCanvas(!1,!0),this.graph.afterChange(),this.graph.connectionChange(this,r),r}disconnectOutput(n,e,t){if(typeof n=="string"){if(n=this.findOutputSlotIndexByName(n),n==-1)return w.debug,!1}else if(!this.outputs||n>=this.outputs.length)return w.debug,!1;var i=this.outputs[n];if(!i||!i.links||i.links.length==0)return!1;if(e){if(e.constructor===Number&&(e=this.graph.getNodeById(e)),!e)throw"Target Node not found";for(var s=0,r=i.links.length;s=this.inputs.length)return w.debug,!1;var t=this.inputs[n];if(!t)return!1;var i=this.inputs[n].link;if(i!=null){this.inputs[n].link=null;var s=this.graph.links[i];if(s){var r=this.graph.getNodeById(s.origin_id);if(!r)return!1;var o=r.outputs[s.origin_slot];if(!o||!o.links||o.links.length==0)return!1;for(var l=0,a=o.links.length;le&&this.inputs[e].pos?(t[0]=this.pos[0]+this.inputs[e].pos[0],t[1]=this.pos[1]+this.inputs[e].pos[1],t):!n&&s>e&&this.outputs[e].pos?(t[0]=this.pos[0]+this.outputs[e].pos[0],t[1]=this.pos[1]+this.outputs[e].pos[1],t):this.horizontal?(t[0]=this.pos[0]+(e+.5)*(this.size[0]/s),n?t[1]=this.pos[1]-w.NODE_TITLE_HEIGHT:t[1]=this.pos[1]+this.size[1],t):(n?t[0]=this.pos[0]+r:t[0]=this.pos[0]+this.size[0]+1-r,t[1]=this.pos[1]+(e+.7)*w.NODE_SLOT_HEIGHT+(this.constructor.slot_start_y||0),t)}alignToGrid(){this.pos[0]=w.CANVAS_GRID_SIZE*Math.round(this.pos[0]/w.CANVAS_GRID_SIZE),this.pos[1]=w.CANVAS_GRID_SIZE*Math.round(this.pos[1]/w.CANVAS_GRID_SIZE)}trace(n){this.console||(this.console=[]),this.console.push(n),this.console.length>Rh.MAX_CONSOLE&&this.console.shift(),this.graph.onNodeTrace&&this.graph.onNodeTrace(this,n)}setDirtyCanvas(n,e=!1){this.graph&&this.graph.sendActionToCanvas("setDirty",[n,e])}loadImage(n){var e=new Image;e.src=w.node_images_path+n;var t=this;return e.onload=function(){t.setDirtyCanvas(!0)},e}captureInput(n){if(!(!this.graph||!this.graph.list_of_graphcanvas))for(var e=this.graph.list_of_graphcanvas,t=0;te.toUpperCase())),n}function TC(){return Vy().map(sn)}class qi extends Ke{constructor(e){super(e),this.properties={name:"",type:"number",value:0,subgraphID:null},this.nameInGraph="",this.clonable=!1,this.size=[180,90];let t=this;this.nameWidget=this.addWidget("text","Name",this.properties.name,this.setName.bind(this)),w.graph_inputs_outputs_use_combo_widget?this.typeWidget=this.addWidget("combo","Type",sn(this.properties.type),this.setType.bind(this),{values:TC}):this.typeWidget=this.addWidget("text","Type",sn(this.properties.type),this.setType.bind(this)),this.valueWidget=this.addWidget("number","Value",this.properties.value,function(i){t.setProperty("value",i)}),this.widgets_up=!0}setName(e){if(e==null||e===this.properties.name)return;const t=this.getParentSubgraph();t&&(e=t.getValidGraphInputName(e),this.setProperty("name",e))}setType(e){e||(e="*");let t=e;e==="-1"||e==="Action"?t=$.ACTION:e==="-2"||e==="Event"?t=$.EVENT:e==="0"&&(t="*"),this.setProperty("type",t)}onConfigure(){this.updateType()}getParentSubgraph(){var e,t;return(t=(e=this.graph._subgraph_node)==null?void 0:e.graph)==null?void 0:t.getNodeById(this.properties.subgraphID)}updateType(){var e=this.properties.type;this.typeWidget.value=sn(e);const t=this.outputs[0];t.type!=e&&(w.isValidConnection(t.type,e)||this.disconnectOutput(0),t.type=e),e=="array"?t.shape=Re.GRID_SHAPE:e===$.EVENT||e===$.ACTION?t.shape=Re.BOX_SHAPE:t.shape=Re.DEFAULT,e=="number"?(this.valueWidget.type="number",this.valueWidget.value=0):e=="boolean"?(this.valueWidget.type="toggle",this.valueWidget.value=!0):e=="string"?(this.valueWidget.type="text",this.valueWidget.value=""):(this.valueWidget.type=null,this.valueWidget.value=null),this.properties.value=this.valueWidget.value,this.graph&&this.nameInGraph&&Wy(e)&&(this.graph.changeInputType(this.nameInGraph,e),t.type!==e&&this.setOutputDataType(0,e))}onPropertyChanged(e,t){if(e=="name"){if(t==""||t==this.nameInGraph||t=="enabled")return!1;this.graph&&(this.nameInGraph?this.graph.renameInput(this.nameInGraph,t):this.graph.addInput(t,""+this.properties.type,null)),this.nameWidget.value=t,this.nameInGraph=t}else e=="type"&&this.updateType()}getTitle(){return this.flags.collapsed?this.properties.name:this.title}onAction(e,t){this.properties.type==$.EVENT&&this.triggerSlot(0,t)}onExecute(){var e=this.properties.name,t=this.graph.inputs[e];if(!t){this.setOutputData(0,this.properties.value);return}this.setOutputData(0,t.value!==void 0?t.value:this.properties.value)}onRemoved(){this.nameInGraph&&this.graph.removeInput(this.nameInGraph)}}qi.slotLayout={inputs:[],outputs:[{name:"",type:"number"}]};w.registerNodeType({class:qi,title:"Input",desc:"Input of the graph",type:"graph/input",hide_in_node_lists:!0});function Hy(){let n=[];return n=n.concat(cp),n=n.concat([$.EVENT]),n=n.concat(w.slot_types_out),n}function CC(){return Hy().map(sn)}class pn extends Ke{constructor(e){super(e),this.properties={name:"",type:"number",subgraphID:null},this.nameInGraph="",this.clonable=!1,this.size=[180,60],this.nameWidget=this.addWidget("text","Name",this.properties.name,this.setName.bind(this)),w.graph_inputs_outputs_use_combo_widget?this.typeWidget=this.addWidget("combo","Type",sn(this.properties.type),this.setType.bind(this),{values:CC}):this.typeWidget=this.addWidget("text","Type",sn(this.properties.type),this.setType.bind(this)),this.widgets_up=!0}setName(e){if(e==null||e===this.properties.name)return;const t=this.getParentSubgraph();t&&(e=t.getValidGraphOutputName(e),this.setProperty("name",e))}setType(e){e||(e="*");let t=e;e==="-1"||e==="Action"?t=$.ACTION:e==="-2"||e==="Event"?t=$.EVENT:e==="0"&&(t="*"),this.setProperty("type",t)}onConfigure(){this.updateType()}getParentSubgraph(){var e,t;return(t=(e=this.graph._subgraph_node)==null?void 0:e.graph)==null?void 0:t.getNodeById(this.properties.subgraphID)}updateType(){var e=this.properties.type;const t=this.inputs[0];this.typeWidget&&(this.typeWidget.value=sn(e)),e=="array"?t.shape=Re.GRID_SHAPE:e===$.EVENT||e===$.ACTION?t.shape=Re.BOX_SHAPE:t.shape=Re.DEFAULT,t.type!=e&&((e=="action"||e=="event")&&(e=$.EVENT),w.isValidConnection(t.type,e)||this.disconnectInput(0),t.type=e),this.graph&&this.nameInGraph&&Wy(e)&&(this.graph.changeOutputType(this.nameInGraph,e),t.type!==e&&this.setInputDataType(0,e))}onPropertyChanged(e,t){if(e=="name"){if(t==""||t==this.nameInGraph||t=="enabled")return!1;this.graph&&(this.nameInGraph?this.graph.renameOutput(this.nameInGraph,t):this.graph.addOutput(t,""+this.properties.type,null)),this.nameWidget.value=t,this.nameInGraph=t}else e=="type"&&this.updateType()}getTitle(){return this.flags.collapsed?this.properties.name:this.title}onAction(e,t,i){const s=this.getParentSubgraph();if(!s)return;const r=s.findOutputSlotIndexByName(this.properties.name);r==null||s.outputs[r]==null||s.triggerSlot(r,t)}onExecute(){const e=this.getInputData(0);this.graph.setOutputData(this.properties.name,e)}onRemoved(){this.nameInGraph&&this.graph.removeOutput(this.nameInGraph)}}pn.slotLayout={inputs:[{name:"",type:""}],outputs:[]};w.registerNodeType({class:pn,title:"Output",desc:"Output of the graph",type:"graph/output",hide_in_node_lists:!0});const Uy=class{constructor(n){this.supported_types=null,this.vars={},this.extra={},this.inputs={},this.outputs={},this.links={},this.list_of_graphcanvas=[],this._nodes=[],this._groups=[],this._nodes_by_id={},this._nodes_executable=null,this._nodes_in_order=[],this._version=-1,this._last_trigger_time=0,this._is_subgraph=!1,this._subgraph_node=null,this.nodes_executing=[],this.nodes_actioning=[],this.nodes_executedAction=[],this.execution_timer_id=-1,this.execution_time=0,this.errors_in_execution=!1,w.debug,this.list_of_graphcanvas=null,this.clear(),n&&this.configure(n)}getSupportedTypes(){return this.supported_types||Uy.DEFAULT_SUPPORTED_TYPES}getRootGraph(){const n=Array.from(this.iterateParentGraphs()),e=n[n.length-1];return e._is_subgraph?null:e}*iterateParentGraphs(){var e;let n=this;for(;n;)yield n,n=(e=n._subgraph_node)==null?void 0:e.graph}clear(){if(this.stop(),this.status=1,this.last_node_id=0,this.last_link_id=0,this._version=-1,this._nodes)for(var n=0;nl&&(l=c.size[f]);const h=e==So.VERTICAL_LAYOUT?0:1;a+=c.size[h]+n+w.NODE_TITLE_HEIGHT}s+=l+n}this.setDirtyCanvas(!0,!0)}getTime(){return this.globaltime}getFixedTime(){return this.fixedtime}getElapsedTime(){return this.elapsed_time}*iterateNodesInOrder(){const n=this._nodes_in_order?this._nodes_in_order:this._nodes||[];for(const e of n)yield e}*iterateNodesInOrderRecursive(){const n=this._nodes_in_order?this._nodes_in_order:this._nodes||[];for(const e of n)if(yield e,e.subgraph!=null)for(const t of e.subgraph.iterateNodesInOrderRecursive())yield t}*iterateNodesOfClass(n){const e=n.__LITEGRAPH_TYPE__;if(e!=null)for(const t of this.iterateNodesInOrder())t.type===e&&(yield t)}*iterateNodesOfClassRecursive(n){const e=n.__LITEGRAPH_TYPE__;if(e!=null)for(const t of this.iterateNodesInOrderRecursive())t.type===e&&(yield t)}*iterateNodesOfTypeRecursive(n){for(const e of this.iterateNodesInOrderRecursive())e.type===n&&(yield e)}sendEventToAllNodes(n,e=[],t=ft.ALWAYS){var i=this._nodes_in_order?this._nodes_in_order:this._nodes;if(i)for(const s of this.iterateNodesInOrder()){if(s.type==="basic/subgraph"&&n!="onExecute"){s.mode==t&&s.sendEventToAllNodes(n,e,t);continue}!s[n]||s.mode!=t||(e===void 0?s[n]():e&&e.constructor===Array?s[n].apply(s,e):s[n](e))}}sendActionToCanvas(n,e=[]){if(this.list_of_graphcanvas)for(var t=0;t=w.MAX_NUMBER_OF_NODES)throw"LiteGraph: max number of nodes in a graph reached";return w.use_uuids?n.id||(n.id=fi()):n.id==null||n.id==-1?n.id=++this.last_node_id:this.last_node_id=0;r--){var o=t[r],l=o.titleMode==Ji.NO_TITLE;if(o.isPointInside(n,e,i,l))return o}return s}getGroupOnPos(n,e){for(var t=this._groups.length-1;t>=0;t--){var i=this._groups[t];if(i.isPointInside(n,e,2,!0))return i}return null}checkNodeTypes(){for(var n=!1,e=0;ee.linkIDs[s]))}for(const t of n.nodes)if(t.type==="graph/subgraph"){const i=hp(t.subgraph);e.nodeIDs={...e.nodeIDs,...i.nodeIDs},e.linkIDs={...e.linkIDs,...i.linkIDs}}return e}function IC(n,e){for(const t of n.iterateNodesInOrderRecursive())t.onReassignID&&t.onReassignID(e)}const Gy=class extends Ke{constructor(n,e){super(n),this.properties={enabled:!0},this.size=[140,80],this.enabled=!0,this.subgraph=(e||Gy.default_lgraph_factory)(),this.subgraph._subgraph_node=this,this.subgraph._is_subgraph=!0;const t=(i,s)=>{const r=s.bind(this);return function(...o){i==null||i.apply(this,o),r(...o)}};this.subgraph.onTrigger=t(this.subgraph.onTrigger,this.onSubgraphTrigger),this.subgraph.onNodeAdded=t(this.subgraph.onNodeAdded,this.onSubgraphNodeAdded),this.subgraph.onNodeRemoved=t(this.subgraph.onNodeRemoved,this.onSubgraphNodeRemoved),this.subgraph.onInputAdded=t(this.subgraph.onInputAdded,this.onSubgraphNewInput),this.subgraph.onInputRenamed=t(this.subgraph.onInputRenamed,this.onSubgraphRenamedInput),this.subgraph.onInputTypeChanged=t(this.subgraph.onInputTypeChanged,this.onSubgraphTypeChangeInput),this.subgraph.onInputRemoved=t(this.subgraph.onInputRemoved,this.onSubgraphRemovedInput),this.subgraph.onOutputAdded=t(this.subgraph.onOutputAdded,this.onSubgraphNewOutput),this.subgraph.onOutputRenamed=t(this.subgraph.onOutputRenamed,this.onSubgraphRenamedOutput),this.subgraph.onOutputTypeChanged=t(this.subgraph.onOutputTypeChanged,this.onSubgraphTypeChangeOutput),this.subgraph.onOutputRemoved=t(this.subgraph.onOutputRemoved,this.onSubgraphRemovedOutput)}*iterateParentGraphs(){var e;let n=this.graph;for(;n;)yield n,n=(e=n._subgraph_node)==null?void 0:e.graph}onDblClick(n,e,t){var i=this;setTimeout(function(){t.openSubgraph(i.subgraph)},10)}onAction(n,e,t){const{originNode:i,link:s}=t;if(!i||!s)return;const r=s.target_slot;this.getInnerGraphInputByIndex(r).triggerSlot(0,e)}onExecute(){if(this.enabled=this.getInputOrProperty("enabled"),!!this.enabled){if(this.inputs)for(var n=0;n!b.is(qi)&&!b.is(pn)),n.length===0)return;const e={},t={},i={},s=n.reduce((b,y)=>(b[y.id]=y,b),{});let r=Number.MAX_SAFE_INTEGER,o=0,l=Number.MAX_SAFE_INTEGER,a=0;for(const b of Object.values(n))r=Math.min(b.pos[0],r),o=Math.max(b.pos[0]+b.size[0],o),l=Math.min(b.pos[1],l),a=Math.max(b.pos[1]+b.size[1],a);const u={};for(const b of n){u[b.id]=b;for(let y=0;yb[1][1]-y[1][1]),f.sort((b,y)=>b[1][1]-y[1][1]),w.debug;const h={},d={};for(const b of n){const y=[b.pos[0]-r,b.pos[1]-l],k=b.id;b.graph.remove(b,{removedBy:"moveIntoSubgraph"}),this.subgraph.add(b,{addedBy:"moveIntoSubgraph",prevNodeID:k}),b.pos=y,u[k]=b,u[b.id]=b}let p=0,g=0;for(const[b,y,k]of c){let T=null;if(h[b.origin_id]&&(T=h[b.origin_id][b.origin_slot]),!T&&(T=this.addGraphInput(k,b.type,[-200,p]),p+=T.innerNode.size[1]+w.NODE_SLOT_HEIGHT,!T))continue;const I=u[b.origin_id],R=u[b.target_id];I.connect(b.origin_slot,this,T.outerInputIndex),T.innerNode.connect(0,R,b.target_slot),h[m=b.origin_id]||(h[m]={}),h[b.origin_id][b.origin_slot]=T}for(const[b,y,k]of f){let T=null;if(d[b.target_id]&&(T=d[b.target_id][b.target_slot]),!T&&(T=this.addGraphOutput(k,b.type,[o-r+200,g]),g+=T.innerNode.size[1]+w.NODE_SLOT_HEIGHT,!T))continue;const I=u[b.origin_id],R=u[b.target_id];I.connect(b.origin_slot,T.innerNode,0),this.connect(T.outerOutputIndex,R,b.target_slot),d[_=b.target_id]||(d[_]={}),d[b.target_id][b.origin_slot]=T}for(const[b,y]of Object.values(i)){const k=u[b.origin_id],T=u[b.target_id];k.connect(b.origin_slot,T,b.target_slot)}}addGraphInput(n,e,t){n=this.getValidGraphInputName(n);const i=w.createNode(qi);if(i==null)return null;let s=e;e===$.EVENT?s=$.ACTION:e===$.ACTION&&(e=$.EVENT),i.setProperty("name",n),i.setProperty("type",e),i.properties.subgraphID=this.id,this.subgraph.add(i);const r=i.computeSize();t&&(i.pos=[t[0]-r[0]*.5,t[1]-r[1]*.5]),this.subgraph.addInput(n,s,null);const o=this.inputs.length-1,l=this.inputs[o];return{innerNode:i,outerInput:l,outerInputIndex:o}}addGraphOutput(n,e,t){n=this.getValidGraphOutputName(n);const i=w.createNode(pn);if(i==null)return null;let s=e;e===$.EVENT?e=$.ACTION:e===$.ACTION&&(s=$.EVENT),i.setProperty("name",n),i.setProperty("type",e),i.properties.subgraphID=this.id,this.subgraph.add(i);const r=i.computeSize();t&&(i.pos=[t[0],t[1]-r[1]*.5]),this.subgraph.addOutput(n,s,null);const o=this.outputs.length-1,l=this.outputs[o];return{innerNode:i,outerOutput:l,outerOutputIndex:o}}removeGraphInput(n){if(this.findInputSlotIndexByName(n)==null)return;const t=this.subgraph.findNodesByClass(qi).filter(i=>i.properties.name===n);if(t.length>0)for(const i of t)this.subgraph.remove(i);else{const i=this.findInputSlotIndexByName(n);i!==-1&&this.removeInput(i)}}removeGraphOutput(n){if(this.findOutputSlotIndexByName(n)==null)return;const t=this.subgraph.findNodesByClass(pn).filter(i=>i.properties.name===n);if(t.length>0)for(const i of t)this.subgraph.remove(i);else{const i=this.findOutputSlotIndexByName(n);i!==-1&&this.removeOutput(i)}}getValidGraphInputName(n){n||(n="newInput");let e=n,t=this.getInnerGraphInput(e),i=1;for(;t!=null;)e=`${n}_${i++}`,t=this.getInnerGraphInput(e);return e}getValidGraphOutputName(n){n||(n="newOutput");let e=n,t=this.getInnerGraphOutput(e),i=1;for(;t!=null;)e=`${n}_${i++}`,t=this.getInnerGraphOutput(e);return e}getInnerGraphOutput(n){return this.subgraph._nodes.find(t=>t.is(pn)&&t.properties.name===n)||null}getInnerGraphInput(n){return this.subgraph._nodes.find(t=>t.is(qi)&&t.properties.name===n)||null}getInnerGraphOutputByIndex(n){const e=this.getOutputInfo(n);return e?this.getInnerGraphOutput(e.name):null}getInnerGraphInputByIndex(n){const e=this.getInputInfo(n);return e?this.getInnerGraphInput(e.name):null}moveNodesToParentGraph(n){if(n=n.filter(p=>!p.is(qi)&&!p.is(pn)),n.length===0)return;const e=this,t=e.graph;let i=Number.MAX_SAFE_INTEGER,s=0,r=Number.MAX_SAFE_INTEGER,o=0;for(const p of Object.values(n))i=Math.min(p.pos[0],i),s=Math.max(p.pos[0]+p.size[0],s),r=Math.min(p.pos[1],r),o=Math.max(p.pos[1]+p.size[1],o);const l=s-i,a=o-r,u=e.pos[0]+e.size[0]/2-l/2,c=e.pos[1]+e.size[1]/2-a/2,f={},h={};for(const[p,g]of n.entries())h[g.id]=g;for(const p of n)for(const g of p.iterateAllLinks()){const m=g.target_id===p.id,_=p.getConnectionPos(m,m?g.target_slot:g.origin_slot);h[g.origin_id]!=null&&h[g.target_id]!=null&&(f[g.id]=[g,_])}const d={};for(const[p,g]of n.entries()){const m=[g.pos[0]-i+u,g.pos[1]-r+c],_=g.id;g.graph.remove(g,{removedBy:"moveOutOfSubgraph"}),t.add(g,{addedBy:"moveOutOfSubgraph",prevNodeID:_}),g.pos=m,d[_]=g}for(const[p,g]of Object.values(f)){const m=h[p.origin_id],_=h[p.target_id];m.connect(p.origin_slot,_,p.target_slot)}return d}convertNodesToSubgraphInputs(n){var l;if(n=n.filter(a=>!a.is(qi)&&!a.is(pn)),n.length===0)return;const e=Ru(n,a=>a.id),t=[],i={},s=this.subgraph;for(const a of n)for(const u of a.iterateAllLinks()){if(e[u.origin_id]==null)throw new Error("Can't convert to input with an origin link outward");if(e[u.target_id]==null){t.push(u);const c=[0,0];a.getConnectionPos(!1,u.target_slot,c),i[a.id]=[[a.pos[0],a.pos[1]],c]}}const r=this.moveNodesToParentGraph(n),o={};for(const a of t){const u=s.getNodeById(a.target_id),c=u.getInputInfo(a.target_slot);o[l=a.origin_id]||(o[l]={});let f=o[a.origin_id][a.origin_slot];if(f==null){const d=this.getValidGraphInputName(c.name);f=this.addGraphInput(d,c.type),o[a.origin_id][a.origin_slot]=f;const[p,g]=i[a.origin_id];f.innerNode.pos;const m=f.innerNode.computeSize(),_=f.innerNode.getConnectionPos(!0,0),b=[f.innerNode.pos[0]-_[0],f.innerNode.pos[1]-_[1]],y=[g[0]+b[0]-m[0],g[1]+b[1]];f.innerNode.pos=y}r[a.origin_id].connect(a.origin_slot,this,f.outerInputIndex),f.innerNode.connect(0,u,a.target_slot)}}convertNodesToSubgraphOutputs(n){var l;if(n=n.filter(a=>!a.is(qi)&&!a.is(pn)),n.length===0)return;const e=Ru(n,a=>a.id),t=[],i={},s=this.subgraph;for(const a of n)for(const u of a.iterateAllLinks())if(e[u.origin_id]==null){t.push(u);const c=[0,0];a.getConnectionPos(!0,u.origin_slot,c),i[a.id]=[[a.pos[0],a.pos[1]],c]}else if(e[u.target_id]==null)throw new Error("Can't convert to input with an origin link outward");const r=this.moveNodesToParentGraph(n),o={};for(const a of t){const u=s.getNodeById(a.origin_id),c=u.getOutputInfo(a.origin_slot);o[l=a.target_id]||(o[l]={});let f=o[a.target_id][a.target_slot];if(f==null){f=this.addGraphOutput(name,c.type),o[a.target_id][a.target_slot]=f;const[d,p]=i[a.target_id],g=f.innerNode.getConnectionPos(!0,0),m=[f.innerNode.pos[0]-g[0],f.innerNode.pos[1]-g[1]],_=[p[0]+m[0],p[1]+m[1]];f.innerNode.pos=_}const h=r[a.target_id];u.connect(a.origin_slot,f.innerNode,0),this.connect(f.outerOutputIndex,h,a.target_slot)}}};let an=Gy;an.default_lgraph_factory=()=>new fp;an.slotLayout={inputs:[],outputs:[]};an.propertyLayout=[{name:"enabled",defaultValue:!0}];an.optionalSlots={outputs:[{name:"enabled",type:"boolean"}]};w.registerNodeType({class:an,title:"Subgraph",desc:"Graph inside a node",title_color:"#334",type:"graph/subgraph"});class Ve{static onMenuCollapseAll(){}static onMenuNodeEdit(){}prompt(e="",t,i,s,r=!1,o=null){var l=this,a=document.createElement("div");if(a.is_modified=!1,a.className="graphdialog rounded",r){let T=5;typeof t!="string"&&(t=JSON.stringify(t,null,2));const I=(t.match(/\n/g)||"").length+1;T=Go(I,5,10),a.innerHTML=` + + + +`}else a.innerHTML=` + + +`;a.close=function(){l.prompt_box=null,a.parentNode&&a.parentNode.removeChild(a)};var u=re.active_canvas,c=u.canvas;c.parentNode.appendChild(a),this.ds.scale>1&&(a.style.transform="scale("+this.ds.scale+")");var f=null,h=0;w.pointerListenerAdd(a,"leave",function(T){h||w.dialog_close_on_mouse_leave&&!a.is_modified&&w.dialog_close_on_mouse_leave&&T.buttons===0&&(f=setTimeout(a.close,w.dialog_close_on_mouse_leave_delay))}),w.pointerListenerAdd(a,"enter",function(T){w.dialog_close_on_mouse_leave&&f&&clearTimeout(f)});var d=a.querySelectorAll("select");d&&d.forEach(function(T){T.addEventListener("click",function(I){h++}),T.addEventListener("blur",function(I){h=0}),T.addEventListener("change",function(I){h=-1})}),l.prompt_box&&l.prompt_box.close(),l.prompt_box=a;var p=a.querySelector(".name");p.innerText=e;let g=a.querySelector(".value");g.value=t;var m=g;if(m.addEventListener("keydown",function(T){if(a.is_modified=!0,T.keyCode==27)a.close();else if(T.keyCode==13&&T.target instanceof Element&&T.target.localName!="textarea")i&&i(this.value),a.close();else return;T.preventDefault(),T.stopPropagation()}),o)for(const[T,I]of Object.entries(o))m.style[T]=I;var _=a.querySelector("button");_.addEventListener("click",function(T){i&&i(m.value),l.setDirty(!0),a.close()});var b=c.getBoundingClientRect(),y=-20,k=-20;return b&&(y-=b.left,k-=b.top),s?(a.style.left=s.clientX+"px",a.style.top=s.clientY+"px"):(a.style.left=c.width*.5+y+"px",a.style.top=c.height*.5+k+"px"),setTimeout(function(){m.focus()},10),Mh(a),a}showSearchBox(e,t={}){var i={slotFrom:null,node_from:null,node_to:null,do_type_filter:w.search_filter_enabled,type_filter_in:null,type_filter_out:null,show_general_if_none_on_typefilter:!0,show_general_after_typefiltered:!0,hide_on_mouse_leave:w.search_hide_on_mouse_leave,show_all_if_empty:!0,show_all_on_open:w.search_show_all_on_open};t=Object.assign(i,t);var s=this,r=re.active_canvas,o=r.canvas,l=o.ownerDocument||document;let a=e;var u=document.createElement("div");u.className="litegraph litesearchbox graphdialog rounded",u.innerHTML="Search ",t.do_type_filter&&(u.innerHTML+="",u.innerHTML+=""),u.innerHTML+="
",l.fullscreenElement?l.fullscreenElement.appendChild(u):(l.body.appendChild(u),l.body.style.overflow="hidden");let c=null,f=null;if(t.do_type_filter&&(c=u.querySelector(".slot_in_type_filter"),f=u.querySelector(".slot_out_type_filter")),u.close=function(){s.search_box=null,this.blur(),o.focus(),l.body.style.overflow="",setTimeout(function(){s.canvas.focus()},20),u.parentNode&&u.parentNode.removeChild(u)},this.ds.scale>1&&(u.style.transform="scale("+this.ds.scale+")"),t.hide_on_mouse_leave){var h=0,d=null;w.pointerListenerAdd(u,"enter",function(V){d&&(clearTimeout(d),d=null)}),w.pointerListenerAdd(u,"leave",function(V){h||(d=setTimeout(function(){u.close()},500))}),t.do_type_filter&&(c.addEventListener("click",function(V){h++}),c.addEventListener("blur",function(V){h=0}),c.addEventListener("change",function(V){h=-1}),f.addEventListener("click",function(V){h++}),f.addEventListener("blur",function(V){h=0}),f.addEventListener("change",function(V){h=-1}))}s.search_box&&s.search_box.close(),s.search_box=u;var p=u.querySelector(".helper"),g=null,m=null,_=null;const b=V=>{if(V)if(s.onSearchBoxSelection)s.onSearchBoxSelection(V,a,r);else{var X=w.searchbox_extras[V.toLowerCase()];X&&(V=X.type),r.graph.beforeChange();var q=w.createNode(V);if(q&&(q.pos=r.convertEventToCanvasOffset(a),r.graph.add(q)),X&&X.data){if(X.data.properties)for(var K in X.data.properties)q.addProperty(""+K,X.data.properties[K]);if(X.data.inputs){q.inputs=[];for(var K in X.data.inputs)q.addInput(X.data.inputs[K][0],X.data.inputs[K][1])}if(X.data.outputs){q.outputs=[];for(var K in X.data.outputs)q.addOutput(X.data.outputs[K][0],X.data.outputs[K][1])}X.data.title&&(q.title=X.data.title),X.data.json&&q.configure(X.data.json)}if(t.node_from){var Q=null;switch(typeof t.slotFrom){case"string":Q=t.node_from.findOutputSlotIndexByName(t.slotFrom);break;case"object":t.slotFrom.name?Q=t.node_from.findOutputSlotIndexByName(t.slotFrom.name):Q=-1,Q==-1&&typeof t.slotFrom.slot_index<"u"&&(Q=t.slotFrom.slot_index);break;case"number":Q=t.slotFrom;break;default:Q=0}Q=Q,typeof t.node_from.outputs[Q]!==void 0&&Q!==null&&Q>-1&&t.node_from.connectByTypeInput(Q,q,t.node_from.outputs[Q].type)}if(t.node_to){var Q=null;switch(typeof t.slotFrom){case"string":Q=t.node_to.findInputSlotIndexByName(t.slotFrom);break;case"number":Q=t.slotFrom;break;default:Q=0}typeof t.node_to.inputs[Q]!==void 0&&Q!==null&&Q>-1&&t.node_to.connectByTypeOutput(Q,q,t.node_to.inputs[Q].type)}r.graph.afterChange()}u.close()},y=V=>{var X=_;_&&_.classList.remove("selected"),_?(_=V?_.nextSibling:_.previousSibling,_||(_=X)):_=V?p.childNodes[0]:p.childNodes[p.childNodes.length],_&&(_.classList.add("selected"),_.scrollIntoView({block:"end",behavior:"smooth"}))},k=(V,X,q,K,Q,J={})=>{const pe=Object.assign({skipFilter:!1,inTypeOverride:null,outTypeOverride:null},J),qe=w.registered_node_types[V];if(qe.hide_in_node_lists||X&&qe.filter!=X||(!t.show_all_if_empty||q)&&V.toLowerCase().indexOf(q)===-1)return!1;if(t.do_type_filter&&!pe.skipFilter){const ue=V;let te=K==null?void 0:K.value;if(pe.inTypeOverride!=null&&(te=pe.inTypeOverride),K&&te&&w.registered_slot_in_types[te]&&w.registered_slot_in_types[te].nodes){var Ae=w.registered_slot_in_types[te].nodes.includes(ue);if(Ae===!1)return!1}if(te=Q==null?void 0:Q.value,pe.outTypeOverride!=null&&(te=pe.outTypeOverride),Q&&te&&w.registered_slot_out_types[te]&&w.registered_slot_out_types[te].nodes){var Ae=w.registered_slot_out_types[te].nodes.includes(ue);if(Ae===!1)return!1}}return!0},T=()=>{m=null;var V=I.value;if(g=null,p.innerHTML="",!V&&!t.show_all_if_empty)return;if(s.onSearchBox){var X=s.onSearchBox(p,V,r);if(X)for(var q=0;qre.search_limit))break}}var pe=null;if(Array.prototype.filter)var qe=Object.keys(w.registered_node_types),pe=qe.filter(ge=>k(ge,Q,V,ue,te));else{pe=[];for(const be in w.registered_node_types)k(be,Q,V,ue,te)&&pe.push(be)}for(var q=0;qre.search_limit));q++);if(t.show_general_after_typefiltered&&(ue!=null&&ue.value||te!=null&&te.value)){let be=[];for(const ge in w.registered_node_types)k(ge,Q,V,ue,te,{inTypeOverride:ue&&ue.value?"*":null,outTypeOverride:te&&te.value?"*":null})&&be.push(ge);for(let ge=0;gere.search_limit));ge++);}if((ue!=null&&ue.value||te!=null&&te.value)&&(p==null?void 0:p.childNodes.length)==0&&t.show_general_if_none_on_typefilter){let be=[];for(const ge in w.registered_node_types)k(ge,Q,V,ue,te,{skipFilter:!0})&&be.push(ge);for(let ge=0;gere.search_limit));ge++);}}function Ae(ue,te){var be=document.createElement("div");g||(g=ue),be.innerText=ue,be.dataset.type=escape(ue),be.className="litegraph lite-search-item",te&&(be.className+=" "+te),be.addEventListener("click",function(ge){b(unescape(this.dataset.type))}),p.appendChild(be)}};var I=u.querySelector("input");if(I&&(I.addEventListener("blur",function(V){this.focus()}),I.addEventListener("keydown",function(V){if(V.keyCode==38)y(!1);else if(V.keyCode==40)y(!0);else if(V.keyCode==27)u.close();else if(V.keyCode==13)_?b(_.innerHTML):g?b(g):u.close();else{m&&clearInterval(m),m=setTimeout(T,w.search_box_refresh_interval_ms);return}return V.preventDefault(),V.stopPropagation(),V.stopImmediatePropagation(),!0})),t.do_type_filter){if(c){var R=w.slot_types_in,x=R.length;(t.type_filter_in==$.EVENT||t.type_filter_in==$.ACTION)&&(t.type_filter_in="_event_");for(var N=0;ND.height-200&&(p.style.maxHeight=D.height-a.layerY-20+"px"),I.focus(),t.show_all_on_open&&T(),u}showShowNodePanel(e){this.closePanels();var t=this.getCanvasWindow(),i=this,s=this.createPanel(e.title||"",{closable:!0,window:t,onOpen:function(){},onClose:function(){i.node_panel=null}});i.node_panel=s,s.id="node-panel",s.node=e,s.classList.add("settings");function r(){s.content.innerHTML="",s.addHTML(""+e.type+""+(e.constructor.desc||"")+""),s.addHTML("

Properties

");var o=function(f,h){switch(i.graph.beforeChange(e),f){case"Title":e.title=h;break;case"Mode":var d=Object.values(Hr).indexOf(h);d>=ft.ALWAYS&&Hr[d]&&e.changeMode(d);break;case"Color":re.node_colors[h]&&(e.color=re.node_colors[h].color,e.bgcolor=re.node_colors[h].bgcolor);break;default:e.setProperty(f,h);break}i.graph.afterChange(),i.dirty_canvas=!0};s.addWidget("string","Title",e.title,{},o),s.addWidget("combo","Mode",Hr[e.mode],{values:Hr},o);var l="";e.color!==void 0&&(l=Object.keys(re.node_colors).filter(function(f){return re.node_colors[f].color==e.color})[0]),s.addWidget("combo","Color",l,{values:Object.keys(re.node_colors)},o);for(var a in e.properties){var u=e.properties[a],c=e.getPropertyInfo(a);c.type,!(e.onAddPropertyToPanel&&e.onAddPropertyToPanel(a,s))&&s.addWidget(c.widget||c.type,a,u,c,o)}s.addSeparator(),e.onShowCustomPanelInfo&&e.onShowCustomPanelInfo(s),s.footer.innerHTML="",s.addButton("Delete",function(){e.block_delete||(e.graph.remove(e),s.close())}).classList.add("delete")}s.inner_showCodePad=function(o){s.classList.remove("settings"),s.classList.add("centered"),s.alt_content.innerHTML="";var l=s.alt_content.querySelector("textarea"),a=function(){s.toggleAltContent(!1),s.toggleFooterVisibility(!0),l.parentNode.removeChild(l),s.classList.add("settings"),s.classList.remove("centered"),r()};l.value=e.properties[o],l.addEventListener("keydown",function(f){f.code=="Enter"&&f.ctrlKey&&(e.setProperty(o,l.value),a())}),s.toggleAltContent(!0),s.toggleFooterVisibility(!1),l.style.height="calc(100% - 40px)";var u=s.addButton("Assign",function(){e.setProperty(o,l.value),a()});s.alt_content.appendChild(u);var c=s.addButton("Close",a);c.style.float="right",s.alt_content.appendChild(c)},r(),this.canvas.parentNode.appendChild(s)}showSubgraphPropertiesDialog(e){var t=this.canvas.parentNode.querySelector(".subgraph_dialog");t&&t.close();var i=this.createPanel("Subgraph Inputs",{closable:!0,width:500});i.node=e,i.classList.add("subgraph_dialog");const s=e;var r=s.subgraph;if(!r)return;function o(){if(i.clear(),e.inputs)for(var g=0;g✕ + + + + +`,b=i.addHTML(_,"subgraph_property");b.dataset.name=m.name,b.dataset.slot=""+g,b.querySelector(".name").innerText=m.name,b.querySelector(".type").innerText=sn(m.type),b.querySelector(".delete").addEventListener("click",function(T){const I=this.parentNode.dataset.name;s.removeGraphInput(I),o()});const y=b.querySelector(".move_up");y.disabled=g<=0,y.addEventListener("click",function(T){const I=+this.parentNode.dataset.slot;I<0||(s.moveInput(I,I-1),o())});const k=b.querySelector(".move_down");k.disabled=g>=e.inputs.length-1,k.addEventListener("click",function(T){const I=+this.parentNode.dataset.slot;I>e.inputs.length-1||(s.moveInput(I,I+1),o())})}}var l=` ++ +Name + +Type + +`,a=i.addHTML(l,"subgraph_property extra",!0);const u=a.querySelector(".name"),c=a.querySelector(".type"),f=a.querySelector("button");for(const g of Vy()){var h=document.createElement("option");h.value=g,h.innerHTML=sn(g),c.appendChild(h),g==="*"&&(h.selected=!0)}const d=()=>{const g=u.value;let m=c.value;m==="-1"?m=$.ACTION:m==="-2"&&(m=$.EVENT),!(!g||e.findInputSlotIndexByName(g)!=-1)&&(this.addGraphInputNode(e,g,m),u.value="",c.value="",o(),u.focus())},p=g=>{g.keyCode==13?(d(),g.preventDefault()):g.keyCode==27&&(i.close(),g.preventDefault())};return f.addEventListener("click",d),u.addEventListener("keydown",p),c.addEventListener("keydown",p),o(),this.canvas.parentNode.appendChild(i),u.focus(),i}showSubgraphPropertiesDialogRight(e){var t=this.canvas.parentNode.querySelector(".subgraph_dialog");t&&t.close();var i=this.createPanel("Subgraph Outputs",{closable:!0,width:500});i.node=e,i.classList.add("subgraph_dialog");const s=e;if(!s.subgraph)return;function o(){if(i.clear(),e.outputs)for(var g=0;g✕ + + + + +`,b=i.addHTML(_,"subgraph_property");b.dataset.name=m.name,b.dataset.slot=""+g,b.querySelector(".name").innerText=m.name,b.querySelector(".type").innerText=sn(m.type),b.querySelector("button").addEventListener("click",function(T){const I=this.parentNode.dataset.name;s.removeGraphOutput(I),o()});const y=b.querySelector(".move_up");y.disabled=g<=0,y.addEventListener("click",function(T){const I=+this.parentNode.dataset.slot;I<0||(s.moveOutput(I,I-1),o())});const k=b.querySelector(".move_down");k.disabled=g>=e.outputs.length-1,k.addEventListener("click",function(T){const I=+this.parentNode.dataset.slot;I>e.outputs.length-1||(s.moveOutput(I,I+1),o())})}}var l=` ++ +Name + +Type + +`,a=i.addHTML(l,"subgraph_property extra",!0);const u=a.querySelector(".name"),c=a.querySelector(".type"),f=a.querySelector("button");for(const g of Hy()){var h=document.createElement("option");h.value=g,h.innerHTML=sn(g),c.appendChild(h),g==="*"&&(h.selected=!0)}const d=()=>{const g=u.value;let m=c.value;m==="-1"?m=$.ACTION:m==="-2"&&(m=$.EVENT),!(!g||e.findOutputSlotIndexByName(g)!=-1)&&(this.addGraphOutputNode(e,g,m),u.value="",c.value="",o(),u.focus())},p=g=>{g.keyCode==13?(d(),g.preventDefault()):g.keyCode==27&&(i.close(),g.preventDefault())};return f.addEventListener("click",d),u.addEventListener("keydown",p),c.addEventListener("keydown",p),o(),this.canvas.parentNode.appendChild(i),u.focus(),i}showConnectionMenu(e={}){var t=e.nodeFrom&&e.slotFrom,i=!t&&e.nodeTo&&e.slotTo;if(!t&&!i)return!1;var s=t?e.nodeFrom:e.nodeTo;const r=t?e.slotFrom:e.slotTo;let o;var l=null;switch(typeof r){case"string":l=t?s.findOutputSlotIndexByName(r):s.findInputSlotIndexByName(r),o=t?s.outputs[r]:s.inputs[r];break;case"object":o=r,l=t?s.findOutputSlotIndexByName(o.name):s.findInputSlotIndexByName(o.name);break;case"number":l=r,o=t?s.outputs[l]:s.inputs[l];break;default:return!1}var a=[{content:"Add Node"},Gi.SEPARATOR];s.graph._is_subgraph&&(t?a.push({content:"Add Subgraph Output"}):a.push({content:"Add Subgraph Input"}),a.push(Gi.SEPARATOR)),this.allow_searchbox&&(a.push({content:"Search"}),a.push(Gi.SEPARATOR));var u=o.type==$.EVENT?"_event_":o.type,c=t?w.slot_types_default_out:w.slot_types_default_in;const f=c[u];if(c&&c[u])if(Array.isArray(f))for(var h of f){const b=typeof h=="string"?h:(h==null?void 0:h.title)||(h==null?void 0:h.node);a.push({content:b,value:h})}else throw new Error(`Invalid default slot specifier, must be an array: ${f}`);const d=b=>{const y=s.graph._subgraph_node,k=[b.canvasX,b.canvasY];y.addGraphInput(o.name,o.type,k).innerNode.connect(0,s,l)},p=b=>{const y=s.graph._subgraph_node,k=[b.canvasX,b.canvasY],T=y.addGraphOutput(o.name,o.type,k);s.connect(l,T.innerNode,0)},g=b=>{const y=Object.assign(e,{position:[e.e.canvasX,e.e.canvasY]});this.createDefaultNodeForSlot(b,y)},m=(b,y,k)=>{switch(b.content){case"Add Node":re.onMenuAdd(b,y,k,_,function(T){t?e.nodeFrom.connectByTypeInput(l,T,u):e.nodeTo.connectByTypeOutput(l,T,u)});break;case"Add Subgraph Input":d(this.adjustMouseEvent(k));break;case"Add Subgraph Output":p(this.adjustMouseEvent(k));break;case"Search":t?this.showSearchBox(k,{node_from:e.nodeFrom,slotFrom:o,type_filter_in:u}):this.showSearchBox(k,{node_to:e.nodeTo,slotFrom:o,type_filter_out:u});break;default:g(b.value);break}};var _=new wi(a,{event:e.e,title:(o&&o.name!=""?o.name+(u?" | ":""):"")+(o&&u?u:""),callback:m});return!1}getLinkMenuOptions(e){const t=this.graph.getNodeById(e.origin_id),i=this.graph.getNodeById(e.target_id);let s=null;t&&t.outputs&&t.outputs[e.origin_slot]&&(s=t.outputs[e.origin_slot].type);let r=null;i&&i.outputs&&i.outputs[e.target_slot]&&(r=i.inputs[e.target_slot].type);const o=c=>{!c.inputs||!c.inputs.length||!c.outputs||!c.outputs.length||t.connectByTypeInput(e.origin_slot,c,s)&&(c.connectByTypeInput(e.target_slot,i,r),c.pos[0]-=c.size[0]*.5)},l=(c,f,h,d,p)=>{re.onMenuAdd(c,f,h,d,o)},a=()=>{this.graph.removeLink(e.id)};let u=[{content:"Add Node",has_submenu:!0,callback:l},Gi.SEPARATOR,{content:"Delete",has_submenu:!0,callback:a},Gi.SEPARATOR];return this.graph.onGetLinkMenuOptions&&(u=this.graph.onGetLinkMenuOptions(u,e)),t.getExtraLinkOptions&&(u=t.getExtraLinkOptions(this,e,mt.OUTPUT,u)),i.getExtraLinkOptions&&(u=i.getExtraLinkOptions(this,e,mt.INPUT,u)),u}showLinkMenu(e,t){const i=this.getLinkMenuOptions(e);return new wi(i,{event:t,title:e.data!=null?e.data.constructor.name:null,extra:e}),!1}showEditPropertyValue(e,t,i={}){if(!e||e.properties[t]===void 0||w.ignore_all_widget_events)return;var s=e.getPropertyInfo(t),r=s.type,o="";if(r=="string"||r=="number"||r=="array"||r=="object")if(s.multiline){let g=e.properties[t],m=5;if(r!=="string"){g=JSON.stringify(g,null,2);const _=(g.match(/\n/g)||"").length+1;m=Go(_,5,10)}o=""}else o="";else if((r=="enum"||r=="combo")&&s.values){o=""}else if(r=="boolean"||r=="toggle")o="";else return;var u=this.createDialog(""+(s.label?s.label:t)+""+o+"",i),c=null;if((r=="enum"||r=="combo")&&s.values)c=u.querySelector("select"),c.addEventListener("change",function(g){u.modified(),d(g.target.value)});else if(r=="boolean"||r=="toggle")c=u.querySelector("input"),c&&c.addEventListener("click",function(g){u.modified(),d(!!c.checked)});else if(s.multiline?c=u.querySelector("textarea"):c=u.querySelector("input"),c){c.addEventListener("blur",function(m){this.focus()});let g=e.properties[t]!==void 0?e.properties[t]:"";if(r!=="string"){let m=null;s.multiline&&(m=2),g=JSON.stringify(g,null,m)}if(c.value=g,c.addEventListener("keydown",function(m){let _=!1;m.keyCode==27?(u.close(),_=!0):m.keyCode==13&&!s.multiline?(h(),_=!0):m.keyCode!=13&&u.modified(),_&&(m.preventDefault(),m.stopPropagation())}),s.inputStyle)for(const[m,_]of Object.entries(s.inputStyle))c.style[m]=_}c&&c.focus();const f=()=>{i.onclose&&i.onclose(),u.close(),e.setDirtyCanvas(!0,!0)},h=()=>{r!="boolean"&&r!="toggle"?d(c.value):f()},d=g=>{s&&s.values&&s.values.constructor===Object&&s.values[g]!=null&&(g=s.values[g]),typeof e.properties[t]=="number"&&(g=Number(g)),(r=="array"||r=="object")&&(g=JSON.parse(g)),e.setProperty(t,g),f()};var p=u.querySelector("button");return p.addEventListener("click",h),Mh(u),u}createDialog(e,t={checkForInput:!1,closeOnLeave:!0,closeOnLeave_checkModified:!0}){var i=document.createElement("div");i.className="graphdialog",i.innerHTML=e,i.is_modified=!1;var s=this.canvas.getBoundingClientRect(),r=-20,o=-20;if(s&&(r-=s.left,o-=s.top),t.position?(r=t.position[0],o=t.position[1]):t.event?(r=t.event.clientX,o=t.event.clientY):(r+=this.canvas.width*.5,o+=this.canvas.height*.5),i.style.left=r+"px",i.style.top=o+"px",this.canvas.parentNode.appendChild(i),t.checkForInput){var l=i.querySelectorAll("input"),a=!1;l&&l.forEach(function(h){h.addEventListener("keydown",function(d){if(i.modified(),d.keyCode==27)i.close();else if(d.keyCode!=13)return;d.preventDefault(),d.stopPropagation()}),a||h.focus()})}i.modified=function(){i.is_modified=!0},i.close=function(){i.parentNode&&i.parentNode.removeChild(i)};var u=null,c=0;i.addEventListener("mouseleave",function(h){c||(t.closeOnLeave||w.dialog_close_on_mouse_leave)&&!i.is_modified&&w.dialog_close_on_mouse_leave&&h.buttons===0&&(u=setTimeout(i.close,w.dialog_close_on_mouse_leave_delay))}),i.addEventListener("mouseenter",function(h){(t.closeOnLeave||w.dialog_close_on_mouse_leave)&&u&&clearTimeout(u)});var f=i.querySelectorAll("select");return f&&f.forEach(function(h){h.addEventListener("click",function(d){c++}),h.addEventListener("blur",function(d){c=0}),h.addEventListener("change",function(d){c=-1})}),i}getCanvasMenuOptions(){var e=null;if(this.getMenuOptions?e=this.getMenuOptions(this):(e=[{content:"Add Node",has_submenu:!0,callback:re.onMenuAdd},{content:"Add Group",callback:re.onGroupAdd}],this._graph_stack&&this._graph_stack.length>0&&e.push(Gi.SEPARATOR,{content:"Close subgraph",callback:this.closeSubgraph.bind(this)})),this.getExtraMenuOptions){var t=this.getExtraMenuOptions(this,e);t&&(e=e.concat(t))}return e}getNodeMenuOptions(e){let t=[];e.getMenuOptions?t=e.getMenuOptions(this):(t=[{content:"Inputs",has_submenu:!0,disabled:!0,callback:re.showMenuNodeOptionalInputs},{content:"Outputs",has_submenu:!0,disabled:!0,callback:re.showMenuNodeOptionalOutputs},Gi.SEPARATOR,{content:"Properties",has_submenu:!0,disabled:w.ignore_all_widget_events,callback:re.onShowMenuNodeProperties},Gi.SEPARATOR,{content:"Title",value:{name:"title",type:"string"},callback:re.onShowPropertyEditor},{content:"Mode",has_submenu:!0,callback:re.onMenuNodeMode}],e.resizable!==!1&&t.push({content:"Resize",callback:re.onMenuResizeNode}),t.push({content:"Collapse",callback:re.onMenuNodeCollapse},{content:"Pin",callback:re.onMenuNodePin},{content:"Colors",has_submenu:!0,callback:re.onMenuNodeColors},{content:"Shapes",has_submenu:!0,callback:re.onMenuNodeShapes},Gi.SEPARATOR));const i=e.getOptionalSlots();if(i&&(i.inputs&&i.inputs.length>0&&typeof t[0]=="object"&&(t[0].disabled=!1),i.outputs&&i.outputs.length&&typeof t[1]=="object"&&(t[1].disabled=!1)),e.getExtraMenuOptions){var s=e.getExtraMenuOptions(this,t);s&&(s.push(Gi.SEPARATOR),t=s.concat(t))}e.clonable!==!1&&t.push({content:"Clone",callback:re.onMenuNodeClone}),t.push({content:"To Subgraph",callback:re.onMenuNodeToSubgraph});let r=Object.values(this.selected_nodes||{});if(r.length||(r=[e]),r=r.filter(o=>!o.is(qi)&&!o.is(pn)),t.push({content:"To Parent Graph",disabled:!e.graph._is_subgraph||r.length===0,callback:re.onMenuNodeToParentGraph}),e.graph._is_subgraph){const o=c=>{let f=0;const h=Ru(c,d=>d.id);for(const d of c)for(const p of d.iterateAllLinks()){if(h[p.origin_id]==null)return 0;h[p.target_id]==null&&(f+=1)}return f},l=c=>{let f=0;const h=Ru(c,d=>d.id);for(const d of c)for(const p of d.iterateAllLinks())if(h[p.origin_id]==null)f+=1;else if(h[p.target_id]==null)return 0;return f},a=o(r);t.push({content:"To Subgraph Input"+(a>1?"s":""),disabled:a===0,callback:re.onMenuNodeToSubgraphInputs});const u=l(r);t.push({content:"To Subgraph Output"+(u>1?"s":""),disabled:u===0,callback:re.onMenuNodeToSubgraphOutputs})}return t.push(Gi.SEPARATOR,{content:"Remove",disabled:!(e.removable!==!1&&!e.block_delete),callback:re.onMenuNodeRemove}),e.graph&&e.graph.onGetNodeMenuOptions&&(t=e.graph.onGetNodeMenuOptions(t,e)),t}getGroupMenuOptions(e){var t=[{content:"Title",value:{name:"title",type:"string"},callback:re.onShowPropertyEditor},{content:"Color",has_submenu:!0,callback:re.onMenuNodeColors},{content:"Font size",value:{name:"fontSize",type:"number"},callback:re.onShowPropertyEditor},Gi.SEPARATOR,{content:"Remove",callback:re.onMenuNodeRemove}];return t}processContextMenu(e,t){var i=re.active_canvas,s=i.getCanvasWindow();let r=t,o=null,l=null,a=null;e!=null&&(a=e.item,e.type==="node"&&(o=e.item),e.type==="link"&&(l=e.item));let u=null;var c={event:r,extra:a};o!=null&&(c.title=o.type);let f=null;o!=null&&(f=o.getSlotInPosition(r.canvasX,r.canvasY),re.active_node=o);const h=_=>{const b=_.slot;o.graph.beforeChange(),b.input?o.removeInput(b.slot):b.output&&o.removeOutput(b.slot),o.graph.afterChange()},d=_=>{var b=_.slot;o.graph.beforeChange(),b.output?o.disconnectOutput(b.slot):b.input&&o.disconnectInput(b.slot),o.graph.afterChange()},p=_=>{var b=_.slot,y=b.input?o.getInputInfo(b.slot):o.getOutputInfo(b.slot),k=this.createDialog("Name",c),T=k.querySelector("input");T&&y&&(T.value=y.label||"");var I=()=>{o.graph.beforeChange(),T.value&&(y&&(y.label=T.value),this.setDirty(!0)),k.close(),o.graph.afterChange()};k.querySelector("button").addEventListener("click",I),T.addEventListener("keydown",function(R){if(k.is_modified=!0,R.keyCode==27)k.close();else if(R.keyCode==13)I();else if(R.keyCode!=13&&R.target instanceof Element&&R.target.localName!="textarea")return;R.preventDefault(),R.stopPropagation()}),T.focus()};if(f){if(u=[],o.getSlotMenuOptions)u=o.getSlotMenuOptions(f);else{f&&f.output&&f.output.links&&f.output.links.length&&u.push({content:"Disconnect Links",slot:f,callback:d});var g=f.input||f.output;g.removable&&u.push(g.locked?"Cannot remove":{content:"Remove Slot",slot:f,callback:h}),g.nameLocked||u.push({content:"Rename Slot",slot:f,callback:p})}const _=(f.input?f.input.type:f.output.type)||"*";c.title=sn(_)}else if(o)u=this.getNodeMenuOptions(o);else if(l)u=this.getLinkMenuOptions(l);else{u=this.getCanvasMenuOptions();var m=this.graph.getGroupOnPos(r.canvasX,r.canvasY);m&&u.push(Gi.SEPARATOR,{content:"Edit Group",has_submenu:!0,submenu:{title:"Group",extra:m,options:this.getGroupMenuOptions(m)}})}u&&new wi(u,c,s)}createPanel(e,t={}){var i=t.window||window,s=document.createElement("div");if(s.className="litegraph dialog",s.innerHTML=` +
+
+ +`,s.header=s.querySelector(".dialog-header"),t.width&&(s.style.width=t.width+(t.width.constructor===Number?"px":"")),t.height&&(s.style.height=t.height+(t.height.constructor===Number?"px":"")),t.closable){var r=document.createElement("span");r.innerHTML="✕",r.classList.add("close"),r.addEventListener("click",function(){s.close()}),s.header.appendChild(r)}return t.onOpen&&(s.onOpen=t.onOpen),t.onClose&&(s.onClose=t.onClose),s.title_element=s.querySelector(".dialog-title"),s.title_element.innerText=e,s.content=s.querySelector(".dialog-content"),s.alt_content=s.querySelector(".dialog-alt-content"),s.footer=s.querySelector(".dialog-footer"),s.close=function(){s.onClose&&typeof s.onClose=="function"&&s.onClose(),s.parentNode&&s.parentNode.removeChild(s),this.parentNode&&this.parentNode.removeChild(this)},s.toggleAltContent=function(o=!1){if(typeof o<"u")var l=o?"block":"none",a=o?"none":"block";else var l=s.alt_content.style.display!="block"?"block":"none",a=s.alt_content.style.display!="block"?"none":"block";s.alt_content.style.display=l,s.content.style.display=a},s.toggleFooterVisibility=function(o=!1){if(typeof o<"u")var l=o?"block":"none";else var l=s.footer.style.display!="block"?"block":"none";s.footer.style.display=l},s.clear=function(){this.content.innerHTML=""},s.addHTML=function(o,l,a){var u=document.createElement("div");return l&&(u.className=l),u.innerHTML=o,a?s.footer.appendChild(u):s.content.appendChild(u),u},s.addButton=function(o,l,a){var u=document.createElement("button");return u.innerText=o,u.options=a,u.classList.add("btn"),u.addEventListener("click",l),s.footer.appendChild(u),u},s.addSeparator=function(){var o=document.createElement("div");return o.className="separator",s.content.appendChild(o),o},s.addWidget=function(o,l,a,u={},c){var f=String(a);o=o.toLowerCase(),o=="number"&&(f=a.toFixed(3));var h=document.createElement("div");h.className="property",h.innerHTML="";let d=h.querySelector(".property_name");d.innerText=u.label||l;var p=h.querySelector(".property_value");if(p.innerText=f,h.dataset.property=l,h.dataset.type=u.type||o,h.options=u,h.value=a,o=="code")h.addEventListener("click",function(m){s.inner_showCodePad(this.dataset.property)});else if(o=="boolean")h.classList.add("boolean"),a&&h.classList.add("bool-on"),h.addEventListener("click",function(){var m=this.dataset.property;this.value=!this.value,this.classList.toggle("bool-on");const _=this.querySelector(".property_value");_.innerText=this.value?"true":"false",g(m,this.value)});else if(o=="string"||o=="number")p.setAttribute("contenteditable","true"),p.addEventListener("keydown",function(m){m.code=="Enter"&&(o!="string"||!m.shiftKey)&&(m.preventDefault(),this.blur())}),p.addEventListener("blur",function(){let m=this.innerText;const _=this.parentNode;var b=_.dataset.property,y=_.dataset.type;y=="number"&&(m=Number(m)),g(b,m)});else if((o=="enum"||o=="combo")&&"values"in u){var f=re.getPropertyPrintableValue(a,u.values);p.innerText=f,p.addEventListener("click",function(_){let b=u.values||[];typeof b=="function"&&(b=[]);var k=this.parentNode.dataset.property,T=this;let I=Array.from(b).map(x=>({content:x}));new wi(I,{event:_,className:"dark",callback:R},i);function R(x,N,O){return T.innerText=x.content,g(k,x.content),!1}})}s.content.appendChild(h);function g(m,_){u.callback&&u.callback(m,_,u),c&&c(m,_,u)}return h},s.onOpen&&typeof s.onOpen=="function"&&s.onOpen(),s}checkPanels(){if(this.canvas)for(var e=this.canvas.parentNode.querySelectorAll(".litegraph.dialog"),t=0;t",a.close=function(){a.parentNode&&a.parentNode.removeChild(a)};var u=a.querySelector(".name");u.innerText=o;var c=a.querySelector(".value");if(c&&(c.value=l,c.addEventListener("blur",function(k){this.focus()}),c.addEventListener("keydown",function(k){if(a.is_modified=!0,k.keyCode==27)a.close();else if(k.keyCode==13)m();else if(k.keyCode!=13&&k.target instanceof Element&&k.target.localName!="textarea")return;k.preventDefault(),k.stopPropagation()}),r.inputStyle))for(const[k,T]of Object.entries(r.inputStyle))c.style[k]=T;var f=re.active_canvas,h=f.canvas,d=h.getBoundingClientRect(),p=-20,g=-20;d&&(p-=d.left,g-=d.top),t?(a.style.left=t.clientX+p+"px",a.style.top=t.clientY+g+"px"):(a.style.left=h.width*.5+p+"px",a.style.top=h.height*.5+g+"px");const m=()=>{c&&_(c.value)},_=k=>{r.type=="number"?k=Number(k):r.type=="boolean"&&(k=!!k);const T=s[o];s[o]=k,s.onJSPropertyChanged&&s.onJSPropertyChanged(o,k,T)===!1&&(s[o]=T),a.parentNode&&a.parentNode.removeChild(a),s.setDirtyCanvas(!0,!0)};var b=a.querySelector("button");b.addEventListener("click",m),h.parentNode.appendChild(a),c&&c.focus();var y=null;a.addEventListener("mouseleave",function(k){w.dialog_close_on_mouse_leave&&!a.is_modified&&w.dialog_close_on_mouse_leave&&k.buttons===0&&(y=setTimeout(a.close,w.dialog_close_on_mouse_leave_delay))}),a.addEventListener("mouseenter",function(k){w.dialog_close_on_mouse_leave&&y&&clearTimeout(y)}),Mh(a)};Ve.onGroupAdd=function(n,e,t,i){var s=re.active_canvas;s.getCanvasWindow();var r=new Pu;r.pos=s.convertEventToCanvasOffset(t),s.graph.addGroup(r)};Ve.onMenuAdd=function(n,e,t,i,s){var r=re.active_canvas,o=r.getCanvasWindow(),l=r.graph;if(!l)return;function a(u,c){var f=w.getNodeTypesCategories(r.filter||l.filter).filter(function(p){return p.startsWith(u)}),h=[];f.map(function(p){if(p){var g=new RegExp("^("+u+")"),m=p.replace(g,"").split("/")[0],_=u===""?m+"/":u+m+"/",b=m;b.indexOf("::")!=-1&&(b=b.split("::")[1]);var y=h.findIndex(function(k){return k.value===_});y===-1&&h.push({value:_,content:b,has_submenu:!0,callback:function(k,T,I,R){a(k.value,R)}})}});var d=w.getNodeTypesInCategory(u.slice(0,-1),r.filter||l.filter);d.map(function(p){if(!p.hide_in_node_lists){var g={value:p.class,content:p.title,has_submenu:!1,callback:function(m,_,b,y){var k=y.getFirstEvent();r.graph.beforeChange();var T=w.createNode(m.value);T&&(T.pos=r.convertEventToCanvasOffset(k),r.graph.add(T)),s&&s(T),r.graph.afterChange()}};h.push(g)}}),new wi(h,{event:t,parentMenu:c},o)}return a("",i),!1};Ve.showMenuNodeOptionalInputs=function(n,e,t,i,s){if(!s)return;var r=this,o=re.active_canvas,l=o.getCanvasWindow();let a=s.getOptionalSlots().inputs,u=[];if(a)for(let d=0;d"+(c.label?c.label:a)+""+u+"",value:a})}if(!l.length)return;new wi(l,{event:t,callback:f,parentMenu:i,allow_html:!0,node:s},o);function f(h,d,p,g){if(s){var m=this.getBoundingClientRect();r.showEditPropertyValue(s,h.value,{position:[m.left,m.top]})}}return!1};Ve.onResizeNode=function(n,e,t,i,s){s&&(s.size=s.computeSize(),s.setDirtyCanvas(!0,!0))};Ve.onMenuNodeCollapse=function(n,e,t,i,s){s.graph.beforeChange();var r=function(a){a.collapse()},o=re.active_canvas;if(!o.selected_nodes||Object.keys(o.selected_nodes).length<=1)r(s);else for(var l in o.selected_nodes)r(o.selected_nodes[l]);s.graph.afterChange()};Ve.onMenuNodePin=function(n,e,t,i,s){s.pin()};Ve.onMenuNodeMode=function(n,e,t,i,s){let r=Array.from(Hr).map(l=>({content:l}));new wi(r,{event:t,callback:o,parentMenu:i,node:s});function o(l){if(s){var a=Object.values(Hr).indexOf(l.content),u=function(h){a>=ft.ALWAYS&&Hr[a]?h.changeMode(a):h.changeMode(ft.ALWAYS)},c=re.active_canvas;if(!c.selected_nodes||Object.keys(c.selected_nodes).length<=1)u(s);else for(var f in c.selected_nodes)u(c.selected_nodes[f])}}return!1};Ve.onMenuNodeColors=function(n,e,t,i,s){if(!s)throw"no node for color";var r=[];r.push({value:null,content:"No color"});for(let a in re.node_colors){var o=re.node_colors[a];let u={value:a,content:""+a+""};r.push(u)}new wi(r,{event:t,callback:l,parentMenu:i,node:s,allow_html:!0});function l(a){if(s){var u=a.value?re.node_colors[a.value]:null,c=function(d){u?d instanceof Pu?d.color=u.groupcolor:(d.color=u.color,d.bgcolor=u.bgcolor):(delete d.color,d instanceof Ke&&delete d.bgcolor)},f=re.active_canvas;if(!f.selected_nodes||Object.keys(f.selected_nodes).length<=1)c(s);else for(var h in f.selected_nodes)c(f.selected_nodes[h]);s.setDirtyCanvas(!0,!0)}}return!1};Ve.onMenuNodeShapes=function(n,e,t,i,s){if(!s)throw"no node passed";const r=Array.from(Dg).map(l=>({content:l}));new wi(r,{event:t,callback:o,parentMenu:i,node:s});function o(l){if(s){s.graph.beforeChange();var a=function(f){f.shape=Dg.indexOf(l.content)},u=re.active_canvas;if(!u.selected_nodes||Object.keys(u.selected_nodes).length<=1)a(s);else for(var c in u.selected_nodes)a(u.selected_nodes[c]);s.graph.afterChange(),s.setDirtyCanvas(!0)}}return!1};Ve.onMenuNodeRemove=function(n,e,t,i,s){if(!s)throw"no node passed";var r=s.graph;r.beforeChange();var o=function(u){u.removable!==!1&&r.remove(u)},l=re.active_canvas;if(!l.selected_nodes||Object.keys(l.selected_nodes).length<=1)o(s);else for(var a in l.selected_nodes)o(l.selected_nodes[a]);r.afterChange(),s.setDirtyCanvas(!0,!0)};Ve.onMenuNodeToSubgraph=function(n,e,t,i,s){var r=s.graph,o=re.active_canvas;if(o){var l=Object.values(o.selected_nodes||{});l.length||(l=[s]);var a=w.createNode("graph/subgraph",null,{constructorArgs:[null]});a.pos=s.pos.concat(),r.add(a),a.buildFromNodes(l),o.deselectAllNodes(),s.setDirtyCanvas(!0,!0)}};Ve.onMenuNodeToSubgraphInputs=function(n,e,t,i,s){var r=re.active_canvas;if(!r)return;const o=s.graph._subgraph_node;if(!s.graph._is_subgraph||!o)return;let l=Object.values(r.selected_nodes||{});l.length||(l=[s]),o.convertNodesToSubgraphInputs(l),r.deselectAllNodes(),s.setDirtyCanvas(!0,!0)};Ve.onMenuNodeToSubgraphOutputs=function(n,e,t,i,s){var r=re.active_canvas;if(!r)return;const o=s.graph._subgraph_node;if(!s.graph._is_subgraph||!o)return;let l=Object.values(r.selected_nodes||{});l.length||(l=[s]),o.convertNodesToSubgraphOutputs(l),r.deselectAllNodes(),s.setDirtyCanvas(!0,!0)};Ve.onMenuNodeToParentGraph=function(n,e,t,i,s){var r=re.active_canvas;if(!r)return;const o=s.graph._subgraph_node;if(!s.graph._is_subgraph||!o)return;let l=Object.values(r.selected_nodes||{});l.length||(l=[s]),o.moveNodesToParentGraph(l),r.deselectAllNodes(),s.setDirtyCanvas(!0,!0)};Ve.onMenuNodeClone=function(n,e,t,i,s){var r=re.active_canvas;(!r.selected_nodes||Object.keys(r.selected_nodes).length<=1)&&r.selectNode(s),r.cloneSelection()};const Ol=class{constructor(n,e,t={}){this.link_type_colors={},this.node_panel=null,this.options_panel=null,this.render_time=0,this.allow_dragcanvas=!0,this.allow_dragnodes=!0,this.allow_interaction=!0,this.allow_reconnect_links=!0,this.allow_searchbox=!0,this.always_render_background=!1,this.background_image=Ol.DEFAULT_BACKGROUND_IMAGE,this.block_click=!1,this.clear_background=!0,this.connecting_pos=null,this.connecting_slot=null,this.connecting_input=null,this.connecting_output=null,this.connections_width=3,this.current_node=null,this.drag_mode=!1,this.dragging_rectangle=null,this.ds=new yC,this.editor_alpha=1,this.filter=null,this.highquality_render=!0,this.skip_events=!1,this.last_mouse_position=[0,0],this.last_click_position=[0,0],this.last_click_position_offset=[0,0],this.last_mouse_dragging=!1,this.links_render_mode=Ml.SPLINE_LINK,this.live_mode=!1,this.mouse=[0,0],this.offset_mouse=[0,0],this.graph_mouse=[0,0],this.node_widget=null,this.maxZoom=null,this.minZoom=null,this.multi_select=!1,this.over_link_center=null,this.pause_rendering=!1,this.read_only=!1,this.render_canvas_border=!0,this.render_collapsed_slots=!0,this.render_connection_arrows=!1,this.render_connections_border=!0,this.render_connections_shadows=!1,this.render_connections=!0,this.render_curved_connections=!1,this.render_execution_order=!1,this.render_link_tooltip=!0,this.render_only_selected=!0,this.render_shadows=!0,this.render_title_colored=!0,this.render_subgraph_panels=!0,this.render_subgraph_stack_header=!0,this.round_radius=8,this.set_canvas_dirty_on_mouse_event=!0,this.show_info=!0,this.use_gradients=!1,this.visible_links=[],this.zoom_modify_alpha=!0,this.pointer_is_down=!1,this.pointer_is_double=!1,this._highlight_input=null,this._highlight_input_slot=null,this._highlight_output=null,this._graph_stack=[],this._bg_img=null,this._pattern=null,this._pattern_img=null,this.search_box=null,this.prompt_box=null,this._events_binded=!1,this.resizing_node=null,typeof n=="string"&&(n=document.querySelector(n)),this.skip_events=t.skip_events||!1,this.title_text_font=""+w.NODE_TEXT_SIZE+"px Arial",this.inner_text_font="normal "+w.NODE_SUBTEXT_SIZE+"px Arial",this.node_title_color=w.NODE_TITLE_COLOR,this.default_link_color=w.LINK_COLOR,this.link_type_colors=w.cloneObject(Ol.DEFAULT_LINK_TYPE_COLORS),this.canvas_mouse=this.graph_mouse,this.visible_area=this.ds.visible_area,this.viewport=t.viewport||null,e&&e.attachCanvas(this),this.setCanvas(n,t.skip_events),this.clear(),t.skip_render||this.startRendering(),this.autoresize=t.autoresize}static getFileExtension(n){var e=n.indexOf("?");e!=-1&&(n=n.substr(0,e));var t=n.lastIndexOf(".");return t==-1?"":n.substr(t+1).toLowerCase()}static decodeHTML(n){var e=document.createElement("div");return e.innerText=n,e.innerHTML}static getPropertyPrintableValue(n,e){if(!e||e.constructor===Array)return String(n);if(e.constructor===Object){var t="";for(var i in e)if(e[i]==n){t=i;break}return String(n)+" ("+t+")"}}get scale(){return this.ds.scale}set scale(n){this.ds.scale=n}clear(){this.frame=0,this.last_draw_time=0,this.render_time=0,this.fps=0,this.dragging_rectangle=null,this.selected_nodes={},this.selected_group=null,this.visible_nodes=[],this.node_dragged=null,this.node_over=null,this.node_capturing_input=null,this.connecting_node=null,this.highlighted_links={},this.dragging_canvas=!1,this.dirty_canvas=!0,this.dirty_bgcanvas=!0,this.dirty_area=null,this.node_in_panel=null,this.node_widget=null,this.last_mouse=[0,0],this.last_mouseclick=0,this.pointer_is_down=!1,this.pointer_is_double=!1,this.onClear&&this.onClear()}setGraph(n,e=!1){if(this.graph!=n){if(e||this.clear(),!n&&this.graph){this.graph.detachCanvas(this);return}n.attachCanvas(this),this._graph_stack&&(this._graph_stack=null),this.setDirty(!0,!0)}}openSubgraph(n){if(!n)throw"graph cannot be null";if(this.graph==n)throw"graph cannot be the same";if(this.clear(),this.graph){this._graph_stack||(this._graph_stack=[]);const t=[this.ds.offset[0],this.ds.offset[1]];this._graph_stack.push({graph:this.graph,offset:t,scale:this.ds.scale})}w.debug,n.attachCanvas(this);const e=[0,0];if(n._nodes.length>0){let t=Number.MAX_SAFE_INTEGER,i=0,s=Number.MAX_SAFE_INTEGER,r=0;for(const o of n.iterateNodesInOrder())t=Math.min(o.pos[0],t),i=Math.max(o.pos[0]+o.size[0],i),s=Math.min(o.pos[1],s),r=Math.max(o.pos[1]+o.size[1],r);e[0]=-(t+(i-t)/2)+this.canvas.width/2,e[1]=-(s+(r-s)/2)+this.canvas.height/2}this.ds.offset=e,this.ds.scale=1,this.checkPanels(),this.setDirty(!0,!0)}closeAllSubgraphs(){for(;this._graph_stack&&this._graph_stack.length>0;)this.closeSubgraph()}closeSubgraph(){if(!(!this._graph_stack||this._graph_stack.length==0)){var n=this.graph._subgraph_node,{graph:e,offset:t,scale:i}=this._graph_stack.pop();this.selected_nodes={},this.highlighted_links={},e.attachCanvas(this),this.setDirty(!0,!0),n&&(this.centerOnNode(n),this.selectNodes([n])),this.ds.offset=t,this.ds.scale=i}}setCanvas(n,e=!1){if(n&&typeof n=="string"&&(n=document.getElementById(n),!n))throw"Error creating LiteGraph canvas: Canvas not found";if(n=n,n!==this.canvas&&(!n&&this.canvas&&(e||this.unbindEvents()),this.canvas=n,this.ds.element=n,!!n)){if(n.className+=" lgraphcanvas",n.data=this,n.tabIndex=1,this.bgcanvas=null,this.bgcanvas||(this.bgcanvas=document.createElement("canvas"),this.bgcanvas.width=this.canvas.width,this.bgcanvas.height=this.canvas.height),n.getContext==null)throw n.localName!="canvas"?"Element supplied for LGraphCanvas must be a element, you passed a "+n.localName:"This browser doesn't support Canvas";e||this.bindEvents(),this.adjustCanvasForHiDPI()}}_doNothing(n){return n.preventDefault(),!1}_doReturnTrue(n){return n.preventDefault(),!0}bindEvents(){if(!this._events_binded){var n=this.canvas,e=this.getCanvasWindow(),t=e.document;this._mousedown_callback=this.processMouseDown.bind(this),this._mousewheel_callback=this.processMouseWheel.bind(this),this._mousemove_callback=this.processMouseMove.bind(this),this._mouseup_callback=this.processMouseUp.bind(this),w.pointerListenerAdd(n,"down",this._mousedown_callback,!0),n.addEventListener("mousewheel",this._mousewheel_callback,!1),w.pointerListenerAdd(n,"up",this._mouseup_callback,!0),w.pointerListenerAdd(n,"move",this._mousemove_callback),n.addEventListener("contextmenu",this._doNothing),n.addEventListener("DOMMouseScroll",this._mousewheel_callback,!1),this._key_callback=this.processKey.bind(this),n.addEventListener("keydown",this._key_callback,!0),t.addEventListener("keyup",this._key_callback,!0),this._ondrop_callback=this.processDrop.bind(this),n.addEventListener("dragover",this._doNothing,!1),n.addEventListener("dragend",this._doNothing,!1),n.addEventListener("drop",this._ondrop_callback,!1),n.addEventListener("dragenter",this._doReturnTrue,!1),this._events_binded=!0}}unbindEvents(){if(this._events_binded){w.debug;var n=this.getCanvasWindow(),e=n.document;w.pointerListenerRemove(this.canvas,"move",this._mousedown_callback),w.pointerListenerRemove(this.canvas,"up",this._mousedown_callback),w.pointerListenerRemove(this.canvas,"down",this._mousedown_callback),this.canvas.removeEventListener("mousewheel",this._mousewheel_callback),this.canvas.removeEventListener("DOMMouseScroll",this._mousewheel_callback),this.canvas.removeEventListener("keydown",this._key_callback),e.removeEventListener("keyup",this._key_callback),this.canvas.removeEventListener("contextmenu",this._doNothing),this.canvas.removeEventListener("drop",this._ondrop_callback),this.canvas.removeEventListener("dragenter",this._doReturnTrue),this._mousedown_callback=null,this._mousewheel_callback=null,this._key_callback=null,this._ondrop_callback=null,this._events_binded=!1}}enableWebGL(){}setDirty(n=!1,e=!1){n&&(this.dirty_canvas=!0),e&&(this.dirty_bgcanvas=!0)}getCanvasWindow(){if(!this.canvas)return window;var n=this.canvas.ownerDocument;return n.defaultView}adjustCanvasForHiDPI(n){if(n||(n=window.devicePixelRatio),n==1||!this.canvas.parentNode)return;const e=this.canvas.parentNode.getBoundingClientRect(),{width:t,height:i}=e;this.canvas.width=t*n,this.canvas.height=i*n,this.canvas.style.width=t+"px",this.canvas.style.height=i+"px",this.canvas.getContext("2d").scale(n,n)}startRendering(){if(this.is_rendering)return;this.is_rendering=!0,n.call(this);function n(){this.pause_rendering||this.draw();var e=this.getCanvasWindow();this.is_rendering&&e.requestAnimationFrame(n.bind(this))}}stopRendering(){this.is_rendering=!1}blockClick(){this.block_click=!0,this.last_mouseclick=0}createDefaultNodeForSlot(n,e={}){var t=this,i=e.nodeFrom&&e.slotFrom!==null,s=!i&&e.nodeTo&&e.slotTo!==null;if(e={...{position:[0,0],posAdd:[0,0],posSizeFix:[0,0]},...e},!i&&!s||!n)return!1;var o=i?e.nodeFrom:e.nodeTo,l=i?e.slotFrom:e.slotTo,a=null;switch(typeof l){case"string":a=i?o.findOutputSlotIndexByName(l):o.findInputSlotIndexByName(l),l=i?o.outputs[l]:o.inputs[l];break;case"object":a=i?o.findOutputSlotIndexByName(l.name):o.findInputSlotIndexByName(l.name);break;case"number":a=l,l=i?o.outputs[l]:o.inputs[l];break;case"undefined":default:return!1}l=l;var u=l.type==$.EVENT?"_event_":l.type,c=i?w.slot_types_default_out:w.slot_types_default_in;const f=c[u];if(c&&f){l.link!==null||l.links&&l.links.length>0;let m=null;if(Array.isArray(f)){for(var h in f)if(n==c[u][h]||n=="AUTO"){m=c[u][h],w.debug;break}}else throw new Error(`Invalid default slot specifier, must be an array: ${f}`);if(m){var d=null;typeof m=="object"&&m.node&&(d=m,m=m.node);var p=w.createNode(m);if(p){if(d){if(d.properties)for(var g in d.properties)p.addProperty(g,d.properties[g]);if(d.inputs){p.inputs=[];for(var g in d.inputs)p.addOutput(d.inputs[g][0],d.inputs[g][1])}if(d.outputs){p.outputs=[];for(var g in d.outputs)p.addOutput(d.outputs[g][0],d.outputs[g][1])}d.title&&(p.title=d.title),d.json&&p.configure(d.json)}const _=e.position[0]+e.posAdd[0]+(e.posSizeFix[0]?e.posSizeFix[0]*p.size[0]:0),b=e.position[1]+e.posAdd[1]+(e.posSizeFix[1]?e.posSizeFix[1]*p.size[1]:0),y=[_,b];return t.graph.add(p,{pos:y}),i?e.nodeFrom.connectByTypeInput(a,p,u):e.nodeTo.connectByTypeOutput(a,p,u),!0}}}return!1}isOverNodeBox(n,e,t){var i=w.NODE_TITLE_HEIGHT;return!!w.isInsideRectangle(e,t,n.pos[0]+2,n.pos[1]+2-i,i-4,i-4)}isOverNodeInput(n,e,t,i){if(n.inputs)for(var s=0,r=n.inputs.length;ss[0]+4||es[1]+4))return i}return null}processKey(n){if(!this.graph)return;var e=!1;if(w.debug,n.target instanceof Element&&n.target.localName=="input")return;const t=this.allow_interaction&&!this.read_only;if(n.type=="keydown"){if(n.keyCode==32&&!(n.metaKey||n.ctrlKey||n.shiftKey)&&(this.dragging_canvas=!0,e=!0),n.keyCode==27&&!(n.metaKey||n.ctrlKey||n.shiftKey)&&(this.node_panel&&this.node_panel.close(),this.options_panel&&this.options_panel.close(),e=!0),t&&(n.keyCode==65&&n.ctrlKey&&(this.selectNodes(),e=!0),n.code=="KeyX"&&(n.metaKey||n.ctrlKey)&&!n.shiftKey&&this.selected_nodes&&(this.cutToClipboard(),e=!0),n.code=="KeyC"&&(n.metaKey||n.ctrlKey)&&!n.shiftKey&&this.selected_nodes&&(this.copyToClipboard(),e=!0),n.code=="KeyV"&&(n.metaKey||n.ctrlKey)&&!n.shiftKey&&this.pasteFromClipboard(),n.code=="KeyD"&&(n.metaKey||n.ctrlKey)&&!n.shiftKey&&(this.cloneSelection(),e=!0),(n.keyCode==46||n.keyCode==8)&&n.target instanceof Element&&n.target.localName!="input"&&n.target.localName!="textarea"&&(this.deleteSelectedNodes(),e=!0),this.selected_nodes))for(var i in this.selected_nodes)this.selected_nodes[i].onKeyDown&&this.selected_nodes[i].onKeyDown(n)}else if(n.type=="keyup"&&(n.keyCode==32&&(this.dragging_canvas=!1),t&&this.selected_nodes))for(var i in this.selected_nodes)this.selected_nodes[i].onKeyUp&&this.selected_nodes[i].onKeyUp(n);if(this.graph.change(),e)return n.preventDefault(),n.stopImmediatePropagation(),!1}cutToClipboard(){this.copyToClipboard(),this.deleteSelectedNodes()}copyToClipboard(){var n={nodes:[],nodeCloneData:{},links:[]},e=0,t=[];for(var i in this.selected_nodes){var s=this.selected_nodes[i];s._relative_id=e,t.push(s),e+=1}for(let u=0;ue.nodes[s].pos[0]&&(t[0]=e.nodes[s].pos[0],i[0]=s),t[1]>e.nodes[s].pos[1]&&(t[1]=e.nodes[s].pos[1],i[1]=s)):(t=[e.nodes[s].pos[0],e.nodes[s].pos[1]],i=[s,s]);for(var r=[],s=0;s=this.viewport[0]&&t=this.viewport[1]&&ih-12||rc.last_y+f||c.last_y===void 0))){var d=c.value;switch(c.type){case"button":t.type===w.pointerevents_method+"down"&&(c.callback&&setTimeout(function(){c.callback(c,l,n,e,t)},20),c.clicked=!0,this.dirty_canvas=!0);break;case"slider":c.options.max-c.options.min;var p=Go((s-15)/(h-30),0,1);c.value=c.options.min+(c.options.max-c.options.min)*p,c.callback&&setTimeout(function(){k(c,c.value)},20),this.dirty_canvas=!0;break;case"number":case"combo":var d=c.value;if(t.type==w.pointerevents_method+"move"&&c.type=="number")t.deltaX&&(c.value+=t.deltaX*(c.options.step||.1)),c.options.min!=null&&c.valuec.options.max&&(c.value=c.options.max);else if(t.type==w.pointerevents_method+"down"){var g=c.options.values;if(g&&typeof g=="function"){let I=c.options.values;g=I(c,n)}var m=null;c.type!="number"&&(m=Array.isArray(g)?g:Object.keys(g));var _=s<40?-1:s>h-40?1:0;if(c.type=="number")c.value+=_*(c.options.step||.1),c.options.min!=null&&c.valuec.options.max&&(c.value=c.options.max);else if(_){var b=-1;this.last_mouseclick=0,g.constructor===Object?b=m.indexOf(String(c.value))+_:b=m.indexOf(c.value)+_,b>=m.length&&(b=m.length-1),b<0&&(b=0),Array.isArray(g)?c.value=g[b]:c.value=b}else{let I=function(x,N,O){let D=x.content;return g!=m&&(D=y.indexOf(D)),this.value=D,k(this,D),l.dirty_canvas=!0,!1};var y=g!=m?Object.values(g):g;let R=Array.from(y).map(x=>({content:x}));new wi(R,{scale:Math.max(1,this.ds.scale),event:t,className:"dark",callback:I.bind(c)},a)}}else if(t.type==w.pointerevents_method+"up"&&c.type=="number"){var _=s<40?-1:s>h-40?1:0;t.click_time<200&&_==0&&this.prompt("Value",c.value,function(R){this.value=Number(R),k(this,this.value)}.bind(c),t)}d!=c.value&&setTimeout(function(){k(this,this.value)}.bind(c),20),this.dirty_canvas=!0;break;case"toggle":t.type==w.pointerevents_method+"down"&&(c.value=!c.value,setTimeout(function(){k(c,c.value)},20));break;case"string":case"text":t.type==w.pointerevents_method+"down"&&this.prompt("Value",c.value,function(I){this.value=I,k(this,I)}.bind(c),t,c.options?c.options.multiline:!1,c.options.inputStyle);break;default:c.mouse&&(this.dirty_canvas=c.mouse(t,[s,r],n));break}return d!=c.value&&(n.onWidgetChanged&&n.onWidgetChanged(c,d),n.graph._version++),c}}}function k(T,I){T.value=I,T.options&&T.options.property&&n.properties[T.options.property]!==void 0&&n.setProperty(T.options.property,I),T.callback&&T.callback(T.value,l,n,e,t)}return null}adjustNodesSize(){for(var n=this.graph._nodes,e=0;e1&&e.editor_alpha>.99&&(clearInterval(i),e.editor_alpha=1)},1)}onNodeSelectionChange(){}touchHandler(n){}convertOffsetToCanvas(n){return this.ds.convertOffsetToCanvas(n)}convertCanvasToOffset(n,e=[0,0]){return this.ds.convertCanvasToOffset(n,e)}convertEventToCanvasOffset(n){var e=this.canvas.getBoundingClientRect();return this.convertCanvasToOffset([n.clientX-e.left,n.clientY-e.top])}addGraphInputNode(n,e,t){const i=this.graph.findNodesByClass(qi).find(o=>o.properties.name===e);if(i){this.selectNodes([i]);return}(!t||t==="")&&(t="*");const s=[this.canvas.width*.25/this.ds.scale-this.ds.offset[0],this.canvas.height*.5/this.ds.scale-this.ds.offset[1]];this.graph.beforeChange();const r=n.addGraphInput(e,t,s);if(r){const o=r.innerNode;this.selectNodes([o]),this.graph.afterChange()}}addGraphOutputNode(n,e,t){const i=this.graph.findNodesByClass(pn).find(o=>o.properties.name===e);if(i){this.selectNodes([i]);return}(!t||t==="")&&(t="*");const s=[this.canvas.width*.75/this.ds.scale-this.ds.offset[0],this.canvas.height*.5/this.ds.scale-this.ds.offset[1]];this.graph.beforeChange();const r=n.addGraphOutput(e,t,s);if(r){const o=r.innerNode;this.selectNodes([o]),this.graph.afterChange()}}getCanvasMenuOptions(){return Ve.prototype.getCanvasMenuOptions.apply(this,arguments)}getNodeMenuOptions(n){return Ve.prototype.getNodeMenuOptions.apply(this,arguments)}getLinkMenuOptions(n){return Ve.prototype.getLinkMenuOptions.apply(this,arguments)}getGroupMenuOptions(n){return Ve.prototype.getGroupMenuOptions.apply(this,arguments)}checkPanels(){Ve.prototype.checkPanels.apply(this,arguments)}closePanels(){Ve.prototype.closePanels.apply(this,arguments)}createDialog(n,e){return Ve.prototype.createDialog.apply(this,arguments)}createPanel(n,e={}){return Ve.prototype.createPanel.apply(this,arguments)}showSearchBox(n,e={}){return Ve.prototype.showSearchBox.apply(this,arguments)}prompt(n="",e,t,i,s=!1,r=null){return Ve.prototype.prompt.apply(this,arguments)}showConnectionMenu(n={}){return Ve.prototype.showConnectionMenu.apply(this,arguments)}showLinkMenu(n,e){return Ve.prototype.showLinkMenu.apply(this,arguments)}showEditPropertyValue(n,e,t){return Ve.prototype.showEditPropertyValue.apply(this,arguments)}showShowNodePanel(n){Ve.prototype.showShowNodePanel.apply(this,arguments)}showSubgraphPropertiesDialog(n){return Ve.prototype.showSubgraphPropertiesDialog.apply(this,arguments)}showSubgraphPropertiesDialogRight(n){return Ve.prototype.showSubgraphPropertiesDialogRight.apply(this,arguments)}processContextMenu(n,e){Ve.prototype.processContextMenu.apply(this,arguments)}processMouseMove(n){return Na.prototype.processMouseMove.apply(this,arguments)}processMouseDown(n){return Na.prototype.processMouseDown.apply(this,arguments)}processMouseUp(n){return Na.prototype.processMouseUp.apply(this,arguments)}processMouseWheel(n){return Na.prototype.processMouseWheel.apply(this,arguments)}setZoom(n,e){St.prototype.setZoom.apply(this,arguments)}bringToFront(n){St.prototype.bringToFront.apply(this,arguments)}sendToBack(n){St.prototype.sendToBack.apply(this,arguments)}computeVisibleNodes(n,e=[]){return St.prototype.computeVisibleNodes.apply(this,arguments)}draw(n=!1,e=!1){St.prototype.draw.apply(this,arguments)}drawFrontCanvas(){St.prototype.drawFrontCanvas.apply(this,arguments)}drawSubgraphPanel(n){St.prototype.drawSubgraphPanel.apply(this,arguments)}drawSubgraphPanelLeft(n,e,t){St.prototype.drawSubgraphPanelLeft.apply(this,arguments)}drawSubgraphPanelRight(n,e,t){St.prototype.drawSubgraphPanelRight.apply(this,arguments)}drawButton(n,e,t,i,s,r=w.NODE_DEFAULT_COLOR,o="#555",l=w.NODE_TEXT_COLOR,a=!0){return St.prototype.drawButton.apply(this,arguments)}drawBackCanvas(){St.prototype.drawBackCanvas.apply(this,arguments)}renderInfo(n,e=10,t){St.prototype.renderInfo.apply(this,arguments)}drawNode(n,e){St.prototype.drawNode.apply(this,arguments)}drawLinkTooltip(n,e){St.prototype.drawLinkTooltip.apply(this,arguments)}drawNodeShape(n,e,t,i,s,r,o){St.prototype.drawNodeShape.apply(this,arguments)}drawConnections(n){St.prototype.drawConnections.apply(this,arguments)}renderLink(n,e,t,i,s,r,o,l,a,u){St.prototype.renderLink.apply(this,arguments)}computeConnectionPoint(n,e,t,i=Qe.RIGHT,s=Qe.LEFT){return St.prototype.computeConnectionPoint.apply(this,arguments)}drawExecutionOrder(n){St.prototype.drawExecutionOrder.apply(this,arguments)}drawNodeWidgets(n,e,t,i){St.prototype.drawNodeWidgets.apply(this,arguments)}drawGroups(n,e){St.prototype.drawGroups.apply(this,arguments)}};let re=Ol;re.DEFAULT_BACKGROUND_IMAGE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQBJREFUeNrs1rEKwjAUhlETUkj3vP9rdmr1Ysammk2w5wdxuLgcMHyptfawuZX4pJSWZTnfnu/lnIe/jNNxHHGNn//HNbbv+4dr6V+11uF527arU7+u63qfa/bnmh8sWLBgwYJlqRf8MEptXPBXJXa37BSl3ixYsGDBMliwFLyCV/DeLIMFCxYsWLBMwSt4Be/NggXLYMGCBUvBK3iNruC9WbBgwYJlsGApeAWv4L1ZBgsWLFiwYJmCV/AK3psFC5bBggULloJX8BpdwXuzYMGCBctgwVLwCl7Be7MMFixYsGDBsu8FH1FaSmExVfAxBa/gvVmwYMGCZbBg/W4vAQYA5tRF9QYlv/QAAAAASUVORK5CYII=";re.node_colors={red:{color:"#322",bgcolor:"#533",groupcolor:"#A88"},brown:{color:"#332922",bgcolor:"#593930",groupcolor:"#b06634"},green:{color:"#232",bgcolor:"#353",groupcolor:"#8A8"},blue:{color:"#223",bgcolor:"#335",groupcolor:"#88A"},pale_blue:{color:"#2a363b",bgcolor:"#3f5159",groupcolor:"#3f789e"},cyan:{color:"#233",bgcolor:"#355",groupcolor:"#8AA"},purple:{color:"#323",bgcolor:"#535",groupcolor:"#a1309b"},yellow:{color:"#432",bgcolor:"#653",groupcolor:"#b58b2a"},black:{color:"#222",bgcolor:"#000",groupcolor:"#444"}};re.DEFAULT_LINK_TYPE_COLORS={[$.ACTION]:w.ACTION_LINK_COLOR,[$.EVENT]:w.EVENT_LINK_COLOR,number:"#AAA",node:"#DCA"};re.DEFAULT_CONNECTION_COLORS={input_off:"#778",input_on:"#7F7",output_off:"#778",output_on:"#7F7"};re.DEFAULT_CONNECTION_COLORS_BY_TYPE={number:"#7F7",string:"#77F",boolean:"#F77"};re.DEFAULT_CONNECTION_COLORS_BY_TYPE_OFF={number:"#474",string:"#447",boolean:"#744"};re.active_canvas=null;re.active_node=null;re.onMenuCollapseAll=Ve.onMenuCollapseAll;re.onMenuNodeEdit=Ve.onMenuNodeEdit;re.onShowPropertyEditor=Ve.onShowPropertyEditor;re.onGroupAdd=Ve.onGroupAdd;re.onMenuAdd=Ve.onMenuAdd;re.showMenuNodeOptionalInputs=Ve.showMenuNodeOptionalInputs;re.showMenuNodeOptionalOutputs=Ve.showMenuNodeOptionalOutputs;re.onShowMenuNodeProperties=Ve.onShowMenuNodeProperties;re.onResizeNode=Ve.onResizeNode;re.onMenuResizeNode=Ve.onMenuResizeNode;re.onMenuNodeCollapse=Ve.onMenuNodeCollapse;re.onMenuNodePin=Ve.onMenuNodePin;re.onMenuNodeMode=Ve.onMenuNodeMode;re.onMenuNodeColors=Ve.onMenuNodeColors;re.onMenuNodeShapes=Ve.onMenuNodeShapes;re.onMenuNodeRemove=Ve.onMenuNodeRemove;re.onMenuNodeClone=Ve.onMenuNodeClone;re.onMenuNodeToSubgraph=Ve.onMenuNodeToSubgraph;re.onMenuNodeToSubgraphInputs=Ve.onMenuNodeToSubgraphInputs;re.onMenuNodeToSubgraphOutputs=Ve.onMenuNodeToSubgraphOutputs;re.onMenuNodeToParentGraph=Ve.onMenuNodeToParentGraph;var Gi=(n=>(n[n.SEPARATOR=0]="SEPARATOR",n))(Gi||{});class wi{static trigger(e,t,i,s){var r=document.createEvent("CustomEvent");return r.initCustomEvent(t,!0,!0,i),r.target=s,e.dispatchEvent&&e.dispatchEvent(r),r}static isCursorOverElement(e,t){var i=e.clientX,s=e.clientY,r=t.getBoundingClientRect();return r?s>r.top&&sr.left&&i{o.parentNode.removeChild(o)},w.pointerListenerAdd(o,"down",function(g){if(g.button==2)return s.close(),g.preventDefault(),!0},!0);function l(g){var m=parseInt(o.style.top);return o.style.top=(m+g.deltaY*t.scroll_speed).toFixed()+"px",g.preventDefault(),!0}if(t.scroll_speed||(t.scroll_speed=.1),o.addEventListener("wheel",l,!0),o.addEventListener("mousewheel",l,!0),this.root=o,t.title){var a=document.createElement("div");a.className="litemenu-title",a.innerHTML=t.title,o.appendChild(a)}this.values=[];for(let g=0;gd.width-p.width-10&&(c=d.width-p.width-10),d.height&&f>d.height-p.height-10&&(f=d.height-p.height-10)}o.style.left=c+"px",o.style.top=f+"px",t.scale&&(o.style.transform="scale("+t.scale+")")}addItem(e,t,i={}){var s=this,r=document.createElement("div");r.className="litemenu-entry submenu";var o=!1;typeof t=="string"&&(t={content:t}),t===0?r.classList.add("separator"):(r.innerHTML=t.title?t.title:e,t.disabled&&(o=!0,r.classList.add("disabled")),(t.submenu||t.has_submenu)&&r.classList.add("has_submenu"),typeof t=="function"?r.dataset.value=e:r.dataset.value=""+this.values.length,t.className&&(r.className+=" "+t.className)),this.values.push(t),this.root.appendChild(r),o||r.addEventListener("click",u),i.autoopen&&w.pointerListenerAdd(r,"enter",a);let l=this;function a(c){var f=this.value;!f||!f.has_submenu||u.call(this,c)}function u(c){let f=parseInt(this.dataset.value);var h=l.values[f];w.debug;const d=re.active_canvas;if(!d)return;const p=d.adjustMouseEvent(c);var g=!0;if(s.current_submenu&&s.current_submenu.close(p),i.callback){var m=i.callback.call(this,h,i,p,s,i.node);m===!0&&(g=!1)}if(h&&typeof h=="object"){if(h.callback&&!i.ignore_item_callbacks&&h.disabled!==!0){var m=h.callback.call(this,h,i,p,s,i.extra);m===!0&&(g=!1)}if(h.submenu){if(!h.submenu.options)throw"ContextMenu submenu needs options";new wi(h.submenu.options,{callback:h.submenu.callback,event:p,parentMenu:s,ignore_item_callbacks:h.submenu.ignore_item_callbacks,title:h.submenu.title,extra:h.submenu.extra,autoopen:i.autoopen}),g=!1}}g&&!s.lock&&s.close()}return r}close(e,t){this.root.parentNode&&this.root.parentNode.removeChild(this.root),this.parentMenu&&!t&&(this.parentMenu.lock=!1,this.parentMenu.current_submenu=null,e===void 0?this.parentMenu.close():e&&!wi.isCursorOverElement(e,this.parentMenu.root)&&wi.trigger(this.parentMenu.root,w.pointerevents_method+"leave",e)),this.current_submenu&&this.current_submenu.close(e,!0),this.root.closing_timer&&clearTimeout(this.root.closing_timer)}getTopMenu(){return this.options.parentMenu?this.options.parentMenu.getTopMenu():this}getFirstEvent(){return this.options.parentMenu?this.options.parentMenu.getFirstEvent():this.options.event}}const EC="finalize",AC="consider";function qo(n,e,t){n.dispatchEvent(new CustomEvent(EC,{detail:{items:e,info:t}}))}function vr(n,e,t){n.dispatchEvent(new CustomEvent(AC,{detail:{items:e,info:t}}))}const Nc="draggedEntered",aa="draggedLeft",Dc="draggedOverIndex",dp="draggedLeftDocument",Bu={LEFT_FOR_ANOTHER:"leftForAnother",OUTSIDE_OF_ANY:"outsideOfAny"};function OC(n,e,t){n.dispatchEvent(new CustomEvent(Nc,{detail:{indexObj:e,draggedEl:t}}))}function NC(n,e,t){n.dispatchEvent(new CustomEvent(aa,{detail:{draggedEl:e,type:Bu.LEFT_FOR_ANOTHER,theOtherDz:t}}))}function DC(n,e){n.dispatchEvent(new CustomEvent(aa,{detail:{draggedEl:e,type:Bu.OUTSIDE_OF_ANY}}))}function xC(n,e,t){n.dispatchEvent(new CustomEvent(Dc,{detail:{indexObj:e,draggedEl:t}}))}function LC(n){window.dispatchEvent(new CustomEvent(dp,{detail:{draggedEl:n}}))}const on={DRAG_STARTED:"dragStarted",DRAGGED_ENTERED:Nc,DRAGGED_ENTERED_ANOTHER:"dragEnteredAnother",DRAGGED_OVER_INDEX:Dc,DRAGGED_LEFT:aa,DRAGGED_LEFT_ALL:"draggedLeftAll",DROPPED_INTO_ZONE:"droppedIntoZone",DROPPED_INTO_ANOTHER:"droppedIntoAnother",DROPPED_OUTSIDE_OF_ANY:"droppedOutsideOfAny",DRAG_STOPPED:"dragStopped"},yn={POINTER:"pointer",KEYBOARD:"keyboard"},Is="isDndShadowItem",pp="data-is-dnd-shadow-item",Us="id:dnd-shadow-placeholder-0000",MC="dnd-action-dragged-el";let ki="id",Ph=0;function jy(){Ph++}function qy(){if(Ph===0)throw new Error("Bug! trying to decrement when there are no dropzones");Ph--}const gp=typeof window>"u";function Yy(n){let e;const t=n.getBoundingClientRect(),i=getComputedStyle(n),s=i.transform;if(s){let r,o,l,a;if(s.startsWith("matrix3d("))e=s.slice(9,-1).split(/, /),r=+e[0],o=+e[5],l=+e[12],a=+e[13];else if(s.startsWith("matrix("))e=s.slice(7,-1).split(/, /),r=+e[0],o=+e[3],l=+e[4],a=+e[5];else return t;const u=i.transformOrigin,c=t.x-l-(1-r)*parseFloat(u),f=t.y-a-(1-o)*parseFloat(u.slice(u.indexOf(" ")+1)),h=r?t.width/r:n.offsetWidth,d=o?t.height/o:n.offsetHeight;return{x:c,y:f,width:h,height:d,top:f,right:c+h,bottom:f+d,left:c}}else return t}function Xy(n){const e=Yy(n);return{top:e.top+window.scrollY,bottom:e.bottom+window.scrollY,left:e.left+window.scrollX,right:e.right+window.scrollX}}function mp(n){const e=n.getBoundingClientRect();return{top:e.top+window.scrollY,bottom:e.bottom+window.scrollY,left:e.left+window.scrollX,right:e.right+window.scrollX}}function Ky(n){return{x:(n.left+n.right)/2,y:(n.top+n.bottom)/2}}function RC(n,e){return Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2))}function _p(n,e){return n.y<=e.bottom&&n.y>=e.top&&n.x>=e.left&&n.x<=e.right}function Ul(n){return Ky(mp(n))}function Mg(n,e){const t=Ul(n),i=Xy(e);return _p(t,i)}function PC(n,e){const t=Ul(n),i=Ul(e);return RC(t,i)}function BC(n){const e=mp(n);return e.right<0||e.left>document.documentElement.scrollWidth||e.bottom<0||e.top>document.documentElement.scrollHeight}function zC(n,e){const t=mp(e);return _p(n,t)?{top:n.y-t.top,bottom:t.bottom-n.y,left:n.x-t.left,right:Math.min(t.right,document.documentElement.clientWidth)-n.x}:null}let qr;function bp(){qr=new Map}bp();function FC(n){qr.delete(n)}function WC(n){const e=Array.from(n.children).findIndex(t=>t.getAttribute(pp));if(e>=0)return qr.has(n)||qr.set(n,new Map),qr.get(n).set(e,Xy(n.children[e])),e}function VC(n,e){if(!Mg(n,e))return null;const t=e.children;if(t.length===0)return{index:0,isProximityBased:!0};const i=WC(e);for(let o=0;ot(r)))}function i(r){return gl-r}function s(r,o){if(!o)return!1;const l=zC(r,o);if(l===null)return e(),!1;const a=!!n.directionObj;let[u,c]=[!1,!1];return o.scrollHeight>o.clientHeight&&(l.bottomo.clientWidth&&(l.rightRg(c)-Rg(u));function a(){const u=Ul(n),c=jC(u,i);if(!c&&o&&Math.abs(o.x-u.x){i.style.top=`${s}px`,i.style.left=`${r}px`},0)}return i.style.margin="0",i.style.boxSizing="border-box",i.style.height=`${t.height}px`,i.style.width=`${t.width}px`,i.style.transition=`${Mr("top")}, ${Mr("left")}, ${Mr("background-color")}, ${Mr("opacity")}, ${Mr("color")} `,window.setTimeout(()=>i.style.transition+=`, ${Mr("width")}, ${Mr("height")}`,0),i.style.zIndex="9999",i.style.cursor="grabbing",i}function nI(n){n.style.cursor="grab"}function sI(n,e,t,i){ev(e,n);const s=e.getBoundingClientRect(),r=n.getBoundingClientRect(),o=s.width-r.width,l=s.height-r.height;if(o||l){const a={left:(t-r.left)/r.width,top:(i-r.top)/r.height};n.style.height=`${s.height}px`,n.style.width=`${s.width}px`,n.style.left=`${parseFloat(n.style.left)-a.left*o}px`,n.style.top=`${parseFloat(n.style.top)-a.top*l}px`}}function ev(n,e){const t=window.getComputedStyle(n);Array.from(t).filter(i=>i.startsWith("background")||i.startsWith("padding")||i.startsWith("font")||i.startsWith("text")||i.startsWith("align")||i.startsWith("justify")||i.startsWith("display")||i.startsWith("flex")||i.startsWith("border")||i==="opacity"||i==="color"||i==="list-style-type").forEach(i=>e.style.setProperty(i,t.getPropertyValue(i),t.getPropertyPriority(i)))}function rI(n,e){n.draggable=!1,n.ondragstart=()=>!1,e?(n.style.userSelect="",n.style.WebkitUserSelect="",n.style.cursor=""):(n.style.userSelect="none",n.style.WebkitUserSelect="none",n.style.cursor="grab")}function tv(n){n.style.display="none",n.style.position="fixed",n.style.zIndex="-5"}function oI(n){n.style.visibility="hidden",n.setAttribute(pp,"true")}function lI(n){n.style.visibility="",n.removeAttribute(pp)}function cu(n,e=()=>{},t=()=>[]){n.forEach(i=>{const s=e(i);Object.keys(s).forEach(r=>{i.style[r]=s[r]}),t(i).forEach(r=>i.classList.add(r))})}function Wu(n,e=()=>{},t=()=>[]){n.forEach(i=>{const s=e(i);Object.keys(s).forEach(r=>{i.style[r]=""}),t(i).forEach(r=>i.classList.contains(r)&&i.classList.remove(r))})}function aI(n){const e=n.style.minHeight;n.style.minHeight=window.getComputedStyle(n).getPropertyValue("height");const t=n.style.minWidth;return n.style.minWidth=window.getComputedStyle(n).getPropertyValue("width"),function(){n.style.minHeight=e,n.style.minWidth=t}}const uI="--any--",cI=100,Bg=3,zg={outline:"rgba(255, 255, 102, 0.7) solid 2px"};let Ms,Li,xn,xc,ai,Lc,Yo,On,sr,Wn,zr=!1,yp=!1,vp,ua=!1,fu=[];const rs=new Map,li=new Map,Lf=new WeakMap;function fI(n,e){rs.has(e)||rs.set(e,new Set),rs.get(e).has(n)||(rs.get(e).add(n),jy())}function Fg(n,e){rs.get(e).delete(n),qy(),rs.get(e).size===0&&rs.delete(e)}function hI(){ZC();const n=rs.get(xc);for(const t of n)t.addEventListener(Nc,iv),t.addEventListener(aa,nv),t.addEventListener(Dc,sv);window.addEventListener(dp,Xo);const e=Math.max(cI,...Array.from(n.keys()).map(t=>li.get(t).dropAnimationDurationMs));YC(Li,n,e*1.07)}function dI(){QC();const n=rs.get(xc);for(const e of n)e.removeEventListener(Nc,iv),e.removeEventListener(aa,nv),e.removeEventListener(Dc,sv);window.removeEventListener(dp,Xo),XC()}function pI(n){return n.findIndex(e=>e[ki]===Us)}function Mc(n){return n.findIndex(e=>!!e[Is]&&e[ki]!==Us)}function iv(n){let{items:e,dropFromOthersDisabled:t}=li.get(n.currentTarget);if(t&&n.currentTarget!==ai)return;if(ua=!1,e=e.filter(o=>o[ki]!==Yo[ki]),ai!==n.currentTarget){const l=li.get(ai).items.filter(a=>!a[Is]);vr(ai,l,{trigger:on.DRAGGED_ENTERED_ANOTHER,id:xn[ki],source:yn.POINTER})}else{const o=pI(e);o!==-1&&e.splice(o,1)}const{index:i,isProximityBased:s}=n.detail.indexObj,r=s&&i===n.currentTarget.children.length-1?i+1:i;On=n.currentTarget,e.splice(r,0,Yo),vr(n.currentTarget,e,{trigger:on.DRAGGED_ENTERED,id:xn[ki],source:yn.POINTER})}function nv(n){if(!zr)return;const{items:e,dropFromOthersDisabled:t}=li.get(n.currentTarget);if(t&&n.currentTarget!==ai&&n.currentTarget!==On)return;const i=Mc(e),s=e.splice(i,1)[0];On=void 0;const{type:r,theOtherDz:o}=n.detail;if(r===Bu.OUTSIDE_OF_ANY||r===Bu.LEFT_FOR_ANOTHER&&o!==ai&&li.get(o).dropFromOthersDisabled){ua=!0,On=ai;const l=li.get(ai).items;l.splice(Lc,0,s),vr(ai,l,{trigger:on.DRAGGED_LEFT_ALL,id:xn[ki],source:yn.POINTER})}vr(n.currentTarget,e,{trigger:on.DRAGGED_LEFT,id:xn[ki],source:yn.POINTER})}function sv(n){const{items:e,dropFromOthersDisabled:t}=li.get(n.currentTarget);if(t&&n.currentTarget!==ai)return;ua=!1;const{index:i}=n.detail.indexObj,s=Mc(e);e.splice(s,1),e.splice(i,0,Yo),vr(n.currentTarget,e,{trigger:on.DRAGGED_OVER_INDEX,id:xn[ki],source:yn.POINTER})}function Vu(n){n.preventDefault();const e=n.touches?n.touches[0]:n;Wn={x:e.clientX,y:e.clientY},Li.style.transform=`translate3d(${Wn.x-sr.x}px, ${Wn.y-sr.y}px, 0)`}function Xo(){yp=!0,window.removeEventListener("mousemove",Vu),window.removeEventListener("touchmove",Vu),window.removeEventListener("mouseup",Xo),window.removeEventListener("touchend",Xo),dI(),nI(Li),On||(On=ai);let{items:n,type:e}=li.get(On);Wu(rs.get(e),s=>li.get(s).dropTargetStyle,s=>li.get(s).dropTargetClasses);let t=Mc(n);t===-1&&(t=Lc),n=n.map(s=>s[Is]?xn:s);function i(){vp(),qo(On,n,{trigger:ua?on.DROPPED_OUTSIDE_OF_ANY:on.DROPPED_INTO_ZONE,id:xn[ki],source:yn.POINTER}),On!==ai&&qo(ai,li.get(ai).items,{trigger:on.DROPPED_INTO_ANOTHER,id:xn[ki],source:yn.POINTER}),lI(On.children[t]),_I()}gI(t,i)}function gI(n,e){const t=Yy(On.children[n]),i={x:t.left-parseFloat(Li.style.left),y:t.top-parseFloat(Li.style.top)},{dropAnimationDurationMs:s}=li.get(On),r=`transform ${s}ms ease`;Li.style.transition=Li.style.transition?Li.style.transition+","+r:r,Li.style.transform=`translate3d(${i.x}px, ${i.y}px, 0)`,window.setTimeout(e,s)}function mI(n,e){fu.push({dz:n,destroy:e}),window.requestAnimationFrame(()=>{tv(n),document.body.appendChild(n)})}function _I(){Li.remove(),Ms.remove(),fu.length&&(fu.forEach(({dz:n,destroy:e})=>{e(),n.remove()}),fu=[]),Li=void 0,Ms=void 0,xn=void 0,xc=void 0,ai=void 0,Lc=void 0,Yo=void 0,On=void 0,sr=void 0,Wn=void 0,zr=!1,yp=!1,vp=void 0,ua=!1}function bI(n,e){let t=!1;const i={items:void 0,type:void 0,flipDurationMs:0,dragDisabled:!1,morphDisabled:!1,dropFromOthersDisabled:!1,dropTargetStyle:zg,dropTargetClasses:[],transformDraggedElement:()=>{},centreDraggedOnCursor:!1};let s=new Map;function r(){window.addEventListener("mousemove",a,{passive:!1}),window.addEventListener("touchmove",a,{passive:!1,capture:!1}),window.addEventListener("mouseup",l,{passive:!1}),window.addEventListener("touchend",l,{passive:!1})}function o(){window.removeEventListener("mousemove",a),window.removeEventListener("touchmove",a),window.removeEventListener("mouseup",l),window.removeEventListener("touchend",l)}function l(){o(),Ms=void 0,sr=void 0,Wn=void 0}function a(h){h.preventDefault();const d=h.touches?h.touches[0]:h;Wn={x:d.clientX,y:d.clientY},(Math.abs(Wn.x-sr.x)>=Bg||Math.abs(Wn.y-sr.y)>=Bg)&&(o(),c())}function u(h){if(h.target!==h.currentTarget&&(h.target.value!==void 0||h.target.isContentEditable)||h.button||zr)return;h.stopPropagation();const d=h.touches?h.touches[0]:h;sr={x:d.clientX,y:d.clientY},Wn={...sr},Ms=h.currentTarget,r()}function c(){zr=!0;const h=s.get(Ms);Lc=h,ai=Ms.parentElement;const d=ai.getRootNode(),p=d.body||d,{items:g,type:m,centreDraggedOnCursor:_}=i;xn={...g[h]},xc=m,Yo={...xn,[Is]:!0};const b={...Yo,[ki]:Us};Li=iI(Ms,_&&Wn);function y(){Li.parentElement?window.requestAnimationFrame(y):(p.appendChild(Li),Li.focus(),hI(),tv(Ms),p.appendChild(Ms))}window.requestAnimationFrame(y),cu(Array.from(rs.get(i.type)).filter(k=>k===ai||!li.get(k).dropFromOthersDisabled),k=>li.get(k).dropTargetStyle,k=>li.get(k).dropTargetClasses),g.splice(h,1,b),vp=aI(ai),vr(ai,g,{trigger:on.DRAG_STARTED,id:xn[ki],source:yn.POINTER}),window.addEventListener("mousemove",Vu,{passive:!1}),window.addEventListener("touchmove",Vu,{passive:!1,capture:!1}),window.addEventListener("mouseup",Xo,{passive:!1}),window.addEventListener("touchend",Xo,{passive:!1})}function f({items:h=void 0,flipDurationMs:d=0,type:p=uI,dragDisabled:g=!1,morphDisabled:m=!1,dropFromOthersDisabled:_=!1,dropTargetStyle:b=zg,dropTargetClasses:y=[],transformDraggedElement:k=()=>{},centreDraggedOnCursor:T=!1}){i.dropAnimationDurationMs=d,i.type&&p!==i.type&&Fg(n,i.type),i.type=p,fI(n,p),i.items=[...h],i.dragDisabled=g,i.morphDisabled=m,i.transformDraggedElement=k,i.centreDraggedOnCursor=T,t&&zr&&!yp&&(!HC(b,i.dropTargetStyle)||!UC(y,i.dropTargetClasses))&&(Wu([n],()=>i.dropTargetStyle,()=>y),cu([n],()=>b,()=>y)),i.dropTargetStyle=b,i.dropTargetClasses=[...y];function I(x,N){return li.get(x)?li.get(x)[N]:i[N]}t&&zr&&i.dropFromOthersDisabled!==_&&(_?Wu([n],x=>I(x,"dropTargetStyle"),x=>I(x,"dropTargetClasses")):cu([n],x=>I(x,"dropTargetStyle"),x=>I(x,"dropTargetClasses"))),i.dropFromOthersDisabled=_,li.set(n,i);const R=Mc(i.items);for(let x=0;x{f(h)},destroy:()=>{function h(){Fg(n,li.get(n).type),li.delete(n)}zr?mI(n,h):h()}}}const zh={DND_ZONE_ACTIVE:"dnd-zone-active",DND_ZONE_DRAG_DISABLED:"dnd-zone-drag-disabled"},rv={[zh.DND_ZONE_ACTIVE]:"Tab to one the items and press space-bar or enter to start dragging it",[zh.DND_ZONE_DRAG_DISABLED]:"This is a disabled drag and drop list"},yI="dnd-action-aria-alert";let oi;function Fh(){oi||(oi=document.createElement("div"),function(){oi.id=yI,oi.style.position="fixed",oi.style.bottom="0",oi.style.left="0",oi.style.zIndex="-5",oi.style.opacity="0",oi.style.height="0",oi.style.width="0",oi.setAttribute("role","alert")}(),document.body.prepend(oi),Object.entries(rv).forEach(([n,e])=>document.body.prepend(kI(n,e))))}function vI(){return gp?null:(document.readyState==="complete"?Fh():window.addEventListener("DOMContentLoaded",Fh),{...zh})}function wI(){gp||!oi||(Object.keys(rv).forEach(n=>{var e;return(e=document.getElementById(n))==null?void 0:e.remove()}),oi.remove(),oi=void 0)}function kI(n,e){const t=document.createElement("div");return t.id=n,t.innerHTML=`

${e}

`,t.style.display="none",t.style.position="fixed",t.style.zIndex="-5",t}function Lo(n){if(gp)return;oi||Fh(),oi.innerHTML="";const e=document.createTextNode(n);oi.appendChild(e),oi.style.display="none",oi.style.display="inline"}const SI="--any--",Wg={outline:"rgba(255, 255, 102, 0.7) solid 2px"};let Vn=!1,Wh,Ki,Yr="",Br,_s,lr="";const Hu=new WeakSet,Vg=new WeakMap,Hg=new WeakMap,Vh=new Map,Di=new Map,is=new Map;let Uu;function TI(n,e){is.size===0&&(Uu=vI(),window.addEventListener("keydown",ov),window.addEventListener("click",lv)),is.has(e)||is.set(e,new Set),is.get(e).has(n)||(is.get(e).add(n),jy())}function Ug(n,e){Ki===n&&Gl(),is.get(e).delete(n),qy(),is.get(e).size===0&&is.delete(e),is.size===0&&(window.removeEventListener("keydown",ov),window.removeEventListener("click",lv),Uu=void 0,wI())}function ov(n){if(Vn)switch(n.key){case"Escape":{Gl();break}}}function lv(){Vn&&(Hu.has(document.activeElement)||Gl())}function CI(n){if(!Vn)return;const e=n.currentTarget;if(e===Ki)return;Yr=e.getAttribute("aria-label")||"";const{items:t}=Di.get(Ki),i=t.find(u=>u[ki]===_s),s=t.indexOf(i),r=t.splice(s,1)[0],{items:o,autoAriaDisabled:l}=Di.get(e);e.getBoundingClientRect().topn(Di.get(e)))}function Gl(n=!0){Di.get(Ki).autoAriaDisabled||Lo(`Stopped dragging item ${lr}`),Hu.has(document.activeElement)&&document.activeElement.blur(),n&&vr(Ki,Di.get(Ki).items,{trigger:on.DRAG_STOPPED,id:_s,source:yn.KEYBOARD}),Wu(is.get(Wh),e=>Di.get(e).dropTargetStyle,e=>Di.get(e).dropTargetClasses),Br=null,_s=null,lr="",Wh=null,Ki=null,Yr="",Vn=!1,av()}function II(n,e){const t={items:void 0,type:void 0,dragDisabled:!1,zoneTabIndex:0,dropFromOthersDisabled:!1,dropTargetStyle:Wg,dropTargetClasses:[],autoAriaDisabled:!1};function i(c,f,h){c.length<=1||c.splice(h,1,c.splice(f,1,c[h])[0])}function s(c){switch(c.key){case"Enter":case" ":{if((c.target.disabled!==void 0||c.target.href||c.target.isContentEditable)&&!Hu.has(c.target))return;c.preventDefault(),c.stopPropagation(),Vn?Gl():r(c);break}case"ArrowDown":case"ArrowRight":{if(!Vn)return;c.preventDefault(),c.stopPropagation();const{items:f}=Di.get(n),h=Array.from(n.children),d=h.indexOf(c.currentTarget);d0&&(t.autoAriaDisabled||Lo(`Moved item ${lr} to position ${d} in the list ${Yr}`),i(f,d,d-1),qo(n,f,{trigger:on.DROPPED_INTO_ZONE,id:_s,source:yn.KEYBOARD}));break}}}function r(c){l(c.currentTarget),Ki=n,Wh=t.type,Vn=!0;const f=Array.from(is.get(t.type)).filter(h=>h===Ki||!Di.get(h).dropFromOthersDisabled);if(cu(f,h=>Di.get(h).dropTargetStyle,h=>Di.get(h).dropTargetClasses),!t.autoAriaDisabled){let h=`Started dragging item ${lr}. Use the arrow keys to move it within its list ${Yr}`;f.length>1&&(h+=", or tab to another list in order to move the item into it"),Lo(h)}vr(n,Di.get(n).items,{trigger:on.DRAG_STARTED,id:_s,source:yn.KEYBOARD}),av()}function o(c){Vn&&c.currentTarget!==Br&&(c.stopPropagation(),Gl(!1),r(c))}function l(c){const{items:f}=Di.get(n),h=Array.from(n.children),d=h.indexOf(c);Br=c,Br.tabIndex=0,_s=f[d][ki],lr=h[d].getAttribute("aria-label")||""}function a({items:c=[],type:f=SI,dragDisabled:h=!1,zoneTabIndex:d=0,dropFromOthersDisabled:p=!1,dropTargetStyle:g=Wg,dropTargetClasses:m=[],autoAriaDisabled:_=!1}){t.items=[...c],t.dragDisabled=h,t.dropFromOthersDisabled=p,t.zoneTabIndex=d,t.dropTargetStyle=g,t.dropTargetClasses=m,t.autoAriaDisabled=_,t.type&&f!==t.type&&Ug(n,t.type),t.type=f,TI(n,f),_||(n.setAttribute("aria-disabled",h),n.setAttribute("role","list"),n.setAttribute("aria-describedby",h?Uu.DND_ZONE_DRAG_DISABLED:Uu.DND_ZONE_ACTIVE)),Di.set(n,t),Vn?n.tabIndex=n===Ki||Br.contains(n)||t.dropFromOthersDisabled||Ki&&t.type!==Di.get(Ki).type?-1:0:n.tabIndex=t.zoneTabIndex,n.addEventListener("focus",CI);for(let b=0;b{a(c)},destroy:()=>{Ug(n,t.type),Di.delete(n),Vh.delete(n)}};return Vh.set(n,u),u}function wp(n,e){Gg(e);const t=bI(n,e),i=II(n,e);return{update:s=>{Gg(s),t.update(s),i.update(s)},destroy:()=>{t.destroy(),i.destroy()}}}function Gg(n){const{items:e,flipDurationMs:t,type:i,dragDisabled:s,morphDisabled:r,dropFromOthersDisabled:o,zoneTabIndex:l,dropTargetStyle:a,dropTargetClasses:u,transformDraggedElement:c,autoAriaDisabled:f,centreDraggedOnCursor:h,...d}=n;if(Object.keys(d).length>0,!e)throw new Error("no 'items' key provided to dndzone");const p=e.find(g=>!{}.hasOwnProperty.call(g,ki));if(p)throw new Error(`missing '${ki}' property for item ${xf(p)}`);if(u&&!Array.isArray(u))throw new Error(`dropTargetClasses should be an array but instead it is a ${typeof u}, ${xf(u)}`);if(l&&!EI(l))throw new Error(`zoneTabIndex should be a number but instead it is a ${typeof l}, ${xf(l)}`)}function EI(n){return!isNaN(n)&&function(e){return(e|0)===e}(parseFloat(n))}function jl(n){return"svelteComponentType"in n}const Mf=n=>(n==null&&(n=[]),n.join(",")),Rf=n=>n===""||n==null?[]:n.split(",").map(e=>e.trim()),uv=[{categoryName:"appearance",specs:[{name:"title",type:"string",location:"widget",defaultValue:"",editable:!0},{name:"hidden",type:"boolean",location:"widget",defaultValue:!1,editable:!0},{name:"disabled",type:"boolean",location:"widget",defaultValue:!1,editable:!0},{name:"direction",type:"enum",location:"widget",editable:!0,values:["horizontal","vertical"],defaultValue:"vertical",canShow:n=>n.type==="container"},{name:"classes",type:"string",location:"widget",defaultValue:"",editable:!0},{name:"style",type:"string",location:"widget",defaultValue:"",editable:!0},{name:"nodeDisabledState",type:"enum",location:"widget",editable:!0,values:["visible","disabled","hidden"],defaultValue:"hidden",canShow:n=>n.type==="widget"},{name:"variant",type:"enum",location:"widget",editable:!0,values:["block","accordion","tabs"],defaultValue:"block",canShow:n=>n.type==="container",refreshPanelOnChange:!0},{name:"containerVariant",type:"enum",location:"widget",editable:!0,values:["block","hidden"],defaultValue:"hidden",canShow:n=>n.type==="container"},{name:"openOnStartup",type:"boolean",location:"widget",editable:!0,defaultValue:!1,canShow:n=>n.type==="container"&&n.attrs.variant==="accordion"},{name:"buttonVariant",type:"enum",location:"widget",editable:!0,validNodeTypes:["ui/button"],values:["primary","secondary"],defaultValue:"primary"},{name:"buttonSize",type:"enum",location:"widget",editable:!0,validNodeTypes:["ui/button"],values:["large","small"],defaultValue:"large"},{name:"convertValueToLabelCode",type:"string",location:"nodeProps",editable:!0,multiline:!0,validNodeTypes:["ui/combo"],defaultValue:""},{name:"variant",type:"enum",location:"widget",editable:!0,validNodeTypes:["ui/image_editor"],values:["inlineEditor","fileUpload"],defaultValue:"inlineEditor",refreshPanelOnChange:!0},{name:"variant",type:"enum",location:"widget",editable:!0,validNodeTypes:["ui/gallery"],values:["gallery","image"],defaultValue:"gallery",refreshPanelOnChange:!0},{name:"variant",type:"enum",location:"widget",editable:!0,validNodeTypes:["ui/text"],values:["text","code"],defaultValue:"text",refreshPanelOnChange:!0},{name:"multiline",type:"boolean",location:"nodeProps",editable:!0,validNodeTypes:["ui/text"],defaultValue:!1},{name:"lines",type:"number",location:"nodeProps",editable:!0,validNodeTypes:["ui/text"],defaultValue:5,min:1,max:100,step:1},{name:"maxLines",type:"number",location:"nodeProps",editable:!0,validNodeTypes:["ui/text"],defaultValue:5,min:1,max:100,step:1}]},{categoryName:"behavior",specs:[{name:"saveUserState",type:"boolean",location:"nodeVars",editable:!0,defaultValue:!0},{name:"mode",type:"enum",location:"nodeVars",editable:!0,values:["ALWAYS","NEVER"],defaultValue:"ALWAYS",serialize:n=>n===ft.ALWAYS?"ALWAYS":"NEVER",deserialize:n=>n==="ALWAYS"?ft.ALWAYS:ft.NEVER},{name:"horizontal",type:"boolean",location:"nodeVars",editable:!0,defaultValue:!1},{name:"tags",type:"string",location:"nodeProps",editable:!0,defaultValue:[],serialize:Mf,deserialize:Rf},{name:"tags",type:"string",location:"widget",editable:!0,defaultValue:[],serialize:Mf,deserialize:Rf,canShow:n=>n.type==="container"},{name:"defaultValue",type:"string",location:"nodeProps",editable:!0,defaultValue:"A",validNodeTypes:["ui/combo"]},{name:"defaultValue",type:"boolean",location:"nodeProps",editable:!0,defaultValue:!0,validNodeTypes:["ui/checkbox"]},{name:"defaultValue",type:"number",location:"nodeProps",editable:!0,defaultValue:0,min:-18,max:18,validNodeTypes:["ui/number"]},{name:"min",type:"number",location:"nodeProps",editable:!0,defaultValue:0,min:-18,max:18,validNodeTypes:["ui/number"]},{name:"max",type:"number",location:"nodeProps",editable:!0,defaultValue:10,min:-18,max:18,validNodeTypes:["ui/number"]},{name:"step",type:"number",location:"nodeProps",editable:!0,defaultValue:1,min:-18,max:18,validNodeTypes:["ui/number"]},{name:"param",type:"string",location:"nodeProps",editable:!0,validNodeTypes:["ui/button"],defaultValue:"bang"},{name:"updateMode",type:"enum",location:"nodeProps",editable:!0,validNodeTypes:["ui/gallery"],values:["replace","append"],defaultValue:"replace"},{name:"autoSelectOnUpdate",type:"boolean",location:"nodeProps",editable:!0,validNodeTypes:["ui/gallery"],defaultValue:!0},{name:"showPreviews",type:"boolean",location:"nodeProps",editable:!0,validNodeTypes:["ui/gallery"],defaultValue:!0},{name:"maskCount",type:"number",location:"nodeProps",editable:!0,validNodeTypes:["ui/image_upload"],defaultValue:0,min:0,max:8,step:1},{name:"defaultValue",type:"string",location:"nodeProps",editable:!0,defaultValue:"Choice A",validNodeTypes:["ui/radio"]},{name:"choices",type:"string",location:"nodeProps",editable:!0,validNodeTypes:["ui/radio"],defaultValue:["Choice A","Choice B","Choice C"],serialize:Mf,deserialize:Rf},{name:"defaultValue",type:"string",location:"nodeProps",editable:!0,defaultValue:"",validNodeTypes:["ui/text"]},{name:"title",type:"string",location:"workflow",editable:!0,defaultValue:"New Workflow"},{name:"queuePromptButtonName",type:"string",location:"workflow",editable:!0,defaultValue:"Queue Prompt"},{name:"queuePromptButtonRunWorkflow",type:"boolean",location:"workflow",editable:!0,defaultValue:!0},{name:"queuePromptButtonDefaultWorkflow",type:"string",location:"workflow",editable:!0,defaultValue:""},{name:"showDefaultNotifications",type:"boolean",location:"workflow",editable:!0,defaultValue:!0}]}];let jg=0;for(const n of Object.values(uv))for(const e of Object.values(n.specs))e.id=jg,jg+=1;const hu={},Gu={};for(const n of Object.values(uv))for(const e of Object.values(n.specs))e.defaultValue!=null&&(e.location==="widget"?hu[e.name]=e.defaultValue:e.location==="workflow"&&(Gu[e.name]=e.defaultValue));function cv(n=null){const e=Be({root:null,allItems:{},allItemsByNode:{},isMenuOpen:!1,isConfiguring:!0});function t(){var N;const x=ie(e);if(x.root===null)throw"Root container was null!";if(x.root.type==="container"){const O=x.root,M=(((N=x.allItems[O.id])==null?void 0:N.children)||[]).find(L=>L.type==="container");return M&&M.type==="container"?M:O}return null}function i(x,N={},O){const D=ie(e),M={type:"container",id:fi(),attrsChanged:Be(0),attrs:{...hu,title:"Container",...N}},L={dragItem:M,children:[],parent:null};if(D.allItemsByNode[M.id]!=null)throw new Error(`Container with ID ${M.id} already registered!!!`);return D.allItems[M.id]=L,x&&c(M,x,O),e.set(D),I(),M}function s(x,N,O={},D){const M=ie(e),L=N.title||"Widget",V={type:"widget",id:fi(),node:N,attrsChanged:Be(0),attrs:{...hu,title:L,...O}},X={dragItem:V,children:[],parent:null};if(M.allItems[V.id]!=null)throw new Error(`Widget with ID ${V.id} already registered!!!`);if(M.allItems[V.id]=X,M.allItemsByNode[N.id]!=null)throw new Error(`Widget's node with ID ${N.id} already registered!!!`);return M.allItemsByNode[N.id]=X,c(V,x,D),I(),V}function r(x,N){const O=ie(e);N&&(O.allItems[x.id].children=N);for(const D of O.allItems[x.id].children)D.id===Us||D.type==="template"||(O.allItems[D.id].parent=x);return e.set(O),O.allItems[x.id].children}function o(x,N){const O=x.allItems[N];if(O.children&&O.children.length>0)throw`Tried removing entry ${N} but it still had children!`;const D=O.parent;if(D){const M=x.allItems[D.id];M.children=M.children.filter(L=>L.id!==N)}if(O.dragItem.type==="widget"){const M=O.dragItem;delete x.allItemsByNode[M.node.id]}delete x.allItems[N],I()}function l(x,N){if(!jl(x))return;const O=ie(e);if(O.isConfiguring)return;let D={};if(N.addedBy==="template")return;if(N.addedBy==="moveIntoSubgraph"||N.addedBy==="moveOutOfSubgraph"){const L=O.allItemsByNode[N.prevNodeID];delete O.allItemsByNode[N.prevNodeID],O.allItemsByNode[x.id]=L;return}else if((N.addedBy==="cloneSelection"||N.addedBy==="paste")&&N.prevNodeID!=null){let L=O.allItemsByNode[x.id];if(L==null){const V=N.cloneData.forNode[N.prevNodeID];if(V&&V.subgraphNewIDMapping!=null){const q=V.subgraphNewIDMapping.nodeIDs[x.id];q&&(L=O.allItemsByNode[q])}}L&&(D=structuredClone(L.dragItem.attrs))}const M=t();s(M,x,D)}function a(x,N){if(N.removedBy==="moveIntoSubgraph"||N.removedBy==="moveOutOfSubgraph")return;const O=ie(e);let D=Object.entries(O.allItems).filter(M=>M[1].dragItem.type==="widget"&&M[1].dragItem.node.id===x.id);for(const M of D){const[L,V]=M;o(O,L)}e.set(O)}function u(x,N,O,D,M){const L={},V=q=>(L[q]||(L[q]=fi()),L[q]);for(const[q,K]of Object.entries(x.layout.allItems)){const Q=V(q);x.layout.allItems[Q]=K,K.dragItem.id=Q,K.parent&&(K.parent=V(K.parent)),K.children=K.children.map(V),K.dragItem.type==="widget"&&(K.dragItem.nodeId=O[K.dragItem.nodeId].id)}x.layout.root&&(x.layout.root=V(x.layout.root),x.layout.allItems[x.layout.root].parent=null);const X=y(x.layout,N);return e.update(q=>(q.allItems={...q.allItems,...X.allItems},q.allItemsByNode={...q.allItemsByNode,...X.allItemsByNode},q)),c(X.root,D,M),X.root}function c(x,N,O){const D=ie(e),M=D.allItems[x.id];if(!M||M.parent&&M.parent.id===N.id&&M.children.indexOf(x)===O)return;if(M.parent){const V=D.allItems[M.parent.id],X=V.children.findIndex(q=>q.id===x.id);if(X!==-1)V.children.splice(X,1);else throw"Child not found in parent!"}const L=D.allItems[N.id];O!=null&&O>=0?L.children.splice(O,0,x):L.children.push(x),D.allItems[x.id].parent=L.dragItem,I(),e.set(D)}function f(x,N={}){if(x.length===0)return;const O=ie(e),D=O.allItems[x[0]].parent||t();if(D===null||D.type!=="container")return;let M;if(D){const V=O.allItems[D.id].children.findIndex(X=>X.id===x[0]);V!==-1&&(M=V)}const L=i(D,{title:"",containerVariant:"block",...N},M);for(const V of x){const X=O.allItems[V].dragItem;c(X,L)}return I(),e.set(O),L}function h(x){const N=ie(e),O=N.allItems[x.id].parent;if(!O||O.type!=="container")return;let D;const L=N.allItems[O.id].children.findIndex(q=>q.id===x.id);L!==-1&&(D=L);const X=[...N.allItems[x.id].children];for(const q of X)c(q,O,D);o(N,x.id),e.set(N)}function d(x){const N=ie(e),O=Object.entries(N.allItems).find(D=>D[1].dragItem.type==="widget"&&D[1].dragItem.node.id===x);return O?O[1]:null}function p(x){const N=d(x);return N?N.dragItem:null}function*g(x){var D;const N=ie(e);if(x||(x=(D=N.root)==null?void 0:D.id),x==null)return;const O=[N.allItems[x]];for(;O.length>0;){const M=O.shift();if(yield M,M.children)for(const L of M.children)O.push(N.allItems[L.id])}}function m(){e.set({root:null,allItems:{},allItemsByNode:{},isMenuOpen:!1,isConfiguring:!0});const x=i(null,{direction:"horizontal",title:""}),N=i(x,{direction:"vertical",title:""}),O=i(x,{direction:"vertical",title:""});return e.update(D=>(D.root=x,D.isConfiguring=!1,D)),{root:x,left:N,right:O}}function _(x){var M,L;const N=ie(e);if(!N.allItems[x])throw"Root not contained in layout!";const O={},D=[N.allItems[x]];for(;D.length>0;){const V=D.shift();if(V.dragItem.type!=="template"&&(O[V.dragItem.id]={dragItem:{type:V.dragItem.type,id:V.dragItem.id,nodeId:(M=V.dragItem.node)==null?void 0:M.id,attrs:V.dragItem.attrs},children:V.children.map(X=>X.id),parent:(L=V.parent)==null?void 0:L.id},V.children))for(const X of V.children)D.push(N.allItems[X.id])}return{root:x,allItems:O}}function b(){var O,D,M;const x=ie(e),N={};for(const L of Object.entries(x.allItems)){const[V,X]=L;X.dragItem.type!=="template"&&(N[V]={dragItem:{type:X.dragItem.type,id:X.dragItem.id,nodeId:(O=X.dragItem.node)==null?void 0:O.id,attrs:X.dragItem.attrs},children:X.children.map(q=>q.id),parent:(D=X.parent)==null?void 0:D.id})}return{root:(M=x.root)==null?void 0:M.id,allItems:N}}function y(x,N){const O={},D={};for(const V of Object.entries(x.allItems)){const[X,q]=V;if(q.dragItem.type==="template")continue;const K={type:q.dragItem.type,id:q.dragItem.id,attrs:{...hu,...q.dragItem.attrs},attrsChanged:Be(0)},Q={dragItem:K,children:[],parent:null};if(O[X]=Q,K.type==="widget"){const J=K;if(J.node=N.getNodeByIdRecursive(q.dragItem.nodeId),J.node==null)throw`Node in litegraph not found! ${q.dragItem.nodeId}`;D[q.dragItem.nodeId]=Q}}for(const V of Object.entries(x.allItems)){const[X,q]=V;for(const K of q.children)O[X].children.push(O[K].dragItem);q.parent&&(O[X].parent=O[q.parent].dragItem)}let M=null;return x.root&&(M=O[x.root].dragItem),{root:M,allItems:O,allItemsByNode:D,isMenuOpen:!1,isConfiguring:!1}}function k(x,N){const O=y(x,N);e.set(O),Zt.update(D=>(D.refreshPropsPanel+=1,D))}function T(){e.update(x=>(x.isConfiguring=!0,x))}function I(){ie(e).isConfiguring||n==null||n.notifyModified()}return{...e,workflow:n,addContainer:i,addWidget:s,findDefaultContainerForInsertion:t,updateChildren:r,nodeAdded:l,nodeRemoved:a,insertTemplate:u,moveItem:c,groupItems:f,findLayoutEntryForNode:d,findLayoutForNode:p,iterateBreadthFirst:g,ungroup:h,initDefaultLayout:m,onStartConfigure:T,serialize:b,serializeAtRoot:_,deserialize:k,notifyWorkflowModified:I}}function AI(n){if(ie(Zt).all[n.id]!=null)throw new Error(`Layout state already created! ${id}`);const e=cv(n);return Zt.update(t=>(t.all[n.id]=e,t)),e}function OI(n){const e=ie(Zt);if(e.all[n]==null)throw new Error(`No workflow with ID registered! ${n}`);delete e.all[n]}function NI(n){return ie(Zt).all[n]}function fv(n){return"workflowID"in n&&n.workflowID!=null?ie(Zt).all[n.workflowID]:null}function hv(n){const e=n.getRootGraph();return e==null?null:fv(e)}function DI(n){return Object.values(ie(Zt).all).find(e=>ie(e).allItems[n]!=null)}function xI(n){const e=hv(n);return e==null?null:e.findLayoutForNode(n.id)}const LI=Be({all:{},refreshPropsPanel:0}),Zt={...LI,create:AI,createRaw:cv,remove:OI,getLayout:NI,getLayoutByGraph:fv,getLayoutByNode:hv,getLayoutByDragItemID:DI,getDragItemByNode:xI};function dv(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var kp={exports:{}},Mo=typeof Reflect=="object"?Reflect:null,qg=Mo&&typeof Mo.apply=="function"?Mo.apply:function(e,t,i){return Function.prototype.apply.call(e,t,i)},du;Mo&&typeof Mo.ownKeys=="function"?du=Mo.ownKeys:Object.getOwnPropertySymbols?du=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:du=function(e){return Object.getOwnPropertyNames(e)};var pv=Number.isNaN||function(e){return e!==e};function Ct(){Ct.init.call(this)}kp.exports=Ct;kp.exports.once=BI;Ct.EventEmitter=Ct;Ct.prototype._events=void 0;Ct.prototype._eventsCount=0;Ct.prototype._maxListeners=void 0;var Yg=10;function Rc(n){if(typeof n!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n)}Object.defineProperty(Ct,"defaultMaxListeners",{enumerable:!0,get:function(){return Yg},set:function(n){if(typeof n!="number"||n<0||pv(n))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+n+".");Yg=n}});Ct.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Ct.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||pv(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function gv(n){return n._maxListeners===void 0?Ct.defaultMaxListeners:n._maxListeners}Ct.prototype.getMaxListeners=function(){return gv(this)};Ct.prototype.emit=function(e){for(var t=[],i=1;i0&&(o=t[0]),o instanceof Error)throw o;var l=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw l.context=o,l}var a=r[e];if(a===void 0)return!1;if(typeof a=="function")qg(a,this,t);else for(var u=a.length,c=vv(a,u),i=0;i0&&o.length>s&&!o.warned){o.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=n,l.type=e,l.count=o.length}return n}Ct.prototype.addListener=function(e,t){return mv(this,e,t,!1)};Ct.prototype.on=Ct.prototype.addListener;Ct.prototype.prependListener=function(e,t){return mv(this,e,t,!0)};function MI(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _v(n,e,t){var i={fired:!1,wrapFn:void 0,target:n,type:e,listener:t},s=MI.bind(i);return s.listener=t,i.wrapFn=s,s}Ct.prototype.once=function(e,t){return Rc(t),this.on(e,_v(this,e,t)),this};Ct.prototype.prependOnceListener=function(e,t){return Rc(t),this.prependListener(e,_v(this,e,t)),this};Ct.prototype.removeListener=function(e,t){var i,s,r,o,l;if(Rc(t),s=this._events,s===void 0)return this;if(i=s[e],i===void 0)return this;if(i===t||i.listener===t)--this._eventsCount===0?this._events=Object.create(null):(delete s[e],s.removeListener&&this.emit("removeListener",e,i.listener||t));else if(typeof i!="function"){for(r=-1,o=i.length-1;o>=0;o--)if(i[o]===t||i[o].listener===t){l=i[o].listener,r=o;break}if(r<0)return this;r===0?i.shift():RI(i,r),i.length===1&&(s[e]=i[0]),s.removeListener!==void 0&&this.emit("removeListener",e,l||t)}return this};Ct.prototype.off=Ct.prototype.removeListener;Ct.prototype.removeAllListeners=function(e){var t,i,s;if(i=this._events,i===void 0)return this;if(i.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):i[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete i[e]),this;if(arguments.length===0){var r=Object.keys(i),o;for(s=0;s=0;s--)this.removeListener(e,t[s]);return this};function bv(n,e,t){var i=n._events;if(i===void 0)return[];var s=i[e];return s===void 0?[]:typeof s=="function"?t?[s.listener||s]:[s]:t?PI(s):vv(s,s.length)}Ct.prototype.listeners=function(e){return bv(this,e,!0)};Ct.prototype.rawListeners=function(e){return bv(this,e,!1)};Ct.listenerCount=function(n,e){return typeof n.listenerCount=="function"?n.listenerCount(e):yv.call(n,e)};Ct.prototype.listenerCount=yv;function yv(n){var e=this._events;if(e!==void 0){var t=e[n];if(typeof t=="function")return 1;if(t!==void 0)return t.length}return 0}Ct.prototype.eventNames=function(){return this._eventsCount>0?du(this._events):[]};function vv(n,e){for(var t=new Array(e),i=0;i(n.reconnecting=!0,n))}function VI(){Sp.update(n=>(n.reconnecting=!1,n))}const bi={...Sp,reconnecting:WI,reconnected:VI};class Sv extends fp{constructor(t){super();P(this,"eventBus",new kv);P(this,"workflowID",null);this.workflowID=t}get workflow(){var i;const t=(i=this.getRootGraph())==null?void 0:i.workflowID;return t==null?null:ht.getWorkflow(t)}get layout(){var t;return(t=this.workflow)==null?void 0:t.layout}onConfigure(){}onBeforeChange(t,i){this.workflow!=null&&this.workflow.notifyModified()}onAfterChange(t,i){}onAfterExecute(){this.eventBus.emit("afterExecute")}onNodeAdded(t,i){if(t.getRootGraph()!=null&&!this._is_subgraph&&this.workflowID!=null){const s=ie(Zt).all[this.workflowID];if(s===null)throw new Error(`LGraph with workflow missing layout! ${this.workflowID}`);this.doAddNode(t,s,i)}this.workflow!=null&&this.workflow.notifyModified(),this.eventBus.emit("nodeAdded",t)}doAddNode(t,i,s){if(i.nodeAdded(t,s),t.properties.tags==null&&(t.properties.tags=[]),t.canInheritSlotTypes&&t.inputs.length>1&&(t.color||(t.color=re.node_colors.green.color),t.bgColor||(t.bgColor=re.node_colors.green.bgColor)),"outputProperties"in t){const r=t;for(const o of r.outputProperties)r.addPropertyAsOutput(o.name,o.type)}if("defaultWidgets"in t&&!("svelteComponentType"in t)){const r=t,o=r.defaultWidgets;if(o&&o.inputs)for(const l of Object.entries(r.defaultWidgets.inputs)){const[a,u]=l,c=r.inputs[a];c.defaultWidgetNode=u.defaultWidgetNode,u.config&&(c.config=u.config)}}if(ie(bi).autoAddUI&&!("svelteComponentType"in t)&&s.addedBy==null){const r=t,o=[];for(let u=0;u{var c,f;return(f=(c=ie(i).allItemsByNode[u.id])==null?void 0:c.dragItem)==null?void 0:f.id}).filter(Boolean),a=w.registered_node_types[t.type];i.groupItems(l,{title:a.title,variant:"accordion",openOnStartup:!0})}if(t.is(an))for(const r of t.subgraph.iterateNodesInOrder())this.doAddNode(r,i,s);this.workflow!=null&&this.workflow.notifyModified()}onNodeRemoved(t,i){if(Ri.clear(),!this._is_subgraph&&this.workflowID!=null){const s=ie(Zt).all[this.workflowID];if(s===null)throw new Error(`ComfyGraph with workflow missing layout! ${this.workflowID}`);if(s.nodeRemoved(t,i),t.is(an))for(const r of t.subgraph.iterateNodesInOrder())this.onNodeRemoved(r,i)}this.workflow!=null&&this.workflow.notifyModified(),this.eventBus.emit("nodeRemoved",t)}onInputsOutputsChange(){this.workflow!=null&&this.workflow.notifyModified()}onNodeConnectionChange(t,i,s,r,o){this.workflow!=null&&this.workflow.notifyModified(),this.eventBus.emit("nodeConnectionChanged",t,i,s,r,o)}insertTemplate(t,i){const s=[0,0],r={};for(var o=0;ot.draw(!0);this.canvases[e]={canvas:t,canvasHandler:i,state:{offset:[0,0],scale:1}},this.graph.attachCanvas(t),this.graph.eventBus.on("afterExecute",i),Object.keys(this.canvases).length===1&&this.graph.start()}stop(e){const t=this.canvases[e];t!=null&&(t.canvas.closeAllSubgraphs(),this.graph.detachCanvas(t.canvas),this.graph.eventBus.removeListener("afterExecute",t.canvasHandler),delete this.canvases[e],Object.keys(this.canvases).length===0&&this.graph.stop())}stopAll(){for(const e of Object.keys(this.canvases))this.stop(e);this.graph.stop()}serialize(e){const i=this.graph.serialize(),s=e.serialize();return{graph:i,layout:s,attrs:this.attrs}}static create(e="New Workflow"){const t=new ca(e),i=Zt.create(t);return[t,i]}deserialize(e,t){this.missingNodeTypes.clear();for(let i of t.graph.nodes)i.type=="T2IAdapterLoader"&&(i.type="ControlNetLoader"),i.type in w.registered_node_types||this.missingNodeTypes.add(i.type);e.onStartConfigure();for(let i of t.graph.nodes)i.type=="T2IAdapterLoader"&&(i.type="ControlNetLoader");this.graph.configure(t.graph),this.graph.workflowID=this.id;for(const i of this.graph._nodes){const s=i.computeSize();s[0]=Math.max(i.size[0],s[0]),s[1]=Math.max(i.size[1],s[1]),i.size=s}this.attrs={...Gu,...t.attrs},e.deserialize(t.layout,this.graph)}}const Zi=Be({openedWorkflows:[],openedWorkflowsByID:{},activeWorkflowID:null,activeWorkflow:null});function fa(n){return ie(Zi).openedWorkflowsByID[n]}function Tv(n){var t;const e=(t=n.getRootGraph())==null?void 0:t.workflowID;return e==null?null:fa(e)}function HI(n){return Tv(n.graph)}function UI(n){return Object.values(ie(Zi).openedWorkflows).find(e=>e.graph.getNodeByIdRecursive(n)!=null)}function GI(){const n=ie(Zi);return n.activeWorkflowID==null?null:n.openedWorkflowsByID[n.activeWorkflowID]}function jI(n,e="New Workflow",t=!1){const i=new ca(e);Zt.create(i).initDefaultLayout();const r=ie(Zi);return r.openedWorkflows.push(i),r.openedWorkflowsByID[i.id]=i,(t||r.activeWorkflowID==null)&&Pc(n,r.openedWorkflows.length-1),Zi.set(r),i}function qI(n,e,t=!0){const[i,s]=ca.create("Workflow");return i.deserialize(s,{graph:e.workflow,layout:e.layout,attrs:e.attrs}),Cv(n,i,t),i}function Cv(n,e,t=!0){const i=ie(Zi);return i.openedWorkflows.push(e),i.openedWorkflowsByID[e.id]=e,(t||i.activeWorkflowID==null)&&Pc(n,i.openedWorkflows.length-1),Zi.set(i),e}function Iv(n,e){const t=ie(Zi);if(e<0||e>=t.openedWorkflows.length)return;const i=t.openedWorkflows[e];i.stopAll(),Zt.remove(i.id),t.openedWorkflows.splice(e,1),delete t.openedWorkflowsByID[i.id];let s=Go(e,0,t.openedWorkflows.length-1);Pc(n,s),Zi.set(t)}function YI(n){const e=ie(Zi);for(;e.openedWorkflows.length>0;)Iv(n,0)}function Pc(n,e){const t=ie(Zi);if(t.openedWorkflows.length===0)return t.activeWorkflowID=null,t.activeWorkflow=null,null;if(typeof e=="string"&&(e=t.openedWorkflows.findIndex(s=>s.id===e)),e<0||e>=t.openedWorkflows.length)return t.activeWorkflow;const i=t.openedWorkflows[e];return i.id===t.activeWorkflowID?t.activeWorkflow:(t.activeWorkflow!=null&&t.activeWorkflow.stop("app"),t.activeWorkflowID=i.id,t.activeWorkflow=i,i.start("app",n),n.deserialize(i.canvases.app.state),Zi.set(t),i)}function XI(n){let e=[];const t=ie(Zi);Array.isArray(n)||(n=[n]);const i=new Set(n);for(const s of t.openedWorkflows){const r=s.graph.findNodesByTypeRecursive("events/receive_output").filter(o=>i.has(o.properties.type)&&o.mode===ft.ALWAYS);r.length>0&&e.push({workflow:s,targetNodes:r})}return e}function KI(n,e){const t=fa(n);t!=null&&(t.lastError=null)}function $I(n,e){const t=fa(n);t!=null&&(t.lastError=e)}function JI(n,e){const t=fa(n);t!=null&&(t.lastError=e)}const ZI={...Zi,getWorkflow:fa,getWorkflowByGraph:Tv,getWorkflowByNode:HI,getWorkflowByNodeID:UI,getActiveWorkflow:GI,createNewWorkflow:jI,openWorkflow:qI,addWorkflow:Cv,closeWorkflow:Iv,closeAllWorkflows:YI,setActiveWorkflow:Pc,findReceiveOutputTargets:XI,afterQueued:KI,promptError:$I,executionError:JI},ht=ZI,En=class{constructor(e){P(this,"root");P(this,"lightboxModal");P(this,"currentImages",[]);P(this,"selectedIndex",-1);P(this,"currentGallery",null);this.root=e,this.lightboxModal=this.root.querySelector("#lightboxModal")}static get instance(){return En._instance||(En._instance=new En(window.app.rootEl)),En._instance}get modalImage(){return this.root.querySelector("#modalImage")}closeModal(){this.lightboxModal.style.display="none",this.currentImages=[],this.selectedIndex=-1,this.currentGallery=null}static all_gallery_buttons(e){var t=e.querySelectorAll(".preview > .thumbnails > .thumbnail-item.thumbnail-small"),i=[];return t.forEach(s=>{s.parentElement.offsetParent&&i.push(s)}),i}static selected_gallery_button(e){var t=e.querySelectorAll(".preview > .thumbnails > .thumbnail-item.thumbnail-small"),i=null;let s=-1;return t.forEach((r,o)=>{r.parentElement.offsetParent&&r.classList.contains("selected")&&(i=r,s=o)}),[i,s]}showModal(e,t,i){this.currentImages=e,this.selectedIndex=t,this.currentGallery=i,this.setModalImageSrc(e[t]),this.lightboxModal.style.display="flex";const s=this.lightboxModal.querySelector(".modalPrev"),r=this.lightboxModal.querySelector(".modalNext");e.length<=1?(s.style.display="none",r.style.display="none"):(s.style.display="block",r.style.display="block"),setTimeout(()=>{this.modalImage.focus()},200)}static get_gallery_urls(e){return En.all_gallery_buttons(e).map(t=>t.children[0].src)}refreshImages(){if(this.currentGallery){this.currentImages=En.get_gallery_urls(this.currentGallery);let[t,i]=En.selected_gallery_button(this.currentGallery);this.selectedIndex=i}const e=this.currentImages[this.selectedIndex];this.setModalImageSrc(e)}setModalImageSrc(e,t=!1){const i=this.modalImage,s=this.lightboxModal;i.src=e,t?(i.style.display="none",s.style.setProperty("background-image",`url(${i.src})`)):(i.style.display="block",s.style.setProperty("background-image","none"))}modalImageSwitch(e){this.selectedIndex=xv(this.selectedIndex+e,this.currentImages.length);const t=this.currentImages[this.selectedIndex];if(this.setModalImageSrc(t),this.currentGallery){const s=En.all_gallery_buttons(this.currentGallery)[this.selectedIndex];s&&s.click()}setTimeout(()=>{this.lightboxModal.focus()},10)}modalNextImage(e){this.modalImageSwitch(1),e.stopPropagation()}modalPrevImage(e){this.modalImageSwitch(-1),e.stopPropagation()}modalKeyHandler(e){switch(e.key){case"ArrowLeft":this.modalPrevImage(e);break;case"ArrowRight":this.modalNextImage(e);break;case"Escape":this.closeModal();break}}showLightbox(e){this.lightboxModal.style.display!="none"&&this.closeModal();const t=!0;this.modalZoomSet(this.modalImage,t);const i=e.closest("div.block");if(!i||En.all_gallery_buttons(i).length===0)return;let s=En.get_gallery_urls(i);const[r,o]=En.selected_gallery_button(i);this.showModal(s,o,i)}modalZoomSet(e,t){t?e.classList.add("modalImageFullscreen"):e.classList.remove("modalImageFullscreen")}modalZoomToggle(e){const t=this.modalImage;this.modalZoomSet(t,!t.classList.contains("modalImageFullscreen")),e.stopPropagation()}modalTileImageToggle(e){const t=this.modalImage.style.display==="none";this.setModalImageSrc(this.modalImage.src,t),e.stopPropagation()}};let zs=En;P(zs,"_instance");function Ev(n,e){switch(n.type){case"boolean":return typeof e=="boolean";case"number":return typeof e=="number";case"string":return typeof e=="string";case"string[]":return Array.isArray(e)&&e.every(t=>typeof t=="string");case"enum":return!!n.options.values.find(t=>t.value===e)}return!1}const QI={name:"comfyUIHostname",type:"string",defaultValue:"localhost",category:"backend",description:"Backend domain for ComfyUI",options:{}},eE={name:"comfyUIPort",type:"number",defaultValue:8188,category:"backend",description:"Backend port for ComfyUI",options:{min:1,max:65535,step:1}};var ql=(n=>(n[n.MessageAndSound=0]="MessageAndSound",n[n.MessageOnly=1]="MessageOnly",n[n.SoundOnly=2]="SoundOnly",n[n.None=3]="None",n))(ql||{});const tE={name:"notifications",type:"enum",defaultValue:0,category:"ui",description:"Controls how notifications are shown",options:{values:[{value:0,label:"Message & sound"},{value:1,label:"Message only"},{value:2,label:"Sound only"},{value:3,label:"None"}]}};var pu=(n=>(n[n.Auto=0]="Auto",n[n.AlwaysThumbnail=1]="AlwaysThumbnail",n[n.AlwaysFullSize=2]="AlwaysFullSize",n))(pu||{});const iE={name:"outputThumbnails",type:"enum",defaultValue:0,category:"ui",description:"If enabled, send back smaller sized output image thumbnails for gallery/queue/history. Enable if you have slow network or are using Colab.",options:{values:[{value:0,label:"Autodetect"},{value:1,label:"Always use thumbnails"},{value:2,label:"Always use full size"}]}},nE={name:"alwaysStripUserState",type:"boolean",defaultValue:!1,category:"behavior",description:"Strip user state even if saving to local storage",options:{}},sE={name:"promptForWorkflowName",type:"boolean",defaultValue:!1,category:"behavior",description:"When saving, always prompt for a name to save the workflow as",options:{}},rE={name:"confirmWhenUnloadingUnsavedChanges",type:"boolean",defaultValue:!0,category:"behavior",description:"When closing the tab, open the confirmation window if there's unsaved changes",options:{}},oE={name:"cacheBuiltInResources",type:"boolean",defaultValue:!0,category:"behavior",description:"Cache loading of built-in resources to save network use",options:{}},lE={name:"pollSystemStatsInterval",type:"number",defaultValue:1e3,category:"behavior",description:"Interval in milliseconds to refresh system stats (total/free VRAM). Set to 0 to disable",options:{min:0,max:6e4,step:100}},aE={name:"builtInTemplates",type:"string[]",defaultValue:["ControlNet","LoRA x5","Model Loader","Positive_Negative","Seed Randomizer"],category:"templates",description:"Basenames of templates that can be loaded from public/templates. Saves LocalStorage space.",options:{}},Bc=[QI,eE,tE,iE,nE,sE,rE,oE,lE,aE],Av=Bc.reduce((n,e)=>{if(e.name in n)throw new Error(`Duplicate named config definition: ${e.name}`);return n[e.name]=e,n},{}),JW=Bc.reduce((n,e)=>{var t;return n[t=e.category]||(n[t]=[]),n[e.category].push(e),n},{}),ZW=Bc.reduce((n,e)=>(n.includes(e.category)||n.push(e.category),n),[]),uE=Bc.map(n=>[n.name,structuredClone(n.defaultValue)]),Ov=uE.reduce((n,e)=>(n[e[0]]=e[1],n),{}),Zr=Be({...Ov}),ar={};let Ro={};function cE(){const n=ie(Zr);let e=n.comfyUIHostname;return e==="localhost"&&(e=location.hostname),`${window.location.protocol}//${e}:${n.comfyUIPort}`}function fE(){const n=ie(Zr).notifications;return n===ql.MessageAndSound||n===ql.MessageOnly}function hE(){const n=ie(Zr).notifications;return n===ql.MessageAndSound||n===ql.SoundOnly}function Nv(n,e,t){let i=!1;return Zr.update(s=>{const r=s[n.name];if(i=Ev(n,e),i?s[n.name]=e:s[n.name]=structuredClone(n.defaultValue),r!=s[n.name])if(t){if(ar[n.name])for(const l of ar[n.name])l(s[n.name],r)}else Ro[n.name]==null?Ro[n.name]=[r,s[n.name]]:Ro[n.name][1]=s[n.name];return s}),i}function Dv(n,e=!1){if(Ro={},Zr.set({...Ov}),n!=null&&typeof n=="object")for(const[t,i]of Object.entries(n)){const s=Av[t];if(s==null){delete n[t];continue}Nv(s,i,e)}return ie(Zr)}function dE(n=!1){return Dv(null,n)}function pE(n,e){ar[n]||(ar[n]=[]),ar[n].push(e)}function gE(){for(const[n,[e,t]]of Object.entries(Ro)){const i=Av[n];if(ar[n])for(const s of ar[i.name])s(t,e)}Ro={}}const ti={...Zr,getBackendURL:cE,canShowNotificationText:fE,canPlayNotificationSound:hE,validateConfigOption:Ev,setConfigOption:Nv,load:Dv,loadDefault:dE,onChange:pE,runOnChangedEvents:gE};function yi(n,e,t){return t<=e?e:Math.min(Math.max(n,e),t)}function xv(n,e){return(n%e+e)%e}function ju(n,e=0){return[...Array(n).keys()].map(t=>t+e)}function mE(n){return n.split(/\r\n|\r|\n/).length}function _E(n){return n.charAt(0).toUpperCase()+n.slice(1)}function Lv(n){return n.split("/").pop().split("\\").pop().split(".").slice(0,-1).join(".")}function QW(n,e){return e<=0?"…":n.length<=e?n:n.slice(0,e)+"…"}async function bE(n,...e){const t=new Date().getTime();return await n.apply(null,e),new Date().getTime()-t}function yE(n,e,t="text/plain"){const i=new Blob([e],{type:t}),s=URL.createObjectURL(i),r=document.createElement("a");r.href=s,r.download=n,document.body.appendChild(r),r.click(),setTimeout(function(){r.remove(),window.URL.revokeObjectURL(s)},0)}const eV=5;function tV(){var n=0;for(const e in localStorage){const t=localStorage[e].length*2/1024/1024;!isNaN(t)&&localStorage.hasOwnProperty(e)&&(n+=t)}return n}function zc(n,e){const t=n.target.dataset.dragItemId,i=ie(Ri),s=ie(e);if(n.button!==0){i.currentSelection.length<=1&&!s.isMenuOpen&&(i.currentSelection=[t]);return}const r=s.allItems[t].dragItem;if(n.ctrlKey){const o=i.currentSelection.indexOf(r.id);o===-1?i.currentSelection.push(r.id):i.currentSelection.splice(o,1),i.currentSelection=i.currentSelection}else i.currentSelection=[r.id];i.currentSelectionNodes=[];for(const o of i.currentSelection){const l=s.allItems[o].dragItem;if(l.type==="widget"){const a=l.node;a&&i.currentSelectionNodes.push(a)}}e.set(s),Ri.set(i),e.notifyWorkflowModified()}function Fc(n,e){e.notifyWorkflowModified()}function iV(n){var s,r;const e=ht.getWorkflowByNodeID(n);if(e==null)return n;const t=(r=(s=e.graph)==null?void 0:s.getNodeByIdRecursive(n))==null?void 0:r.title;if(t==null)return n;const i=n?n.split("-")[0]:String(n);return t+" ("+i+")"}const vE=(n,e=250)=>{let t=null;return(...i)=>{const s=()=>n(...i);t&&clearTimeout(t),t=setTimeout(s,e)}};function wE(n){return n.images.map(kE)}function kE(n){return ti.getBackendURL(),{name:n.filename,orig_name:n.filename,is_file:!1,data:Gs(n)}}function SE(n){const e=[];switch(n.format){case"jpeg":e.push("jpeg");break;case"webp":default:e.push("webp");break}return e.push(String(n.quality)),e.join(";")}function Gs(n,e=!1){if(typeof n=="string")return n;const t={filename:n.filename,subfolder:n.subfolder,type:n.type};if(e){let r;switch(ie(ti).outputThumbnails){case pu.AlwaysFullSize:r=!1;break;case pu.AlwaysThumbnail:r=!0;break;case pu.Auto:default:zv(navigator.userAgent)?r=!0:r=!1;break}r&&(n.preview={format:"webp",quality:80})}n.preview!=null&&(t.preview=SE(n.preview));const i=new URLSearchParams(t);return ti.getBackendURL()+"/view?"+i}function Yl(n){return n&&typeof n=="object"&&n.isComfyBoxImageMetadata}function TE(n){return Array.isArray(n)&&n.every(Yl)}function CE(n){return n&&typeof n=="object"&&Array.isArray(n.images)}function Xl(n){return{isComfyBoxImageMetadata:!0,comfyUIFile:n,name:"File",tags:[],children:[]}}function IE(n){let e="";return n.subfolder!=""&&(e=n.subfolder+"/"),e+=`${n.filename} [${n.type}]`,e}function EE(n){return n.images.map(Xl)}function Xg(n){return n!=null&&typeof n=="object"&&typeof n.filename=="string"&&typeof n.type=="string"}function Tp(n){let e=null;return Yl(n)?e=[n]:Array.isArray(n)&&n.every(Yl)?e=n:CE(n)?e=EE(n):Xg(n)?e=[Xl(n)]:Array.isArray(n)&&n.every(Xg)&&(e=n.map(Xl)),e}function AE(n){const e=Tp(n);return Array.isArray(e)?e.map(t=>t.comfyUIFile):null}function OE(n){return n.comfyUIFile}function ll(n){return Gs(n.comfyUIFile)}function nV(n,e,t){if(t.preventDefault(),!n)return;let i;typeof n[0]=="object"?i=n.map(s=>Gs(s)):i=n,zs.instance.showModal(i,e),t.stopPropagation()}function Mv(n){if(n==null)return null;switch(typeof n){case"string":return"string";case"number":case"bigint":return"number";case"boolean":return"boolean";case"object":return Yl(n)?"COMFYBOX_IMAGE":TE(n)?"COMFYBOX_IMAGES":null;case"symbol":case"undefined":case"function":default:return null}}function Rv(n){let e=Number.MAX_SAFE_INTEGER,t=0,i=Number.MAX_SAFE_INTEGER,s=0;for(const r of Object.values(n))e=Math.min(r.pos[0],e),t=Math.max(r.pos[0]+r.size[0],t),i=Math.min(r.pos[1],i),s=Math.max(r.pos[1]+r.size[1],s);return[e,i,t,s]}async function NE(n){return new Promise((e,t)=>{const i=new FileReader;i.onload=async()=>{e(i.result)},i.onerror=async()=>{t(i.error)},i.readAsText(n)})}function qu(n){return n.replace(/([a-zA-Z])[^a-zA-Z]*$/,function(e){var t=e.charCodeAt(0);switch(t){case 90:return"A";case 122:return"a";default:return String.fromCharCode(++t)}})}function Pv(n){if(!ti.canPlayNotificationSound())return;const e=`${location.origin}/sound/${n}`;new Audio(e).play()}async function DE(n){const e=n.map(t=>({blob:t,filename:t.name}));return Bv(e)}async function Bv(n){const e=ti.getBackendURL(),t=n.map(async i=>{const s=new FormData;return s.append("image",i.blob,i.filename),i.overwrite&&s.append("overwrite","true"),fetch(new Request(e+"/upload/image",{body:s,method:"POST"})).then(r=>r.json()).catch(r=>r)});return Promise.all(t).then(i=>{const s=[],r=[];for(const l of i)if(l instanceof Error)s.push(l.toString());else{const a=l;r.push({filename:a.name,subfolder:"",type:"input"})}let o=null;return s&&s.length>0&&(o=`Upload error(s): +`+s.join(` +`)),{error:o,files:r}})}function xE(n){return new Promise(function(e){n.toBlob(e)})}function sV(n,e){let t=0;const i=n.length,s=[];for(t=0;tnew RegExp(n,"i"));function zv(n){return LE.some(e=>n.match(e))}function wr(n){window.navigator.vibrate&&window.navigator.vibrate(n)}class Cp extends Ke{constructor(e){super(e),this.properties={value:1},this.nameInGraph="",this.size=[180,30],this.widget=this.addWidget("number","value",1,"value"),this.widgets_up=!0}onExecute(){this.setOutputData(0,this.properties.value)}getTitle(){return this.flags.collapsed?""+this.properties.value:this.title}setValue(e){typeof e!="number"&&(e=parseFloat(e)),this.setProperty("value",e)}onDrawBackground(e){this.outputs[0].label=this.properties.value.toFixed(3)}}Cp.slotLayout={inputs:[],outputs:[{name:"value",type:"number"}]};Cp.propertyLayout=[{name:"value",defaultValue:1}];w.registerNodeType({class:Cp,title:"Const Number",desc:"Constant number",type:"basic/number"});class Ip extends Ke{constructor(e){super(e),this.properties={value:1},this.nameInGraph="",this.size=[180,30],this.widget=this.addWidget("number","value",1,"value",{step:1,precision:0}),this.widgets_up=!0}onExecute(){this.setOutputData(0,this.properties.value)}getTitle(){return this.flags.collapsed?""+this.properties.value:this.title}setValue(e){typeof e!="number"&&(e=parseFloat(e)),this.setProperty("value",Math.floor(e))}onDrawBackground(e){this.outputs[0].label=this.properties.value.toFixed(0)}}Ip.slotLayout={inputs:[],outputs:[{name:"value",type:"number"}]};Ip.propertyLayout=[{name:"value",defaultValue:1}];w.registerNodeType({class:Ip,title:"Const Integer",desc:"Constant integer",type:"basic/integer"});class Wc extends Ke{constructor(e){super(e),this.properties={value:!0},this.size=[140,30],this.widget=this.addWidget("toggle","value",!0,"value"),this.widgets_up=!0}onExecute(){this.setOutputData(0,this.properties.value)}onAction(){this.setValue(!this.properties.value)}getTitle(){return this.flags.collapsed?""+this.properties.value:this.title}setValue(e){this.setProperty("value",!!e)}}Wc.slotLayout={inputs:[],outputs:[{name:"bool",type:"boolean"}]};Wc.propertyLayout=[{name:"value",defaultValue:!0}];Wc.optionalSlots={inputs:[{name:"toggle",type:$.ACTION}]};w.registerNodeType({class:Wc,title:"Const Boolean",desc:"Constant boolean",type:"basic/boolean"});class Vc extends Ke{constructor(e){super(e),this.properties={value:""},this.size=[180,30],this.widget=this.addWidget("text","value","","value"),this.widgets_up=!0}onExecute(){this.setOutputData(0,this.properties.value)}getTitle(){return this.flags.collapsed?""+this.properties.value:this.title}setValue(e){this.setProperty("value",String(e))}onDropFile(e){var t=this,i=new FileReader;i.onload=function(s){t.setProperty("value",i.result)},i.readAsText(e)}}Vc.slotLayout={inputs:[],outputs:[{name:"string",type:"string"}]};Vc.propertyLayout=[{name:"value",defaultValue:""}];Vc.optionalSlots={};w.registerNodeType({class:Vc,title:"Const String",desc:"Constant string",type:"basic/string"});class Hc extends Ke{constructor(e){super(e),this.properties={value:""},this.size=[120,30],this._object={}}onExecute(){this.setOutputData(0,this._object)}}Hc.slotLayout={inputs:[],outputs:[{name:"obj",type:"object"}]};Hc.propertyLayout=[];Hc.optionalSlots={};w.registerNodeType({class:Hc,title:"Const Object",desc:"Constant object",type:"basic/object"});class Uc extends Ke{constructor(e){super(e),this.properties={url:"",type:"text"},this._data=null,this._url=null,this._type=null,this.widget=this.addWidget("text","url","","url"),this._data=null,this.widgets_up=!0}onPropertyChanged(e,t){e=="url"&&(t==null||t==""?this._data=null:this.fetchFile(t))}onExecute(){var e=this.getInputData(0)||this.properties.url;e&&(e!=this._url||this._type!=this.properties.type)&&this.fetchFile(e),this.setOutputData(0,this._data)}setValue(e){this.setProperty("value",e)}async fetchFile(e){var t=this;if(!e||e.constructor!==String){t._data=null,t.boxcolor=null;return}this._url=e,this._type=this.properties.type,e.substr(0,4)=="http"&&w.proxy&&(e=w.proxy+e.substr(e.indexOf(":")+3)),await fetch(e).then(function(i){if(!i.ok)throw new Error("File not found");if(t.properties.type=="arraybuffer")return i.arrayBuffer();if(t.properties.type=="text")return i.text();if(t.properties.type=="json")return i.json();if(t.properties.type=="blob")return i.blob()}).then(function(i){t._data=i,t.boxcolor="#AEA"}).catch(function(i){t._data=null,t.boxcolor="red"})}onDropFile(e){this._url=e.name,this._type=this.properties.type,this.properties.url=e.name;var t=new FileReader;if(t.onload=i=>{this.boxcolor="#AEA";var s=t.result;this.properties.type=="json"&&(s=JSON.parse(s)),this._data=s},this.properties.type=="arraybuffer")t.readAsArrayBuffer(e);else if(this.properties.type=="text"||this.properties.type=="json")t.readAsText(e);else if(this.properties.type=="blob")return t.readAsBinaryString(e)}}Uc.slotLayout={inputs:[{name:"url",type:"string"}],outputs:[{name:"file",type:"string"}]};Uc.propertyLayout=[{name:"url",defaultValue:""},{name:"type",defaultValue:"text"}];Uc.optionalSlots={};w.registerNodeType({class:Uc,title:"Const File",desc:"Fetches a file from an url",type:"basic/file"});const Hh=class extends Ke{constructor(n){super(n),this.properties={value:0},this.nameInGraph="",this.size=[60,30],this.value=0}onExecute(){this.inputs[0]&&(this.value=this.getInputData(0))}getTitle(){return this.flags.collapsed?this.inputs[0].label||"":this.title}static toString(n){if(n==null)return"null";if(n.constructor===Number)return n.toFixed(3);if(n.constructor===Array){for(var e="[",t=0;t=0&&t=0&&i0;return t.push({content:"Splice & Remove",disabled:!i,callback:()=>{const s=this.getInputLink(0),r=this.getOutputLinks(0);if(!s||!r)return;const o=this.graph.getNodeById(s.origin_id);this.graph.removeLink(s.id);for(const l of r){const a=this.graph.getNodeById(l.target_id);this.graph.removeLink(l.id),o.connect(s.origin_slot,a,l.target_slot)}this.graph.remove(this)}}),null}}Xc.slotLayout={inputs:[{name:"",type:"*"}],outputs:[{name:"",type:"*"}]};Xc.overrideSize=[60,30];w.registerNodeType({class:Xc,title:"Reroute",desc:"Simple pass-through for organization",type:"basic/reroute"});class Ep extends Ke{constructor(){super(...arguments),this.properties={enabled:!0}}onExecute(){this.setOutputData(0,this.graph.globaltime*1e3),this.setOutputData(1,this.graph.globaltime)}}Ep.slotLayout={inputs:[],outputs:[{name:"in ms",type:"number"},{name:"in sec",type:"number"}]};Ep.propertyLayout=[{name:"enabled",defaultValue:!0}];w.registerNodeType({class:Ep,title:"Time",desc:"Current time",type:"basic/time"});const Fv=class extends Ke{constructor(n){super(n),this.properties={A:1,B:1,OP:"=="},this.opWidget=this.addWidget("combo","Op.",this.properties.OP,null,{property:"OP",values:Fv.values})}getTitle(){return"*A "+this.properties.OP+" *B"}onExecute(){var n=this.getInputData(0);n===void 0?n=this.properties.A:this.properties.A=n;var e=this.getInputData(1);e===void 0?e=this.properties.B:this.properties.B=e;var t=!1;if(typeof n==typeof e)switch(this.properties.OP){case"==":case"!=":switch(t=!0,typeof n){case"object":var i=Object.getOwnPropertyNames(n),s=Object.getOwnPropertyNames(e);if(i.length!=s.length){t=!1;break}for(var r=0;r":t=n>e;break;case"<":t=n=":t=n>=e;break;case"||":t=n||e;break;case"&&":t=n&&e;break}this.setOutputData(0,t),this.setOutputData(1,!t)}};let Kc=Fv;Kc.slotLayout={inputs:[{name:"A",type:$.DEFAULT},{name:"B",type:$.DEFAULT}],outputs:[{name:"true",type:"boolean"},{name:"false",type:"boolean"}]};Kc.propertyLayout=[{name:"enabled",defaultValue:!0}];Kc.values=["==","!=",">","<",">=","<=","||","&&"];w.registerNodeType({class:Kc,title:"GenericCompare",desc:"Compare *",type:"basic/CompareValues"});class Ap extends Ke{constructor(){super(...arguments),this.properties={strictEquality:!0}}onExecute(){const e=this.getInputData(0),t=this.properties.strictEquality?e===null:e==null;this.setOutputData(0,t)}}Ap.slotLayout={inputs:[{name:"in",type:"*"}],outputs:[{name:"is_null",type:"boolean"}]};Ap.propertyLayout=[];w.registerNodeType({class:Ap,title:"== Null",desc:"Returns true if input is null",type:"basic/is_null"});class $c extends Ke{constructor(e){super(e),this.properties={},this.size=[60,30],this.actionWidget=this.addWidget("text","Action","",null,{multiline:!0,max_length:100}),this.paramWidget=this.addWidget("text","Param","",null,{multiline:!0,max_length:100}),this.optionsWidget=this.addWidget("text","Opts","",null,{multiline:!0,max_length:100})}onAction(e,t,i){this.actionWidget.value=JSON.stringify(e),this.paramWidget.value=JSON.stringify(t),this.optionsWidget.value=JSON.stringify(i)}}$c.slotLayout={inputs:[{name:"event",type:$.ACTION}]};$c.propertyLayout=[];$c.optionalSlots={};w.registerNodeType({class:$c,title:"Log Event",desc:"Log event in console",type:"events/log"});class Wv extends Ke{constructor(){super(...arguments),this.properties={onlyOnChange:!0},this.prev=0,this.size=[60,30]}onExecute(e,t){var i=this.getInputData(0),s=i!=this.prev;this.prev===0&&(s=!1);var r=s&&this.properties.onlyOnChange||!s&&!this.properties.onlyOnChange;i&&r&&this.triggerSlot(0,i,null,t),!i&&r&&this.triggerSlot(2,i,null,t),s&&this.triggerSlot(1,i,null,t),this.prev=i}}Wv.slotLayout={inputs:[{name:"if",type:""}],outputs:[{name:"true",type:$.EVENT},{name:"change",type:$.EVENT},{name:"false",type:$.EVENT}]};w.registerNodeType({class:Wv,title:"Trigger Event",desc:"Triggers event if input evaluates to true",type:"events/trigger"});const Vv=class extends Ke{constructor(n){super(n),this.properties={compareValue:null,propertyName:"",mode:"param",operation:"=="},this.size=[60,30],this.modeWidget=this.addWidget("combo","Mode",this.properties.mode,null,{property:"mode",values:["param","property"]}),this.propertyNameWidget=this.addWidget("text","Prop.",this.properties.propertyName,"propertyName"),this.propertyNameWidget.disabled=!0,this.opWidget=this.addWidget("combo","Op.",this.properties.operation,null,{property:"operation",values:Vv.values}),this.compareValueWidget=this.addWidget("text","Value",this.properties.compareValue,"compareValue")}onPropertyChanged(n,e){n==="mode"&&(this.propertyNameWidget.disabled=e==="param")}compare(n,e){if(typeof n!=typeof e)return!1;let t=!1;switch(this.properties.operation){case"==":case"!=":switch(t=!0,typeof n){case"object":var i=Object.getOwnPropertyNames(n),s=Object.getOwnPropertyNames(e);if(i.length!=s.length){t=!1;break}for(var r=0;r":t=n>e;break;case"<":t=n=":t=n>=e;break;case"||":t=n||e;break;case"&&":t=n&&e;break}return t}evaluate(n){if(this.properties.mode==="property"){if(!this.properties.propertyName)return!1;var e=n[this.properties.propertyName];return e==null?!1:this.compare(this.properties.compareValue,e)}else return this.compare(this.properties.compareValue,n)}onExecute(){const n=this.getInputData(1);n!=null&&this.setProperty("compareValue",n),this.compareValueWidget.value=String(this.properties.compareValue)}onAction(n,e,t){this.evaluate(e)?this.triggerSlot(0,e,null,t):this.triggerSlot(1,e,null,t)}};let Op=Vv;Op.slotLayout={inputs:[{name:"event",type:$.ACTION},{name:"compare_value",type:"*"}],outputs:[{name:"accept",type:$.EVENT},{name:"reject",type:$.EVENT}]};Op.values=["==","!=",">","<",">=","<=","||","&&"];w.registerNodeType({class:Op,title:"Filter Event",desc:"Blocks events that do not match the filter",type:"events/filter"});class Hv extends Ke{constructor(){super(...arguments),this._value=!1,this.size=[120,60]}onExecute(e,t){this._value=this.getInputData(1)}onAction(e,t,i){this._value=this.getInputData(1),this.triggerSlot(this._value?0:1,t,null,i)}}Hv.slotLayout={inputs:[{name:"in",type:$.ACTION},{name:"cond",type:"boolean"}],outputs:[{name:"true",type:$.EVENT},{name:"false",type:$.EVENT}]};w.registerNodeType({class:Hv,title:"Branch",desc:"If condition is true, outputs triggers true, otherwise false",type:"events/branch"});class Jc extends Ke{constructor(){super(...arguments),this.properties={timeInMs:1e3},this._pending=[],this.size=[60,30]}onAction(e,t,i){var s=this.properties.timeInMs;s<=0?this.trigger(null,t,i):this._pending.push([s,t])}onExecute(e,t){var i=this.graph.elapsed_time*1e3;this.isInputConnected(1)&&(this.properties.timeInMs=this.getInputData(1));for(var s=0;s0)&&(this._pending.splice(s,1),--s,this.trigger(null,r[1],t))}}}Jc.slotLayout={inputs:[{name:"event",type:$.ACTION}],outputs:[{name:"on_time",type:$.EVENT}]};Jc.propertyLayout=[];Jc.optionalSlots={};w.registerNodeType({class:Jc,title:"Delay",desc:"Delays one event",type:"events/delay"});class Zc extends Ke{constructor(){super(...arguments),this.properties={timeInFrames:30},this._pending=[],this.size=[60,30]}onAction(e,t,i){var s=this.properties.timeInFrames;s<=0?this.trigger(null,t,i):this._pending.push([s,t])}onExecute(e,t){var i=1;this.isInputConnected(1)&&(this.properties.timeInFrames=this.getInputData(1));for(var s=0;s0)&&(this._pending.splice(s,1),--s,this.trigger(null,r[1],t))}}}Zc.slotLayout={inputs:[{name:"event",type:$.ACTION}],outputs:[{name:"on_time",type:$.EVENT}]};Zc.propertyLayout=[];Zc.optionalSlots={};w.registerNodeType({class:Zc,title:"Frame Delay",desc:"Delays one event by frame count",type:"events/frame_delay"});class Uv extends Ke{constructor(e){super(e),this.size=[90,70]}getTitle(){return this.horizontal?"":this.title}onAction(e,t,i){if(this.outputs){i=i||{};for(var s=0;so?this.getInputLink(l.length-1)?1:0:this.getOutputLinks(l.length-1).length,u=()=>{o?this.addInput("",$.ACTION):this.addOutput("",$.EVENT)};if(i)s!=null&&t===l.length-1&&u();else{if(a(l.length-1)>0)return;for(let c=l.length-1;c>0&&!(c<=0);c--)if(a()===0)o?this.removeInput(c):this.removeOutput(c);else break;a(l.length-1)>0&&u()}}}Uv.slotLayout={inputs:[{name:"",type:$.ACTION}],outputs:[{name:"",type:$.EVENT}]};w.registerNodeType({class:Uv,title:"Sequence",desc:"Triggers a sequence of events when an event arrives",type:"events/sequence"});class Gv extends Ke{constructor(){super(...arguments),this.properties={}}onAction(e,t,i){var s=this.getInputData(1);this.triggerSlot(0,s,null,i)}}Gv.slotLayout={inputs:[{name:"trigger",type:$.ACTION},{name:"param",type:""}],outputs:[{name:"event",type:$.EVENT}]};w.registerNodeType({class:Gv,title:"Wrap As Event",desc:"Triggers an event setting its parameter to the input value",type:"events/wrap_as_event"});class Np extends Ke{onExecute(){const e=this.getInputData(0);this.setOutputData(0,!!e)}}Np.slotLayout={inputs:[{name:"in",type:"*"}],outputs:[{name:"truthy",type:"boolean"}]};Np.propertyLayout=[];w.registerNodeType({class:Np,title:"~= TRUE",desc:"Returns true if input is truthy",type:"logic/truthy"});class jv extends Ke{onExecute(){let e=!0;for(let t=0;te+t,this._result=[],this.size=[100,60]}getTitle(){return this.properties.OP=="max"||this.properties.OP=="min"?this.properties.OP+"(A,B)":"A "+this.properties.OP+" B"}setValue(e){typeof e=="string"&&(e=parseFloat(e)),this.properties.value=e}onPropertyChanged(e,t){if(e=="OP")switch(this.properties.OP){case"+":this._func=function(i,s){return i+s};break;case"-":this._func=function(i,s){return i-s};break;case"*":this._func=function(i,s){return i*s};break;case"/":this._func=function(i,s){return i/s};break;case"%":this._func=function(i,s){return i%s};break;case"^":this._func=function(i,s){return Math.pow(i,s)};break;case"max":this._func=function(i,s){return Math.max(i,s)};break;case"min":this._func=function(i,s){return Math.min(i,s)};break;default:this._func=function(i){return i};break}}onExecute(){var e=this.getInputData(0),t=this.getInputData(1);e!=null?e.constructor===Number&&(this.properties.A=e):e=this.properties.A,t!=null?this.properties.B=t:t=this.properties.B;var i;if(e.constructor===Number)i=0,i=this._func(e,t);else if(e.constructor===Array){i=this._result,i.length=e.length;for(var s=0;sthis.formatTemplateValue(t[r-1]));return this.properties.outputJSON&&(i=JSON.parse(i)),i}onPropertyChanged(e,t){if(e==="outputJSON"){const i=t==!0;this.outputs[0].type=i?"*":"string",this.boxcolor=w.NODE_DEFAULT_BOXCOLOR}this._value=null}onExecute(){if(this._value==null){const e=this.properties.template||"";let t;if(this._args!=null)t=this._args,this._args=null;else{const i=this.getInputData(0);if(Array.isArray(i))t=i;else{t=[];for(let s=0;s1&&this.getInputLink(o)==null;o--)this.removeInput(o);this.getInputLink(this.inputs.length-1)!=null&&this.addInput("","*"),this.addInput("update",$.ACTION)}}}xp.slotLayout={inputs:[{name:"",type:"string,array"},{name:"",type:"string"},{name:"update",type:$.ACTION}],outputs:[{name:"out",type:"string"},{name:"changed",type:$.EVENT}]};xp.propertyLayout=[{name:"template",defaultValue:"$1, $2, $3",options:{multiline:!0}},{name:"stringQuote",defaultValue:""}];w.registerNodeType({class:xp,title:"Template",desc:"Substitutes an array of strings in a template like '$1, $2, $3'",type:"string/template"});class rw extends Ke{constructor(){super(...arguments),this.properties={},this._value=null,this._str=null,this._error=null}onExecute(){const e=this.getInputData(0);if(e!=this._str&&typeof e=="string"){this._error=null,this._value=null,this._str=e;try{this._value=JSON.parse(this._str),this.boxcolor="#AEA"}catch(t){this._error=`${t}`,this.boxcolor="red"}}else e==null&&(this._str=null,this._value=null,this._error=null,this.boxcolor=w.NODE_DEFAULT_BOXCOLOR);this.setOutputData(0,this._value),this.setOutputData(1,this._error)}onConnectionsChange(e,t,i,s,r){this._str=null}}rw.slotLayout={inputs:[{name:"in",type:"string"}],outputs:[{name:"out",type:"*"},{name:"error",type:"string"}]};w.registerNodeType({class:rw,title:"JSON Parse",desc:"Parses a string into a JavaScript object",type:"string/json_parse"});class ow extends Ke{constructor(){super(...arguments),this.properties={space:0},this._value=null,this._obj=null,this._error=null,this._changed=!1}onExecute(){const e=this.getInputData(0);if(this._changed||this._obj!==e){this._value=null,this._changed=null,this._obj=e,this._error=null;const t=this.properties.space;try{this._value=JSON.stringify(this._obj,null,t),this.boxcolor="#AEA"}catch(i){this._error=`${i}`,this.boxcolor="red"}}else e==null&&(this._obj=null,this._value=null,this._error=null,this.boxcolor=w.NODE_DEFAULT_BOXCOLOR);this.setOutputData(0,this._value),this.setOutputData(1,this._error)}onConnectionsChange(e,t,i,s,r){this._obj=null,this._changed=!0}}ow.slotLayout={inputs:[{name:"in",type:"*"}],outputs:[{name:"out",type:"string"},{name:"error",type:"string"}]};w.registerNodeType({class:ow,title:"JSON Stringify",desc:"Calls JSON.stringify() on the input value",type:"string/json_stringify"});class Ft extends Ke{constructor(t){super(t);P(this,"properties",{tags:[]});P(this,"isBackendNode");P(this,"defaultWidgets");P(this,"canInheritSlotTypes",!1);P(this,"saveUserState",!0);this.addProperty("tags",[],"array")}stripUserState(t){t.widgets_values=[]}getUpstreamLink(){return null}getUpstreamLinkForInheritedType(){return this.getUpstreamLink()}get layoutState(){return Zt.getLayoutByNode(this)}get dragItem(){return Zt.getDragItemByNode(this)}get workflow(){return ht.getWorkflowByNode(this)}inheritSlotTypes(t,i){var h;if(i&&t===mt.OUTPUT&&new Set(this.outputs.flatMap(p=>p.links.map(g=>this.graph.links[g].type).filter(g=>g!=="*"))).size>1)for(let p=0;pm&&g[m].type==="*"){d.outputs[m].type=o||"*",d.__outputType=c,d.outputs[m].name=d.properties.showOutputText?String(c):"",d.size=d.computeSize(),"applyOrientation"in d&&typeof d.applyOrientation=="function"&&d.applyOrientation();for(const b of d.outputs[m].links||[]){const y=this.graph.links[b];y&&(y.color=f)}}}if(l)for(let d=0;df.class===u);c&&(l.widgetNodeType=c.type),l.defaultWidgetNode=null}}t.saveUserState=this.saveUserState;let i=this.saveUserState||ie(ti).alwaysStripUserState;const s=ie(bi).forceSaveUserState;s!==null&&(i=s),i||this.stripUserState(t)}onConfigure(t){if(!(this.inputs.length!=(t.inputs||[]).length||this.outputs.length!=(t.outputs||[]).length)){for(let i=0;iu.type===l);a&&(o.defaultWidgetNode=a.class)}}this.saveUserState=t.saveUserState,this.saveUserState==null&&(this.saveUserState=!0)}}}const ir=class extends Ft{constructor(t){super(t);P(this,"titleMode",Ji.NO_TITLE);P(this,"collapsable",!1);P(this,"properties",{tags:[],showOutputText:ir.defaultVisibility,horizontal:!1,ignoreTypes:!1});P(this,"canInheritSlotTypes",!0);this.properties||(this.properties={}),this.properties.showOutputText=ir.defaultVisibility,this.properties.horizontal=!1,this.properties.showOutputText&&(this.outputs[0].name="*")}static setDefaultTextVisibility(t){ir.defaultVisibility=t,t?localStorage["Comfy.ComfyReroute.DefaultVisibility"]="true":delete localStorage["Comfy.ComfyReroute.DefaultVisibility"]}onExecute(){this.setOutputData(0,this.getInputData(0))}getUpstreamLink(){const t=this.getInputLink(0),i=this.getInputNode(0);return t&&i&&i.mode===ft.ALWAYS?t:null}onConnectionsChange(t,i,s,r,o){this.applyOrientation(),this.canInheritSlotTypes=!this.properties.ignoreTypes,super.onConnectionsChange(t,i,s,r,o)}clone(){const t=super.clone.apply(this);return t.removeOutput(0),t.addOutput(this.properties.showOutputText?"*":"","*"),t.size=t.computeSize(),t}getExtraMenuOptions(t,i){const s=this.getInputLink(0)!=null&&this.getOutputLinks(0).length>0;return i.push({content:"Splice & Remove",disabled:!s,callback:()=>{const r=this.getInputLink(0),o=this.getOutputLinks(0);if(!r||!o)return;const l=this.graph.getNodeById(r.origin_id);this.graph.removeLink(r.id);for(const a of o){const u=this.graph.getNodeById(a.target_id);this.graph.removeLink(a.id),l.connect(r.origin_slot,u,a.target_slot)}this.graph.remove(this)}}),i.unshift({content:(this.properties.showOutputText?"Hide":"Show")+" Type",callback:()=>{this.properties.showOutputText=!this.properties.showOutputText,this.properties.showOutputText?this.outputs[0].name=this.__outputType||this.outputs[0].type:this.outputs[0].name="",this.size=this.computeSize(),this.applyOrientation(),this.graph.setDirtyCanvas(!0,!0)}},{content:(ir.defaultVisibility?"Hide":"Show")+" Type By Default",callback:()=>{ir.setDefaultTextVisibility(!ir.defaultVisibility)}},{content:"Set "+(this.properties.horizontal?"Horizontal":"Vertical"),callback:()=>{this.properties.horizontal=!this.properties.horizontal,this.applyOrientation()}}),null}applyOrientation(){this.horizontal=this.properties.horizontal,this.horizontal?this.inputs[0].pos=[this.size[0]/2,0]:delete this.inputs[0].pos,this.graph.setDirtyCanvas(!0,!0)}computeSize(){return[this.properties.showOutputText&&this.outputs&&this.outputs.length?Math.max(75,w.NODE_TEXT_SIZE*this.outputs[0].name.length*.6+40):75,26]}};let ks=ir;P(ks,"defaultVisibility",!0),P(ks,"slotLayout",{inputs:[{name:"",type:"*"}],outputs:[{name:"",type:"*"}]});w.registerNodeType({class:ks,title:"Comfy.Reroute",desc:"Reroutes nodes preserving input/output types",type:"utils/reroute"});class lw extends Ft{constructor(t){super(t);P(this,"properties",{tags:[],mode:"anyActiveLink"});P(this,"canInheritSlotTypes",!0);P(this,"selected",-1);P(this,"displayWidget");P(this,"modeWidget");this.displayWidget=this.addWidget("text","Value",""),this.displayWidget.disabled=!0,this.modeWidget=this.addWidget("combo","Mode",this.properties.mode,null,{property:"mode",values:["anyActiveLink","dataTruthy","dataNonNull"]})}onDrawBackground(t){if(!this.flags.collapsed)if(this.selected===-1){const i=w.NODE_SLOT_HEIGHT+6;t.lineWidth=5,t.strokeStyle="red",t.beginPath(),t.moveTo(50-15,i-15),t.lineTo(50+15,i+15),t.stroke(),t.moveTo(50+15,i-15),t.lineTo(50-15,i+15),t.stroke()}else{t.fillStyle="#AFB";const i=this.selected*w.NODE_SLOT_HEIGHT+6;t.beginPath(),t.moveTo(50,i),t.lineTo(50,i+w.NODE_SLOT_HEIGHT),t.lineTo(34,i+w.NODE_SLOT_HEIGHT*.5),t.fill()}}onConnectionsChange(t,i,s,r,o){if(super.onConnectionsChange(t,i,s,r,o),t===mt.INPUT)if(s){if(r!=null&&i===this.inputs.length-1){const l=this.inputs[this.inputs.length-1].name,a=qu(l);this.addInput(a,this.inputs[0].type)}}else{if(this.getInputLink(this.inputs.length-1)!=null)return;for(let a=this.inputs.length-2;a>0&&!(a<=0);a--)if(this.getInputLink(a)==null)this.removeInput(a);else break;let l="A";for(let a=0;a0&&(this._aboutToChange-=1,this._aboutToChange<=0)){const s=this._aboutToChangeValue;this._aboutToChange=0,this._aboutToChangeValue=null,this.triggerChangeEvent(s)}}onAction(t,i,s){if(t===this.storeActionName){let r=!1,o=i;i!=null&&typeof i=="object"&&"__widgetValue__"in i&&(o=i.__widgetValue__,"noChangedEvent"in i&&(r=!!i.noChangedEvent)),this.setValue(o,r)}}onConnectOutput(t,i,s,r,o){const l=ju(this.outputs.length).some(a=>this.getOutputLinks(a).length>0);return this.autoConfig&&"config"in s&&!l&&s.widgetNodeType===this.type&&this.doAutoConfig(s),!0}doAutoConfig(t,i={setDefaultValue:!0,setWidgetTitle:!0}){const s=t;for(const r in s.config)(i.includeProperties==null||i.includeProperties.has(r))&&this.setProperty(r,s.config[r]);if(i.setDefaultValue&&"defaultValue"in this.properties&&this.setValue(this.properties.defaultValue),i.setWidgetTitle){const r=this.layoutState.findLayoutForNode(this.id);r&&t.name!==""&&(r.attrs.title=t.name)}this.setValue(ie(this.value)),this.onAutoConfig(t),this.notifyPropsChanged()}onAutoConfig(t){}notifyPropsChanged(){if(!this.layoutState)return;const t=this.layoutState.findLayoutEntryForNode(this.id);t&&t.parent&&t.parent.attrsChanged.set(ie(t.parent.attrsChanged)+1),this.propsChanged.set(ie(this.propsChanged)+1)}onConnectionsChange(t,i,s,r,o){super.onConnectionsChange(t,i,s,r,o),this.clampConfig()}clampConfig(){for(const t of this.getOutputLinks(0))if(t){const i=this.graph._nodes_by_id[t.target_id];if(i){const s=i.inputs[t.target_slot];s&&"config"in s&&this.clampOneConfig(s)}}this.notifyPropsChanged()}clampOneConfig(t){}onSerialize(t){t.comfyValue=ie(this.value),t.shownOutputProperties=this.shownOutputProperties,super.onSerialize(t)}onConfigure(t){const i=t.comfyValue||w.cloneObject(this.defaultValue);this.value.set(i),this.shownOutputProperties=t.shownOutputProperties}}typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(mC);var aw={},uw={},Lp={exports:{}},Mt=String,cw=function(){return{isColorSupported:!1,reset:Mt,bold:Mt,dim:Mt,italic:Mt,underline:Mt,inverse:Mt,hidden:Mt,strikethrough:Mt,black:Mt,red:Mt,green:Mt,yellow:Mt,blue:Mt,magenta:Mt,cyan:Mt,white:Mt,gray:Mt,bgBlack:Mt,bgRed:Mt,bgGreen:Mt,bgYellow:Mt,bgBlue:Mt,bgMagenta:Mt,bgCyan:Mt,bgWhite:Mt}};Lp.exports=cw();Lp.exports.createColors=cw;var ME=Lp.exports;(function(n){Object.defineProperty(n,"__esModule",{value:!0});function e(a,u){for(var c in u)Object.defineProperty(a,c,{enumerable:!0,get:u[c]})}e(n,{dim:function(){return o},default:function(){return l}});const t=i(ME);function i(a){return a&&a.__esModule?a:{default:a}}let s=new Set;function r(a,u,c){typeof process<"u"&&{}.JEST_WORKER_ID||c&&s.has(c)||(c&&s.add(c),u.forEach(f=>{}))}function o(a){return t.default.dim(a)}const l={info(a,u){r(t.default.bold(t.default.cyan("info")),...Array.isArray(a)?[a]:[u,a])},warn(a,u){r(t.default.bold(t.default.yellow("warn")),...Array.isArray(a)?[a]:[u,a])},risk(a,u){r(t.default.bold(t.default.magenta("risk")),...Array.isArray(a)?[a]:[u,a])}}})(uw);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return s}});const e=t(uw);function t(r){return r&&r.__esModule?r:{default:r}}function i({version:r,from:o,to:l}){e.default.warn(`${o}-color-renamed`,[`As of Tailwind CSS ${r}, \`${o}\` has been renamed to \`${l}\`.`,"Update your configuration file to silence this warning."])}const s={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return i({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return i({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return i({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return i({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return i({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}})(aw);let Pf=aw;var RE=(Pf.__esModule?Pf:{default:Pf}).default;const Kg=dv(RE),PE=[{color:"red",primary:600,secondary:100},{color:"green",primary:600,secondary:100},{color:"blue",primary:600,secondary:100},{color:"yellow",primary:500,secondary:100},{color:"purple",primary:600,secondary:100},{color:"teal",primary:600,secondary:100},{color:"orange",primary:600,secondary:100},{color:"cyan",primary:600,secondary:100},{color:"lime",primary:500,secondary:100},{color:"pink",primary:600,secondary:100}];PE.reduce((n,{color:e,primary:t,secondary:i})=>({...n,[e]:{primary:Kg[e][t],secondary:Kg[e][i]}}),{});const BE=(n,e)=>fw[e](n[e]);function Ko(n,e){const t=e.reduce((i,s)=>(n[s]===void 0||!fw[s]?i[s]=" ":i[s]=` ${BE(n,s)} `,i),{});return t.styles=` ${Object.values(t).join(" ").replace(/\s+/g," ").trim()} `,t}const fw={container(n){return n?"":"padding: 0; margin: 0; border-width: 0; box-shadow: none; overflow: visible; background: transparent;"},label_container(n){return n?"":"border-width: 0; box-shadow: none; overflow: visible; background: transparent;"},grid_cols(n){let e=["","sm-","md-","lg-","xl-","2xl-"],t=Array.isArray(n)?n:[n];return[0,0,0,0,0,0].map((i,s)=>`--${e[s]}grid-cols: var(--grid-${(t==null?void 0:t[s])||(t==null?void 0:t[(t==null?void 0:t.length)-1])});`).join(" ")},grid_rows(n){let e=["","sm-","md-","lg-","xl-","2xl-"],t=Array.isArray(n)?n:[n];return[0,0,0,0,0,0].map((i,s)=>`--${e[s]}grid-rows: var(--grid-${(t==null?void 0:t[s])||(t==null?void 0:t[(t==null?void 0:t.length)-1])});`).join(" ")},height(n){return n==="auto"?"height: auto;":""},full_width(n){return n?"width: var(--size-full); flex-grow: 1;":"flex-grow: 0; width: fit-content;"},equal_height(n){return n?"align-items: stretch;":"align-items: flex-start;"},visible(n){return n?"":"display:hidden;"},item_container(n){return n?"":"border-width:0;"},object_fit(n){return`--object-fit: ${n};`}};function zE(n){let e,t,i,s,r;const o=n[9].default,l=De(o,n,n[8],null);return{c(){e=z("button"),l&&l.c(),v(e,"class",t=n[4]+" "+n[3]+" "+n[1].join(" ")+" svelte-1n8g1go"),v(e,"style",n[6]),v(e,"id",n[0]),e.disabled=n[5],B(e,"hide",!n[2])},m(a,u){A(a,e,u),l&&l.m(e,null),i=!0,s||(r=ee(e,"click",n[10]),s=!0)},p(a,[u]){l&&l.p&&(!i||u&256)&&Le(l,o,a,a[8],i?xe(o,a[8],u,null):Me(a[8]),null),(!i||u&26&&t!==(t=a[4]+" "+a[3]+" "+a[1].join(" ")+" svelte-1n8g1go"))&&v(e,"class",t),(!i||u&64)&&v(e,"style",a[6]),(!i||u&1)&&v(e,"id",a[0]),(!i||u&32)&&(e.disabled=a[5]),(!i||u&30)&&B(e,"hide",!a[2])},i(a){i||(S(l,a),i=!0)},o(a){C(l,a),i=!1},d(a){a&&E(e),l&&l.d(a),s=!1,r()}}}function FE(n,e,t){let i,{$$slots:s={},$$scope:r}=e,{style:o={}}=e,{elem_id:l=""}=e,{elem_classes:a=[]}=e,{visible:u=!0}=e,{variant:c="secondary"}=e,{size:f=o.size||"lg"}=e,{disabled:h=!1}=e;function d(p){Ut.call(this,n,p)}return n.$$set=p=>{"style"in p&&t(7,o=p.style),"elem_id"in p&&t(0,l=p.elem_id),"elem_classes"in p&&t(1,a=p.elem_classes),"visible"in p&&t(2,u=p.visible),"variant"in p&&t(3,c=p.variant),"size"in p&&t(4,f=p.size),"disabled"in p&&t(5,h=p.disabled),"$$scope"in p&&t(8,r=p.$$scope)},n.$$.update=()=>{n.$$.dirty&128&&t(6,{styles:i}=Ko(o,["full_width"]),i)},[l,a,u,c,f,h,i,o,r,s,d]}class Qc extends _e{constructor(e){super(),me(this,e,FE,zE,ae,{style:7,elem_id:0,elem_classes:1,visible:2,variant:3,size:4,disabled:5})}}function hw(n){for(;n!=null;){if(n.mode!==ft.ALWAYS||n.graph==null)return!0;n=n.graph._subgraph_node}return!1}function Kn(n){return n.attrs.disabled?!0:n.type==="widget"?n.attrs.nodeDisabledState==="disabled"&&hw(n.node):!1}function $n(n){return n.attrs.hidden?!0:n.type==="widget"?n.attrs.nodeDisabledState==="hidden"&&hw(n.node):!1}function WE(n,e,t="#fff"){const i=document.createElement("canvas");i.width=n,i.height=e;const s=i.getContext("2d");return s.save(),s.fillStyle=t,s.fillRect(0,0,i.width,i.height),s.restore(),i}async function Mp(n){return new Promise(e=>{const t=new Image;return t.setAttribute("crossorigin","anonymous"),t.addEventListener("load",()=>{e(t)}),t.src=n,t})}function $g(n){let e,t;return e=new Qc({props:{disabled:Kn(n[0]),variant:n[0].attrs.buttonVariant||"primary",size:n[0].attrs.buttonSize==="small"?"sm":"lg",style:n[5],$$slots:{default:[VE]},$$scope:{ctx:n}}}),e.$on("click",n[4]),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&1&&(r.disabled=Kn(i[0])),s&1&&(r.variant=i[0].attrs.buttonVariant||"primary"),s&1&&(r.size=i[0].attrs.buttonSize==="small"?"sm":"lg"),s&257&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function VE(n){let e=n[0].attrs.title+"",t;return{c(){t=ke(e)},m(i,s){A(i,t,s)},p(i,s){s&1&&e!==(e=i[0].attrs.title+"")&&je(t,e)},d(i){i&&E(t)}}}function Jg(n){let e,t,i=n[0]!==null&&n[1]!==null&&$g(n);return{c(){i&&i.c(),e=we()},m(s,r){i&&i.m(s,r),A(s,e,r),t=!0},p(s,r){s[0]!==null&&s[1]!==null?i?(i.p(s,r),r&3&&S(i,1)):(i=$g(s),i.c(),S(i,1),i.m(e.parentNode,e)):i&&(oe(),C(i,1,1,()=>{i=null}),le())},i(s){t||(S(i),t=!0)},o(s){C(i),t=!1},d(s){s&&E(e),i&&i.d(s)}}}function HE(n){let e,t=n[3],i,s=Jg(n);return{c(){e=z("div"),s.c(),v(e,"class","wrapper gradio-button svelte-b28czd")},m(r,o){A(r,e,o),s.m(e,null),i=!0},p(r,[o]){o&8&&ae(t,t=r[3])?(oe(),C(s,1,1,Z),le(),s=Jg(r),s.c(),S(s,1),s.m(e,null)):s.p(r,o)},i(r){i||(S(s),i=!0)},o(r){C(s),i=!1},d(r){r&&E(e),s.d(r)}}}function UE(n,e,t){let i,s=Z,r=()=>(s(),s=ot(u,d=>t(3,i=d)),u);n.$$.on_destroy.push(()=>s());let{widget:o=null}=e,{isMobile:l=!1}=e,a=null,u=Be(0);r();function c(d){d&&(t(1,a=d.node),r(t(2,u=d.attrsChanged)))}function f(d){a.onClick(),wr(20)}const h={full_width:!0};return n.$$set=d=>{"widget"in d&&t(0,o=d.widget),"isMobile"in d&&t(6,l=d.isMobile)},n.$$.update=()=>{n.$$.dirty&1&&o&&c(o)},[o,a,u,i,f,h,l]}class GE extends _e{constructor(e){super(),me(this,e,UE,HE,ae,{widget:0,isMobile:6})}}class dw extends As{constructor(t){super(t,!1);P(this,"properties",{tags:[],defaultValue:!1,param:"bang"});P(this,"svelteComponentType",GE);P(this,"defaultValue",!1);P(this,"outputSlotName",null);P(this,"changedEventName",null)}parseValue(t){return!!t}onClick(){this.setValue(!0),this.triggerSlot(0,this.properties.param),this.setValue(!1)}}P(dw,"slotLayout",{outputs:[{name:"clicked",type:$.EVENT}]});w.registerNodeType({class:dw,title:"UI.Button",desc:"Button that triggers an event when clicked",type:"ui/button"});function jE(n){let e,t,i,s;const r=n[16].default,o=De(r,n,n[15],null);let l=[{"data-testid":n[5]},{id:n[0]},{class:t="block "+n[1].join(" ")+" svelte-1ievav7"},{style:i=n[9]+" "+(n[8]||null)}],a={};for(let u=0;u{"style"in k&&t(11,l=k.style),"elem_id"in k&&t(0,a=k.elem_id),"elem_classes"in k&&t(1,u=k.elem_classes),"variant"in k&&t(2,c=k.variant),"border_mode"in k&&t(3,f=k.border_mode),"padding"in k&&t(4,h=k.padding),"type"in k&&t(12,d=k.type),"test_id"in k&&t(5,p=k.test_id),"disable"in k&&t(13,g=k.disable),"explicit_call"in k&&t(14,m=k.explicit_call),"visible"in k&&t(6,_=k.visible),"allow_overflow"in k&&t(7,b=k.allow_overflow),"$$scope"in k&&t(15,o=k.$$scope)},n.$$.update=()=>{n.$$.dirty&26624&&t(9,{styles:i}=m?Ko(l,[]):g?Ko({container:!1},["container"]):{styles:""},i),n.$$.dirty&2048&&t(8,s=(typeof l.height=="number"?`height: ${l.height}px; `:"")+(typeof l.width=="number"?`width: ${l.width}px;`:""))},[a,u,c,f,h,p,_,b,s,i,y,l,d,g,m,o,r]}class yt extends _e{constructor(e){super(),me(this,e,YE,qE,ae,{style:11,elem_id:0,elem_classes:1,variant:2,border_mode:3,padding:4,type:12,test_id:5,disable:13,explicit_call:14,visible:6,allow_overflow:7})}}function XE(n){let e,t;const i=n[1].default,s=De(i,n,n[0],null);return{c(){e=z("div"),s&&s.c(),v(e,"class","svelte-1hnfib2")},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,[o]){s&&s.p&&(!t||o&1)&&Le(s,i,r,r[0],t?xe(i,r[0],o,null):Me(r[0]),null)},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function KE(n,e,t){let{$$slots:i={},$$scope:s}=e;return n.$$set=r=>{"$$scope"in r&&t(0,s=r.$$scope)},[s,i]}class $E extends _e{constructor(e){super(),me(this,e,KE,XE,ae,{})}}function Zg(n){let e,t;return e=new $E({props:{$$slots:{default:[JE]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&10&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function JE(n){let e;return{c(){e=ke(n[1])},m(t,i){A(t,e,i)},p(t,i){i&2&&je(e,t[1])},d(t){t&&E(e)}}}function ZE(n){let e,t,i,s;const r=n[2].default,o=De(r,n,n[3],null);let l=n[1]&&Zg(n);return{c(){e=z("span"),o&&o.c(),t=se(),l&&l.c(),i=we(),v(e,"class","svelte-22c38v"),B(e,"sr-only",!n[0]),B(e,"hide",!n[0]),B(e,"has-info",n[1]!=null)},m(a,u){A(a,e,u),o&&o.m(e,null),A(a,t,u),l&&l.m(a,u),A(a,i,u),s=!0},p(a,[u]){o&&o.p&&(!s||u&8)&&Le(o,r,a,a[3],s?xe(r,a[3],u,null):Me(a[3]),null),(!s||u&1)&&B(e,"sr-only",!a[0]),(!s||u&1)&&B(e,"hide",!a[0]),(!s||u&2)&&B(e,"has-info",a[1]!=null),a[1]?l?(l.p(a,u),u&2&&S(l,1)):(l=Zg(a),l.c(),S(l,1),l.m(i.parentNode,i)):l&&(oe(),C(l,1,1,()=>{l=null}),le())},i(a){s||(S(o,a),S(l),s=!0)},o(a){C(o,a),C(l),s=!1},d(a){a&&(E(e),E(t),E(i)),o&&o.d(a),l&&l.d(a)}}}function QE(n,e,t){let{$$slots:i={},$$scope:s}=e,{show_label:r=!0}=e,{info:o=void 0}=e;return n.$$set=l=>{"show_label"in l&&t(0,r=l.show_label),"info"in l&&t(1,o=l.info),"$$scope"in l&&t(3,s=l.$$scope)},[r,o,i,s]}class kn extends _e{constructor(e){super(),me(this,e,QE,ZE,ae,{show_label:0,info:1})}}function eA(n){let e,t,i,s,r,o;return i=new n[1]({}),{c(){e=z("div"),t=z("span"),Y(i.$$.fragment),s=se(),r=ke(n[0]),v(t,"class","svelte-1q6ny6"),v(e,"style",n[4]),v(e,"class","svelte-1q6ny6"),B(e,"hide",!n[2]),B(e,"sr-only",!n[2]),B(e,"float",n[3])},m(l,a){A(l,e,a),F(e,t),G(i,t,null),F(e,s),F(e,r),o=!0},p(l,[a]){(!o||a&1)&&je(r,l[0]),(!o||a&16)&&v(e,"style",l[4]),(!o||a&4)&&B(e,"hide",!l[2]),(!o||a&4)&&B(e,"sr-only",!l[2]),(!o||a&8)&&B(e,"float",l[3])},i(l){o||(S(i.$$.fragment,l),o=!0)},o(l){C(i.$$.fragment,l),o=!1},d(l){l&&E(e),j(i)}}}function tA(n,e,t){let i,{label:s=null}=e,{Icon:r}=e,{show_label:o=!0}=e,{disable:l=!1}=e,{float:a=!0}=e;return n.$$set=u=>{"label"in u&&t(0,s=u.label),"Icon"in u&&t(1,r=u.Icon),"show_label"in u&&t(2,o=u.show_label),"disable"in u&&t(5,l=u.disable),"float"in u&&t(3,a=u.float)},n.$$.update=()=>{n.$$.dirty&32&&t(4,{styles:i}=Ko({label_container:!l},["label_container"]),i)},[s,r,o,a,i,l]}class ef extends _e{constructor(e){super(),me(this,e,tA,eA,ae,{label:0,Icon:1,show_label:2,disable:5,float:3})}}function iA(n){let e,t,i,s,r,o;return i=new n[0]({}),{c(){e=z("button"),t=z("div"),Y(i.$$.fragment),v(t,"class","svelte-uf5pl7"),v(e,"aria-label",n[1]),v(e,"class","svelte-uf5pl7")},m(l,a){A(l,e,a),F(e,t),G(i,t,null),s=!0,r||(o=ee(e,"click",n[2]),r=!0)},p(l,[a]){(!s||a&2)&&v(e,"aria-label",l[1])},i(l){s||(S(i.$$.fragment,l),s=!0)},o(l){C(i.$$.fragment,l),s=!1},d(l){l&&E(e),j(i),r=!1,o()}}}function nA(n,e,t){let{Icon:i}=e,{label:s=""}=e;function r(o){Ut.call(this,n,o)}return n.$$set=o=>{"Icon"in o&&t(0,i=o.Icon),"label"in o&&t(1,s=o.label)},[i,s,r]}class Yu extends _e{constructor(e){super(),me(this,e,nA,iA,ae,{Icon:0,label:1})}}function sA(n){let e,t,i;const s=n[3].default,r=De(s,n,n[2],null);return{c(){e=z("div"),t=z("div"),r&&r.c(),v(t,"class","icon svelte-14bvguo"),v(e,"class","empty svelte-14bvguo"),B(e,"small",n[0]==="small"),B(e,"large",n[0]==="large"),B(e,"unpadded_box",n[1])},m(o,l){A(o,e,l),F(e,t),r&&r.m(t,null),i=!0},p(o,[l]){r&&r.p&&(!i||l&4)&&Le(r,s,o,o[2],i?xe(s,o[2],l,null):Me(o[2]),null),(!i||l&1)&&B(e,"small",o[0]==="small"),(!i||l&1)&&B(e,"large",o[0]==="large"),(!i||l&2)&&B(e,"unpadded_box",o[1])},i(o){i||(S(r,o),i=!0)},o(o){C(r,o),i=!1},d(o){o&&E(e),r&&r.d(o)}}}function rA(n,e,t){let{$$slots:i={},$$scope:s}=e,{size:r="small"}=e,{unpadded_box:o=!1}=e;return n.$$set=l=>{"size"in l&&t(0,r=l.size),"unpadded_box"in l&&t(1,o=l.unpadded_box),"$$scope"in l&&t(2,s=l.$$scope)},[r,o,s,i]}class Rp extends _e{constructor(e){super(),me(this,e,rA,sA,ae,{size:0,unpadded_box:1})}}function oA(n){let e,t,i,s,r,o,l;return{c(){e=z("label"),t=z("input"),i=se(),s=z("span"),r=ke(n[2]),t.disabled=n[1],v(t,"type","checkbox"),v(t,"name","test"),v(t,"data-testid","checkbox"),v(t,"class","svelte-8xl2dc"),v(s,"class","ml-2 svelte-8xl2dc"),v(e,"class","svelte-8xl2dc"),B(e,"disabled",n[1])},m(a,u){A(a,e,u),F(e,t),t.checked=n[0],F(e,i),F(e,s),F(s,r),o||(l=[ee(t,"change",n[4]),ee(t,"input",n[5])],o=!0)},p(a,[u]){u&2&&(t.disabled=a[1]),u&1&&(t.checked=a[0]),u&4&&je(r,a[2]),u&2&&B(e,"disabled",a[1])},i:Z,o:Z,d(a){a&&E(e),o=!1,lt(l)}}}function lA(n,e,t){let{value:i}=e,{disabled:s=!1}=e,{label:r}=e;const o=mi();function l(c){o("change",c)}function a(){i=this.checked,t(0,i)}const u=c=>{t(0,i=c.currentTarget.checked),o("select",{index:0,value:r,selected:c.currentTarget.checked})};return n.$$set=c=>{"value"in c&&t(0,i=c.value),"disabled"in c&&t(1,s=c.disabled),"label"in c&&t(2,r=c.label)},n.$$.update=()=>{n.$$.dirty&1&&l(i)},[i,s,r,o,a,u]}class aA extends _e{constructor(e){super(),me(this,e,lA,oA,ae,{value:0,disabled:1,label:2})}}function Pp(n){return n*n*n}function pw(n){const e=n-1;return e*e*e+1}function tf(n,{delay:e=0,duration:t=400,easing:i=Ec}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:t,easing:i,css:r=>`opacity: ${r*s}`}}function rV(n,{delay:e=0,duration:t=400,easing:i=pw,x:s=0,y:r=0,opacity:o=0}={}){const l=getComputedStyle(n),a=+l.opacity,u=l.transform==="none"?"":l.transform,c=a*(1-o),[f,h]=Ag(s),[d,p]=Ag(r);return{delay:e,duration:t,easing:i,css:(g,m)=>` + transform: ${u} translate(${(1-g)*f}${h}, ${(1-g)*d}${p}); + opacity: ${a-c*m}`}}function uA(n){let e,t,i;return{c(){e=ze("svg"),t=ze("path"),i=ze("path"),v(t,"d","M28.828 3.172a4.094 4.094 0 0 0-5.656 0L4.05 22.292A6.954 6.954 0 0 0 2 27.242V30h2.756a6.952 6.952 0 0 0 4.95-2.05L28.828 8.829a3.999 3.999 0 0 0 0-5.657zM10.91 18.26l2.829 2.829l-2.122 2.121l-2.828-2.828zm-2.619 8.276A4.966 4.966 0 0 1 4.756 28H4v-.759a4.967 4.967 0 0 1 1.464-3.535l1.91-1.91l2.829 2.828zM27.415 7.414l-12.261 12.26l-2.829-2.828l12.262-12.26a2.047 2.047 0 0 1 2.828 0a2 2 0 0 1 0 2.828z"),v(t,"fill","currentColor"),v(i,"d","M6.5 15a3.5 3.5 0 0 1-2.475-5.974l3.5-3.5a1.502 1.502 0 0 0 0-2.121a1.537 1.537 0 0 0-2.121 0L3.415 5.394L2 3.98l1.99-1.988a3.585 3.585 0 0 1 4.95 0a3.504 3.504 0 0 1 0 4.949L5.439 10.44a1.502 1.502 0 0 0 0 2.121a1.537 1.537 0 0 0 2.122 0l4.024-4.024L13 9.95l-4.025 4.024A3.475 3.475 0 0 1 6.5 15z"),v(i,"fill","currentColor"),v(e,"width","1em"),v(e,"height","1em"),v(e,"viewBox","0 0 32 32")},m(s,r){A(s,e,r),F(e,t),F(e,i)},p:Z,i:Z,o:Z,d(s){s&&E(e)}}}class cA extends _e{constructor(e){super(),me(this,e,null,uA,ae,{})}}function fA(n){let e,t;return{c(){e=ze("svg"),t=ze("polyline"),v(t,"points","20 6 9 17 4 12"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"width","100%"),v(e,"height","100%"),v(e,"viewBox","0 0 24 24"),v(e,"fill","none"),v(e,"stroke","currentColor"),v(e,"stroke-width","3"),v(e,"stroke-linecap","round"),v(e,"stroke-linejoin","round")},m(i,s){A(i,e,s),F(e,t)},p:Z,i:Z,o:Z,d(i){i&&E(e)}}}class hA extends _e{constructor(e){super(),me(this,e,null,fA,ae,{})}}function dA(n){let e,t,i,s;return{c(){e=ze("svg"),t=ze("g"),i=ze("path"),s=ze("path"),v(i,"d","M18,6L6.087,17.913"),ve(i,"fill","none"),ve(i,"fill-rule","nonzero"),ve(i,"stroke-width","2px"),v(t,"transform","matrix(1.14096,-0.140958,-0.140958,1.14096,-0.0559523,0.0559523)"),v(s,"d","M4.364,4.364L19.636,19.636"),ve(s,"fill","none"),ve(s,"fill-rule","nonzero"),ve(s,"stroke-width","2px"),v(e,"width","100%"),v(e,"height","100%"),v(e,"viewBox","0 0 24 24"),v(e,"version","1.1"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),v(e,"xml:space","preserve"),v(e,"stroke","currentColor"),ve(e,"fill-rule","evenodd"),ve(e,"clip-rule","evenodd"),ve(e,"stroke-linecap","round"),ve(e,"stroke-linejoin","round")},m(r,o){A(r,e,o),F(e,t),F(t,i),F(e,s)},p:Z,i:Z,o:Z,d(r){r&&E(e)}}}class gw extends _e{constructor(e){super(),me(this,e,null,dA,ae,{})}}function pA(n){let e,t,i;return{c(){e=ze("svg"),t=ze("path"),i=ze("path"),v(t,"fill","currentColor"),v(t,"d","M28 10v18H10V10h18m0-2H10a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2Z"),v(i,"fill","currentColor"),v(i,"d","M4 18H2V4a2 2 0 0 1 2-2h14v2H4Z"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"width","100%"),v(e,"height","100%"),v(e,"viewBox","0 0 32 32")},m(s,r){A(s,e,r),F(e,t),F(e,i)},p:Z,i:Z,o:Z,d(s){s&&E(e)}}}class gA extends _e{constructor(e){super(),me(this,e,null,pA,ae,{})}}function mA(n){let e,t;return{c(){e=ze("svg"),t=ze("path"),v(t,"fill","currentColor"),v(t,"d","M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"width","100%"),v(e,"height","100%"),v(e,"viewBox","0 0 32 32")},m(i,s){A(i,e,s),F(e,t)},p:Z,i:Z,o:Z,d(i){i&&E(e)}}}class _A extends _e{constructor(e){super(),me(this,e,null,mA,ae,{})}}function bA(n){let e,t;return{c(){e=ze("svg"),t=ze("path"),v(t,"d","M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"width","100%"),v(e,"height","100%"),v(e,"viewBox","0 0 24 24"),v(e,"fill","none"),v(e,"stroke","currentColor"),v(e,"stroke-width","1.5"),v(e,"stroke-linecap","round"),v(e,"stroke-linejoin","round"),v(e,"class","feather feather-edit-2")},m(i,s){A(i,e,s),F(e,t)},p:Z,i:Z,o:Z,d(i){i&&E(e)}}}class yA extends _e{constructor(e){super(),me(this,e,null,bA,ae,{})}}function vA(n){let e,t,i;return{c(){e=ze("svg"),t=ze("path"),i=ze("polyline"),v(t,"d","M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"),v(i,"points","13 2 13 9 20 9"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"width","100%"),v(e,"height","100%"),v(e,"viewBox","0 0 24 24"),v(e,"fill","none"),v(e,"stroke","currentColor"),v(e,"stroke-width","1.5"),v(e,"stroke-linecap","round"),v(e,"stroke-linejoin","round"),v(e,"class","feather feather-file")},m(s,r){A(s,e,r),F(e,t),F(e,i)},p:Z,i:Z,o:Z,d(s){s&&E(e)}}}let wA=class extends _e{constructor(e){super(),me(this,e,null,vA,ae,{})}};function kA(n){let e,t,i,s;return{c(){e=ze("svg"),t=ze("rect"),i=ze("circle"),s=ze("polyline"),v(t,"x","3"),v(t,"y","3"),v(t,"width","18"),v(t,"height","18"),v(t,"rx","2"),v(t,"ry","2"),v(i,"cx","8.5"),v(i,"cy","8.5"),v(i,"r","1.5"),v(s,"points","21 15 16 10 5 21"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"width","100%"),v(e,"height","100%"),v(e,"viewBox","0 0 24 24"),v(e,"fill","none"),v(e,"stroke","currentColor"),v(e,"stroke-width","1.5"),v(e,"stroke-linecap","round"),v(e,"stroke-linejoin","round"),v(e,"class","feather feather-image")},m(r,o){A(r,e,o),F(e,t),F(e,i),F(e,s)},p:Z,i:Z,o:Z,d(r){r&&E(e)}}}let ha=class extends _e{constructor(e){super(),me(this,e,null,kA,ae,{})}};function SA(n){let e,t;return{c(){e=ze("svg"),t=ze("path"),v(t,"fill","currentColor"),v(t,"d","M5 3h2v2H5v5a2 2 0 0 1-2 2a2 2 0 0 1 2 2v5h2v2H5c-1.07-.27-2-.9-2-2v-4a2 2 0 0 0-2-2H0v-2h1a2 2 0 0 0 2-2V5a2 2 0 0 1 2-2m14 0a2 2 0 0 1 2 2v4a2 2 0 0 0 2 2h1v2h-1a2 2 0 0 0-2 2v4a2 2 0 0 1-2 2h-2v-2h2v-5a2 2 0 0 1 2-2a2 2 0 0 1-2-2V5h-2V3h2m-7 12a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m-4 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m8 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1Z"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),v(e,"aria-hidden","true"),v(e,"role","img"),v(e,"class","iconify iconify--mdi"),v(e,"width","100%"),v(e,"height","100%"),v(e,"preserveAspectRatio","xMidYMid meet"),v(e,"viewBox","0 0 24 24")},m(i,s){A(i,e,s),F(e,t)},p:Z,i:Z,o:Z,d(i){i&&E(e)}}}let TA=class extends _e{constructor(e){super(),me(this,e,null,SA,ae,{})}};function Qg(n,e,t){const i=n.slice();return i[13]=e[t],i[15]=t,i}function CA(n){let e;return{c(){e=ke(n[3])},m(t,i){A(t,e,i)},p(t,i){i&8&&je(e,t[3])},d(t){t&&E(e)}}}function em(n,e){let t,i,s,r,o=!1,l,a,u=e[13]+"",c,f,h,d,p;function g(){return e[12](e[13],e[15])}return h=iC(e[11][0]),{key:n,first:null,c(){t=z("label"),i=z("input"),l=se(),a=z("span"),c=ke(u),f=se(),i.disabled=e[2],v(i,"type","radio"),v(i,"name",s="radio-"+e[6]),i.__value=r=e[13],Bt(i,i.__value),v(i,"class","svelte-1vn8q55"),v(a,"class","ml-2 svelte-1vn8q55"),v(t,"style",e[7]),v(t,"class","svelte-1vn8q55"),B(t,"disabled",e[2]),B(t,"selected",e[0]===e[13]),h.p(i),this.first=t},m(m,_){A(m,t,_),F(t,i),i.checked=i.__value===e[0],F(t,l),F(t,a),F(a,c),F(t,f),d||(p=[ee(i,"change",e[10]),ee(i,"input",g)],d=!0)},p(m,_){e=m,_&4&&(i.disabled=e[2]),_&64&&s!==(s="radio-"+e[6])&&v(i,"name",s),_&2&&r!==(r=e[13])&&(i.__value=r,Bt(i,i.__value),o=!0),(o||_&3)&&(i.checked=i.__value===e[0]),_&2&&u!==(u=e[13]+"")&&je(c,u),_&128&&v(t,"style",e[7]),_&4&&B(t,"disabled",e[2]),_&3&&B(t,"selected",e[0]===e[13])},d(m){m&&E(t),h.r(),d=!1,lt(p)}}}function IA(n){let e,t,i,s=[],r=new Map,o;e=new kn({props:{show_label:n[5],info:n[4],$$slots:{default:[CA]},$$scope:{ctx:n}}});let l=Xe(n[1]);const a=u=>u[15];for(let u=0;uh("select",{value:m,index:_});return n.$$set=m=>{"value"in m&&t(0,s=m.value),"style"in m&&t(9,r=m.style),"choices"in m&&t(1,o=m.choices),"disabled"in m&&t(2,l=m.disabled),"label"in m&&t(3,a=m.label),"info"in m&&t(4,u=m.info),"show_label"in m&&t(5,c=m.show_label),"elem_id"in m&&t(6,f=m.elem_id)},n.$$.update=()=>{n.$$.dirty&1&&h("change",s),n.$$.dirty&512&&t(7,{item_container:i}=Ko(r,["item_container"]),i)},[s,o,l,a,u,c,f,i,h,r,p,d,g]}class AA extends _e{constructor(e){super(),me(this,e,EA,IA,ae,{value:0,style:9,choices:1,disabled:2,label:3,info:4,show_label:5,elem_id:6})}}function OA(n){let e;return{c(){e=ke(n[3])},m(t,i){A(t,e,i)},p(t,i){i&8&&je(e,t[3])},d(t){t&&E(e)}}}function NA(n){let e,t,i,s,r,o,l=n[6]&&n[9].show_copy_button&&tm(n);return{c(){l&&l.c(),e=se(),t=z("textarea"),v(t,"data-testid","textbox"),v(t,"class","scroll-hide svelte-13rodre"),v(t,"placeholder",n[2]),v(t,"rows",n[1]),t.disabled=n[5]},m(a,u){l&&l.m(a,u),A(a,e,u),A(a,t,u),Bt(t,n[0]),n[24](t),s=!0,r||(o=[_r(i=n[16].call(null,t,n[0])),ee(t,"input",n[23]),ee(t,"keypress",n[15]),ee(t,"blur",n[12]),ee(t,"select",n[14])],r=!0)},p(a,u){a[6]&&a[9].show_copy_button?l?(l.p(a,u),u&576&&S(l,1)):(l=tm(a),l.c(),S(l,1),l.m(e.parentNode,e)):l&&(oe(),C(l,1,1,()=>{l=null}),le()),(!s||u&4)&&v(t,"placeholder",a[2]),(!s||u&2)&&v(t,"rows",a[1]),(!s||u&32)&&(t.disabled=a[5]),i&&Xn(i.update)&&u&1&&i.update.call(null,a[0]),u&1&&Bt(t,a[0])},i(a){s||(S(l),s=!0)},o(a){C(l),s=!1},d(a){a&&(E(e),E(t)),l&&l.d(a),n[24](null),r=!1,lt(o)}}}function DA(n){let e;function t(r,o){if(r[8]==="text")return PA;if(r[8]==="password")return RA;if(r[8]==="email")return MA}let i=t(n),s=i&&i(n);return{c(){s&&s.c(),e=we()},m(r,o){s&&s.m(r,o),A(r,e,o)},p(r,o){i===(i=t(r))&&s?s.p(r,o):(s&&s.d(1),s=i&&i(r),s&&(s.c(),s.m(e.parentNode,e)))},i:Z,o:Z,d(r){r&&E(e),s&&s.d(r)}}}function tm(n){let e,t,i,s;const r=[LA,xA],o=[];function l(a,u){return a[11]?0:1}return e=l(n),t=o[e]=r[e](n),{c(){t.c(),i=we()},m(a,u){o[e].m(a,u),A(a,i,u),s=!0},p(a,u){let c=e;e=l(a),e===c?o[e].p(a,u):(oe(),C(o[c],1,1,()=>{o[c]=null}),le(),t=o[e],t?t.p(a,u):(t=o[e]=r[e](a),t.c()),S(t,1),t.m(i.parentNode,i))},i(a){s||(S(t),s=!0)},o(a){C(t),s=!1},d(a){a&&E(i),o[e].d(a)}}}function xA(n){let e,t,i,s,r;return t=new gA({}),{c(){e=z("button"),Y(t.$$.fragment),v(e,"class","copy-text svelte-13rodre")},m(o,l){A(o,e,l),G(t,e,null),i=!0,s||(r=ee(e,"click",n[13]),s=!0)},p:Z,i(o){i||(S(t.$$.fragment,o),i=!0)},o(o){C(t.$$.fragment,o),i=!1},d(o){o&&E(e),j(t),s=!1,r()}}}function LA(n){let e,t,i,s;return t=new hA({}),{c(){e=z("button"),Y(t.$$.fragment),v(e,"class","svelte-13rodre")},m(r,o){A(r,e,o),G(t,e,null),s=!0},p:Z,i(r){s||(S(t.$$.fragment,r),r&&(i||vn(()=>{i=Ac(e,tf,{duration:300}),i.start()})),s=!0)},o(r){C(t.$$.fragment,r),s=!1},d(r){r&&E(e),j(t)}}}function MA(n){let e,t,i;return{c(){e=z("input"),v(e,"data-testid","textbox"),v(e,"type","email"),v(e,"class","scroll-hide svelte-13rodre"),v(e,"placeholder",n[2]),e.disabled=n[5],v(e,"autocomplete","email")},m(s,r){A(s,e,r),Bt(e,n[0]),n[22](e),t||(i=[ee(e,"input",n[21]),ee(e,"keypress",n[15]),ee(e,"blur",n[12]),ee(e,"select",n[14])],t=!0)},p(s,r){r&4&&v(e,"placeholder",s[2]),r&32&&(e.disabled=s[5]),r&1&&e.value!==s[0]&&Bt(e,s[0])},d(s){s&&E(e),n[22](null),t=!1,lt(i)}}}function RA(n){let e,t,i;return{c(){e=z("input"),v(e,"data-testid","password"),v(e,"type","password"),v(e,"class","scroll-hide svelte-13rodre"),v(e,"placeholder",n[2]),e.disabled=n[5],v(e,"autocomplete","")},m(s,r){A(s,e,r),Bt(e,n[0]),n[20](e),t||(i=[ee(e,"input",n[19]),ee(e,"keypress",n[15]),ee(e,"blur",n[12]),ee(e,"select",n[14])],t=!0)},p(s,r){r&4&&v(e,"placeholder",s[2]),r&32&&(e.disabled=s[5]),r&1&&e.value!==s[0]&&Bt(e,s[0])},d(s){s&&E(e),n[20](null),t=!1,lt(i)}}}function PA(n){let e,t,i;return{c(){e=z("input"),v(e,"data-testid","textbox"),v(e,"type","text"),v(e,"class","scroll-hide svelte-13rodre"),v(e,"placeholder",n[2]),e.disabled=n[5]},m(s,r){A(s,e,r),Bt(e,n[0]),n[18](e),t||(i=[ee(e,"input",n[17]),ee(e,"keypress",n[15]),ee(e,"blur",n[12]),ee(e,"select",n[14])],t=!0)},p(s,r){r&4&&v(e,"placeholder",s[2]),r&32&&(e.disabled=s[5]),r&1&&e.value!==s[0]&&Bt(e,s[0])},d(s){s&&E(e),n[18](null),t=!1,lt(i)}}}function BA(n){let e,t,i,s,r,o;t=new kn({props:{show_label:n[6],info:n[4],$$slots:{default:[OA]},$$scope:{ctx:n}}});const l=[DA,NA],a=[];function u(c,f){return c[1]===1&&c[7]===1?0:1}return s=u(n),r=a[s]=l[s](n),{c(){e=z("label"),Y(t.$$.fragment),i=se(),r.c(),v(e,"class","svelte-13rodre")},m(c,f){A(c,e,f),G(t,e,null),F(e,i),a[s].m(e,null),o=!0},p(c,[f]){const h={};f&64&&(h.show_label=c[6]),f&16&&(h.info=c[4]),f&1073741832&&(h.$$scope={dirty:f,ctx:c}),t.$set(h);let d=s;s=u(c),s===d?a[s].p(c,f):(oe(),C(a[d],1,1,()=>{a[d]=null}),le(),r=a[s],r?r.p(c,f):(r=a[s]=l[s](c),r.c()),S(r,1),r.m(e,null))},i(c){o||(S(t.$$.fragment,c),S(r),o=!0)},o(c){C(t.$$.fragment,c),C(r),o=!1},d(c){c&&E(e),j(t),a[s].d()}}}function zA(n,e,t){let{value:i=""}=e,{lines:s=1}=e,{placeholder:r="Type here..."}=e,{label:o}=e,{info:l=void 0}=e,{disabled:a=!1}=e,{show_label:u=!0}=e,{max_lines:c}=e,{type:f="text"}=e,{style:h={}}=e,d,p=!1,g;const m=mi();function _(K){m("change",K)}function b(){m("blur")}async function y(){"clipboard"in navigator&&(await navigator.clipboard.writeText(i),k())}function k(){t(11,p=!0),g&&clearTimeout(g),g=setTimeout(()=>{t(11,p=!1)},1e3)}function T(K){const Q=K.target,J=Q.value,ce=[Q.selectionStart,Q.selectionEnd];m("select",{value:J.substring(...ce),index:ce})}async function I(K){await yr(),(K.key==="Enter"&&K.shiftKey&&s>1||K.key==="Enter"&&!K.shiftKey&&s===1&&c>=1)&&(K.preventDefault(),m("submit"))}async function R(K){if(await yr(),s===c)return;let Q=c===!1?!1:c===void 0?21*11:21*(c+1),J=21*(s+1);const ce=K.target;ce.style.height="1px";let pe;Q&&ce.scrollHeight>Q?pe=Q:ce.scrollHeightK.removeEventListener("input",R)}}function N(){i=this.value,t(0,i)}function O(K){Ze[K?"unshift":"push"](()=>{d=K,t(10,d)})}function D(){i=this.value,t(0,i)}function M(K){Ze[K?"unshift":"push"](()=>{d=K,t(10,d)})}function L(){i=this.value,t(0,i)}function V(K){Ze[K?"unshift":"push"](()=>{d=K,t(10,d)})}function X(){i=this.value,t(0,i)}function q(K){Ze[K?"unshift":"push"](()=>{d=K,t(10,d)})}return n.$$set=K=>{"value"in K&&t(0,i=K.value),"lines"in K&&t(1,s=K.lines),"placeholder"in K&&t(2,r=K.placeholder),"label"in K&&t(3,o=K.label),"info"in K&&t(4,l=K.info),"disabled"in K&&t(5,a=K.disabled),"show_label"in K&&t(6,u=K.show_label),"max_lines"in K&&t(7,c=K.max_lines),"type"in K&&t(8,f=K.type),"style"in K&&t(9,h=K.style)},n.$$.update=()=>{n.$$.dirty&1155&&d&&s!==c&&R({target:d}),n.$$.dirty&1&&_(i)},[i,s,r,o,l,a,u,c,f,h,d,p,b,y,T,I,x,N,O,D,M,L,V,X,q]}class dr extends _e{constructor(e){super(),me(this,e,zA,BA,ae,{value:0,lines:1,placeholder:2,label:3,info:4,disabled:5,show_label:6,max_lines:7,type:8,style:9})}}function FA(n){let e;return{c(){e=ke(n[5])},m(t,i){A(t,e,i)},p(t,i){i&32&&je(e,t[5])},d(t){t&&E(e)}}}function WA(n){let e,t,i,s,r,o,l,a,u,c,f;return s=new kn({props:{show_label:n[7],info:n[6],$$slots:{default:[FA]},$$scope:{ctx:n}}}),{c(){e=z("div"),t=z("div"),i=z("label"),Y(s.$$.fragment),r=se(),o=z("input"),l=se(),a=z("input"),v(i,"for",n[8]),v(o,"data-testid","number-input"),v(o,"type","number"),v(o,"min",n[1]),v(o,"max",n[2]),v(o,"step",n[3]),o.disabled=n[4],v(o,"class","svelte-1jg56fs"),v(t,"class","head svelte-1jg56fs"),v(e,"class","wrap svelte-1jg56fs"),v(a,"type","range"),v(a,"id",n[8]),v(a,"name","cowbell"),v(a,"min",n[1]),v(a,"max",n[2]),v(a,"step",n[3]),a.disabled=n[4],v(a,"class","svelte-1jg56fs")},m(h,d){A(h,e,d),F(e,t),F(t,i),G(s,i,null),F(t,r),F(t,o),Bt(o,n[0]),A(h,l,d),A(h,a,d),Bt(a,n[0]),u=!0,c||(f=[ee(o,"input",n[11]),ee(o,"blur",n[10]),ee(o,"mouseup",n[9]),ee(a,"change",n[12]),ee(a,"input",n[12]),ee(a,"mouseup",n[9])],c=!0)},p(h,[d]){const p={};d&128&&(p.show_label=h[7]),d&64&&(p.info=h[6]),d&16416&&(p.$$scope={dirty:d,ctx:h}),s.$set(p),(!u||d&2)&&v(o,"min",h[1]),(!u||d&4)&&v(o,"max",h[2]),(!u||d&8)&&v(o,"step",h[3]),(!u||d&16)&&(o.disabled=h[4]),d&1&&br(o.value)!==h[0]&&Bt(o,h[0]),(!u||d&2)&&v(a,"min",h[1]),(!u||d&4)&&v(a,"max",h[2]),(!u||d&8)&&v(a,"step",h[3]),(!u||d&16)&&(a.disabled=h[4]),d&1&&Bt(a,h[0])},i(h){u||(S(s.$$.fragment,h),u=!0)},o(h){C(s.$$.fragment,h),u=!1},d(h){h&&(E(e),E(l),E(a)),j(s),c=!1,lt(f)}}}let VA=0;function HA(n,e,t){let{value:i=0}=e,{minimum:s=0}=e,{maximum:r=100}=e,{step:o=1}=e,{disabled:l=!1}=e,{label:a}=e,{info:u=void 0}=e,{show_label:c}=e;const f=`range_id_${VA++}`,h=mi();function d(_){h("release",i)}const p=()=>{h("release",i),t(0,i=Math.min(Math.max(i,s),r))};function g(){i=br(this.value),t(0,i)}function m(){i=br(this.value),t(0,i)}return n.$$set=_=>{"value"in _&&t(0,i=_.value),"minimum"in _&&t(1,s=_.minimum),"maximum"in _&&t(2,r=_.maximum),"step"in _&&t(3,o=_.step),"disabled"in _&&t(4,l=_.disabled),"label"in _&&t(5,a=_.label),"info"in _&&t(6,u=_.info),"show_label"in _&&t(7,c=_.show_label)},n.$$.update=()=>{n.$$.dirty&1&&h("change",i)},[i,s,r,o,l,a,u,c,f,d,p,g,m]}let $o=class extends _e{constructor(e){super(),me(this,e,HA,WA,ae,{value:0,minimum:1,maximum:2,step:3,disabled:4,label:5,info:6,show_label:7})}};function im(n){let e,t;return e=new yt({props:{$$slots:{default:[UA]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&529&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function UA(n){let e,t;return e=new aA({props:{disabled:Kn(n[0]),label:n[0].attrs.title,value:n[4]}}),e.$on("select",n[6]),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&1&&(r.disabled=Kn(i[0])),s&1&&(r.label=i[0].attrs.title),s&16&&(r.value=i[4]),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function nm(n){let e,t,i=n[1]!==null&&im(n);return{c(){i&&i.c(),e=we()},m(s,r){i&&i.m(s,r),A(s,e,r),t=!0},p(s,r){s[1]!==null?i?(i.p(s,r),r&2&&S(i,1)):(i=im(s),i.c(),S(i,1),i.m(e.parentNode,e)):i&&(oe(),C(i,1,1,()=>{i=null}),le())},i(s){t||(S(i),t=!0)},o(s){C(i),t=!1},d(s){s&&E(e),i&&i.d(s)}}}function GA(n){let e,t,i=n[5],s,r=nm(n);return{c(){e=z("div"),t=z("div"),r.c(),v(t,"class","inner svelte-8q271n"),v(e,"class","wrapper gradio-checkbox svelte-8q271n")},m(o,l){A(o,e,l),F(e,t),r.m(t,null),s=!0},p(o,[l]){l&32&&ae(i,i=o[5])?(oe(),C(r,1,1,Z),le(),r=nm(o),r.c(),S(r,1),r.m(t,null)):r.p(o,l)},i(o){s||(S(r),s=!0)},o(o){C(r),s=!1},d(o){o&&E(e),r.d(o)}}}function jA(n,e,t){let i,s=Z,r=()=>(s(),s=ot(h,m=>t(4,i=m)),h),o,l=Z,a=()=>(l(),l=ot(d,m=>t(5,o=m)),d);n.$$.on_destroy.push(()=>s()),n.$$.on_destroy.push(()=>l());let{widget:u=null}=e,{isMobile:c=!1}=e,f=null,h=null;r();let d=null;a();function p(m){m&&(t(1,f=m.node),r(t(2,h=f.value)),a(t(3,d=m.attrsChanged)))}function g(m){pi(h,i=m.detail.selected,i),wr(20)}return n.$$set=m=>{"widget"in m&&t(0,u=m.widget),"isMobile"in m&&t(7,c=m.isMobile)},n.$$.update=()=>{n.$$.dirty&1&&u&&p(u)},[u,f,h,d,i,o,g,c]}class qA extends _e{constructor(e){super(),me(this,e,jA,GA,ae,{widget:0,isMobile:7})}}class mw extends As{constructor(t){super(t,!1);P(this,"properties",{tags:[],defaultValue:!1});P(this,"svelteComponentType",qA);P(this,"defaultValue",!1)}parseValue(t){return!!t}}P(mw,"slotLayout",{inputs:[{name:"store",type:$.ACTION}],outputs:[{name:"value",type:"boolean"},{name:"changed",type:$.EVENT}]});w.registerNodeType({class:mw,title:"UI.Checkbox",desc:"Checkbox that stores a boolean value",type:"ui/checkbox"});function nf(n){return n.split("-")[1]}function _w(n){return n==="y"?"height":"width"}function Xr(n){return n.split("-")[0]}function sf(n){return["top","bottom"].includes(Xr(n))?"x":"y"}function sm(n,e,t){let{reference:i,floating:s}=n;const r=i.x+i.width/2-s.width/2,o=i.y+i.height/2-s.height/2,l=sf(e),a=_w(l),u=i[a]/2-s[a]/2,c=l==="x";let f;switch(Xr(e)){case"top":f={x:r,y:i.y-s.height};break;case"bottom":f={x:r,y:i.y+i.height};break;case"right":f={x:i.x+i.width,y:o};break;case"left":f={x:i.x-s.width,y:o};break;default:f={x:i.x,y:i.y}}switch(nf(e)){case"start":f[l]-=u*(t&&c?-1:1);break;case"end":f[l]+=u*(t&&c?-1:1)}return f}const YA=async(n,e,t)=>{const{placement:i="bottom",strategy:s="absolute",middleware:r=[],platform:o}=t,l=r.filter(Boolean),a=await(o.isRTL==null?void 0:o.isRTL(e));let u=await o.getElementRects({reference:n,floating:e,strategy:s}),{x:c,y:f}=sm(u,i,a),h=i,d={},p=0;for(let g=0;gn.concat(e,e+"-start",e+"-end"),[]);const ZA={left:"right",right:"left",bottom:"top",top:"bottom"};function Ku(n){return n.replace(/left|right|bottom|top/g,e=>ZA[e])}function QA(n,e,t){t===void 0&&(t=!1);const i=nf(n),s=sf(n),r=_w(s);let o=s==="x"?i===(t?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(o=Ku(o)),{main:o,cross:Ku(o)}}const eO={start:"end",end:"start"};function Bf(n){return n.replace(/start|end/g,e=>eO[e])}const tO=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(e){var t;const{placement:i,middlewareData:s,rects:r,initialPlacement:o,platform:l,elements:a}=e,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:p=!0,...g}=rf(n,e),m=Xr(i),_=Xr(o)===o,b=await(l.isRTL==null?void 0:l.isRTL(a.floating)),y=f||(_||!p?[Ku(o)]:function(D){const M=Ku(D);return[Bf(D),M,Bf(M)]}(o));f||d==="none"||y.push(...function(D,M,L,V){const X=nf(D);let q=function(K,Q,J){const ce=["left","right"],pe=["right","left"],qe=["top","bottom"],Ae=["bottom","top"];switch(K){case"top":case"bottom":return J?Q?pe:ce:Q?ce:pe;case"left":case"right":return Q?qe:Ae;default:return[]}}(Xr(D),L==="start",V);return X&&(q=q.map(K=>K+"-"+X),M&&(q=q.concat(q.map(Bf)))),q}(o,p,d,b));const k=[o,...y],T=await bw(e,g),I=[];let R=((t=s.flip)==null?void 0:t.overflows)||[];if(u&&I.push(T[m]),c){const{main:D,cross:M}=QA(i,r,b);I.push(T[D],T[M])}if(R=[...R,{placement:i,overflows:I}],!I.every(D=>D<=0)){var x,N;const D=(((x=s.flip)==null?void 0:x.index)||0)+1,M=k[D];if(M)return{data:{index:D,overflows:R},reset:{placement:M}};let L=(N=R.filter(V=>V.overflows[0]<=0).sort((V,X)=>V.overflows[1]-X.overflows[1])[0])==null?void 0:N.placement;if(!L)switch(h){case"bestFit":{var O;const V=(O=R.map(X=>[X.placement,X.overflows.filter(q=>q>0).reduce((q,K)=>q+K,0)]).sort((X,q)=>X[1]-q[1])[0])==null?void 0:O[0];V&&(L=V);break}case"initialPlacement":L=o}if(i!==L)return{reset:{placement:L}}}return{}}}},iO=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(e){const{x:t,y:i}=e,s=await async function(r,o){const{placement:l,platform:a,elements:u}=r,c=await(a.isRTL==null?void 0:a.isRTL(u.floating)),f=Xr(l),h=nf(l),d=sf(l)==="x",p=["left","top"].includes(f)?-1:1,g=c&&d?-1:1,m=rf(o,r);let{mainAxis:_,crossAxis:b,alignmentAxis:y}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...m};return h&&typeof y=="number"&&(b=h==="end"?-1*y:y),d?{x:b*g,y:_*p}:{x:_*p,y:b*g}}(e,n);return{x:t+s.x,y:i+s.y,data:s}}}};function nO(n){return n==="x"?"y":"x"}const sO=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(e){const{x:t,y:i,placement:s}=e,{mainAxis:r=!0,crossAxis:o=!1,limiter:l={fn:m=>{let{x:_,y:b}=m;return{x:_,y:b}}},...a}=rf(n,e),u={x:t,y:i},c=await bw(e,a),f=sf(Xr(s)),h=nO(f);let d=u[f],p=u[h];if(r){const m=f==="y"?"bottom":"right";d=rm(d+c[f==="y"?"top":"left"],d,d-c[m])}if(o){const m=h==="y"?"bottom":"right";p=rm(p+c[h==="y"?"top":"left"],p,p-c[m])}const g=l.fn({...e,[f]:d,[h]:p});return{...g,data:{x:g.x-t,y:g.y-i}}}}};function qn(n){var e;return((e=n.ownerDocument)==null?void 0:e.defaultView)||window}function ls(n){return qn(n).getComputedStyle(n)}function yw(n){return n instanceof qn(n).Node}function Sr(n){return yw(n)?(n.nodeName||"").toLowerCase():"#document"}function as(n){return n instanceof qn(n).HTMLElement}function Ws(n){return n instanceof qn(n).Element}function om(n){return typeof ShadowRoot<"u"&&(n instanceof qn(n).ShadowRoot||n instanceof ShadowRoot)}function Kl(n){const{overflow:e,overflowX:t,overflowY:i,display:s}=ls(n);return/auto|scroll|overlay|hidden|clip/.test(e+i+t)&&!["inline","contents"].includes(s)}function rO(n){return["table","td","th"].includes(Sr(n))}function Uh(n){const e=Bp(),t=ls(n);return t.transform!=="none"||t.perspective!=="none"||!e&&!!t.backdropFilter&&t.backdropFilter!=="none"||!e&&!!t.filter&&t.filter!=="none"||["transform","perspective","filter"].some(i=>(t.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(t.contain||"").includes(i))}function Bp(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function of(n){return["html","body","#document"].includes(Sr(n))}const Gh=Math.min,Po=Math.max,$u=Math.round,xa=Math.floor,Qr=n=>({x:n,y:n});function vw(n){const e=ls(n);let t=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const s=as(n),r=s?n.offsetWidth:t,o=s?n.offsetHeight:i,l=$u(t)!==r||$u(i)!==o;return l&&(t=r,i=o),{width:t,height:i,$:l}}function zp(n){return Ws(n)?n:n.contextElement}function Bo(n){const e=zp(n);if(!as(e))return Qr(1);const t=e.getBoundingClientRect(),{width:i,height:s,$:r}=vw(e);let o=(r?$u(t.width):t.width)/i,l=(r?$u(t.height):t.height)/s;return o&&Number.isFinite(o)||(o=1),l&&Number.isFinite(l)||(l=1),{x:o,y:l}}const lm=Qr(0);function ww(n,e,t){var i,s;if(e===void 0&&(e=!0),!Bp())return lm;const r=n?qn(n):window;return!t||e&&t!==r?lm:{x:((i=r.visualViewport)==null?void 0:i.offsetLeft)||0,y:((s=r.visualViewport)==null?void 0:s.offsetTop)||0}}function eo(n,e,t,i){e===void 0&&(e=!1),t===void 0&&(t=!1);const s=n.getBoundingClientRect(),r=zp(n);let o=Qr(1);e&&(i?Ws(i)&&(o=Bo(i)):o=Bo(n));const l=ww(r,t,i);let a=(s.left+l.x)/o.x,u=(s.top+l.y)/o.y,c=s.width/o.x,f=s.height/o.y;if(r){const h=qn(r),d=i&&Ws(i)?qn(i):i;let p=h.frameElement;for(;p&&i&&d!==h;){const g=Bo(p),m=p.getBoundingClientRect(),_=getComputedStyle(p),b=m.left+(p.clientLeft+parseFloat(_.paddingLeft))*g.x,y=m.top+(p.clientTop+parseFloat(_.paddingTop))*g.y;a*=g.x,u*=g.y,c*=g.x,f*=g.y,a+=b,u+=y,p=qn(p).frameElement}}return Xu({width:c,height:f,x:a,y:u})}function Vs(n){return((yw(n)?n.ownerDocument:n.document)||window.document).documentElement}function lf(n){return Ws(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function kw(n){return eo(Vs(n)).left+lf(n).scrollLeft}function Jo(n){if(Sr(n)==="html")return n;const e=n.assignedSlot||n.parentNode||om(n)&&n.host||Vs(n);return om(e)?e.host:e}function Sw(n){const e=Jo(n);return of(e)?n.ownerDocument?n.ownerDocument.body:n.body:as(e)&&Kl(e)?e:Sw(e)}function Ju(n,e){var t;e===void 0&&(e=[]);const i=Sw(n),s=i===((t=n.ownerDocument)==null?void 0:t.body),r=qn(i);return s?e.concat(r,r.visualViewport||[],Kl(i)?i:[]):e.concat(i,Ju(i))}function am(n,e,t){let i;if(e==="viewport")i=function(s,r){const o=qn(s),l=Vs(s),a=o.visualViewport;let u=l.clientWidth,c=l.clientHeight,f=0,h=0;if(a){u=a.width,c=a.height;const d=Bp();(!d||d&&r==="fixed")&&(f=a.offsetLeft,h=a.offsetTop)}return{width:u,height:c,x:f,y:h}}(n,t);else if(e==="document")i=function(s){const r=Vs(s),o=lf(s),l=s.ownerDocument.body,a=Po(r.scrollWidth,r.clientWidth,l.scrollWidth,l.clientWidth),u=Po(r.scrollHeight,r.clientHeight,l.scrollHeight,l.clientHeight);let c=-o.scrollLeft+kw(s);const f=-o.scrollTop;return ls(l).direction==="rtl"&&(c+=Po(r.clientWidth,l.clientWidth)-a),{width:a,height:u,x:c,y:f}}(Vs(n));else if(Ws(e))i=function(s,r){const o=eo(s,!0,r==="fixed"),l=o.top+s.clientTop,a=o.left+s.clientLeft,u=as(s)?Bo(s):Qr(1);return{width:s.clientWidth*u.x,height:s.clientHeight*u.y,x:a*u.x,y:l*u.y}}(e,t);else{const s=ww(n);i={...e,x:e.x-s.x,y:e.y-s.y}}return Xu(i)}function Tw(n,e){const t=Jo(n);return!(t===e||!Ws(t)||of(t))&&(ls(t).position==="fixed"||Tw(t,e))}function um(n,e){return as(n)&&ls(n).position!=="fixed"?e?e(n):n.offsetParent:null}function cm(n,e){const t=qn(n);if(!as(n))return t;let i=um(n,e);for(;i&&rO(i)&&ls(i).position==="static";)i=um(i,e);return i&&(Sr(i)==="html"||Sr(i)==="body"&&ls(i).position==="static"&&!Uh(i))?t:i||function(s){let r=Jo(s);for(;as(r)&&!of(r);){if(Uh(r))return r;r=Jo(r)}return null}(n)||t}function oO(n,e,t){const i=as(e),s=Vs(e),r=t==="fixed",o=eo(n,!0,r,e);let l={scrollLeft:0,scrollTop:0};const a=Qr(0);if(i||!i&&!r)if((Sr(e)!=="body"||Kl(s))&&(l=lf(e)),as(e)){const u=eo(e,!0,r,e);a.x=u.x+e.clientLeft,a.y=u.y+e.clientTop}else s&&(a.x=kw(s));return{x:o.left+l.scrollLeft-a.x,y:o.top+l.scrollTop-a.y,width:o.width,height:o.height}}const lO={getClippingRect:function(n){let{element:e,boundary:t,rootBoundary:i,strategy:s}=n;const r=t==="clippingAncestors"?function(u,c){const f=c.get(u);if(f)return f;let h=Ju(u).filter(m=>Ws(m)&&Sr(m)!=="body"),d=null;const p=ls(u).position==="fixed";let g=p?Jo(u):u;for(;Ws(g)&&!of(g);){const m=ls(g),_=Uh(g);_||m.position!=="fixed"||(d=null),(p?!_&&!d:!_&&m.position==="static"&&d&&["absolute","fixed"].includes(d.position)||Kl(g)&&!_&&Tw(u,g))?h=h.filter(b=>b!==g):d=m,g=Jo(g)}return c.set(u,h),h}(e,this._c):[].concat(t),o=[...r,i],l=o[0],a=o.reduce((u,c)=>{const f=am(e,c,s);return u.top=Po(f.top,u.top),u.right=Gh(f.right,u.right),u.bottom=Gh(f.bottom,u.bottom),u.left=Po(f.left,u.left),u},am(e,l,s));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(n){let{rect:e,offsetParent:t,strategy:i}=n;const s=as(t),r=Vs(t);if(t===r)return e;let o={scrollLeft:0,scrollTop:0},l=Qr(1);const a=Qr(0);if((s||!s&&i!=="fixed")&&((Sr(t)!=="body"||Kl(r))&&(o=lf(t)),as(t))){const u=eo(t);l=Bo(t),a.x=u.x+t.clientLeft,a.y=u.y+t.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-o.scrollLeft*l.x+a.x,y:e.y*l.y-o.scrollTop*l.y+a.y}},isElement:Ws,getDimensions:function(n){return vw(n)},getOffsetParent:cm,getDocumentElement:Vs,getScale:Bo,async getElementRects(n){let{reference:e,floating:t,strategy:i}=n;const s=this.getOffsetParent||cm,r=this.getDimensions;return{reference:oO(e,await s(t),i),floating:{x:0,y:0,...await r(t)}}},getClientRects:n=>Array.from(n.getClientRects()),isRTL:n=>ls(n).direction==="rtl"};function aO(n,e,t,i){i===void 0&&(i={});const{ancestorScroll:s=!0,ancestorResize:r=!0,elementResize:o=!0,layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=i,u=zp(n),c=s||r?[...u?Ju(u):[],...Ju(e)]:[];c.forEach(g=>{s&&g.addEventListener("scroll",t,{passive:!0}),r&&g.addEventListener("resize",t)});const f=u&&l?function(g,m){let _,b=null;const y=Vs(g);function k(){clearTimeout(_),b&&b.disconnect(),b=null}return function T(I,R){I===void 0&&(I=!1),R===void 0&&(R=1),k();const{left:x,top:N,width:O,height:D}=g.getBoundingClientRect();if(I||m(),!O||!D)return;const M=xa(N),L=xa(y.clientWidth-(x+O)),V=xa(y.clientHeight-(N+D)),X=xa(x);let q=!0;b=new IntersectionObserver(K=>{const Q=K[0].intersectionRatio;if(Q!==R){if(!q)return T();Q?T(!1,Q):_=setTimeout(()=>{T(!1,1e-7)},100)}q=!1},{rootMargin:-M+"px "+-L+"px "+-V+"px "+-X+"px",threshold:Po(0,Gh(1,R))||1}),b.observe(g)}(!0),k}(u,t):null;let h,d=null;o&&(d=new ResizeObserver(t),u&&!a&&d.observe(u),d.observe(e));let p=a?eo(n):null;return a&&function g(){const m=eo(n);!p||m.x===p.x&&m.y===p.y&&m.width===p.width&&m.height===p.height||t(),p=m,h=requestAnimationFrame(g)}(),t(),()=>{c.forEach(g=>{s&&g.removeEventListener("scroll",t),r&&g.removeEventListener("resize",t)}),f&&f(),d&&d.disconnect(),d=null,a&&cancelAnimationFrame(h)}}const uO=(n,e,t)=>{const i=new Map,s={platform:lO,...t},r={...s.platform,_c:i};return YA(n,e,{...s,platform:r})};function cO(n){let e,t;const i={autoUpdate:!0};let s=n;const r=c=>({...i,...n||{},...c||{}}),o=c=>{e&&t&&(s=r(c),uO(e,t,s).then(f=>{Object.assign(t.style,{position:f.strategy,left:`${f.x}px`,top:`${f.y}px`}),s!=null&&s.onComputed&&s.onComputed(f)}))},l=c=>{if("subscribe"in c)return u(c),{};e=c,o()},a=(c,f)=>{let h;t=c,s=r(f),setTimeout(()=>o(f),0),o(f);const d=()=>{h&&(h(),h=void 0)},p=({autoUpdate:g}=s||{})=>{if(d(),g!==!1)return aO(e,t,()=>o(s),g===!0?{}:g)};return h=p(),{update(g){o(g),h=p(g)},destroy(){d()}}},u=c=>{const f=c.subscribe(h=>{e===void 0?(e=h,o()):(Object.assign(e,h),o())});op(f)};return[l,a,o]}function fO({loadOptions:n,filterText:e,items:t,multiple:i,value:s,itemId:r,groupBy:o,filterSelectedItems:l,itemFilter:a,convertStringItemsToObjects:u,filterGroupedItems:c,label:f}){if(t&&n)return t;if(!t)return[];t&&t.length>0&&typeof t[0]!="object"&&(t=u(t));let h=t.filter(d=>{let p=a(d[f],e,d);return p&&i&&(s!=null&&s.length)&&(p=!s.some(g=>l?g[r]===d[r]:!1)),p});return o&&(h=c(h)),h}async function hO({dispatch:n,loadOptions:e,convertStringItemsToObjects:t,filterText:i}){let s=await e(i).catch(r=>{n("error",{type:"loadOptions",details:r})});if(s&&!s.cancelled)return s?(s&&s.length>0&&typeof s[0]!="object"&&(s=t(s)),n("loaded",{items:s})):s=[],{filteredItems:s,loading:!1,focused:!0,listOpen:!0}}function dO(n){let e,t;return{c(){e=ze("svg"),t=ze("path"),v(t,"fill","currentColor"),v(t,"d",`M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 + 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 + 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 + 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 + 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z`),v(e,"width","100%"),v(e,"height","100%"),v(e,"viewBox","0 0 20 20"),v(e,"focusable","false"),v(e,"aria-hidden","true"),v(e,"class","svelte-qbd276")},m(i,s){A(i,e,s),F(e,t)},p:Z,i:Z,o:Z,d(i){i&&E(e)}}}class pO extends _e{constructor(e){super(),me(this,e,null,dO,ae,{})}}function gO(n){let e,t;return{c(){e=ze("svg"),t=ze("path"),v(t,"fill","currentColor"),v(t,"d",`M34.923,37.251L24,26.328L13.077,37.251L9.436,33.61l10.923-10.923L9.436,11.765l3.641-3.641L24,19.047L34.923,8.124 + l3.641,3.641L27.641,22.688L38.564,33.61L34.923,37.251z`),v(e,"width","100%"),v(e,"height","100%"),v(e,"viewBox","-2 -2 50 50"),v(e,"focusable","false"),v(e,"aria-hidden","true"),v(e,"role","presentation"),v(e,"class","svelte-whdbu1")},m(i,s){A(i,e,s),F(e,t)},p:Z,i:Z,o:Z,d(i){i&&E(e)}}}class Zu extends _e{constructor(e){super(),me(this,e,null,gO,ae,{})}}function mO(n){let e,t;return{c(){e=ze("svg"),t=ze("circle"),v(t,"class","circle_path svelte-1p3nqvd"),v(t,"cx","50"),v(t,"cy","50"),v(t,"r","20"),v(t,"fill","none"),v(t,"stroke","currentColor"),v(t,"stroke-width","5"),v(t,"stroke-miterlimit","10"),v(e,"class","loading svelte-1p3nqvd"),v(e,"viewBox","25 25 50 50")},m(i,s){A(i,e,s),F(e,t)},p:Z,i:Z,o:Z,d(i){i&&E(e)}}}class _O extends _e{constructor(e){super(),me(this,e,null,mO,ae,{})}}const bO=n=>({value:n[0]&8}),fm=n=>({value:n[3]}),yO=n=>({value:n[0]&8}),hm=n=>({value:n[3]}),vO=n=>({listOpen:n[0]&64}),dm=n=>({listOpen:n[6]}),wO=n=>({}),pm=n=>({}),kO=n=>({}),gm=n=>({}),SO=n=>({selection:n[0]&8}),mm=n=>({selection:n[3]});function _m(n,e,t){const i=n.slice();return i[125]=e[t],i[127]=t,i}const TO=n=>({}),bm=n=>({}),CO=n=>({selection:n[0]&8}),ym=n=>({selection:n[125],index:n[127]}),IO=n=>({}),vm=n=>({}),EO=n=>({}),wm=n=>({}),AO=n=>({}),km=n=>({});function Sm(n,e,t){const i=n.slice();return i[125]=e[t],i[127]=t,i}const OO=n=>({item:n[0]&16777216}),Tm=n=>({item:n[125],index:n[127]}),NO=n=>({filteredItems:n[0]&16777216}),Cm=n=>({filteredItems:n[24]}),DO=n=>({}),Im=n=>({});function Em(n){let e,t,i,s,r,o,l,a,u=n[50]["list-prepend"]&&Am(n);const c=[MO,LO,xO],f=[];function h(p,g){return p[50].list?0:p[24].length>0?1:p[19]?-1:2}~(i=h(n))&&(s=f[i]=c[i](n));let d=n[50]["list-append"]&&Nm(n);return{c(){e=z("div"),u&&u.c(),t=se(),s&&s.c(),r=se(),d&&d.c(),v(e,"class","svelte-select-list svelte-apvs86"),B(e,"prefloat",n[28])},m(p,g){A(p,e,g),u&&u.m(e,null),F(e,t),~i&&f[i].m(e,null),F(e,r),d&&d.m(e,null),n[90](e),o=!0,l||(a=[_r(n[49].call(null,e)),ee(e,"scroll",n[41]),ee(e,"pointerup",Hn(Yi(n[85])))],l=!0)},p(p,g){p[50]["list-prepend"]?u?(u.p(p,g),g[1]&524288&&S(u,1)):(u=Am(p),u.c(),S(u,1),u.m(e,t)):u&&(oe(),C(u,1,1,()=>{u=null}),le());let m=i;i=h(p),i===m?~i&&f[i].p(p,g):(s&&(oe(),C(f[m],1,1,()=>{f[m]=null}),le()),~i?(s=f[i],s?s.p(p,g):(s=f[i]=c[i](p),s.c()),S(s,1),s.m(e,r)):s=null),p[50]["list-append"]?d?(d.p(p,g),g[1]&524288&&S(d,1)):(d=Nm(p),d.c(),S(d,1),d.m(e,null)):d&&(oe(),C(d,1,1,()=>{d=null}),le()),(!o||g[0]&268435456)&&B(e,"prefloat",p[28])},i(p){o||(S(u),S(s),S(d),o=!0)},o(p){C(u),C(s),C(d),o=!1},d(p){p&&E(e),u&&u.d(),~i&&f[i].d(),d&&d.d(),n[90](null),l=!1,lt(a)}}}function Am(n){let e;const t=n[82]["list-prepend"],i=De(t,n,n[81],Im);return{c(){i&&i.c()},m(s,r){i&&i.m(s,r),e=!0},p(s,r){i&&i.p&&(!e||r[2]&524288)&&Le(i,t,s,s[81],e?xe(t,s[81],r,DO):Me(s[81]),Im)},i(s){e||(S(i,s),e=!0)},o(s){C(i,s),e=!1},d(s){i&&i.d(s)}}}function xO(n){let e;const t=n[82].empty,i=De(t,n,n[81],km),s=i||RO();return{c(){s&&s.c()},m(r,o){s&&s.m(r,o),e=!0},p(r,o){i&&i.p&&(!e||o[2]&524288)&&Le(i,t,r,r[81],e?xe(t,r[81],o,AO):Me(r[81]),km)},i(r){e||(S(s,r),e=!0)},o(r){C(s,r),e=!1},d(r){s&&s.d(r)}}}function LO(n){let e,t,i=Xe(n[24]),s=[];for(let o=0;oC(s[o],1,1,()=>{s[o]=null});return{c(){for(let o=0;o{o[c]=null}),le(),t=o[e],t?t.p(a,u):(t=o[e]=r[e](a),t.c()),S(t,1),t.m(i.parentNode,i))},i(a){s||(S(t),s=!0)},o(a){C(t),s=!1},d(a){a&&E(i),o[e].d(a)}}}function BO(n){let e,t;const i=n[82].selection,s=De(i,n,n[81],mm),r=s||FO(n);return{c(){e=z("div"),r&&r.c(),v(e,"class","selected-item svelte-apvs86"),B(e,"hide-selected-item",n[35])},m(o,l){A(o,e,l),r&&r.m(e,null),t=!0},p(o,l){s?s.p&&(!t||l[0]&8|l[2]&524288)&&Le(s,i,o,o[81],t?xe(i,o[81],l,SO):Me(o[81]),mm):r&&r.p&&(!t||l[0]&4104)&&r.p(o,t?l:[-1,-1,-1,-1,-1]),(!t||l[1]&16)&&B(e,"hide-selected-item",o[35])},i(o){t||(S(r,o),t=!0)},o(o){C(r,o),t=!1},d(o){o&&E(e),r&&r.d(o)}}}function zO(n){let e,t,i=Xe(n[3]),s=[];for(let o=0;oC(s[o],1,1,()=>{s[o]=null});return{c(){for(let o=0;o{f=null}),le()),(!r||p[0]&67108864)&&B(e,"active",n[26]===n[127]),(!r||p[0]&2048)&&B(e,"disabled",n[11])},i(d){r||(S(c,d),S(f),r=!0)},o(d){C(c,d),C(f),r=!1},d(d){d&&E(e),c&&c.d(d),f&&f.d(),o=!1,lt(l)}}}function Rm(n){let e,t;const i=n[82]["loading-icon"],s=De(i,n,n[81],gm),r=s||HO();return{c(){e=z("div"),r&&r.c(),v(e,"class","icon loading svelte-apvs86"),v(e,"aria-hidden","true")},m(o,l){A(o,e,l),r&&r.m(e,null),t=!0},p(o,l){s&&s.p&&(!t||l[2]&524288)&&Le(s,i,o,o[81],t?xe(i,o[81],l,kO):Me(o[81]),gm)},i(o){t||(S(r,o),t=!0)},o(o){C(r,o),t=!1},d(o){o&&E(e),r&&r.d(o)}}}function HO(n){let e,t;return e=new _O({}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function Pm(n){let e,t,i,s;const r=n[82]["clear-icon"],o=De(r,n,n[81],pm),l=o||UO();return{c(){e=z("button"),l&&l.c(),v(e,"type","button"),v(e,"class","icon clear-select svelte-apvs86")},m(a,u){A(a,e,u),l&&l.m(e,null),t=!0,i||(s=ee(e,"click",n[22]),i=!0)},p(a,u){o&&o.p&&(!t||u[2]&524288)&&Le(o,r,a,a[81],t?xe(r,a[81],u,wO):Me(a[81]),pm)},i(a){t||(S(l,a),t=!0)},o(a){C(l,a),t=!1},d(a){a&&E(e),l&&l.d(a),i=!1,s()}}}function UO(n){let e,t;return e=new Zu({}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function Bm(n){let e,t;const i=n[82]["chevron-icon"],s=De(i,n,n[81],dm),r=s||GO();return{c(){e=z("div"),r&&r.c(),v(e,"class","icon chevron svelte-apvs86"),v(e,"aria-hidden","true")},m(o,l){A(o,e,l),r&&r.m(e,null),t=!0},p(o,l){s&&s.p&&(!t||l[0]&64|l[2]&524288)&&Le(s,i,o,o[81],t?xe(i,o[81],l,vO):Me(o[81]),dm)},i(o){t||(S(r,o),t=!0)},o(o){C(r,o),t=!1},d(o){o&&E(e),r&&r.d(o)}}}function GO(n){let e,t;return e=new pO({}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function jO(n){let e,t;return{c(){e=z("input"),v(e,"name",n[8]),v(e,"type","hidden"),e.value=t=n[3]?JSON.stringify(n[3]):null,v(e,"class","svelte-apvs86")},m(i,s){A(i,e,s)},p(i,s){s[0]&256&&v(e,"name",i[8]),s[0]&8&&t!==(t=i[3]?JSON.stringify(i[3]):null)&&(e.value=t)},d(i){i&&E(e)}}}function zm(n){let e;const t=n[82].required,i=De(t,n,n[81],fm),s=i||qO();return{c(){s&&s.c()},m(r,o){s&&s.m(r,o),e=!0},p(r,o){i&&i.p&&(!e||o[0]&8|o[2]&524288)&&Le(i,t,r,r[81],e?xe(t,r[81],o,bO):Me(r[81]),fm)},i(r){e||(S(s,r),e=!0)},o(r){C(s,r),e=!1},d(r){s&&s.d(r)}}}function qO(n){let e;return{c(){e=z("select"),v(e,"class","required svelte-apvs86"),e.required=!0,v(e,"tabindex","-1"),v(e,"aria-hidden","true")},m(t,i){A(t,e,i)},p:Z,d(t){t&&E(e)}}}function YO(n){let e,t,i,s,r,o,l,a,u,c,f,h,d,p,g,m,_,b,y,k,T=n[6]&&Em(n),I=n[2]&&Dm(n);const R=n[82].prepend,x=De(R,n,n[81],vm);let N=n[25]&&xm(n),O=[{readOnly:c=!n[17]},n[27],{placeholder:n[33]},{style:n[18]},{disabled:n[11]}],D={};for(let J=0;J{T=null}),le()),J[2]?I?I.p(J,ce):(I=Dm(J),I.c(),I.m(i,null)):I&&(I.d(1),I=null),x&&x.p&&(!b||ce[2]&524288)&&Le(x,R,J,J[81],b?xe(R,J[81],ce,IO):Me(J[81]),vm),J[25]?N?(N.p(J,ce),ce[0]&33554432&&S(N,1)):(N=xm(J),N.c(),S(N,1),N.m(l,a)):N&&(oe(),C(N,1,1,()=>{N=null}),le()),Dh(u,D=_i(O,[(!b||ce[0]&131072&&c!==(c=!J[17]))&&{readOnly:c},ce[0]&134217728&&J[27],(!b||ce[1]&4)&&{placeholder:J[33]},(!b||ce[0]&262144)&&{style:J[18]},(!b||ce[0]&2048)&&{disabled:J[11]}])),ce[0]&16&&u.value!==J[4]&&Bt(u,J[4]),B(u,"svelte-apvs86",!0),J[5]?M?(M.p(J,ce),ce[0]&32&&S(M,1)):(M=Rm(J),M.c(),S(M,1),M.m(h,d)):M&&(oe(),C(M,1,1,()=>{M=null}),le()),J[34]?L?(L.p(J,ce),ce[1]&8&&S(L,1)):(L=Pm(J),L.c(),S(L,1),L.m(h,p)):L&&(oe(),C(L,1,1,()=>{L=null}),le()),J[20]?V?(V.p(J,ce),ce[0]&1048576&&S(V,1)):(V=Bm(J),V.c(),S(V,1),V.m(h,null)):V&&(oe(),C(V,1,1,()=>{V=null}),le()),q?q.p&&(!b||ce[0]&8|ce[2]&524288)&&Le(q,X,J,J[81],b?xe(X,J[81],ce,yO):Me(J[81]),hm):K&&K.p&&(!b||ce[0]&264)&&K.p(J,b?ce:[-1,-1,-1,-1,-1]),J[16]&&(!J[3]||J[3].length===0)?Q?(Q.p(J,ce),ce[0]&65544&&S(Q,1)):(Q=zm(J),Q.c(),S(Q,1),Q.m(e,null)):Q&&(oe(),C(Q,1,1,()=>{Q=null}),le()),(!b||ce[0]&2097152&&_!==(_="svelte-select "+J[21]+" svelte-apvs86"))&&v(e,"class",_),(!b||ce[0]&16384)&&v(e,"style",J[14]),(!b||ce[0]&2097664)&&B(e,"multi",J[9]),(!b||ce[0]&2099200)&&B(e,"disabled",J[11]),(!b||ce[0]&2097156)&&B(e,"focused",J[2]),(!b||ce[0]&2097216)&&B(e,"list-open",J[6]),(!b||ce[0]&3145728)&&B(e,"show-chevron",J[20]),(!b||ce[0]&2129920)&&B(e,"error",J[15])},i(J){b||(S(T),S(x,J),S(N),S(M),S(L),S(V),S(K,J),S(Q),b=!0)},o(J){C(T),C(x,J),C(N),C(M),C(L),C(V),C(K,J),C(Q),b=!1},d(J){J&&E(e),T&&T.d(),I&&I.d(),x&&x.d(J),N&&N.d(),n[93](null),M&&M.d(),L&&L.d(),V&&V.d(),K&&K.d(J),Q&&Q.d(),n[95](null),y=!1,lt(k)}}}function Fm(n){return n.map((e,t)=>({index:t,value:e,label:`${e}`}))}function XO(n){return n===0}function KO(n){return n.groupHeader&&n.selectable||n.selectable||!n.hasOwnProperty("selectable")}function $O(n,e,t){let i,s,r,o,l,a,u,c,f,{$$slots:h={},$$scope:d}=e;const p=XT(h),g=mi();let{justValue:m=null}=e,{filter:_=fO}=e,{getItems:b=hO}=e,{id:y=null}=e,{name:k=null}=e,{container:T=void 0}=e,{input:I=void 0}=e,{multiple:R=!1}=e,{multiFullItemClearable:x=!1}=e,{disabled:N=!1}=e,{focused:O=!1}=e,{value:D=null}=e,{filterText:M=""}=e,{placeholder:L="Please select"}=e,{placeholderAlwaysShow:V=!1}=e,{items:X=null}=e,{label:q="label"}=e,{itemFilter:K=(W,Ne,Vt)=>`${W}`.toLowerCase().includes(Ne.toLowerCase())}=e,{groupBy:Q=void 0}=e,{groupFilter:J=W=>W}=e,{groupHeaderSelectable:ce=!1}=e,{itemId:pe="value"}=e,{loadOptions:qe=void 0}=e,{containerStyles:Ae=""}=e,{hasError:ue=!1}=e,{filterSelectedItems:te=!0}=e,{required:be=!1}=e,{closeListOnChange:ge=!0}=e,{createGroupHeaderItem:he=(W,Ne)=>({value:W,[q]:W})}=e;const Se=()=>u;let{searchable:Je=!0}=e,{inputStyles:gt=""}=e,{clearable:Ii=!0}=e,{loading:fe=!1}=e,{listOpen:Te=!1}=e,Ge,{debounce:It=(W,Ne=1)=>{clearTimeout(Ge),Ge=setTimeout(W,Ne)}}=e,{debounceWait:Pt=300}=e,{hideEmptyState:ni=!1}=e,{inputAttributes:Xt={}}=e,{listAutoWidth:Fi=!0}=e,{showChevron:Ei=!1}=e,{listOffset:hi=5}=e,{hoverItemIndex:st=0}=e,{floatingConfig:ei={}}=e,{class:Wi=""}=e,ct,si,Tn,tn;function Ce(){if(typeof D=="string"){let W=(X||[]).find(Ne=>Ne[pe]===D);t(3,D=W||{[pe]:D,label:D})}else R&&Array.isArray(D)&&D.length>0&&t(3,D=D.map(W=>typeof W=="string"?{value:W,label:W}:W))}let tt;function vt(){t(27,tt=Object.assign({autocapitalize:"none",autocomplete:"off",autocorrect:"off",spellcheck:!1,tabindex:0,type:"text","aria-autocomplete":"list"},Xt)),y&&t(27,tt.id=y,tt),Je||t(27,tt.readonly=!0,tt)}function Kt(W){const Ne=[],Vt={};W.forEach(po=>{const xs=Q(po);Ne.includes(xs)||(Ne.push(xs),Vt[xs]=[],xs&&Vt[xs].push(Object.assign(he(xs,po),{id:xs,groupHeader:!0,selectable:ce}))),Vt[xs].push(Object.assign({groupItem:!!xs},po))});const Ds=[];return J(Ne).forEach(po=>{Vt[po]&&Ds.push(...Vt[po])}),Ds}function Vi(){if(R){JSON.stringify(D)!==JSON.stringify(si)&&Ai()&&g("input",D);return}(!si||JSON.stringify(D[pe])!==JSON.stringify(si[pe]))&&g("input",D)}function cn(){D&&(Array.isArray(D)?t(3,D=[...D]):t(3,D=[D]))}function Hi(){D&&t(3,D=null)}function Ks(){const W=u.findIndex(Ne=>Ne[pe]===D[pe]);At(W,!0)}function $s(W){g("hoverItem",W)}function At(W=0,Ne){t(7,st=W<0?0:W),!Ne&&Q&&u[st]&&!u[st].selectable&&Wt(1)}function fn(){!qe&&M.length===0||(qe?It(async function(){t(5,fe=!0);let W=await b({dispatch:g,loadOptions:qe,convertStringItemsToObjects:Fm,filterText:M});W?(t(5,fe=W.loading),t(6,Te=Te?W.listOpen:M.length>0),t(2,O=Te&&W.focused),t(51,X=Q?Kt(W.filteredItems):W.filteredItems)):(t(5,fe=!1),t(2,O=!0),t(6,Te=!0))},Pt):(t(6,Te=!0),R&&t(26,ct=void 0)))}function Js(W){Te&&g("filter",W)}hC(async()=>{t(77,si=D),t(78,Tn=M),t(79,tn=R)});function Ns(){return R?D?D.map(W=>W[pe]):null:D&&D[pe]}function Ai(){let W=!0;if(D){const Ne=[],Vt=[];D.forEach(Ds=>{Ne.includes(Ds[pe])?W=!1:(Ne.push(Ds[pe]),Vt.push(Ds))}),W||t(3,D=Vt)}return W}function Ui(W){let Ne=W?W[pe]:D[pe];return X.find(Vt=>Vt[pe]===Ne)}function ri(W){!W||W.length===0||W.some(Ne=>typeof Ne!="object")||!D||(R?D.some(Ne=>!Ne||!Ne[pe]):!D[pe])||(Array.isArray(D)?t(3,D=D.map(Ne=>Ui(Ne)||Ne)):t(3,D=Ui()||D))}async function $t(W){const Ne=D[W];D.length===1?t(3,D=void 0):t(3,D=D.filter(Vt=>Vt!==Ne)),g("clear",Ne)}function xt(W){if(O)switch(W.stopPropagation(),W.key){case"Escape":W.preventDefault(),Bn();break;case"Enter":if(W.preventDefault(),Te){if(u.length===0)break;const Ne=u[st];if(D&&!R&&D[pe]===Ne[pe]){Bn();break}else ye(u[st])}break;case"ArrowDown":W.preventDefault(),Te?Wt(1):(t(6,Te=!0),t(26,ct=void 0));break;case"ArrowUp":W.preventDefault(),Te?Wt(-1):(t(6,Te=!0),t(26,ct=void 0));break;case"Tab":if(Te&&O){if(u.length===0||D&&D[pe]===u[st][pe])return Bn();W.preventDefault(),ye(u[st]),Bn()}break;case"Backspace":if(!R||M.length>0)return;if(R&&D&&D.length>0){if($t(ct!==void 0?ct:D.length-1),ct===0||ct===void 0)break;t(26,ct=D.length>ct?ct-1:void 0)}break;case"ArrowLeft":if(!D||!R||M.length>0)return;ct===void 0?t(26,ct=D.length-1):D.length>ct&&ct!==0&&t(26,ct-=1);break;case"ArrowRight":if(!D||!R||M.length>0||ct===void 0)return;ct===D.length-1?t(26,ct=void 0):ct{Te&&t(2,O=!0),O&&I&&I.focus()});function Sa(W){if(W){t(4,M="");const Ne=Object.assign({},W);if(Ne.groupHeader&&!Ne.selectable)return;t(3,D=R?D?D.concat([Ne]):[Ne]:t(3,D=Ne)),setTimeout(()=>{ge&&Bn(),t(26,ct=void 0),g("change",D),g("select",W)})}}function Bn(){t(4,M=""),t(6,Te=!1)}let{ariaValues:hl=W=>`Option ${W}, selected.`}=e,{ariaListOpen:Zs=(W,Ne)=>`You are currently focused on option ${W}. There are ${Ne} results available.`}=e,{ariaFocused:Cn=()=>"Select is focused, type to refine list, press down to open the menu."}=e;function Ta(W){let Ne;return W&&D.length>0?Ne=D.map(Vt=>Vt[q]).join(", "):Ne=D[q],hl(Ne)}function Ca(){if(!u||u.length===0)return"";let W=u[st];if(Te&&W){let Ne=u?u.length:0;return Zs(W[q],Ne)}else return Cn()}let Oi=null,dl;function Ia(){clearTimeout(dl),dl=setTimeout(()=>{U=!1},100)}function Fe(W){!Te&&!O&&T&&!T.contains(W.target)&&!(Oi!=null&&Oi.contains(W.target))&&fl()}op(()=>{Oi==null||Oi.remove()});let U=!1;function ye(W){!W||W.selectable===!1||Sa(W)}function Ee(W){U||t(7,st=W)}function _t(W){const{item:Ne,i:Vt}=W;if((Ne==null?void 0:Ne.selectable)!==!1){if(D&&!R&&D[pe]===Ne[pe])return Bn();KO(Ne)&&(t(7,st=Vt),ye(Ne))}}function Wt(W){if(u.filter(Ds=>!Object.hasOwn(Ds,"selectable")||Ds.selectable===!0).length===0)return t(7,st=0);W>0&&st===u.length-1?t(7,st=0):W<0&&st===0?t(7,st=u.length-1):t(7,st=st+W);const Vt=u[st];if(Vt&&Vt.selectable===!1){(W===1||W===-1)&&Wt(W);return}}function dn(W,Ne,Vt){if(!R)return Ne&&Ne[Vt]===W[Vt]}const Lt=fo,zn=fo;function fo(W){return{update(Ne){Ne.scroll&&(Ia(),W.scrollIntoView({behavior:"auto",block:"nearest"}))}}}function Ea(){const{width:W}=T.getBoundingClientRect();t(23,Oi.style.width=Fi?W+"px":"auto",Oi)}let ho={strategy:"absolute",placement:"bottom-start",middleware:[iO(hi),tO(),sO()],autoUpdate:!1};const[ET,AT,OT]=cO(ho);let Nf=!0;function NT(W,Ne){if(!W||!Ne)return t(28,Nf=!0);setTimeout(()=>{t(28,Nf=!1)},0)}function DT(W){Ut.call(this,n,W)}function xT(W){Ut.call(this,n,W)}function LT(W){Ut.call(this,n,W)}function MT(W){Ut.call(this,n,W)}const RT=W=>Ee(W),PT=W=>Ee(W),BT=(W,Ne)=>_t({item:W,i:Ne});function zT(W){Ze[W?"unshift":"push"](()=>{Oi=W,t(23,Oi)})}const FT=W=>$t(W),WT=W=>x?$t(W):{};function VT(W){Ze[W?"unshift":"push"](()=>{I=W,t(1,I)})}function HT(){M=this.value,t(4,M)}function UT(W){Ze[W?"unshift":"push"](()=>{T=W,t(0,T)})}return n.$$set=W=>{"justValue"in W&&t(52,m=W.justValue),"filter"in W&&t(53,_=W.filter),"getItems"in W&&t(54,b=W.getItems),"id"in W&&t(55,y=W.id),"name"in W&&t(8,k=W.name),"container"in W&&t(0,T=W.container),"input"in W&&t(1,I=W.input),"multiple"in W&&t(9,R=W.multiple),"multiFullItemClearable"in W&&t(10,x=W.multiFullItemClearable),"disabled"in W&&t(11,N=W.disabled),"focused"in W&&t(2,O=W.focused),"value"in W&&t(3,D=W.value),"filterText"in W&&t(4,M=W.filterText),"placeholder"in W&&t(56,L=W.placeholder),"placeholderAlwaysShow"in W&&t(57,V=W.placeholderAlwaysShow),"items"in W&&t(51,X=W.items),"label"in W&&t(12,q=W.label),"itemFilter"in W&&t(58,K=W.itemFilter),"groupBy"in W&&t(59,Q=W.groupBy),"groupFilter"in W&&t(60,J=W.groupFilter),"groupHeaderSelectable"in W&&t(61,ce=W.groupHeaderSelectable),"itemId"in W&&t(13,pe=W.itemId),"loadOptions"in W&&t(62,qe=W.loadOptions),"containerStyles"in W&&t(14,Ae=W.containerStyles),"hasError"in W&&t(15,ue=W.hasError),"filterSelectedItems"in W&&t(63,te=W.filterSelectedItems),"required"in W&&t(16,be=W.required),"closeListOnChange"in W&&t(64,ge=W.closeListOnChange),"createGroupHeaderItem"in W&&t(65,he=W.createGroupHeaderItem),"searchable"in W&&t(17,Je=W.searchable),"inputStyles"in W&&t(18,gt=W.inputStyles),"clearable"in W&&t(67,Ii=W.clearable),"loading"in W&&t(5,fe=W.loading),"listOpen"in W&&t(6,Te=W.listOpen),"debounce"in W&&t(68,It=W.debounce),"debounceWait"in W&&t(69,Pt=W.debounceWait),"hideEmptyState"in W&&t(19,ni=W.hideEmptyState),"inputAttributes"in W&&t(70,Xt=W.inputAttributes),"listAutoWidth"in W&&t(71,Fi=W.listAutoWidth),"showChevron"in W&&t(20,Ei=W.showChevron),"listOffset"in W&&t(72,hi=W.listOffset),"hoverItemIndex"in W&&t(7,st=W.hoverItemIndex),"floatingConfig"in W&&t(73,ei=W.floatingConfig),"class"in W&&t(21,Wi=W.class),"ariaValues"in W&&t(74,hl=W.ariaValues),"ariaListOpen"in W&&t(75,Zs=W.ariaListOpen),"ariaFocused"in W&&t(76,Cn=W.ariaFocused),"$$scope"in W&&t(81,d=W.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&8|n.$$.dirty[1]&1048576&&D&&Ce(),n.$$.dirty[0]&131072|n.$$.dirty[2]&256&&(Xt||!Je)&&vt(),n.$$.dirty[0]&512&&R&&cn(),n.$$.dirty[0]&512|n.$$.dirty[2]&131072&&tn&&!R&&Hi(),n.$$.dirty[0]&520&&R&&D&&D.length>1&&Ai(),n.$$.dirty[0]&8&&D&&Vi(),n.$$.dirty[0]&520|n.$$.dirty[2]&32768&&!D&&R&&si&&g("input",D),n.$$.dirty[0]&6&&!O&&I&&Bn(),n.$$.dirty[0]&16|n.$$.dirty[2]&65536&&M!==Tn&&fn(),n.$$.dirty[0]&12824|n.$$.dirty[1]&407896064|n.$$.dirty[2]&3&&t(24,u=_({loadOptions:qe,filterText:M,items:X,multiple:R,value:D,itemId:pe,groupBy:Q,label:q,filterSelectedItems:te,itemFilter:K,convertStringItemsToObjects:Fm,filterGroupedItems:Kt})),n.$$.dirty[0]&16777800&&!R&&Te&&D&&u&&Ks(),n.$$.dirty[0]&576&&Te&&R&&t(7,st=0),n.$$.dirty[0]&16&&M&&t(7,st=0),n.$$.dirty[0]&128&&$s(st),n.$$.dirty[0]&520&&t(25,i=R?D&&D.length>0:D),n.$$.dirty[0]&33554448&&t(35,s=i&&M.length>0),n.$$.dirty[0]&33556512|n.$$.dirty[2]&32&&t(34,r=i&&Ii&&!N&&!fe),n.$$.dirty[0]&520|n.$$.dirty[1]&100663296&&t(33,o=V&&R||R&&(D==null?void 0:D.length)===0?L:D?"":L),n.$$.dirty[0]&520&&t(32,l=D?Ta(R):""),n.$$.dirty[0]&16777412&&t(31,a=Ca()),n.$$.dirty[1]&1048576&&ri(X),n.$$.dirty[0]&8712&&t(52,m=Ns()),n.$$.dirty[0]&520|n.$$.dirty[2]&32768&&!R&&si&&!D&&g("input",D),n.$$.dirty[0]&16777800&&Te&&u&&!R&&!D&&At(),n.$$.dirty[0]&16777216&&Js(u),n.$$.dirty[0]&1|n.$$.dirty[2]&2048&&T&&(ei==null?void 0:ei.autoUpdate)===void 0&&t(80,ho.autoUpdate=!0,ho),n.$$.dirty[0]&1|n.$$.dirty[2]&264192&&T&&ei&&OT(Object.assign(ho,ei)),n.$$.dirty[0]&8388608&&t(30,c=!!Oi),n.$$.dirty[0]&8388672&&NT(Oi,Te),n.$$.dirty[0]&8388673&&Te&&T&&Oi&&Ea(),n.$$.dirty[0]&128&&t(29,f=st),n.$$.dirty[0]&70&&I&&Te&&!O&&Ot()},[T,I,O,D,M,fe,Te,st,k,R,x,N,q,pe,Ae,ue,be,Je,gt,ni,Ei,Wi,co,Oi,u,i,ct,tt,Nf,f,c,a,l,o,r,s,$t,xt,Ot,fl,hn,Ia,Fe,Ee,_t,dn,Lt,zn,ET,AT,p,X,m,_,b,y,L,V,K,Q,J,ce,qe,te,ge,he,Se,Ii,It,Pt,Xt,Fi,hi,ei,hl,Zs,Cn,si,Tn,tn,ho,d,h,DT,xT,LT,MT,RT,PT,BT,zT,FT,WT,VT,HT,UT]}class JO extends _e{constructor(e){super(),me(this,e,$O,YO,ae,{justValue:52,filter:53,getItems:54,id:55,name:8,container:0,input:1,multiple:9,multiFullItemClearable:10,disabled:11,focused:2,value:3,filterText:4,placeholder:56,placeholderAlwaysShow:57,items:51,label:12,itemFilter:58,groupBy:59,groupFilter:60,groupHeaderSelectable:61,itemId:13,loadOptions:62,containerStyles:14,hasError:15,filterSelectedItems:63,required:16,closeListOnChange:64,createGroupHeaderItem:65,getFilteredItems:66,searchable:17,inputStyles:18,clearable:67,loading:5,listOpen:6,debounce:68,debounceWait:69,hideEmptyState:19,inputAttributes:70,listAutoWidth:71,showChevron:20,listOffset:72,hoverItemIndex:7,floatingConfig:73,class:21,handleClear:22,ariaValues:74,ariaListOpen:75,ariaFocused:76},null,[-1,-1,-1,-1,-1])}get getFilteredItems(){return this.$$.ctx[66]}get handleClear(){return this.$$.ctx[22]}}const La={AUTO:"auto",START:"start",CENTER:"center",END:"end"},Ps={HORIZONTAL:"horizontal",VERTICAL:"vertical"},ml={OBSERVED:0,REQUESTED:1},ZO={[Ps.VERTICAL]:"top",[Ps.HORIZONTAL]:"left"},Wm={[Ps.VERTICAL]:"scrollTop",[Ps.HORIZONTAL]:"scrollLeft"};class QO{constructor({itemSize:e,itemCount:t,estimatedItemSize:i}){this.itemSize=e,this.itemCount=t,this.estimatedItemSize=i,this.itemSizeAndPositionData={},this.lastMeasuredIndex=-1,this.checkForMismatchItemSizeAndItemCount(),this.justInTime||this.computeTotalSizeAndPositionData()}get justInTime(){return typeof this.itemSize=="function"}updateConfig({itemSize:e,itemCount:t,estimatedItemSize:i}){t!=null&&(this.itemCount=t),i!=null&&(this.estimatedItemSize=i),e!=null&&(this.itemSize=e),this.checkForMismatchItemSizeAndItemCount(),this.justInTime&&this.totalSize!=null?this.totalSize=void 0:this.computeTotalSizeAndPositionData()}checkForMismatchItemSizeAndItemCount(){if(Array.isArray(this.itemSize)&&this.itemSize.length=this.itemCount)throw Error(`Requested index ${e} is outside of range 0..${this.itemCount}`);return this.justInTime?this.getJustInTimeSizeAndPositionForIndex(e):this.itemSizeAndPositionData[e]}getJustInTimeSizeAndPositionForIndex(e){if(e>this.lastMeasuredIndex){const t=this.getSizeAndPositionOfLastMeasuredItem();let i=t.offset+t.size;for(let s=this.lastMeasuredIndex+1;s<=e;s++){const r=this.getSize(s);if(r==null||isNaN(r))throw Error(`Invalid size returned for index ${s} of value ${r}`);this.itemSizeAndPositionData[s]={offset:i,size:r},i+=r}this.lastMeasuredIndex=e}return this.itemSizeAndPositionData[e]}getSizeAndPositionOfLastMeasuredItem(){return this.lastMeasuredIndex>=0?this.itemSizeAndPositionData[this.lastMeasuredIndex]:{offset:0,size:0}}getTotalSize(){if(this.totalSize)return this.totalSize;const e=this.getSizeAndPositionOfLastMeasuredItem();return e.offset+e.size+(this.itemCount-this.lastMeasuredIndex-1)*this.estimatedItemSize}getUpdatedOffsetForIndex({align:e=La.START,containerSize:t,currentOffset:i,targetIndex:s}){if(t<=0)return 0;const r=this.getSizeAndPositionForIndex(s),o=r.offset,l=o-t+r.size;let a;switch(e){case La.END:a=l;break;case La.CENTER:a=o-(t-r.size)/2;break;case La.START:a=o;break;default:a=Math.max(l,Math.min(o,i))}const u=this.getTotalSize();return Math.max(0,Math.min(u-t,a))}getVisibleRange({containerSize:e=0,offset:t,overscanCount:i}){if(this.getTotalSize()===0)return{};const r=t+e;let o=this.findNearestItem(t);if(o===void 0)throw Error(`Invalid offset ${t} specified`);const l=this.getSizeAndPositionForIndex(o);t=l.offset+l.size;let a=o;for(;t=e?this.binarySearch({high:i,low:0,offset:e}):this.exponentialSearch({index:i,offset:e})}binarySearch({low:e,high:t,offset:i}){let s=0,r=0;for(;e<=t;){if(s=e+Math.floor((t-e)/2),r=this.getSizeAndPositionForIndex(s).offset,r===i)return s;ri&&(t=s-1)}return e>0?e-1:0}exponentialSearch({index:e,offset:t}){let i=1;for(;e({}),Vm=n=>({});function Hm(n,e,t){const i=n.slice();return i[37]=e[t],i}const tN=n=>({style:n[0]&4,index:n[0]&4}),Um=n=>({style:n[37].style,index:n[37].index}),iN=n=>({}),Gm=n=>({});function jm(n,e){let t,i;const s=e[21].item,r=De(s,e,e[20],Um);return{key:n,first:null,c(){t=we(),r&&r.c(),this.first=t},m(o,l){A(o,t,l),r&&r.m(o,l),i=!0},p(o,l){e=o,r&&r.p&&(!i||l[0]&1048580)&&Le(r,s,e,e[20],i?xe(s,e[20],l,tN):Me(e[20]),Um)},i(o){i||(S(r,o),i=!0)},o(o){C(r,o),i=!1},d(o){o&&E(t),r&&r.d(o)}}}function nN(n){let e,t,i,s=[],r=new Map,o,l;const a=n[21].header,u=De(a,n,n[20],Gm);let c=Xe(n[2]);const f=p=>p[0]?p[0](p[37].index):p[37].index;for(let p=0;p{let n=!1;try{const e=Object.defineProperty({},"passive",{get(){return n={passive:!0},!0}});window.addEventListener("testpassive",e,e),window.remove("testpassive",e,e)}catch{}return n})();function rN(n,e,t){let{$$slots:i={},$$scope:s}=e,{height:r}=e,{width:o="100%"}=e,{itemCount:l}=e,{itemSize:a}=e,{estimatedItemSize:u=null}=e,{stickyIndices:c=null}=e,{getKey:f=null}=e,{scrollDirection:h=Ps.VERTICAL}=e,{scrollOffset:d=null}=e,{scrollToIndex:p=null}=e,{scrollToAlignment:g=null}=e,{scrollToBehaviour:m="instant"}=e,{overscanCount:_=3}=e;const b=mi(),y=new QO({itemCount:l,itemSize:a,estimatedItemSize:pe()});let k=!1,T,I=[],R={offset:d||p!=null&&I.length&&Q(p)||0,scrollChangeReason:ml.REQUESTED},x=R,N={scrollToIndex:p,scrollToAlignment:g,scrollOffset:d,itemCount:l,itemSize:a,estimatedItemSize:u},O={},D="",M="";X(),rl(()=>{t(18,k=!0),T.addEventListener("scroll",J,sN),d!=null?q(d):p!=null&&q(Q(p))}),op(()=>{k&&T.removeEventListener("scroll",J)});function L(){if(!k)return;const ue=N.scrollToIndex!==p||N.scrollToAlignment!==g,te=N.itemCount!==l||N.itemSize!==a||N.estimatedItemSize!==u;te&&(y.updateConfig({itemSize:a,itemCount:l,estimatedItemSize:pe()}),K()),N.scrollOffset!==d?t(19,R={offset:d||0,scrollChangeReason:ml.REQUESTED}):typeof p=="number"&&(ue||te)&&t(19,R={offset:Q(p,g,l),scrollChangeReason:ml.REQUESTED}),N={scrollToIndex:p,scrollToAlignment:g,scrollOffset:d,itemCount:l,itemSize:a,estimatedItemSize:u}}function V(){if(!k)return;const{offset:ue,scrollChangeReason:te}=R;(x.offset!==ue||x.scrollChangeReason!==te)&&X(),x.offset!==ue&&te===ml.REQUESTED&&q(ue),x=R}function X(){const{offset:ue}=R,{start:te,stop:be}=y.getVisibleRange({containerSize:h===Ps.VERTICAL?r:o,offset:ue,overscanCount:_});let ge=[];const he=y.getTotalSize();h===Ps.VERTICAL?(t(3,D=`height:${r}px;width:${o};`),t(4,M=`flex-direction:column;height:${he}px;`)):(t(3,D=`height:${r};width:${o}px`),t(4,M=`min-height:100%;width:${he}px;`));const Se=c!=null&&c.length!==0;if(Se)for(let Je=0;Je=be)&&(ue=0),y.getUpdatedOffsetForIndex({align:te,containerSize:h===Ps.VERTICAL?r:o,currentOffset:R.offset||0,targetIndex:ue})}function J(ue){const te=ce();te<0||R.offset===te||ue.target!==T||(t(19,R={offset:te,scrollChangeReason:ml.OBSERVED}),b("afterScroll",{offset:te,event:ue}))}function ce(){return T[Wm[h]]}function pe(){return u||typeof a=="number"&&a||50}function qe(ue,te){if(O[ue])return O[ue];const{size:be,offset:ge}=y.getSizeAndPositionForIndex(ue);let he;return h===Ps.VERTICAL?(he=`left:0;width:100%;height:${be}px;`,te?he+=`position:sticky;flex-grow:0;z-index:1;top:0;margin-top:${ge}px;margin-bottom:${-(ge+be)}px;`:he+=`position:absolute;top:${ge}px;`):(he=`top:0;width:${be}px;`,te?he+=`position:sticky;z-index:1;left:0;margin-left:${ge}px;margin-right:${-(ge+be)}px;`:he+=`position:absolute;height:100%;left:${ge}px;`),O[ue]=he}function Ae(ue){Ze[ue?"unshift":"push"](()=>{T=ue,t(1,T)})}return n.$$set=ue=>{"height"in ue&&t(5,r=ue.height),"width"in ue&&t(6,o=ue.width),"itemCount"in ue&&t(7,l=ue.itemCount),"itemSize"in ue&&t(8,a=ue.itemSize),"estimatedItemSize"in ue&&t(9,u=ue.estimatedItemSize),"stickyIndices"in ue&&t(10,c=ue.stickyIndices),"getKey"in ue&&t(0,f=ue.getKey),"scrollDirection"in ue&&t(11,h=ue.scrollDirection),"scrollOffset"in ue&&t(12,d=ue.scrollOffset),"scrollToIndex"in ue&&t(13,p=ue.scrollToIndex),"scrollToAlignment"in ue&&t(14,g=ue.scrollToAlignment),"scrollToBehaviour"in ue&&t(15,m=ue.scrollToBehaviour),"overscanCount"in ue&&t(16,_=ue.overscanCount),"$$scope"in ue&&t(20,s=ue.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&29568&&L(),n.$$.dirty[0]&524288&&V(),n.$$.dirty[0]&263264&&k&&K(0)},[f,T,I,D,M,r,o,l,a,u,c,h,d,p,g,m,_,K,k,R,s,i,Ae]}class oN extends _e{constructor(e){super(),me(this,e,rN,nN,ae,{height:5,width:6,itemCount:7,itemSize:8,estimatedItemSize:9,stickyIndices:10,getKey:0,scrollDirection:11,scrollOffset:12,scrollToIndex:13,scrollToAlignment:14,scrollToBehaviour:15,overscanCount:16,recomputeSizes:17},null,[-1,-1])}get recomputeSizes(){return this.$$.ctx[17]}}function qm(n){const e=n[40][n[44]];n[45]=e}function lN(n){const e=n.slice(),t=e[1]?50:25;e[41]=t;const i=e[1]?10:30;return e[42]=i,e}function Ym(n){let e,t;return e=new kn({props:{show_label:!0,$$slots:{default:[aN]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s[0]&33|s[1]&32768&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function aN(n){let e=n[0].attrs.title+"",t,i,s,r,o=n[5].length+"",l,a;return{c(){t=ke(e),i=se(),s=z("span"),r=ke("("),l=ke(o),a=ke(")"),v(s,"class","count-text svelte-1fd1n9i")},m(u,c){A(u,t,c),A(u,i,c),A(u,s,c),F(s,r),F(s,l),F(s,a)},p(u,c){c[0]&1&&e!==(e=u[0].attrs.title+"")&&je(t,e),c[0]&32&&o!==(o=u[5].length+"")&&je(l,o)},d(u){u&&(E(t),E(i),E(s))}}}function uN(n){let e;return{c(){e=z("div"),e.innerHTML="(No items)",v(e,"class","comfy-empty-list svelte-1fd1n9i")},m(t,i){A(t,e,i)},p:Z,i:Z,o:Z,d(t){t&&E(e)}}}function cN(n){let e,t;return e=new oN({props:{items:n[40],width:"100%",height:Math.min(n[40].length,n[42])*n[41],itemCount:n[40].length,itemSize:n[41],overscanCount:5,scrollToIndex:n[11]!=null?yi(n[11]+n[42]-1,0,n[40].length-1):n[12],$$slots:{item:[fN,({style:i,index:s})=>({43:i,44:s}),({style:i,index:s})=>[0,(i?4096:0)|(s?8192:0)]]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s[1]&512&&(r.items=i[40]),s[0]&2|s[1]&512&&(r.height=Math.min(i[40].length,i[42])*i[41]),s[1]&512&&(r.itemCount=i[40].length),s[0]&2&&(r.itemSize=i[41]),s[0]&6146|s[1]&512&&(r.scrollToIndex=i[11]!=null?yi(i[11]+i[42]-1,0,i[40].length-1):i[12]),s[0]&6146|s[1]&45568&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function fN(n){qm(n);let e,t,i=n[45].label+"",s,r,o,l,a;function u(){return n[21](n[40],n[44])}function c(){return n[22](n[44])}function f(){return n[23](n[44])}return{c(){e=z("div"),t=z("span"),s=ke(i),v(t,"class","comfy-select-label"),v(e,"slot","item"),v(e,"class","comfy-select-item svelte-1fd1n9i"),v(e,"title",r=n[19](n[40][n[44]].label)),v(e,"style",o=n[43]),B(e,"mobile",n[1]),B(e,"active",n[11]===n[40][n[44]].index),B(e,"hover",n[12]===n[44])},m(h,d){A(h,e,d),F(e,t),F(t,s),l||(a=[ee(e,"click",u),ee(e,"focus",c),ee(e,"mouseover",f)],l=!0)},p(h,d){n=h,qm(n),d[1]&8704&&i!==(i=n[45].label+"")&&je(s,i),d[1]&8704&&r!==(r=n[19](n[40][n[44]].label))&&v(e,"title",r),d[1]&4096&&o!==(o=n[43])&&v(e,"style",o),d[0]&2&&B(e,"mobile",n[1]),d[0]&2048|d[1]&8704&&B(e,"active",n[11]===n[40][n[44]].index),d[0]&4096|d[1]&8192&&B(e,"hover",n[12]===n[44])},d(h){h&&E(e),l=!1,lt(a)}}}function hN(n){let e,t,i,s;const r=[cN,uN],o=[];function l(u,c){return u[40].length>0?0:1}function a(u,c){return c===0?lN(u):u}return t=l(n),i=o[t]=r[t](a(n,t)),{c(){e=z("div"),i.c(),v(e,"class","comfy-select-list svelte-1fd1n9i"),v(e,"slot","list"),B(e,"mobile",n[1]),ve(e,"--maxLabelWidth",n[2].maxLabelWidthChars||100)},m(u,c){A(u,e,c),o[t].m(e,null),s=!0},p(u,c){let f=t;t=l(u),t===f?o[t].p(a(u,t),c):(oe(),C(o[f],1,1,()=>{o[f]=null}),le(),i=o[t],i?i.p(a(u,t),c):(i=o[t]=r[t](a(u,t)),i.c()),S(i,1),i.m(e,null)),(!s||c[0]&2)&&B(e,"mobile",u[1]),c[0]&4&&ve(e,"--maxLabelWidth",u[2].maxLabelWidthChars||100)},i(u){s||(S(i),s=!0)},o(u){C(i),s=!1},d(u){u&&E(e),o[t].d()}}}function dN(n){let e,t,i,s,r,o,l,a,u,c,f=n[0].attrs.title!==""&&Ym(n);function h(b){n[24](b)}function d(b){n[25](b)}function p(b){n[26](b)}function g(b){n[27](b)}function m(b){n[28](b)}let _={value:n[5].length===0?"(Loading...)":n[4],items:n[5],disabled:n[5].length===0||Kn(n[0]),clearable:!1,showChevron:!0,listAutoWidth:!0,inputAttributes:{autocomplete:"off"},$$slots:{list:[hN,({filteredItems:b})=>({40:b}),({filteredItems:b})=>[0,b?512:0]]},$$scope:{ctx:n}};return n[9]!==void 0&&(_.justValue=n[9]),n[12]!==void 0&&(_.hoverItemIndex=n[12]),n[13]!==void 0&&(_.filterText=n[13]),n[14]!==void 0&&(_.listOpen=n[14]),n[10]!==void 0&&(_.input=n[10]),s=new JO({props:_}),Ze.push(()=>jt(s,"justValue",h)),Ze.push(()=>jt(s,"hoverItemIndex",d)),Ze.push(()=>jt(s,"filterText",p)),Ze.push(()=>jt(s,"listOpen",g)),Ze.push(()=>jt(s,"input",m)),s.$on("change",n[29]),s.$on("focus",n[16]),s.$on("hoverItem",n[30]),s.$on("select",n[31]),s.$on("blur",n[32]),s.$on("filter",pN),{c(){e=z("div"),t=z("label"),f&&f.c(),i=se(),Y(s.$$.fragment),v(t,"title",n[15]),v(e,"class","wrapper comfy-combo svelte-1fd1n9i"),B(e,"mobile",n[1]),B(e,"updated",n[6])},m(b,y){A(b,e,y),F(e,t),f&&f.m(t,null),F(t,i),G(s,t,null),c=!0},p(b,y){b[0].attrs.title!==""?f?(f.p(b,y),y[0]&1&&S(f,1)):(f=Ym(b),f.c(),S(f,1),f.m(t,i)):f&&(oe(),C(f,1,1,()=>{f=null}),le());const k={};y[0]&48&&(k.value=b[5].length===0?"(Loading...)":b[4]),y[0]&32&&(k.items=b[5]),y[0]&33&&(k.disabled=b[5].length===0||Kn(b[0])),y[0]&6150|y[1]&33280&&(k.$$scope={dirty:y,ctx:b}),!r&&y[0]&512&&(r=!0,k.justValue=b[9],Gt(()=>r=!1)),!o&&y[0]&4096&&(o=!0,k.hoverItemIndex=b[12],Gt(()=>o=!1)),!l&&y[0]&8192&&(l=!0,k.filterText=b[13],Gt(()=>l=!1)),!a&&y[0]&16384&&(a=!0,k.listOpen=b[14],Gt(()=>a=!1)),!u&&y[0]&1024&&(u=!0,k.input=b[10],Gt(()=>u=!1)),s.$set(k),(!c||y[0]&32768)&&v(t,"title",b[15]),(!c||y[0]&2)&&B(e,"mobile",b[1]),(!c||y[0]&64)&&B(e,"updated",b[6])},i(b){c||(S(f),S(s.$$.fragment,b),c=!0)},o(b){C(f),C(s.$$.fragment,b),c=!1},d(b){b&&E(e),f&&f.d(),j(s)}}}function pN(){}function gN(n,e,t){let i,s=Z,r=()=>(s(),s=ot(g,he=>t(4,i=he)),g),o,l=Z,a=()=>(l(),l=ot(_,he=>t(5,o=he)),_),u,c=Z,f=()=>(c(),c=ot(m,he=>t(6,u=he)),m);n.$$.on_destroy.push(()=>s()),n.$$.on_destroy.push(()=>l()),n.$$.on_destroy.push(()=>c());let{widget:h=null}=e,{isMobile:d=!1}=e,p=null,g=Be("");r();let m=Be(!1);f();let _=Be([]);a();let b=null,{debug:y=!1}=e,k=null;function T(he){he&&(t(2,p=he.node),r(t(3,g=p.value)),p.propsChanged,f(t(7,m=p.lightUp)),a(t(8,_=p.valuesForCombo)))}function I(he){const Se=i;t(11,x=he.findIndex(Je=>Je.value===Se))}function R(){D&&wr(20)}let x=null,N=null,O="",D=null;function M(he){t(12,N=he)}function L(he){wr(20);const Se=o[he];t(11,x=he),pi(g,i=Se.value,i),t(14,D=!1),t(13,O=""),setTimeout(()=>{k==null||k.blur()},100)}let V;function X(he){if(he==null){if(!g)return"";he=i}return he&&he.length>80?String(he):""}const q=(he,Se)=>L(he[Se].index),K=he=>M(he),Q=he=>M(he);function J(he){b=he,t(9,b)}function ce(he){N=he,t(12,N)}function pe(he){O=he,t(13,O)}function qe(he){D=he,t(14,D)}function Ae(he){k=he,t(10,k)}function ue(he){Ut.call(this,n,he)}const te=he=>M(he.detail),be=he=>L(he.detail.index);function ge(he){Ut.call(this,n,he)}return n.$$set=he=>{"widget"in he&&t(0,h=he.widget),"isMobile"in he&&t(1,d=he.isMobile),"debug"in he&&t(20,y=he.debug)},n.$$.update=()=>{n.$$.dirty[0]&1&&h&&T(h),n.$$.dirty[0]&13&&g!==null&&(T(h),t(2,p),t(3,g),t(0,h)),n.$$.dirty[0]&32&&o!=null&&I(o),n.$$.dirty[0]&64&&u&&setTimeout(()=>pi(m,u=!1,u),1e3),n.$$.dirty[0]&24&&g&&i&&t(15,V=X(i))},[h,d,p,g,i,o,u,m,_,b,k,x,N,O,D,V,R,M,L,X,y,q,K,Q,J,ce,pe,qe,Ae,ue,te,be,ge]}class mN extends _e{constructor(e){super(),me(this,e,gN,dN,ae,{widget:0,isMobile:1,debug:20},null,[-1,-1])}}class da extends As{constructor(t){super(t,"A");P(this,"properties",{tags:[],defaultValue:"A",values:["A","B","C","D"],convertValueToLabelCode:""});P(this,"svelteComponentType",mN);P(this,"defaultValue","A");P(this,"saveUserState",!1);P(this,"firstLoad");P(this,"lightUp");P(this,"valuesForCombo");P(this,"maxLabelWidthChars",0);this.firstLoad=Be(!1),this.lightUp=Be(!0),this.valuesForCombo=Be([])}onPropertyChanged(t,i){}formatValues(t,i,s=!1){if(t==null)return;let r=this.properties.values!=t;this.properties.values=t;const o=ie(this.value);this.properties.values.indexOf(o)===-1&&(r=!0,this.value.set(i||this.properties.values[0])),s&&ie(this.firstLoad)&&r&&this.lightUp.set(!0);let l;this.properties.convertValueToLabelCode?l=new Function("value",this.properties.convertValueToLabelCode):l=u=>`${u}`,this.maxLabelWidthChars=0;let a=[];try{a=this.properties.values.map((u,c)=>{const f=l(u);return this.maxLabelWidthChars=Math.max(this.maxLabelWidthChars,f.length),{value:u,label:f,index:c}})}catch{a=this.properties.values.map((c,f)=>{const h=`${c}`;return this.maxLabelWidthChars=Math.max(this.maxLabelWidthChars,h.length),{value:c,label:h,index:f}})}this.firstLoad.set(!0),this.valuesForCombo.set(a)}onConnectOutput(t,i,s,r,o){if(!super.onConnectOutput(t,i,s,r,o))return!1;const l=this.properties;if(!("config"in s))return!0;const u=s.config;if(!(u.values instanceof Array)||u.values.length===0)return!1;l.values=Array.from(u.values);const c=ie(this.value);return l.values.indexOf(c)===-1&&this.setValue(u.defaultValue||l.values[0]),!0}parseValue(t){return typeof t!="string"||this.properties.values.indexOf(t)===-1?this.properties.values[0]:t}clampOneConfig(t){t.config.values?t.config.values.indexOf(this.properties.value)===-1&&(t.config.values.length===0?this.setValue(""):this.setValue(t.config.defaultValue||t.config.values[0])):this.setValue("")}onSerialize(t){super.onSerialize(t),t.properties.values=[]}stripUserState(t){super.stripUserState(t),t.properties.values=[],t.properties.defaultValue=null}}P(da,"slotLayout",{inputs:[{name:"store",type:$.ACTION}],outputs:[{name:"value",type:"string"},{name:"changed",type:$.EVENT}]});w.registerNodeType({class:da,title:"UI.Combo",desc:"Combo box outputting a string value",type:"ui/combo"});function jh(n,e,t){if(n==null)return null;if(typeof n=="string")return{name:"file_data",data:n};if(Array.isArray(n)){const i=[];for(const s of n)s===null?i.push(null):i.push(jh(s,e,t));return i}else n.is_file&&(t==null?n.data=e+"/file="+n.name:n.data="/proxy="+t+"/file="+n.name);return n}const _N=n=>{const e=new FileReader;return e.readAsDataURL(n),new Promise(t=>{e.onloadend=()=>{t(e.result)}})};function bN(n){let e,t,i,s,r,o,l,a,u;const c=n[15].default,f=De(c,n,n[14],null);return{c(){e=z("div"),f&&f.c(),t=se(),i=z("input"),v(i,"type","file"),v(i,"accept",n[0]),i.multiple=s=n[4]==="multiple"||void 0,v(i,"webkitdirectory",r=n[4]==="directory"||void 0),v(i,"mozdirectory",o=n[4]==="directory"||void 0),v(i,"class","svelte-1h87ywf"),v(e,"class","svelte-1h87ywf"),B(e,"center",n[2]),B(e,"boundedheight",n[1]),B(e,"flex",n[3])},m(h,d){A(h,e,d),f&&f.m(e,null),F(e,t),F(e,i),n[23](i),l=!0,a||(u=[ee(i,"change",n[8]),ee(e,"drag",Hn(Yi(n[16]))),ee(e,"dragstart",Hn(Yi(n[17]))),ee(e,"dragend",Hn(Yi(n[18]))),ee(e,"dragover",Hn(Yi(n[19]))),ee(e,"dragenter",Hn(Yi(n[20]))),ee(e,"dragleave",Hn(Yi(n[21]))),ee(e,"drop",Hn(Yi(n[22]))),ee(e,"click",n[7]),ee(e,"drop",n[9]),ee(e,"dragenter",n[6]),ee(e,"dragleave",n[6])],a=!0)},p(h,[d]){f&&f.p&&(!l||d&16384)&&Le(f,c,h,h[14],l?xe(c,h[14],d,null):Me(h[14]),null),(!l||d&1)&&v(i,"accept",h[0]),(!l||d&16&&s!==(s=h[4]==="multiple"||void 0))&&(i.multiple=s),(!l||d&16&&r!==(r=h[4]==="directory"||void 0))&&v(i,"webkitdirectory",r),(!l||d&16&&o!==(o=h[4]==="directory"||void 0))&&v(i,"mozdirectory",o),(!l||d&4)&&B(e,"center",h[2]),(!l||d&2)&&B(e,"boundedheight",h[1]),(!l||d&8)&&B(e,"flex",h[3])},i(h){l||(S(f,h),l=!0)},o(h){C(f,h),l=!1},d(h){h&&E(e),f&&f.d(h),n[23](null),a=!1,lt(u)}}}function yN(n,e,t){let{$$slots:i={},$$scope:s}=e,{filetype:r=null}=e,{include_file_metadata:o=!0}=e,{dragging:l=!1}=e,{boundedheight:a=!0}=e,{center:u=!0}=e,{flex:c=!0}=e,{file_count:f="single"}=e,{disable_click:h=!1}=e,{parse_to_data_url:d=!0}=e,p;const g=mi(),m=()=>{t(10,l=!l)},_=()=>{h||(t(5,p.value="",p),p.click())},b=async L=>{let V=Array.from(L);if(!(!L.length||!window.FileReader)){if(f==="single"&&(V=[L[0]]),o)var X=V.map(Q=>({name:Q.name,size:Q.size}));var q=[],K=[];d?K=await Promise.all(V.map(Q=>_N(Q))):K=V,o?d?q=K.map((Q,J)=>({data:Q,...X[J]})):q=K.map((Q,J)=>({data:"",blob:Q,...X[J]})):q=K,g("load",f==="single"?q[0]:q)}},y=async L=>{const V=L.target;V.files&&await b(V.files)},k=async L=>{var V;t(10,l=!1),(V=L.dataTransfer)!=null&&V.files&&await b(L.dataTransfer.files)};function T(L){Ut.call(this,n,L)}function I(L){Ut.call(this,n,L)}function R(L){Ut.call(this,n,L)}function x(L){Ut.call(this,n,L)}function N(L){Ut.call(this,n,L)}function O(L){Ut.call(this,n,L)}function D(L){Ut.call(this,n,L)}function M(L){Ze[L?"unshift":"push"](()=>{p=L,t(5,p)})}return n.$$set=L=>{"filetype"in L&&t(0,r=L.filetype),"include_file_metadata"in L&&t(11,o=L.include_file_metadata),"dragging"in L&&t(10,l=L.dragging),"boundedheight"in L&&t(1,a=L.boundedheight),"center"in L&&t(2,u=L.center),"flex"in L&&t(3,c=L.flex),"file_count"in L&&t(4,f=L.file_count),"disable_click"in L&&t(12,h=L.disable_click),"parse_to_data_url"in L&&t(13,d=L.parse_to_data_url),"$$scope"in L&&t(14,s=L.$$scope)},[r,a,u,c,f,p,m,_,y,k,l,o,h,d,s,i,T,I,R,x,N,O,D,M]}class vN extends _e{constructor(e){super(),me(this,e,yN,bN,ae,{filetype:0,include_file_metadata:11,dragging:10,boundedheight:1,center:2,flex:3,file_count:4,disable_click:12,parse_to_data_url:13})}}function Xm(n){let e,t;return e=new Yu({props:{Icon:yA,label:"Edit"}}),e.$on("click",n[3]),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p:Z,i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function wN(n){let e,t,i,s,r=n[0]&&Xm(n);return i=new Yu({props:{Icon:gw,label:"Clear"}}),i.$on("click",n[4]),{c(){e=z("div"),r&&r.c(),t=se(),Y(i.$$.fragment),v(e,"class","svelte-1wj0ocy"),B(e,"not-absolute",!n[1]),ve(e,"position",n[1]?"absolute":"static")},m(o,l){A(o,e,l),r&&r.m(e,null),F(e,t),G(i,e,null),s=!0},p(o,[l]){o[0]?r?(r.p(o,l),l&1&&S(r,1)):(r=Xm(o),r.c(),S(r,1),r.m(e,t)):r&&(oe(),C(r,1,1,()=>{r=null}),le()),(!s||l&2)&&B(e,"not-absolute",!o[1]),l&2&&ve(e,"position",o[1]?"absolute":"static")},i(o){s||(S(r),S(i.$$.fragment,o),s=!0)},o(o){C(r),C(i.$$.fragment,o),s=!1},d(o){o&&E(e),r&&r.d(),j(i)}}}function kN(n,e,t){let{editable:i=!1}=e,{absolute:s=!0}=e;const r=mi(),o=()=>r("edit"),l=a=>{r("clear"),a.stopPropagation()};return n.$$set=a=>{"editable"in a&&t(0,i=a.editable),"absolute"in a&&t(1,s=a.absolute)},[i,s,r,o,l]}class Cw extends _e{constructor(e){super(),me(this,e,kN,wN,ae,{editable:0,absolute:1})}}function Km(n,e,t){const i=n.slice();return i[38]=e[t][0],i[39]=e[t][1],i[41]=t,i}function $m(n,e,t){const i=n.slice();return i[38]=e[t],i[42]=e,i[41]=t,i}function Jm(n){let e,t;return e=new ef({props:{show_label:n[3],Icon:ha,label:n[4]||"Gallery",disable:typeof n[6].container=="boolean"&&!n[6].container}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s[0]&8&&(r.show_label=i[3]),s[0]&16&&(r.label=i[4]||"Gallery"),s[0]&64&&(r.disable=typeof i[6].container=="boolean"&&!i[6].container),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function SN(n){let e,t,i,s,r,o=n[0]!==null&&Zm(n),l=Xe(n[9]),a=[];for(let u=0;un[32].call(t)),B(t,"fixed-height",!n[6].height||n[6].height=="auto")},m(u,c){o&&o.m(u,c),A(u,e,c),A(u,t,c),F(t,i);for(let f=0;f{o=null}),le()),c[0]&16897){l=Xe(u[9]);let f;for(f=0;fn[27].call(s)),B(s,"with-caption",!!n[9][n[0]][1]),v(c,"class","thumbnails scroll-hide svelte-1im3pwl"),v(e,"class","preview svelte-1im3pwl"),B(e,"fixed-height",n[6].height!=="auto")},m(_,b){A(_,e,b),G(t,e,null),F(e,i),F(e,s),n[26](s),F(e,a),p&&p.m(e,null),F(e,u),F(e,c);for(let y=0;yn[28](e,l),f=()=>n[28](null,l);function h(){return n[29](n[41])}return{c(){e=z("button"),t=z("img"),o=se(),Ti(t.src,i=n[38][0].data)||v(t,"src",i),v(t,"title",s=n[38][1]||null),v(t,"alt",r=n[38][1]||null),v(t,"class","svelte-1im3pwl"),v(e,"class","thumbnail-item thumbnail-small svelte-1im3pwl"),B(e,"selected",n[0]===n[41])},m(d,p){A(d,e,p),F(e,t),F(e,o),c(),a||(u=ee(e,"click",h),a=!0)},p(d,p){n=d,p[0]&512&&!Ti(t.src,i=n[38][0].data)&&v(t,"src",i),p[0]&512&&s!==(s=n[38][1]||null)&&v(t,"title",s),p[0]&512&&r!==(r=n[38][1]||null)&&v(t,"alt",r),l!==n[41]&&(f(),l=n[41],c()),p[0]&1&&B(e,"selected",n[0]===n[41])},d(d){d&&E(e),f(),a=!1,u()}}}function t0(n){let e,t=n[39]+"",i;return{c(){e=z("div"),i=ke(t),v(e,"class","caption-label svelte-1im3pwl")},m(s,r){A(s,e,r),F(e,i)},p(s,r){r[0]&512&&t!==(t=s[39]+"")&&je(i,t)},d(s){s&&E(e)}}}function i0(n){let e,t,i,s,r,o,l,a,u=n[39]&&t0(n);function c(){return n[31](n[41])}return{c(){e=z("button"),t=z("img"),r=se(),u&&u.c(),o=se(),v(t,"alt",i=n[39]||""),Ti(t.src,s=typeof n[38]=="string"?n[38]:n[38].data)||v(t,"src",s),v(t,"class","svelte-1im3pwl"),v(e,"class","thumbnail-item thumbnail-lg svelte-1im3pwl"),B(e,"selected",n[0]===n[41])},m(f,h){A(f,e,h),F(e,t),F(e,r),u&&u.m(e,null),F(e,o),l||(a=ee(e,"click",c),l=!0)},p(f,h){n=f,h[0]&512&&i!==(i=n[39]||"")&&v(t,"alt",i),h[0]&512&&!Ti(t.src,s=typeof n[38]=="string"?n[38]:n[38].data)&&v(t,"src",s),n[39]?u?u.p(n,h):(u=t0(n),u.c(),u.m(e,o)):u&&(u.d(1),u=null),h[0]&1&&B(e,"selected",n[0]===n[41])},d(f){f&&E(e),u&&u.d(),l=!1,a()}}}function CN(n){let e,t;return e=new ha({}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function IN(n){let e,t,i,s,r,o,l;vn(n[24]);let a=n[3]&&Jm(n);const u=[TN,SN],c=[];function f(h,d){return h[5]===null||h[9]===null||h[9].length===0?0:1}return t=f(n),i=c[t]=u[t](n),{c(){a&&a.c(),e=se(),i.c(),s=we()},m(h,d){a&&a.m(h,d),A(h,e,d),c[t].m(h,d),A(h,s,d),r=!0,o||(l=ee(window,"resize",n[24]),o=!0)},p(h,d){h[3]?a?(a.p(h,d),d[0]&8&&S(a,1)):(a=Jm(h),a.c(),S(a,1),a.m(e.parentNode,e)):a&&(oe(),C(a,1,1,()=>{a=null}),le());let p=t;t=f(h),t===p?c[t].p(h,d):(oe(),C(c[p],1,1,()=>{c[p]=null}),le(),i=c[t],i?i.p(h,d):(i=c[t]=u[t](h),i.c()),S(i,1),i.m(s.parentNode,s))},i(h){r||(S(a),S(i),r=!0)},o(h){C(a),C(i),r=!1},d(h){h&&(E(e),E(s)),a&&a.d(h),c[t].d(h),o=!1,l()}}}function EN(n,e,t){let i,s,r,o,l,{show_label:a=!0}=e,{label:u}=e,{root:c=""}=e,{root_url:f=null}=e,{focusOnScroll:h=!1}=e,{value:d=null}=e,{style:p={grid_cols:[2],object_fit:"cover",height:"auto"}}=e,{imageWidth:g=0}=e,{imageHeight:m=0}=e;const _=mi();let b=!0,y=d,{selected_image:k=null}=e,T=null,{forceSelectImage:I=null}=e;function R(te){switch(te.code){case"Escape":te.preventDefault(),t(0,k=null);break;case"ArrowLeft":te.preventDefault(),t(0,k=s);break;case"ArrowRight":te.preventDefault(),t(0,k=r);break}}let x=[],N;async function O(te){if(typeof te!="number")return;await yr(),h&&x[te].focus();const{left:be,width:ge}=N.getBoundingClientRect(),{left:he,width:Se}=x[te].getBoundingClientRect(),gt=he-be+Se/2-ge/2+N.scrollLeft;N.scrollTo({left:gt<0?0:gt,behavior:"smooth"})}function D(te){return t(13,l=Ko(te,["grid_cols","grid_rows","object_fit"]).styles),l+` height: ${te.height}`}let M=0,L=0,V=null;function X(){V&&_("clicked",V)}function q(){t(8,L=window.innerHeight)}const K=()=>t(0,k=null);function Q(te){Ze[te?"unshift":"push"](()=>{V=te,t(12,V)})}function J(){g=this.naturalWidth,m=this.naturalHeight,t(1,g),t(0,k),t(21,b),t(22,y),t(5,d),t(6,p),t(17,I),t(2,m),t(0,k),t(21,b),t(22,y),t(5,d),t(6,p),t(17,I)}function ce(te,be){Ze[te?"unshift":"push"](()=>{x[be]=te,t(10,x)})}const pe=te=>t(0,k=te);function qe(te){Ze[te?"unshift":"push"](()=>{N=te,t(11,N)})}const Ae=te=>t(0,k=o?te:k);function ue(){M=this.clientHeight,t(7,M)}return n.$$set=te=>{"show_label"in te&&t(3,a=te.show_label),"label"in te&&t(4,u=te.label),"root"in te&&t(18,c=te.root),"root_url"in te&&t(19,f=te.root_url),"focusOnScroll"in te&&t(20,h=te.focusOnScroll),"value"in te&&t(5,d=te.value),"style"in te&&t(6,p=te.style),"imageWidth"in te&&t(1,g=te.imageWidth),"imageHeight"in te&&t(2,m=te.imageHeight),"selected_image"in te&&t(0,k=te.selected_image),"forceSelectImage"in te&&t(17,I=te.forceSelectImage)},n.$$.update=()=>{if(n.$$.dirty[0]&6422625&&y!==d){if(b){let te=!!(p.preview&&(d!=null&&d.length)),be=0;I!=null&&(te=I,be=k,t(17,I=null)),t(0,k=te?be:null),t(21,b=!1)}else t(0,k=k!==null&&d!==null&&kArray.isArray(te)?[jh(te[0],c,f),te[1]]:[jh(te,c,f),null])),n.$$.dirty[0]&513&&(s=((k??0)+((i==null?void 0:i.length)??0)-1)%((i==null?void 0:i.length)??0)),n.$$.dirty[0]&513&&(r=((k??0)+1)%((i==null?void 0:i.length)??0)),n.$$.dirty[0]&8389121&&k!==T&&(t(23,T=k),k!==null&&_("select",{index:k,value:i==null?void 0:i[k][1]})),n.$$.dirty[0]&1&&O(k),n.$$.dirty[0]&384&&t(14,o=L>=M),n.$$.dirty[0]&64&&t(13,l=D(p))},[k,g,m,a,u,d,p,M,L,i,x,N,V,l,o,R,X,I,c,f,h,b,y,T,q,K,Q,J,ce,pe,qe,Ae,ue]}class AN extends _e{constructor(e){super(),me(this,e,EN,IN,ae,{show_label:3,label:4,root:18,root_url:19,focusOnScroll:20,value:5,style:6,imageWidth:1,imageHeight:2,selected_image:0,forceSelectImage:17},null,[-1,-1])}}const ON=n=>{let e=n.currentTarget;const t=e.getBoundingClientRect(),i=e.naturalWidth/t.width,s=e.naturalHeight/t.height;if(i>s){t.width;const l=e.naturalHeight/i,a=(t.height-l)/2;var r=Math.round((n.clientX-t.left)*i),o=Math.round((n.clientY-t.top-a)*i)}else{const l=e.naturalWidth/s;t.height;const a=(t.width-l)/2;var r=Math.round((n.clientX-t.left-a)*s),o=Math.round((n.clientY-t.top)*s)}return r<0||r>=e.naturalWidth||o<0||o>=e.naturalHeight?null:[r,o]};function NN(n){let e,t,i,s,r,o,l,a,u,c,f;return i=new Yu({props:{Icon:_A,label:"Download"}}),r=new Yu({props:{Icon:gw,label:"Remove"}}),r.$on("click",n[7]),{c(){e=z("div"),t=z("a"),Y(i.$$.fragment),s=se(),Y(r.$$.fragment),o=se(),l=z("img"),v(t,"href",n[0]),v(t,"target",window.__is_colab__?"_blank":null),v(t,"download","image"),v(e,"class","buttons svelte-ce8fvd"),Ti(l.src,a=n[0])||v(l,"src",a),v(l,"alt",""),v(l,"class","svelte-ce8fvd"),(n[1]===void 0||n[2]===void 0)&&vn(()=>n[8].call(l)),B(l,"selectable",n[5])},m(h,d){A(h,e,d),F(e,t),G(i,t,null),F(e,s),G(r,e,null),A(h,o,d),A(h,l,d),u=!0,c||(f=[ee(l,"click",n[6]),ee(l,"load",n[8])],c=!0)},p(h,d){(!u||d&1)&&v(t,"href",h[0]),(!u||d&1&&!Ti(l.src,a=h[0]))&&v(l,"src",a),(!u||d&32)&&B(l,"selectable",h[5])},i(h){u||(S(i.$$.fragment,h),S(r.$$.fragment,h),u=!0)},o(h){C(i.$$.fragment,h),C(r.$$.fragment,h),u=!1},d(h){h&&(E(e),E(o),E(l)),j(i),j(r),c=!1,lt(f)}}}function DN(n){let e,t;return e=new Rp({props:{size:"large",unpadded_box:!0,$$slots:{default:[xN]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&1024&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function xN(n){let e,t;return e=new ha({}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function LN(n){let e,t,i,s,r,o;e=new ef({props:{show_label:n[4],Icon:ha,label:n[3]||"Image"}});const l=[DN,NN],a=[];function u(c,f){return c[0]===null?0:1}return i=u(n),s=a[i]=l[i](n),{c(){Y(e.$$.fragment),t=se(),s.c(),r=we()},m(c,f){G(e,c,f),A(c,t,f),a[i].m(c,f),A(c,r,f),o=!0},p(c,[f]){const h={};f&16&&(h.show_label=c[4]),f&8&&(h.label=c[3]||"Image"),e.$set(h);let d=i;i=u(c),i===d?a[i].p(c,f):(oe(),C(a[d],1,1,()=>{a[d]=null}),le(),s=a[i],s?s.p(c,f):(s=a[i]=l[i](c),s.c()),S(s,1),s.m(r.parentNode,r))},i(c){o||(S(e.$$.fragment,c),S(s),o=!0)},o(c){C(e.$$.fragment,c),C(s),o=!1},d(c){c&&(E(t),E(r)),j(e,c),a[i].d(c)}}}let MN=null;function RN(n,e,t){let{value:i}=e,{label:s=void 0}=e,{show_label:r}=e,{selectable:o=!1}=e,{imageWidth:l=0}=e,{imageHeight:a=0}=e;const u=mi(),c=d=>{let p=ON(d);p&&u("select",{index:p,value:null})};function f(){t(0,i=null)}function h(){l=this.naturalWidth,a=this.naturalHeight,t(1,l),t(0,i),t(2,a),t(0,i)}return n.$$set=d=>{"value"in d&&t(0,i=d.value),"label"in d&&t(3,s=d.label),"show_label"in d&&t(4,r=d.show_label),"selectable"in d&&t(5,o=d.selectable),"imageWidth"in d&&t(1,l=d.imageWidth),"imageHeight"in d&&t(2,a=d.imageHeight)},n.$$.update=()=>{n.$$.dirty&1&&i&&u("change",i),n.$$.dirty&1&&(i==null||!MN)&&(t(1,l=0),t(2,a=0))},[i,l,a,s,r,o,c,f,h]}class Fp extends _e{constructor(e){super(),me(this,e,RN,LN,ae,{value:0,label:3,show_label:4,selectable:5,imageWidth:1,imageHeight:2})}}function cV(n){const e={};return Object.keys(n).forEach(t=>{typeof n[t]<"u"&&(e[t]=n[t])}),e}function fV(n){return typeof n=="string"&&n!==""}function Ma(n){return typeof n=="object"&&n!==null&&n.constructor&&n.constructor===Object}function Iw(){return Date.now()}function qh(){let n=!0,e,t;for(var i=arguments.length,s=new Array(i),r=0;r{typeof r=="object"&&r.constructor===Object?Object.keys(r).forEach(o=>{r[o]&&n.push(o)}):r&&n.push(r)});const s=[];return n.forEach(r=>{s.indexOf(r)<0&&s.push(r)}),s.join(" ")}function dV(n,e){const t=n();return(s,r)=>{!s||!s.trim().length||typeof s!="string"||s.trim().split(" ").forEach(o=>{const l=(o||"").trim();if(!l)return;const a=`on${l.charAt(0).toUpperCase()+l.slice(1)}`;t(l,r),typeof e[a]=="function"&&(Array.isArray(r)?e[a](...r||[]):e[a](r))})}}let Yh=0,Xh=0;function PN(){Yh=0,Xh=0}function pV(){return Yh+=1,`${Iw()}_${Yh}`}function gV(){return Xh+=1,`${Iw()}_${Xh}`}function mV(n){return typeof n>"u"||n===null?"":n}let pr;const at=typeof window<"u"&&window.Framework7ComponentsApp?window.Framework7ComponentsApp:{Framework7:void 0,f7:void 0,f7events:void 0,theme:{},f7routers:{views:[],tabs:[],modals:null}};typeof window<"u"&&(window.Framework7ComponentsApp=at);at.setInstance=n=>{pr=n};const BN=()=>{at.f7&&(at.theme.ios=at.f7.theme==="ios",at.f7.theme,at.theme.md=at.f7.theme==="md",at.f7.theme)},zN=()=>{PN(),delete at.theme.ios,delete at.theme.md,at.f7routers.views=[],at.f7routers.tabs=[],at.f7routers.modals=null},_V=()=>{at.f7events=new at.Framework7.Events},bV=function(n,e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const i=qh({},e,{el:n,init:t});if(typeof e.store<"u"&&(i.store=e.store),i.routes||(i.routes=[]),i.userAgent&&(i.theme==="auto"||!i.theme)){const r=at.Framework7.getDevice({userAgent:i.userAgent},!0);at.theme.ios=!!r.ios,at.theme.md=!at.theme.ios}if(at.f7&&typeof window<"u")return;typeof window>"u"&&zN();const s=new at.Framework7(i);at.f7=s,pr=s,at.setInstance(s),BN(),s.initialized?(at.f7=s,pr=s,at.setInstance(s),at.f7events.emit("ready",at.f7)):s.on("init",()=>{at.f7=s,pr=s,at.setInstance(s),at.f7events.emit("ready",at.f7)})},yV=n=>{n&&(at.f7&&at.f7.initialized?n(at.f7):at.f7events.once("ready",n))},$l=Be({activeModals:[]});function FN(n){const e=fi(),t={showCloseButton:!0,closeOnClick:!0,buttons:[],svelteProps:{},state:Be({}),...n,id:e,close:()=>Ew(e)};$l.update(i=>(i.activeModals.push(t),i))}function Ew(n){const e=ie($l).activeModals.find(t=>t.id===n);e!=null&&$l.update(t=>(e.onClose&&e.onClose(e),t.activeModals=t.activeModals.filter(i=>i.id!==n),t))}function WN(){$l.set({activeModals:[]})}const To={...$l,pushModal:FN,closeModal:Ew,closeAllModals:WN};function n0(n,e,t){const i=n.slice();return i[4]=e[t].workflow,i[5]=e[t].targetNodes,i}function s0(n,e,t){const i=n.slice();return i[8]=e[t],i}function VN(n){let e;return{c(){e=z("div"),e.textContent="(No receive targets found.)"},m(t,i){A(t,e,i)},p:Z,i:Z,o:Z,d(t){t&&E(e)}}}function HN(n){let e,t,i=Xe(n[0]),s=[];for(let o=0;oC(s[o],1,1,()=>{s[o]=null});return{c(){for(let o=0;oC(o[a],1,1,()=>{o[a]=null});return{c(){Y(e.$$.fragment),t=se();for(let a=0;a0?0:1}return t=l(n),i=o[t]=r[t](n),{c(){e=z("div"),i.c(),v(e,"class","scroll-container svelte-17e1ti5")},m(a,u){A(a,e,u),o[t].m(e,null),s=!0},p(a,[u]){let c=t;t=l(a),t===c?o[t].p(a,u):(oe(),C(o[c],1,1,()=>{o[c]=null}),le(),i=o[t],i?i.p(a,u):(i=o[t]=r[t](a),i.c()),S(i,1),i.m(e,null))},i(a){s||(S(i),s=!0)},o(a){C(i),s=!1},d(a){a&&E(e),o[t].d()}}}function XN(n,e,t){const i=mi();let{receiveTargets:s=[]}=e;function r(l,a){i("select",{workflow:l,targetNode:a})}const o=(l,a)=>r(l,a);return n.$$set=l=>{"receiveTargets"in l&&t(0,s=l.receiveTargets)},[s,r,o]}class KN extends _e{constructor(e){super(),me(this,e,XN,YN,ae,{receiveTargets:0})}}function $N(n){let e,t,i;return{c(){e=z("span"),t=ke("Type: "),i=ke(n[0])},m(s,r){A(s,e,r),F(e,t),F(e,i)},p(s,r){r&1&&je(i,s[0])},d(s){s&&E(e)}}}function a0(n){let e,t;return e=new Fp({props:{show_label:!1,label:"Image",value:n[2][0]}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&4&&(r.value=i[2][0]),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function JN(n){let e,t,i=n[0]==="COMFYBOX_IMAGE"&&a0(n);return{c(){i&&i.c(),e=we()},m(s,r){i&&i.m(s,r),A(s,e,r),t=!0},p(s,r){s[0]==="COMFYBOX_IMAGE"?i?(i.p(s,r),r&1&&S(i,1)):(i=a0(s),i.c(),S(i,1),i.m(e.parentNode,e)):i&&(oe(),C(i,1,1,()=>{i=null}),le())},i(s){t||(S(i),t=!0)},o(s){C(i),t=!1},d(s){s&&E(e),i&&i.d(s)}}}function ZN(n){let e,t,i,s,r,o,l,a,u;return i=new yt({props:{$$slots:{default:[$N]},$$scope:{ctx:n}}}),r=new KN({props:{receiveTargets:n[1]}}),r.$on("select",n[6]),a=new yt({props:{$$slots:{default:[JN]},$$scope:{ctx:n}}}),{c(){e=z("div"),t=z("div"),Y(i.$$.fragment),s=se(),Y(r.$$.fragment),o=se(),l=z("div"),Y(a.$$.fragment),v(t,"class","targets-container svelte-2jsitd"),v(l,"class","output-display svelte-2jsitd"),v(e,"class","send-output-modal svelte-2jsitd")},m(c,f){A(c,e,f),F(e,t),G(i,t,null),F(t,s),G(r,t,null),F(e,o),F(e,l),G(a,l,null),u=!0},p(c,[f]){const h={};f&129&&(h.$$scope={dirty:f,ctx:c}),i.$set(h);const d={};f&2&&(d.receiveTargets=c[1]),r.$set(d);const p={};f&133&&(p.$$scope={dirty:f,ctx:c}),a.$set(p)},i(c){u||(S(i.$$.fragment,c),S(r.$$.fragment,c),S(a.$$.fragment,c),u=!0)},o(c){C(i.$$.fragment,c),C(r.$$.fragment,c),C(a.$$.fragment,c),u=!1},d(c){c&&E(e),j(i),j(r),j(a)}}}function QN(n,e,t){let{value:i}=e,{type:s}=e,{receiveTargets:r=[]}=e,{_modal:o}=e,l=[];s==="COMFYBOX_IMAGE"&&(l=[ll(i)]);function a(c,f){const h={workflow:c,targetNode:f};o.state.set(h),o.close()}const u=c=>a(c.detail.workflow,c.detail.targetNode);return n.$$set=c=>{"value"in c&&t(4,i=c.value),"type"in c&&t(0,s=c.type),"receiveTargets"in c&&t(1,r=c.receiveTargets),"_modal"in c&&t(5,o=c._modal)},[s,r,l,a,i,o,u]}class eD extends _e{constructor(e){super(),me(this,e,QN,ZN,ae,{value:4,type:0,receiveTargets:1,_modal:5})}}const Jl=Be({pointerNearTop:!1,pointerNearLeft:!1,showIndicator:!1,indicatorValue:null,graphTransitioning:!1,isJumpingToNode:!1,selectedTab:1,showSheet:!1,selectedWorkflowIndex:null,showingWorkflow:!1,isDarkMode:!1}),tD=vE(()=>{Jl.update(n=>(n.showIndicator=!1,n))},1e3);function iD(n,e,t){if(!window)return;ie(Jl);let i=window.innerWidth/2,s=window.innerHeight/2;const r=n({...l,pointerNearTop:o,pointerNearLeft:r,showIndicator:!0,indicatorValue:t})),tD()}function nD(n,e,t,i){if(zv(navigator.userAgent))Jl.update(s=>(s.showSheet=!0,s));else{const s=r=>{i(r);const{workflow:o,targetNode:l}=ie(r.state);if(o==null||l==null)return;const a=window.app;a!=null&&(l.receiveOutput(n),ht.setActiveWorkflow(a.lCanvas,o.id))};To.pushModal({title:"Send Output",closeOnClick:!0,showCloseButton:!0,svelteComponent:eD,svelteProps:{value:n,type:e,receiveTargets:t},onClose:s})}}const Zl={...Jl,showIndicator:iD,querySendOutput:nD};function Wp(n,e,t){return n.updateChildren(e,t.detail.items)}function Vp(n,e,t){const i=t.detail,s=i.info,r=i.items.find(l=>l.id===s.id);return(r==null?void 0:r.type)==="template"?rD(n,r,e,i.items):n.updateChildren(e,i.items)}function sD(n){return"insertTemplate"in n}function rD(n,e,t,i){var u;const s=n.workflow,r=i.findIndex(c=>c.id===e.id),o=i.filter(c=>c.id!==e.id),l=(u=s.canvases.app)==null?void 0:u.canvas;if(l==null||!sD(l)||l.graph!==s.graph)return o;n.updateChildren(t,o);const a=[l.visible_area[0]+l.visible_area[2]/2,l.visible_area[1]+l.visible_area[3]/2];return l.insertTemplate(e.template,a,t,r),ie(n).allItems[t.id].children}let _l=null;function u0(n,e,t={}){pr&&(_l&&(_l.destroy(),_l=null),history.pushState({type:"gallery"},""),_l=pr.photoBrowser.create({photos:n,theme:ie(Zl).isDarkMode?"dark":"light",type:"popup",...t}),_l.open(e))}function Hp(n,{from:e,to:t},i={}){const s=getComputedStyle(n),r=s.transform==="none"?"":s.transform,[o,l]=s.transformOrigin.split(" ").map(parseFloat),a=e.left+e.width*o/t.width-(t.left+o),u=e.top+e.height*l/t.height-(t.top+l),{delay:c=0,duration:f=d=>Math.sqrt(d)*120,easing:h=pw}=i;return{delay:c,duration:Xn(f)?f(Math.sqrt(a*a+u*u)):f,easing:h,css:(d,p)=>{const g=p*a,m=p*u,_=d+p*e.width/t.width,b=d+p*e.height/t.height;return`transform: ${r} translate(${g}px, ${m}px) scale(${_}, ${b});`}}}const oD={duration:4e3,initial:1,next:0,pausable:!1,dismissable:!0,reversed:!1,intro:{x:256}};function lD(){const{subscribe:n,update:e}=Be(new Array),t={};let i=0;function s(u){return u instanceof Object}function r(u="default",c={}){return t[u]=c,t}function o(u,c){const f={target:"default",...s(u)?u:{...c,msg:u}},h=t[f.target]||{},d={...oD,...h,...f,theme:{...h.theme,...f.theme},classes:[...h.classes||[],...f.classes||[]],id:++i};return e(p=>d.reversed?[...p,d]:[d,...p]),i}function l(u){e(c=>{if(!c.length||u===0)return[];if(typeof u=="function")return c.filter(h=>u(h));if(s(u))return c.filter(h=>h.target!==u.target);const f=u||Math.max(...c.map(h=>h.id));return c.filter(h=>h.id!==f)})}function a(u,c){const f=s(u)?u:{...c,id:u};e(h=>{const d=h.findIndex(p=>p.id===f.id);return d>-1&&(h[d]={...h[d],...f}),h})}return{subscribe:n,push:o,pop:l,set:a,_init:r}}const Kh=lD();function aD(n){let e,t,i,s;return{c(){e=z("div"),t=ke(n[0]),v(e,"class","svelte-49d8ld")},m(r,o){A(r,e,o),F(e,t),i||(s=ee(e,"click",n[1]),i=!0)},p(r,[o]){o&1&&je(t,r[0])},i:Z,o:Z,d(r){r&&E(e),i=!1,s()}}}function uD(n,e,t){let{message:i=""}=e,{notifyOptions:s}=e,{toastID:r}=e;function o(){s.onClick&&(s.onClick(),Kh.pop(r))}return n.$$set=l=>{"message"in l&&t(0,i=l.message),"notifyOptions"in l&&t(2,s=l.notifyOptions),"toastID"in l&&t(3,r=l.toastID)},[i,o,s,r]}class cD extends _e{constructor(e){super(),me(this,e,uD,aD,ae,{message:0,notifyOptions:2,toastID:3})}}function fD(n,e){if(!pr)return;let t=e.timeout;t===void 0&&(t=3e3);const i={};e.onClick&&(i.click=()=>e.onClick());let s=null;e.imageUrl&&(s=``),pr.notification.create({title:e.title,titleRightText:"now",text:n,closeOnClick:!0,closeTimeout:t,on:i,icon:s}).open()}function hD(n,e){const t={dismissable:e.timeout!==null,duration:e.timeout||5e3,theme:{}};e.showBar&&(t.theme["--toastBarHeight"]="6px"),e.type==="success"?(t.theme["--toastBackground"]="var(--color-green-600)",t.theme["--toastBarBackground"]="var(--color-green-900)"):e.type==="info"?(t.theme["--toastBackground"]="var(--color-blue-500)",t.theme["--toastBarBackground"]="var(--color-blue-800)"):e.type==="warning"?(t.theme["--toastBackground"]="var(--color-yellow-600)",t.theme["--toastBarBackground"]="var(--color-yellow-900)"):e.type==="error"&&(t.theme["--toastBackground"]="var(--color-red-500)",t.theme["--toastBarBackground"]="var(--color-red-800)"),e.onClick?Kh.push({component:{src:cD,props:{message:n,notifyOptions:e},sendIdTo:"toastID"},...t}):Kh.push(n,t)}function dD(n,e){if(window.Notification==null||document.hasFocus())return;const t=e.title||"ComfyBox",i={body:n};e.imageUrl&&(i.icon=e.imageUrl,i.image=e.imageUrl),e.timeout===null&&(i.requireInteraction=!0);const s=new Notification(t,i);s.onclick=()=>{window.focus(),e.onClick&&e.onClick()}}function nt(n,e={}){const t=e.showOn||"web";t!=="none"&&((t==="all"||t==="web")&&(fD(n,e),hD(n,e)),(t==="all"||t==="native")&&dD(n,e))}const Qt=Be({queueRunning:Be([]),queuePending:Be([]),queueCompleted:Be([]),queueRemaining:null,runningNodeID:null,executingNodes:new Set,progress:null,preview:null,isInterrupting:!1});function $h(n){const[e,t,i,s,r]=n;return{number:e,queuedAt:null,finishedAt:null,promptID:t,prompt:i,extraData:s,goodOutputs:r,outputs:{},nodesRan:new Set,cachedNodes:new Set}}function pD(n){const e=$h(n.prompt);return e.outputs=n.outputs,{entry:e,status:Object.values(e.outputs).length>0?"success":"all_cached",error:null}}function gD(n){Qt.update(e=>(e.queueRunning.set(n.running.map($h)),e.queuePending.set(n.pending.map($h)),e.queueRemaining=n.pending.length,e))}function mD(n){Qt.update(e=>{const t=Object.values(n.history);return e.queueCompleted.set(t.map(pD)),e})}function _D(n){Qt.update(e=>(e.progress=n,e))}function bD(n){Qt.update(e=>e.runningNodeID==null?(e.previewURL=null,e):(e.previewURL=URL.createObjectURL(n),e))}function yD(n){Qt.update(e=>(n!==null&&(e.queueRemaining=n.execInfo.queueRemaining),e))}function vD(n){const e=ie(Qt);let t=ie(e.queuePending).find(s=>s.promptID===n);if(t!=null||(t=ie(e.queueRunning).find(s=>s.promptID===n),t!=null))return t;let i=ie(e.queueCompleted).find(s=>s.entry.promptID===n);return i!=null?i.entry:null}function al(n){const e=ie(Qt);let t=ie(e.queuePending).findIndex(i=>i.promptID===n);return t!==-1?[t,ie(e.queuePending)[t],e.queuePending]:(t=ie(e.queueRunning).findIndex(i=>i.promptID===n),t!==-1?[t,ie(e.queueRunning)[t],e.queueRunning]:[-1,null,null])}function wD(n){const e=ie(Qt);let t=ie(e.queuePending).findIndex(s=>s.promptID===n),i=!1;return t!==-1&&(e.queuePending.update(s=>(s.splice(t,1),s)),i=!0),t=ie(e.queueRunning).findIndex(s=>s.promptID===n),t!==-1&&(e.queueRunning.update(s=>(s.splice(t,1),s)),i=!0),t=ie(e.queueCompleted).findIndex(s=>s.entry.promptID===n),t!==-1&&(e.queueCompleted.update(s=>(s.splice(t,1),s)),i=!0),i}function kD(n,e){const t=ie(Qt),i=ie(e)[n];e.update(s=>(s.splice(n,1),s)),t.queueRunning.update(s=>(s.push(i),s)),t.isInterrupting=!1,Qt.set(t)}function gu(n,e,t,i,s){const r=ie(Qt),o=ie(e)[n];let l=null;s&&(l={type:"execution",error:s},o.nodesRan=new Set(s.executed)),o.finishedAt=new Date,e.update(u=>(u.splice(n,1),u));const a={entry:o,status:t,message:i,error:l};return r.queueCompleted.update(u=>(u.push(a),u)),r.isInterrupting=!1,Qt.set(r),a}function SD(n,e){let t=null;return Qt.update(i=>{var l,a;i.progress=null,i.executingNodes.clear();const[s,r,o]=al(n);if(e!=null){if(r!=null&&r.nodesRan.add(e),i.runningNodeID=e,i.runningPromptID=n,(l=r==null?void 0:r.extraData)!=null&&l.workflowID){const u=ht.getWorkflow(r.extraData.workflowID);if(u!=null){let c=u.graph.getNodeByIdRecursive(i.runningNodeID);for(;c!=null;)i.executingNodes.add(c.id),c=(a=c.graph)==null?void 0:a._subgraph_node}}}else{if(r!=null){const u=Object.keys(r.prompt).length;if(r.cachedNodes.size>=Object.keys(r.prompt).length)nt("Prompt was cached, nothing to run.",{type:"warning",showOn:"web"}),gu(s,o,"all_cached","(Execution was cached)");else if(r.nodesRan.size>=u){const c=ht.getWorkflow(r.extraData.workflowID);c!=null&&c.attrs.showDefaultNotifications&&(ti.canShowNotificationText()&&nt("Prompt finished!",{type:"success"}),ti.canPlayNotificationSound()&&Pv("notification.mp3")),gu(s,o,"success")}else nt("Interrupted prompt."),gu(s,o,"interrupted",`Interrupted after ${r.nodesRan.size}/${u} nodes`)}i.progress=null,i.previewURL=null,i.runningNodeID=null,i.runningPromptID=null,i.executingNodes.clear()}return t=r,i}),t}function TD(n,e){Qt.update(t=>{const[i,s,r]=al(n);if(s!=null)for(const o of e)s.nodesRan.add(o),s.cachedNodes.add(o);return t.isInterrupting=!1,t.progress=null,t.previewURL=null,t.runningNodeID=null,t.runningPromptID=null,t.executingNodes.clear(),t})}function CD(n){let e=null;return Qt.update(t=>{const[i,s,r]=al(n.prompt_id);return s!=null&&(e=gu(i,r,"error","Error executing",n)),t.progress=null,t.previewURL=null,t.runningNodeID=null,t.runningPromptID=null,t.executingNodes.clear(),t}),e}function Aw(n,e=-1,t={},i={}){return{number:e,queuedAt:new Date,finishedAt:void 0,promptID:n,prompt:t,extraData:i,goodOutputs:[],outputs:{},nodesRan:new Set,cachedNodes:new Set}}function ID(n){Qt.update(e=>{const[t,i,s]=al(n);if(i==null){const r=Aw(n);e.queueRunning.update(o=>(o.push(r),o))}else kD(t,s);return e.isInterrupting=!1,e.runningNodeID=null,e.runningPromptID=n,e.executingNodes.clear(),e})}function ED(n,e,t,i,s){Qt.update(r=>{const[o,l,a]=al(e);if(l==null){const u=Aw(e,t,i,s);r.queuePending.update(c=>(c.push(u),c))}else l.number=t,l.prompt=i,l.extraData=s,a.set(ie(a));return r.isInterrupting=!1,r})}function AD(n,e,t){let i=null;return Qt.update(s=>{const[r,o,l]=al(n);return o!=null&&(o.outputs[e]=t,l.set(ie(l))),i=o,s}),i}function OD(n,e){Qt.update(t=>(wD(e),t.isInterrupting=!1,t))}function ND(n){Qt.update(e=>(n==="queue"?(e.queuePending.set([]),e.queueRemaining=0,e.runningNodeID=null,e.runningPromptID=null,e.progress=null,e.previewURL=null,e.executingNodes.clear()):e.queueCompleted.set([]),e.isInterrupting=!1,e))}function DD(n,e,t,i){const s={type:"validation",workflowID:n,error:e,prompt:t,extraData:i},r={number:0,queuedAt:new Date,finishedAt:new Date,promptID:fi(),prompt:t.output,extraData:i,goodOutputs:[],outputs:{},nodesRan:new Set,cachedNodes:new Set},o={entry:r,status:"validation_failed",message:"Validation failed",error:s};return Qt.update(l=>(l.queueCompleted.update(a=>(a.push(o),a)),l)),r.promptID}const bt={...Qt,queueUpdated:gD,historyUpdated:mD,statusUpdated:yD,progressUpdated:_D,previewUpdated:bD,executionStart:ID,executingUpdated:SD,executionCached:TD,executionError:CD,afterQueued:ED,queueItemDeleted:OD,queueCleared:ND,getQueueEntry:vD,onExecuted:AD,promptError:DD};function xD(n){const e=n.slice(),t=e[11][e[11].length-1];e[33]=t;const i=ll(e[33]);return e[34]=i,e}function LD(n){const e=n.slice(),t=e[11].map(ll);return e[35]=t,e}function c0(n){let e,t,i,s;const r=[RD,MD],o=[];function l(u,c){return u[0].attrs.variant==="image"?0:1}function a(u,c){return c===1?LD(u):u}return e=l(n),t=o[e]=r[e](a(n,e)),{c(){t.c(),i=we()},m(u,c){o[e].m(u,c),A(u,i,c),s=!0},p(u,c){let f=e;e=l(u),e===f?o[e].p(a(u,e),c):(oe(),C(o[f],1,1,()=>{o[f]=null}),le(),t=o[e],t?t.p(a(u,e),c):(t=o[e]=r[e](a(u,e)),t.c()),S(t,1),t.m(i.parentNode,i))},i(u){s||(S(t),s=!0)},o(u){C(t),s=!1},d(u){u&&E(i),o[e].d(u)}}}function MD(n){let e,t,i,s;return t=new yt({props:{variant:"solid",padding:!1,$$slots:{default:[PD]},$$scope:{ctx:n}}}),{c(){e=z("div"),Y(t.$$.fragment),v(e,"class","wrapper comfy-gallery-widget gradio-gallery svelte-1vwl2ct"),v(e,"style",i=n[0].attrs.style||"")},m(r,o){A(r,e,o),G(t,e,null),s=!0},p(r,o){const l={};o[0]&32517|o[1]&32&&(l.$$scope={dirty:o,ctx:r}),t.$set(l),(!s||o[0]&1&&i!==(i=r[0].attrs.style||""))&&v(e,"style",i)},i(r){s||(S(t.$$.fragment,r),s=!0)},o(r){C(t.$$.fragment,r),s=!1},d(r){r&&E(e),j(t)}}}function RD(n){let e,t,i,s;return t=new yt({props:{variant:"solid",padding:!1,$$slots:{default:[WD]},$$scope:{ctx:n}}}),{c(){e=z("div"),Y(t.$$.fragment),v(e,"class","wrapper comfy-image-widget svelte-1vwl2ct"),v(e,"style",i=n[0].attrs.style||"")},m(r,o){A(r,e,o),G(t,e,null),s=!0},p(r,o){const l={};o[0]&14337|o[1]&32&&(l.$$scope={dirty:o,ctx:r}),t.$set(l),(!s||o[0]&1&&i!==(i=r[0].attrs.style||""))&&v(e,"style",i)},i(r){s||(S(t.$$.fragment,r),s=!0)},o(r){C(t.$$.fragment,r),s=!1},d(r){r&&E(e),j(t)}}}function f0(n){let e,t,i,s,r;return{c(){e=z("div"),t=z("img"),Ti(t.src,i=n[8].src)||v(t,"src",i),v(t,"class","svelte-1vwl2ct"),v(e,"class","comfy-gallery-preview svelte-1vwl2ct")},m(o,l){A(o,e,l),F(e,t),n[24](t),s||(r=[ee(t,"mouseout",h0),ee(e,"mouseover",HD),ee(e,"mouseout",h0)],s=!0)},p(o,l){l[0]&256&&!Ti(t.src,i=o[8].src)&&v(t,"src",i)},d(o){o&&E(e),n[24](null),s=!1,lt(r)}}}function PD(n){let e,t,i,s,r,o,l,a,u=n[8]&&n[2].runningPromptID!=null&&f0(n);function c(g){n[25](g)}function f(g){n[26](g)}function h(g){n[27](g)}function d(g){n[28](g)}let p={value:n[35],label:n[0].attrs.title,show_label:n[0].attrs.title!=="",style:n[15],root:"",root_url:""};return n[12]!==void 0&&(p.imageWidth=n[12]),n[13]!==void 0&&(p.imageHeight=n[13]),n[10]!==void 0&&(p.selected_image=n[10]),n[14]!==void 0&&(p.forceSelectImage=n[14]),i=new AN({props:p}),Ze.push(()=>jt(i,"imageWidth",c)),Ze.push(()=>jt(i,"imageHeight",f)),Ze.push(()=>jt(i,"selected_image",h)),Ze.push(()=>jt(i,"forceSelectImage",d)),i.$on("select",n[18]),i.$on("clicked",n[17]),{c(){e=z("div"),u&&u.c(),t=se(),Y(i.$$.fragment),v(e,"class","padding svelte-1vwl2ct")},m(g,m){A(g,e,m),u&&u.m(e,null),F(e,t),G(i,e,null),a=!0},p(g,m){g[8]&&g[2].runningPromptID!=null?u?u.p(g,m):(u=f0(g),u.c(),u.m(e,t)):u&&(u.d(1),u=null);const _={};m[0]&2048&&(_.value=g[35]),m[0]&1&&(_.label=g[0].attrs.title),m[0]&1&&(_.show_label=g[0].attrs.title!==""),!s&&m[0]&4096&&(s=!0,_.imageWidth=g[12],Gt(()=>s=!1)),!r&&m[0]&8192&&(r=!0,_.imageHeight=g[13],Gt(()=>r=!1)),!o&&m[0]&1024&&(o=!0,_.selected_image=g[10],Gt(()=>o=!1)),!l&&m[0]&16384&&(l=!0,_.forceSelectImage=g[14],Gt(()=>l=!1)),i.$set(_)},i(g){a||(S(i.$$.fragment,g),a=!0)},o(g){C(i.$$.fragment,g),a=!1},d(g){g&&E(e),u&&u.d(),j(i)}}}function BD(n){let e,t;return e=new Rp({props:{size:"large",unpadded_box:!0,$$slots:{default:[FD]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s[1]&32&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function zD(n){let e,t,i,s;function r(a){n[22](a)}function o(a){n[23](a)}let l={value:n[34],show_label:n[0].attrs.title!="",label:n[0].attrs.title};return n[12]!==void 0&&(l.imageWidth=n[12]),n[13]!==void 0&&(l.imageHeight=n[13]),e=new Fp({props:l}),Ze.push(()=>jt(e,"imageWidth",r)),Ze.push(()=>jt(e,"imageHeight",o)),e.$on("select",n[16]),{c(){Y(e.$$.fragment)},m(a,u){G(e,a,u),s=!0},p(a,u){const c={};u[0]&2048&&(c.value=a[34]),u[0]&1&&(c.show_label=a[0].attrs.title!=""),u[0]&1&&(c.label=a[0].attrs.title),!t&&u[0]&4096&&(t=!0,c.imageWidth=a[12],Gt(()=>t=!1)),!i&&u[0]&8192&&(i=!0,c.imageHeight=a[13],Gt(()=>i=!1)),e.$set(c)},i(a){s||(S(e.$$.fragment,a),s=!0)},o(a){C(e.$$.fragment,a),s=!1},d(a){j(e,a)}}}function FD(n){let e,t;return e=new ha({}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function WD(n){let e,t,i,s;const r=[zD,BD],o=[];function l(u,c){return u[11]&&u[11].length>0?0:1}function a(u,c){return c===0?xD(u):u}return e=l(n),t=o[e]=r[e](a(n,e)),{c(){t.c(),i=we()},m(u,c){o[e].m(u,c),A(u,i,c),s=!0},p(u,c){let f=e;e=l(u),e===f?o[e].p(a(u,e),c):(oe(),C(o[f],1,1,()=>{o[f]=null}),le(),t=o[e],t?t.p(a(u,e),c):(t=o[e]=r[e](a(u,e)),t.c()),S(t,1),t.m(i.parentNode,i))},i(u){s||(S(t),s=!0)},o(u){C(t),s=!1},d(u){u&&E(i),o[e].d(u)}}}function VD(n){let e,t,i=n[0]&&n[1]&&n[3]&&n[11]&&c0(n);return{c(){i&&i.c(),e=we()},m(s,r){i&&i.m(s,r),A(s,e,r),t=!0},p(s,r){s[0]&&s[1]&&s[3]&&s[11]?i?(i.p(s,r),r[0]&2059&&S(i,1)):(i=c0(s),i.c(),S(i,1),i.m(e.parentNode,e)):i&&(oe(),C(i,1,1,()=>{i=null}),le())},i(s){t||(S(i),t=!0)},o(s){C(i),t=!1},d(s){s&&E(e),i&&i.d(s)}}}function h0(){}function HD(){}function UD(n,e,t){let i,s=Z,r=()=>(s(),s=ot(O,Se=>t(10,i=Se)),O),o,l=Z,a=()=>(l(),l=ot(R,Se=>t(11,o=Se)),R),u,c,f,h=Z,d=()=>(h(),h=ot(x,Se=>t(12,f=Se)),x),p,g=Z,m=()=>(g(),g=ot(N,Se=>t(13,p=Se)),N),_,b=Z,y=()=>(b(),b=ot(D,Se=>t(14,_=Se)),D);Si(n,bt,Se=>t(2,u=Se)),Si(n,bi,Se=>t(21,c=Se)),n.$$.on_destroy.push(()=>s()),n.$$.on_destroy.push(()=>l()),n.$$.on_destroy.push(()=>h()),n.$$.on_destroy.push(()=>g()),n.$$.on_destroy.push(()=>b());let{widget:k=null}=e,{isMobile:T=!1}=e,I=null,R=null;a();let x=Be(0);d();let N=Be(0);m();let O=Be(null);r();let D=Be(null);y();function M(Se){return Se!=null&&Se.length>0?I.properties.tags.length>0&&I.properties.tags.every(Je=>Se.includes(Je)):I.properties.tags.length===0}let L,V=null,X=null;function q(Se){Se&&(t(1,I=Se.node),a(t(3,R=I.value)),I.propsChanged,d(t(4,x=I.imageWidth)),m(t(5,N=I.imageHeight)),r(t(6,O=I.selectedImage)),y(t(7,D=I.forceSelectImage)),t(20,L=null),t(8,V=null),o!=null&&(I.properties.index<0||I.properties.index>=o.length)&&I.setProperty("index",yi(I.properties.index,0,o.length)))}let K={grid_cols:[T?2:3],object_fit:"cover"};function Q(Se,Je){const gt=Se.closest("div.block");if(!gt||zs.all_gallery_buttons(gt).length===0)return;const fe=zs.all_gallery_buttons(gt).map(Te=>({url:Te.children[0].src}));u0(fe,Je,{thumbs:fe})}function J(Se){const Je=o.map(ll);T?u0(Je,0,{thumbs:Je}):zs.instance.showModal(Je,0)}function ce(Se){T?Q(Se.detail,i):zs.instance.showLightbox(Se.detail)}function pe(Se){I.setProperty("index",Se.detail.index)}function qe(Se){f=Se,x.set(f)}function Ae(Se){p=Se,N.set(p)}function ue(Se){Ze[Se?"unshift":"push"](()=>{X=Se,t(9,X)})}function te(Se){f=Se,x.set(f)}function be(Se){p=Se,N.set(p)}function ge(Se){i=Se,O.set(i)}function he(Se){_=Se,D.set(_)}return n.$$set=Se=>{"widget"in Se&&t(0,k=Se.widget),"isMobile"in Se&&t(19,T=Se.isMobile)},n.$$.update=()=>{var Se,Je,gt;if(n.$$.dirty[0]&1&&k&&q(k),n.$$.dirty[0]&3145734)if(t(20,L=u.previewURL),L&&u.runningPromptID&&!c.hidePreviews&&I.properties.showPreviews){const Ii=bt.getQueueEntry(u.runningPromptID);if(Ii!=null){const fe=(gt=(Je=(Se=Ii.extraData)==null?void 0:Se.extra_pnginfo)==null?void 0:Je.comfyBoxPrompt)==null?void 0:gt.subgraphs;M(fe)&&Mp(L).then(Te=>{t(8,V=Te)})}}else t(8,V=null)},[k,I,u,R,x,N,O,D,V,X,i,o,f,p,_,K,J,ce,pe,T,L,c,qe,Ae,ue,te,be,ge,he]}class GD extends _e{constructor(e){super(),me(this,e,UD,VD,ae,{widget:0,isMobile:19},null,[-1,-1])}}class Jh extends As{constructor(t){super(t,[]);P(this,"properties",{tags:[],defaultValue:[],index:0,updateMode:"replace",autoSelectOnUpdate:!0,showPreviews:!0});P(this,"svelteComponentType",GD);P(this,"defaultValue",[]);P(this,"saveUserState",!1);P(this,"outputSlotName",null);P(this,"changedEventName",null);P(this,"selectedFilename",null);P(this,"selectedIndexWidget");P(this,"modeWidget");P(this,"imageWidth",Be(0));P(this,"imageHeight",Be(0));P(this,"selectedImage",Be(null));P(this,"forceSelectImage",Be(null));P(this,"_newSelectedIndex",null);this.selectedIndexWidget=this.addWidget("text","Selected",String(ie(this.selectedImage))),this.selectedIndexWidget.disabled=!0,this.modeWidget=this.addWidget("combo","Mode",this.properties.updateMode,null,{property:"updateMode",values:["replace","append"]}),this.defaultValue=[]}onPropertyChanged(t,i){t==="updateMode"&&(this.modeWidget.value=i)}onExecute(){const t=ie(this.value),i=ie(this.selectedImage);if(this.setOutputData(0,t),this.setOutputData(1,i),this.selectedIndexWidget.value=String(i),i!=null&&t&&t[i]!=null){const s=t[i];s.width=ie(this.imageWidth),s.height=ie(this.imageHeight)}}onAction(t,i,s){super.onAction(t,i,s)}formatValue(t){return`Images: ${(t==null?void 0:t.length)||0}`}setValue(t,i=!1){super.setValue(t,i);const s=this._newSelectedIndex;if(this._newSelectedIndex=null,s!=null){this.selectedImage.set(s),this.forceSelectImage.set(!0);const r=this.getValue()[s];r&&(this.imageWidth.set(r.width||0),this.imageHeight.set(r.height||0))}}stripUserState(t){super.stripUserState(t),t.properties.defaultValue=[],t.comfyValue=[]}parseValue(t){if(t==null)return[];let i=this.properties.updateMode,s=null;typeof t=="object"&&t.galleryImages!=null&&(s=t.selectedIndex,i=t.updateMode||i,t=t.galleryImages);const r=Tp(t)||[];if(i==="append"){const o=ie(this.value);if(r.length>0&&(s!=null||this.properties.autoSelectOnUpdate)){let l=s;l==null&&(l=0),this._newSelectedIndex=Go(o.length+l,0,o.length+r.length-1)}return o.concat(r)}else{if(this.notifyPropsChanged(),r.length>0&&(s!=null||this.properties.autoSelectOnUpdate)){let o=s;o==null&&(o=ie(this.selectedImage)),o!=null&&(this._newSelectedIndex=Go(o,0,r.length-1))}return r}}}P(Jh,"slotLayout",{inputs:[{name:"images",type:"OUTPUT"},{name:"store",type:$.ACTION,options:{color_off:"rebeccapurple",color_on:"rebeccapurple"}}],outputs:[{name:"images",type:"COMFYBOX_IMAGES"},{name:"selected_index",type:"number"}]}),P(Jh,"propertyLayout",[{name:"updateMode",defaultValue:"replace",type:"enum",options:{values:["replace","append"]}}]);w.registerNodeType({class:Jh,title:"UI.Gallery",desc:"Gallery that shows most recent outputs",type:"ui/gallery"});function jD(n){let e,t,i;const s=n[7].default,r=De(s,n,n[6],null);return{c(){e=z("div"),r&&r.c(),v(e,"id",n[1]),v(e,"class",t=mr(n[2].join(" "))+" svelte-1hiax8p"),ve(e,"--row-min-width",n[5]),B(e,"compact",n[4]==="compact"),B(e,"panel",n[4]==="panel"),B(e,"unequal-height",n[0].equal_height===!1),B(e,"stretch",n[0].equal_height),B(e,"hide",!n[3])},m(o,l){A(o,e,l),r&&r.m(e,null),i=!0},p(o,[l]){r&&r.p&&(!i||l&64)&&Le(r,s,o,o[6],i?xe(s,o[6],l,null):Me(o[6]),null),(!i||l&2)&&v(e,"id",o[1]),(!i||l&4&&t!==(t=mr(o[2].join(" "))+" svelte-1hiax8p"))&&v(e,"class",t),(!i||l&32)&&ve(e,"--row-min-width",o[5]),(!i||l&20)&&B(e,"compact",o[4]==="compact"),(!i||l&20)&&B(e,"panel",o[4]==="panel"),(!i||l&5)&&B(e,"unequal-height",o[0].equal_height===!1),(!i||l&5)&&B(e,"stretch",o[0].equal_height),(!i||l&12)&&B(e,"hide",!o[3])},i(o){i||(S(r,o),i=!0)},o(o){C(r,o),i=!1},d(o){o&&E(e),r&&r.d(o)}}}function qD(n,e,t){let{$$slots:i={},$$scope:s}=e,{style:r={}}=e,{elem_id:o}=e,{elem_classes:l=[]}=e,{visible:a=!0}=e,{variant:u="default"}=e,{min_width:c="160px"}=e;return n.$$set=f=>{"style"in f&&t(0,r=f.style),"elem_id"in f&&t(1,o=f.elem_id),"elem_classes"in f&&t(2,l=f.elem_classes),"visible"in f&&t(3,a=f.visible),"variant"in f&&t(4,u=f.variant),"min_width"in f&&t(5,c=f.min_width),"$$scope"in f&&t(6,s=f.$$scope)},[r,o,l,a,u,c,s,i]}class Kr extends _e{constructor(e){super(),me(this,e,qD,jD,ae,{style:0,elem_id:1,elem_classes:2,visible:3,variant:4,min_width:5})}}function YD(n){let e,t="Drop Image here",i,s,r,o,l="Click to Upload",a;return{c(){e=z("div"),i=ke(t),s=se(),r=z("span"),r.textContent="- or -",o=se(),a=ke(l),v(r,"class","or svelte-8ytugg"),v(e,"class","wrap svelte-8ytugg")},m(u,c){A(u,e,c),F(e,i),F(e,s),F(e,r),F(e,o),F(e,a)},p:Z,i:Z,o:Z,d(u){u&&E(e)}}}function XD(n,e,t){let{type:i="file"}=e;return n.$$set=s=>{"type"in s&&t(0,i=s.type)},[i]}class KD extends _e{constructor(e){super(),me(this,e,XD,YD,ae,{type:0})}}function $D(n){const e=n.slice(),t=e[0][0];return e[28]=t,e}function d0(n){let e,t;return e=new yt({props:{visible:!0,variant:n[0]===null||n[0].length===0?"dashed":"solid",border_mode:n[9]?"focus":"base",padding:!0,elem_id:"comfy-image-upload-block",elem_classes:n[5],$$slots:{default:[e5]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&1&&(r.variant=i[0]===null||i[0].length===0?"dashed":"solid"),s&512&&(r.border_mode=i[9]?"focus":"base"),s&32&&(r.elem_classes=i[5]),s&536872863&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function p0(n){let e,t;return e=new ef({props:{label:n[7],show_label:n[7]!="",Icon:wA,float:n[7]!=""}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&128&&(r.label=i[7]),s&128&&(r.show_label=i[7]!=""),s&128&&(r.float=i[7]!=""),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function JD(n){let e,t,i;function s(o){n[20](o)}let r={file_count:n[4],filetype:"image/*",parse_to_data_url:!1,$$slots:{default:[QD]},$$scope:{ctx:n}};return n[9]!==void 0&&(r.dragging=n[9]),e=new vN({props:r}),Ze.push(()=>jt(e,"dragging",s)),e.$on("change",n[14]),e.$on("load",n[12]),e.$on("clear",n[21]),e.$on("select",n[22]),{c(){Y(e.$$.fragment)},m(o,l){G(e,o,l),i=!0},p(o,l){const a={};l&16&&(a.file_count=o[4]),l&536870912&&(a.$$scope={dirty:l,ctx:o}),!t&&l&512&&(t=!0,a.dragging=o[9],Gt(()=>t=!1)),e.$set(a)},i(o){i||(S(e.$$.fragment,o),i=!0)},o(o){C(e.$$.fragment,o),i=!1},d(o){j(e,o)}}}function ZD(n){let e,t,i,s,r,o,l=n[8],a,u,c,f;e=new Cw({props:{absolute:!0}}),e.$on("clear",n[13]);let h=m0(n);return{c(){Y(e.$$.fragment),t=se(),i=z("img"),o=se(),h.c(),a=we(),Ti(i.src,s=Gs(n[28]))||v(i,"src",s),v(i,"alt",r=n[28].filename),v(i,"class","svelte-7aqtz8"),(n[1]===void 0||n[2]===void 0)&&vn(()=>n[19].call(i))},m(d,p){G(e,d,p),A(d,t,p),A(d,i,p),n[18](i),A(d,o,p),h.m(d,p),A(d,a,p),u=!0,c||(f=[ee(i,"click",n[11]),ee(i,"load",n[19])],c=!0)},p(d,p){(!u||p&1&&!Ti(i.src,s=Gs(d[28])))&&v(i,"src",s),(!u||p&1&&r!==(r=d[28].filename))&&v(i,"alt",r),p&256&&ae(l,l=d[8])?(h.d(1),h=m0(d),h.c(),h.m(a.parentNode,a)):h.p(d,p)},i(d){u||(S(e.$$.fragment,d),u=!0)},o(d){C(e.$$.fragment,d),u=!1},d(d){d&&(E(t),E(i),E(o),E(a)),j(e,d),n[18](null),h.d(d),c=!1,lt(f)}}}function QD(n){let e,t;return e=new KD({props:{type:"file"}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p:Z,i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function g0(n){let e,t,i,s,r;return{c(){e=z("img"),Ti(e.src,t=Gs(n[8]))||v(e,"src",t),v(e,"alt",i=n[28].filename),v(e,"class","svelte-7aqtz8")},m(o,l){A(o,e,l),s||(r=ee(e,"click",n[11]),s=!0)},p(o,l){l&256&&!Ti(e.src,t=Gs(o[8]))&&v(e,"src",t),l&1&&i!==(i=o[28].filename)&&v(e,"alt",i)},d(o){o&&E(e),s=!1,r()}}}function m0(n){let e,t=n[8]&&g0(n);return{c(){t&&t.c(),e=we()},m(i,s){t&&t.m(i,s),A(i,e,s)},p(i,s){i[8]?t?t.p(i,s):(t=g0(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){i&&E(e),t&&t.d(i)}}}function e5(n){let e,t,i,s,r,o=n[7]!=""&&p0(n);const l=[ZD,JD],a=[];function u(f,h){return f[0]&&f[0].length>0&&!f[10]?0:1}function c(f,h){return h===0?$D(f):f}return t=u(n),i=a[t]=l[t](c(n,t)),{c(){o&&o.c(),e=se(),i.c(),s=we()},m(f,h){o&&o.m(f,h),A(f,e,h),a[t].m(f,h),A(f,s,h),r=!0},p(f,h){f[7]!=""?o?(o.p(f,h),h&128&&S(o,1)):(o=p0(f),o.c(),S(o,1),o.m(e.parentNode,e)):o&&(oe(),C(o,1,1,()=>{o=null}),le());let d=t;t=u(f),t===d?a[t].p(c(f,t),h):(oe(),C(a[d],1,1,()=>{a[d]=null}),le(),i=a[t],i?i.p(c(f,t),h):(i=a[t]=l[t](c(f,t)),i.c()),S(i,1),i.m(s.parentNode,s))},i(f){r||(S(o),S(i),r=!0)},o(f){C(o),C(i),r=!1},d(f){f&&(E(e),E(s)),o&&o.d(f),a[t].d(f)}}}function t5(n){let e,t,i=n[0]&&d0(n);return{c(){e=z("div"),i&&i.c(),v(e,"class","image-upload svelte-7aqtz8"),v(e,"style",n[6])},m(s,r){A(s,e,r),i&&i.m(e,null),t=!0},p(s,[r]){s[0]?i?(i.p(s,r),r&1&&S(i,1)):(i=d0(s),i.c(),S(i,1),i.m(e,null)):i&&(oe(),C(i,1,1,()=>{i=null}),le()),(!t||r&64)&&v(e,"style",s[6])},i(s){t||(S(i),t=!0)},o(s){C(i),t=!1},d(s){s&&E(e),i&&i.d()}}}function i5(n,e,t){let{value:i=null}=e,{imgWidth:s=0}=e,{imgHeight:r=0}=e,{imgElem:o=null}=e,{fileCount:l="single"}=e,{elem_classes:a=[]}=e,{style:u=""}=e,{label:c=""}=e,{mask:f}=e,h=!1,d=!1,p=null,g=null,m=!1;const _=mi();i&&(g=null,o&&(o.src=Gs(i[0])));function b(){_("change",i)}function y(){_("image_clicked")}async function k(L){return _("uploading"),DE(L)}async function T({detail:L}){t(16,g=Array.isArray(L)?L:[L]),t(17,m=!0)}function I(L){t(16,g=null),t(0,i=[]),t(1,s=0),t(2,r=0),_("change",i),_("clear")}function R(L){t(16,g=L.detail)}function x(L){Ze[L?"unshift":"push"](()=>{o=L,t(3,o)})}function N(){s=this.naturalWidth,r=this.naturalHeight,t(1,s),t(16,g),t(15,p),t(17,m),t(0,i),t(2,r),t(16,g),t(15,p),t(17,m),t(0,i)}function O(L){h=L,t(9,h)}function D(L){Ut.call(this,n,L)}function M(L){Ut.call(this,n,L)}return n.$$set=L=>{"value"in L&&t(0,i=L.value),"imgWidth"in L&&t(1,s=L.imgWidth),"imgHeight"in L&&t(2,r=L.imgHeight),"imgElem"in L&&t(3,o=L.imgElem),"fileCount"in L&&t(4,l=L.fileCount),"elem_classes"in L&&t(5,a=L.elem_classes),"style"in L&&t(6,u=L.style),"label"in L&&t(7,c=L.label),"mask"in L&&t(8,f=L.mask)},n.$$.update=()=>{if(n.$$.dirty&229377&&(JSON.stringify(g)!==JSON.stringify(p)||m)){t(17,m=!1),t(10,d=!0),t(1,s=0),t(2,r=0),t(15,p=g),g==null?t(16,g=[]):Array.isArray(g)||t(16,g=[g]);const L=g.map(V=>V.blob);if(L==null||L.length===0)t(16,g=null),t(0,i=null),b(),t(10,d=!1);else if(!L.every(V=>V!=null))t(16,g=null),t(0,i=null),b(),t(10,d=!1);else{let V=(Array.isArray(g)?g:[g]).map(q=>q.blob),X=g;t(10,d=!0),k(V).then(q=>{JSON.stringify(X)===JSON.stringify(g)&&(t(10,d=!1),q.error&&nt(q.error,{type:"error"}),t(0,i=q.files),_("change",i),_("uploaded",i))}).catch(q=>{_("upload_error",q)})}}},[i,s,r,o,l,a,u,c,f,h,d,y,T,I,R,p,g,m,x,N,O,D,M]}class Ow extends _e{constructor(e){super(),me(this,e,i5,t5,ae,{value:0,imgWidth:1,imgHeight:2,imgElem:3,fileCount:4,elem_classes:5,style:6,label:7,mask:8})}}function n5(n){let e,t,i,s;const r=n[2].default,o=De(r,n,n[1],null);let l=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],a={};for(let u=0;u{e=et(et({},e),Zn(l)),t(0,s=zt(e,i)),"$$scope"in l&&t(1,o=l.$$scope)},[s,o,r]}class r5 extends _e{constructor(e){super(),me(this,e,s5,n5,ae,{})}}function o5(n){let e,t,i,s;const r=n[2].default,o=De(r,n,n[1],null);let l=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],a={};for(let u=0;u{e=et(et({},e),Zn(l)),t(0,s=zt(e,i)),"$$scope"in l&&t(1,o=l.$$scope)},[s,o,r]}class a5 extends _e{constructor(e){super(),me(this,e,l5,o5,ae,{})}}function u5(n){let e,t,i;const s=n[2].default,r=De(s,n,n[1],null);let o=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],l={};for(let a=0;a{e=et(et({},e),Zn(l)),t(0,s=zt(e,i)),"$$scope"in l&&t(1,o=l.$$scope)},[s,o,r]}class f5 extends _e{constructor(e){super(),me(this,e,c5,u5,ae,{})}}function h5(n){let e,t,i;const s=n[2].default,r=De(s,n,n[1],null);let o=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],l={};for(let a=0;a{e=et(et({},e),Zn(l)),t(0,s=zt(e,i)),"$$scope"in l&&t(1,o=l.$$scope)},[s,o,r]}class p5 extends _e{constructor(e){super(),me(this,e,d5,h5,ae,{})}}function g5(n){let e,t,i;const s=n[2].default,r=De(s,n,n[1],null);let o=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],l={};for(let a=0;a{e=et(et({},e),Zn(l)),t(0,s=zt(e,i)),"$$scope"in l&&t(1,o=l.$$scope)},[s,o,r]}class _5 extends _e{constructor(e){super(),me(this,e,m5,g5,ae,{})}}function b5(n){let e,t,i;const s=n[2].default,r=De(s,n,n[1],null);let o=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],l={};for(let a=0;a{e=et(et({},e),Zn(l)),t(0,s=zt(e,i)),"$$scope"in l&&t(1,o=l.$$scope)},[s,o,r]}class v5 extends _e{constructor(e){super(),me(this,e,y5,b5,ae,{})}}function w5(n){let e,t,i;const s=n[2].default,r=De(s,n,n[1],null);let o=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],l={};for(let a=0;a{e=et(et({},e),Zn(l)),t(0,s=zt(e,i)),"$$scope"in l&&t(1,o=l.$$scope)},[s,o,r]}class S5 extends _e{constructor(e){super(),me(this,e,k5,w5,ae,{})}}function T5(n){let e,t,i;const s=n[2].default,r=De(s,n,n[1],null);let o=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],l={};for(let a=0;a{e=et(et({},e),Zn(l)),t(0,s=zt(e,i)),"$$scope"in l&&t(1,o=l.$$scope)},[s,o,r]}class vV extends _e{constructor(e){super(),me(this,e,C5,T5,ae,{})}}function I5(n){let e,t,i,s;const r=n[2].default,o=De(r,n,n[1],null);let l=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],a={};for(let u=0;u{e=et(et({},e),Zn(l)),t(0,s=zt(e,i)),"$$scope"in l&&t(1,o=l.$$scope)},[s,o,r]}let wV=class extends _e{constructor(e){super(),me(this,e,E5,I5,ae,{})}};function A5(n){let e,t,i,s;const r=n[2].default,o=De(r,n,n[1],null);let l=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],a={};for(let u=0;u{e=et(et({},e),Zn(l)),t(0,s=zt(e,i)),"$$scope"in l&&t(1,o=l.$$scope)},[s,o,r]}class SV extends _e{constructor(e){super(),me(this,e,O5,A5,ae,{})}}function N5(n){let e,t,i,s;const r=n[2].default,o=De(r,n,n[1],null);let l=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],a={};for(let u=0;u{e=et(et({},e),Zn(l)),t(0,s=zt(e,i)),"$$scope"in l&&t(1,o=l.$$scope)},[s,o,r]}class x5 extends _e{constructor(e){super(),me(this,e,D5,N5,ae,{})}}function zf(n){const e=n.slice(),t=!e[18];return e[65]=t,e}function L5(n){let e,t,i,s=`${n[6]}px`,r=`${n[7]}px`,o,l,a,u,c=n[4]&&_0(zf(n));return{c(){e=z("div"),t=z("div"),i=z("div"),c&&c.c(),o=se(),l=z("canvas"),v(i,"class","me-original-image-container svelte-1v4o7xm"),ve(i,"width",s),ve(i,"height",r),v(l,"class","me-canvas svelte-1v4o7xm"),ve(l,"cursor",n[13]),v(t,"class","me-canvas-container"),v(e,"class","me-transform svelte-1v4o7xm"),ve(e,"transform",n[19]),ve(e,"--scale",n[8])},m(f,h){A(f,e,h),F(e,t),F(t,i),c&&c.m(i,null),F(t,o),F(t,l),n[39](l),a||(u=[ee(l,"mouseover",n[26]),ee(l,"focus",n[27]),ee(l,"wheel",n[31]),ee(l,"mouseleave",n[28]),ee(l,"mousedown",Yi(n[29])),ee(l,"mouseup",Yi(W5)),ee(l,"mousemove",n[30])],a=!0)},p(f,h){f[4]?c?c.p(zf(f),h):(c=_0(zf(f)),c.c(),c.m(i,null)):c&&(c.d(1),c=null),h[0]&64&&s!==(s=`${f[6]}px`)&&ve(i,"width",s),h[0]&128&&r!==(r=`${f[7]}px`)&&ve(i,"height",r),h[0]&8192&&ve(l,"cursor",f[13]),h[0]&524288&&ve(e,"transform",f[19]),h[0]&256&&ve(e,"--scale",f[8])},d(f){f&&E(e),c&&c.d(),n[39](null),a=!1,lt(u)}}}function M5(n){let e;return{c(){e=z("div"),e.textContent="(empty)"},m(t,i){A(t,e,i)},p:Z,d(t){t&&E(e)}}}function _0(n){let e,t;return{c(){e=z("img"),v(e,"class","me-original-image svelte-1v4o7xm"),Ti(e.src,t=n[4].src)||v(e,"src",t),ve(e,"width",n[6]),ve(e,"height",n[7]),ve(e,"display",n[65]?"block":"none")},m(i,s){A(i,e,s)},p(i,s){s[0]&16&&!Ti(e.src,t=i[4].src)&&v(e,"src",t),s[0]&64&&ve(e,"width",i[6]),s[0]&128&&ve(e,"height",i[7]),s[0]&262144&&ve(e,"display",i[65]?"block":"none")},d(i){i&&E(e)}}}function b0(n){let e,t=`${n[16]*n[8]}px`,i=`${n[16]*n[8]}px`,s=`${n[20]+n[11]}px`,r=`${n[21]+n[12]}px`;return{c(){e=z("div"),v(e,"class","me-brush-cursor svelte-1v4o7xm"),ve(e,"width",t),ve(e,"height",i),ve(e,"left",s),ve(e,"top",r),ve(e,"transform","translate(-50%, -50%)")},m(o,l){A(o,e,l)},p(o,l){l[0]&65792&&t!==(t=`${o[16]*o[8]}px`)&&ve(e,"width",t),l[0]&65792&&i!==(i=`${o[16]*o[8]}px`)&&ve(e,"height",i),l[0]&1050624&&s!==(s=`${o[20]+o[11]}px`)&&ve(e,"left",s),l[0]&2101248&&r!==(r=`${o[21]+o[12]}px`)&&ve(e,"top",r)},d(o){o&&E(e)}}}function R5(n){let e,t;return e=new f5({}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function P5(n){let e,t;return e=new v5({}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function B5(n){let e,t,i,s,r,o,l,a,u,c,f,h,d,p,g,m,_,b,y,k,T,I,R,x,N,O,D,M,L,V,X,q,K,Q,J;function ce(ge,he){return ge[5]?L5:M5}let pe=ce(n),qe=pe(n),Ae=n[5]&&n[10]&&!n[9]&&b0(n);o=new a5({}),c=new r5({}),p=new x5({}),b=new p5({}),R=new S5({}),M=new _5({});const ue=[P5,R5],te=[];function be(ge,he){return ge[0]?0:1}return X=be(n),q=te[X]=ue[X](n),{c(){e=z("div"),qe.c(),t=se(),Ae&&Ae.c(),i=se(),s=z("div"),r=z("button"),Y(o.$$.fragment),a=se(),u=z("button"),Y(c.$$.fragment),h=se(),d=z("button"),Y(p.$$.fragment),m=se(),_=z("label"),Y(b.$$.fragment),y=se(),k=z("input"),T=se(),I=z("label"),Y(R.$$.fragment),x=se(),N=z("input"),O=se(),D=z("div"),Y(M.$$.fragment),L=se(),V=z("div"),q.c(),r.disabled=l=n[3].length===0,v(r,"class","svelte-1v4o7xm"),u.disabled=f=n[15].length===0,v(u,"class","svelte-1v4o7xm"),d.disabled=g=n[3].length===0&&n[15].length===0,v(d,"class","svelte-1v4o7xm"),v(k,"type","range"),v(k,"min","1"),v(k,"max","200"),v(k,"step","0.1"),v(k,"class","svelte-1v4o7xm"),v(_,"class","svelte-1v4o7xm"),v(N,"type","range"),v(N,"min","1"),v(N,"max","100"),v(N,"step","0.1"),v(N,"class","svelte-1v4o7xm"),v(I,"class","svelte-1v4o7xm"),v(D,"class","toggle-button svelte-1v4o7xm"),B(D,"toggled",n[18]),v(V,"class","toggle-button svelte-1v4o7xm"),B(V,"toggled",n[0]),v(s,"class","me-toolkit-bar svelte-1v4o7xm"),v(e,"class","me-container svelte-1v4o7xm"),B(e,"fullscreen",n[0])},m(ge,he){A(ge,e,he),qe.m(e,null),F(e,t),Ae&&Ae.m(e,null),F(e,i),F(e,s),F(s,r),G(o,r,null),F(s,a),F(s,u),G(c,u,null),F(s,h),F(s,d),G(p,d,null),F(s,m),F(s,_),G(b,_,null),F(_,y),F(_,k),Bt(k,n[16]),F(s,T),F(s,I),G(R,I,null),F(I,x),F(I,N),Bt(N,n[17]),F(s,O),F(s,D),G(M,D,null),F(s,L),F(s,V),te[X].m(V,null),n[44](e),K=!0,Q||(J=[ee(window,"mouseup",n[33]),ee(r,"click",n[23]),ee(u,"click",n[24]),ee(d,"click",n[1]),ee(k,"change",n[40]),ee(k,"input",n[40]),ee(k,"change",n[22]),ee(k,"pointerup",n[34]),ee(N,"change",n[41]),ee(N,"input",n[41]),ee(N,"change",n[22]),ee(N,"pointerup",n[34]),ee(D,"click",n[42]),ee(V,"click",n[43]),ee(e,"mousemove",n[32])],Q=!0)},p(ge,he){pe===(pe=ce(ge))&&qe?qe.p(ge,he):(qe.d(1),qe=pe(ge),qe&&(qe.c(),qe.m(e,t))),ge[5]&&ge[10]&&!ge[9]?Ae?Ae.p(ge,he):(Ae=b0(ge),Ae.c(),Ae.m(e,i)):Ae&&(Ae.d(1),Ae=null),(!K||he[0]&8&&l!==(l=ge[3].length===0))&&(r.disabled=l),(!K||he[0]&32768&&f!==(f=ge[15].length===0))&&(u.disabled=f),(!K||he[0]&32776&&g!==(g=ge[3].length===0&&ge[15].length===0))&&(d.disabled=g),he[0]&65536&&Bt(k,ge[16]),he[0]&131072&&Bt(N,ge[17]),(!K||he[0]&262144)&&B(D,"toggled",ge[18]);let Se=X;X=be(ge),X!==Se&&(oe(),C(te[Se],1,1,()=>{te[Se]=null}),le(),q=te[X],q||(q=te[X]=ue[X](ge),q.c()),S(q,1),q.m(V,null)),(!K||he[0]&1)&&B(V,"toggled",ge[0]),(!K||he[0]&1)&&B(e,"fullscreen",ge[0])},i(ge){K||(S(o.$$.fragment,ge),S(c.$$.fragment,ge),S(p.$$.fragment,ge),S(b.$$.fragment,ge),S(R.$$.fragment,ge),S(M.$$.fragment,ge),S(q),K=!0)},o(ge){C(o.$$.fragment,ge),C(c.$$.fragment,ge),C(p.$$.fragment,ge),C(b.$$.fragment,ge),C(R.$$.fragment,ge),C(M.$$.fragment,ge),C(q),K=!1},d(ge){ge&&E(e),qe.d(),Ae&&Ae.d(),j(o),j(c),j(p),j(b),j(R),j(M),te[X].d(),n[44](null),Q=!1,lt(J)}}}const z5="#000";function y0(n,e,t){n.strokeStyle=t,n.lineCap="round",n.lineJoin="round",e.forEach(i=>{!(i!=null&&i.points.length)||!i.size||(n.lineWidth=i.size,n.beginPath(),n.moveTo(i.points[0].x,i.points[0].y),i.points.forEach(s=>n.lineTo(s.x,s.y)),n.stroke())})}function F5(n,e){return n&&e?[e.naturalWidth,e.naturalHeight]:[512,512]}function v0(n){return{x:n.offsetX,y:n.offsetY}}function W5(){}function V5(n,e,t){let{fileURL:i=null}=e,{fullscreen:s=!1}=e;const r=mi();let o,l,a,u,c,f,h=[],d=[],p,g=!1,m=512,_=512,b=1,y=1,k=100,T=0,I=!1,R=!1,x=!1,N=!1,O=!1,D="",M=0,L=0,V=0,X=0,q=0,K=0;var Q;(function(Ce){Ce[Ce.Left=0]="Left",Ce[Ce.Middle=1]="Middle",Ce[Ce.Right=2]="Right",Ce[Ce.Back=3]="Back",Ce[Ce.Forward=4]="Forward"})(Q||(Q={}));function J(){R=!1,t(37,u=null),f=null,t(5,g=!1),t(4,p=null),t(6,m=512),t(7,_=512),t(8,b=1),y=.5}let ce=null,pe=!1;function qe(){pe&&(pe=!1,he(),R=h.length>0,r("loaded",{hasMask:R,maskCanvas:u,curLineGroup:h,redoCurLines:d}))}function Ae(){if(!l)return;const Ce=l.getBoundingClientRect();t(11,M=Ce.width/2-m/2*b),t(12,L=Ce.height/2-_/2*b)}function ue(Ce,tt){const vt=Se(Ce,tt);return y=vt/2,vt}function te(Ce){be(Ce),r("change",{hasMask:R,maskCanvas:u,curLineGroup:h,redoCurLines:d})}function be(Ce){if(!c||!f)return;c.clearRect(0,0,c.canvas.width,c.canvas.height),f.clearRect(0,0,f.canvas.width,f.canvas.height);const tt=z5,vt=Kt=>{Kt.save(),Kt.filter=`blur(${T}px)`,y0(Kt,Ce,tt),Kt.restore()};vt(f),I?(c.save(),c.filter=`blur(${T}px)`,y0(c,Ce,tt),c.restore(),c.globalCompositeOperation="source-in",c.drawImage(p,0,0,m,_),c.globalCompositeOperation="source-over"):vt(c)}function ge(){te(h)}function he(){te(h||[])}function Se(Ce,tt){const vt=l==null?void 0:l.getBoundingClientRect();if(!vt)return 1;const Kt=vt.width/Ce,Vi=vt.height/tt;let cn=1;return(Kt<1||Vi<1)&&(cn=Math.min(Kt,Vi)),cn}function Je(){if(h.length===0)return;const Ce=h.pop(),tt=[...d,Ce];t(15,d=tt);const vt=[...h];t(3,h=vt),te(vt)}function gt(){if(d.length===0)return;const Ce=d.pop();t(15,d=[...d]);const tt=[...h,Ce];t(3,h=tt),te(tt)}function Ii(){t(15,d=[]);const Ce=[];t(3,h=Ce),te(Ce)}function fe(){t(8,b=ue(m,_)),Ae()}async function Te(){t(0,s=!s),ge(),await yr(),fe()}function Ge(){t(10,O=!0)}function It(){t(10,O=!0)}function Pt(){t(10,O=!1)}function ni(Ce){if(!(p!=null&&p.src)||N||a==null)return;switch(Ce.button){case Q.Right:return;case Q.Middle:t(9,N=!0),q=Ce.offsetX*b,K=Ce.offsetY*b;return}x=!0,t(15,d=[]);let tt=[...h];tt.push({size:k,points:[v0(Ce)]}),t(3,h=tt),te(h)}function Xt(Ce){N||x&&h.length!==0&&(h[h.length-1].points.push(v0(Ce)),t(3,h),te(h))}function Fi(Ce){if(Ce.preventDefault(),!l||Ce.target!=a)return;const tt=l.getBoundingClientRect(),vt=Ce.clientX-tt.x,Kt=Ce.clientY-tt.y;Ce.preventDefault();var Vi=Ce.deltaY*-.001;Vi=Math.max(-1,Math.min(1,Vi));const cn=(vt-M)/b,Hi=(Kt-L)/b;t(8,b+=Vi*b),t(8,b=Math.max(y,b)),t(11,M=-cn*b+vt),t(12,L=-Hi*b+Kt),t(20,V=Ce.offsetX*b),t(21,X=Ce.offsetY*b)}function Ei(Ce){Ce.target==a&&(t(20,V=Ce.offsetX*b),t(21,X=Ce.offsetY*b),N&&(t(11,M+=V-q),t(12,L+=X-K)))}function hi(Ce){Ce.button===Q.Middle&&(t(9,N=!1),q=0,K=0),!N&&p!=null&&p.src&&a&&x&&(x=!1,r("release",{hasMask:R,maskCanvas:u,curLineGroup:h,redoCurLines:d}))}function st(){ge(),r("release",{hasMask:R,maskCanvas:u,curLineGroup:h,redoCurLines:d})}function ei(Ce){Ze[Ce?"unshift":"push"](()=>{a=Ce,t(2,a),t(4,p),t(6,m),t(7,_),t(37,u),t(35,i),t(38,ce),t(5,g)})}function Wi(){k=br(this.value),t(16,k)}function ct(){T=br(this.value),t(17,T)}const si=()=>{t(18,I=!I),ge()},Tn=()=>{Te()};function tn(Ce){Ze[Ce?"unshift":"push"](()=>{l=Ce,t(14,l)})}return n.$$set=Ce=>{"fileURL"in Ce&&t(35,i=Ce.fileURL),"fullscreen"in Ce&&t(0,s=Ce.fullscreen)},n.$$.update=()=>{n.$$.dirty[1]&144&&i!==ce&&(J(),i?Mp(i).then(Ce=>{t(4,p=Ce),t(5,g=!0),pe=!0}).catch(Ce=>{t(5,g=!1)}):(t(5,g=!1),t(4,p=null)),t(38,ce=i)),n.$$.dirty[0]&240&&(t(6,[m,_]=F5(g,p),m,(t(7,_),t(5,g),t(4,p),t(6,m),t(35,i),t(38,ce))),t(8,b=ue(m,_)),Ae(),yr().then(()=>{qe()})),n.$$.dirty[0]&6400&&t(19,D=`translate(${M}px, ${L}px) scale(${b})`),n.$$.dirty[0]&1568&&(N?t(13,o="grab"):g&&O?t(13,o="none"):t(13,o=void 0)),n.$$.dirty[0]&212|n.$$.dirty[1]&64&&a&&p&&(t(37,u=document.createElement("canvas")),f=u.getContext("2d"),t(37,u.width=m,u),t(37,u.height=_,u),t(2,a.width=m,a),t(2,a.height=_,a),he()),n.$$.dirty[0]&4&&(c=a?a.getContext("2d"):null),n.$$.dirty[0]&8&&(R=h.length>0)},[s,Ii,a,h,p,g,m,_,b,N,O,M,L,o,l,d,k,T,I,D,V,X,ge,Je,gt,Te,Ge,It,Pt,ni,Xt,Fi,Ei,hi,st,i,fe,u,ce,ei,Wi,ct,si,Tn,tn]}class H5 extends _e{constructor(e){super(),me(this,e,V5,B5,ae,{fileURL:35,fullscreen:0,clearStrokes:1,recenterImage:36},null,[-1,-1,-1])}get clearStrokes(){return this.$$.ctx[1]}get recenterImage(){return this.$$.ctx[36]}}function Ff(n){const e=n.slice(),t=e[4][0]?e[4][0].children.filter(i=>{var s;return(s=i.tags)==null?void 0:s.includes("mask")}).length:0;return e[36]=t,e}function Wf(n){const e=n.slice(),t=Gs(e[12][0]);return e[37]=t,e}function U5(n){let e,t,i,s,r,o,l,a,u,c=n[12]&&n[12].length>0&&n[2]&&w0(Wf(n));function f(p){n[28](p)}function h(p){n[29](p)}let d={value:n[12],mask:n[10],fileCount:"single",elem_classes:[],style:"",label:n[0].attrs.title};return n[13]!==void 0&&(d.imgWidth=n[13]),n[14]!==void 0&&(d.imgHeight=n[14]),s=new Ow({props:d}),Ze.push(()=>jt(s,"imgWidth",f)),Ze.push(()=>jt(s,"imgHeight",h)),s.$on("uploading",n[19]),s.$on("uploaded",n[20]),s.$on("upload_error",n[22]),s.$on("clear",n[21]),s.$on("change",Nw),s.$on("image_clicked",n[18]),a=new yt({props:{$$slots:{default:[$5]},$$scope:{ctx:n}}}),{c(){e=z("div"),c&&c.c(),t=se(),i=z("div"),Y(s.$$.fragment),l=se(),Y(a.$$.fragment),ve(i,"display",n[2]&&n[9]?"none":"block"),v(e,"class","comfy-image-editor-panel")},m(p,g){A(p,e,g),c&&c.m(e,null),F(e,t),F(e,i),G(s,i,null),F(e,l),G(a,e,null),u=!0},p(p,g){p[12]&&p[12].length>0&&p[2]?c?(c.p(Wf(p),g),g[0]&4100&&S(c,1)):(c=w0(Wf(p)),c.c(),S(c,1),c.m(e,t)):c&&(oe(),C(c,1,1,()=>{c=null}),le());const m={};g[0]&4096&&(m.value=p[12]),g[0]&1024&&(m.mask=p[10]),g[0]&1&&(m.label=p[0].attrs.title),!r&&g[0]&8192&&(r=!0,m.imgWidth=p[13],Gt(()=>r=!1)),!o&&g[0]&16384&&(o=!0,m.imgHeight=p[14],Gt(()=>o=!1)),s.$set(m),g[0]&516&&ve(i,"display",p[2]&&p[9]?"none":"block");const _={};g[0]&6684|g[1]&128&&(_.$$scope={dirty:g,ctx:p}),a.$set(_)},i(p){u||(S(c),S(s.$$.fragment,p),S(a.$$.fragment,p),u=!0)},o(p){C(c),C(s.$$.fragment,p),C(a.$$.fragment,p),u=!1},d(p){p&&E(e),c&&c.d(),j(s),j(a)}}}function G5(n){let e,t,i,s;function r(a){n[25](a)}function o(a){n[26](a)}let l={value:n[12],fileCount:"single",elem_classes:[],style:"",label:n[0].attrs.title};return n[13]!==void 0&&(l.imgWidth=n[13]),n[14]!==void 0&&(l.imgHeight=n[14]),e=new Ow({props:l}),Ze.push(()=>jt(e,"imgWidth",r)),Ze.push(()=>jt(e,"imgHeight",o)),e.$on("uploading",n[19]),e.$on("uploaded",n[20]),e.$on("upload_error",n[22]),e.$on("clear",n[21]),e.$on("change",Nw),e.$on("image_clicked",n[18]),{c(){Y(e.$$.fragment)},m(a,u){G(e,a,u),s=!0},p(a,u){const c={};u[0]&4096&&(c.value=a[12]),u[0]&1&&(c.label=a[0].attrs.title),!t&&u[0]&8192&&(t=!0,c.imgWidth=a[13],Gt(()=>t=!1)),!i&&u[0]&16384&&(i=!0,c.imgHeight=a[14],Gt(()=>i=!1)),e.$set(c)},i(a){s||(S(e.$$.fragment,a),s=!0)},o(a){C(e.$$.fragment,a),s=!1},d(a){j(e,a)}}}function w0(n){let e,t,i,s={fileURL:n[37]};return t=new H5({props:s}),n[27](t),t.$on("release",n[15]),t.$on("loaded",n[15]),{c(){e=z("div"),Y(t.$$.fragment),v(e,"class","mask-canvas-wrapper svelte-xilbl7"),ve(e,"display",n[9]?"block":"none")},m(r,o){A(r,e,o),G(t,e,null),i=!0},p(r,o){const l={};o[0]&4096&&(l.fileURL=r[37]),t.$set(l),o[0]&512&&ve(e,"display",r[9]?"block":"none")},i(r){i||(S(t.$$.fragment,r),i=!0)},o(r){C(t.$$.fragment,r),i=!1},d(r){r&&E(e),n[27](null),j(t)}}}function k0(n){let e,t;return e=new Kr({props:{$$slots:{default:[K5]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s[0]&6676|s[1]&128&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function S0(n){let e,t,i,s,r=n[9]&&T0(n);return i=new Qc({props:{disabled:!n[12],$$slots:{default:[X5]},$$scope:{ctx:n}}}),i.$on("click",n[17]),{c(){e=z("div"),r&&r.c(),t=se(),Y(i.$$.fragment)},m(o,l){A(o,e,l),r&&r.m(e,null),F(e,t),G(i,e,null),s=!0},p(o,l){o[9]?r?(r.p(o,l),l[0]&512&&S(r,1)):(r=T0(o),r.c(),S(r,1),r.m(e,t)):r&&(oe(),C(r,1,1,()=>{r=null}),le());const a={};l[0]&4096&&(a.disabled=!o[12]),l[0]&512|l[1]&128&&(a.$$scope={dirty:l,ctx:o}),i.$set(a)},i(o){s||(S(r),S(i.$$.fragment,o),s=!0)},o(o){C(r),C(i.$$.fragment,o),s=!1},d(o){o&&E(e),r&&r.d(),j(i)}}}function T0(n){let e,t;return e=new Qc({props:{variant:"secondary",$$slots:{default:[j5]},$$scope:{ctx:n}}}),e.$on("click",n[30]),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s[1]&128&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function j5(n){let e;return{c(){e=ke("Clear Mask")},m(t,i){A(t,e,i)},d(t){t&&E(e)}}}function q5(n){let e;return{c(){e=ke("Edit Mask")},m(t,i){A(t,e,i)},d(t){t&&E(e)}}}function Y5(n){let e;return{c(){e=ke("Show Image")},m(t,i){A(t,e,i)},d(t){t&&E(e)}}}function X5(n){let e;function t(r,o){return r[9]?Y5:q5}let i=t(n),s=i(n);return{c(){s.c(),e=we()},m(r,o){s.m(r,o),A(r,e,o)},p(r,o){i!==(i=t(r))&&(s.d(1),s=i(r),s&&(s.c(),s.m(e.parentNode,e)))},d(r){r&&E(e),s.d(r)}}}function C0(n){let e,t,i;return{c(){e=z("div"),t=ke("Upload error: "),i=ke(n[11])},m(s,r){A(s,e,r),F(e,t),F(e,i)},p(s,r){r[0]&2048&&je(i,s[11])},d(s){s&&E(e)}}}function K5(n){let e,t,i,s,r,o,l=n[2]&&S0(n);i=new dr({props:{label:"",show_label:!1,disabled:!0,lines:1,max_lines:1,value:"Images: "+n[4].length+", masks: "+n[36]}});let a=n[11]&&C0(n);return{c(){l&&l.c(),e=se(),t=z("div"),Y(i.$$.fragment),s=se(),a&&a.c(),r=we()},m(u,c){l&&l.m(u,c),A(u,e,c),A(u,t,c),G(i,t,null),A(u,s,c),a&&a.m(u,c),A(u,r,c),o=!0},p(u,c){u[2]?l?(l.p(u,c),c[0]&4&&S(l,1)):(l=S0(u),l.c(),S(l,1),l.m(e.parentNode,e)):l&&(oe(),C(l,1,1,()=>{l=null}),le());const f={};c[0]&16&&(f.value="Images: "+u[4].length+", masks: "+u[36]),i.$set(f),u[11]?a?a.p(u,c):(a=C0(u),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},i(u){o||(S(l),S(i.$$.fragment,u),o=!0)},o(u){C(l),C(i.$$.fragment,u),o=!1},d(u){u&&(E(e),E(t),E(s),E(r)),l&&l.d(u),j(i),a&&a.d(u)}}}function $5(n){let e,t,i=n[3]&&k0(Ff(n));return{c(){i&&i.c(),e=we()},m(s,r){i&&i.m(s,r),A(s,e,r),t=!0},p(s,r){s[3]?i?(i.p(Ff(s),r),r[0]&8&&S(i,1)):(i=k0(Ff(s)),i.c(),S(i,1),i.m(e.parentNode,e)):i&&(oe(),C(i,1,1,()=>{i=null}),le())},i(s){t||(S(i),t=!0)},o(s){C(i),t=!1},d(s){s&&E(e),i&&i.d(s)}}}function J5(n){let e,t,i,s;const r=[G5,U5],o=[];function l(a,u){return a[0].attrs.variant==="fileUpload"||a[1]?0:1}return t=l(n),i=o[t]=r[t](n),{c(){e=z("div"),i.c(),v(e,"class","wrapper comfy-image-editor svelte-xilbl7")},m(a,u){A(a,e,u),o[t].m(e,null),s=!0},p(a,u){let c=t;t=l(a),t===c?o[t].p(a,u):(oe(),C(o[c],1,1,()=>{o[c]=null}),le(),i=o[t],i?i.p(a,u):(i=o[t]=r[t](a),i.c()),S(i,1),i.m(e,null))},i(a){s||(S(i),s=!0)},o(a){C(i),s=!1},d(a){a&&E(e),o[t].d()}}}const Z5="ComfyBoxMask.png";function Nw(n){}function Q5(n,e,t){let i,s=Z,r=()=>(s(),s=ot(g,be=>t(4,i=be)),g),o,l=Z,a=()=>(l(),l=ot(m,be=>t(13,o=be)),m),u,c=Z,f=()=>(c(),c=ot(_,be=>t(14,u=be)),_);n.$$.on_destroy.push(()=>s()),n.$$.on_destroy.push(()=>l()),n.$$.on_destroy.push(()=>c());let{widget:h=null}=e,{isMobile:d=!1}=e,p=null,g=null;r();let m=Be(0);a();let _=Be(0);f();let b=null,y=!1,k=!1;function T(be){be&&(t(23,p=be.node),r(t(5,g=p.value)),a(t(6,m=p.imgWidth)),f(t(7,_=p.imgHeight)),t(24,L=i&&i.length>0?"uploaded":"empty"))}let I=!1,R;async function x(be){const ge=be.detail;ge.maskCanvas!=null&&ge.hasMask&&await N(ge.maskCanvas)}async function N(be){if(!k){nt("Mask editing is disabled for this widget.",{type:"warning"});return}if(!be){nt("No mask canvas!",{type:"warning"});return}if(!i||i.length===0){nt("No image uploaded to apply mask to.",{type:"warning"});return}const ge=i[0].children.findIndex(Je=>{var gt;return(gt=Je.tags)==null?void 0:gt.includes("mask")})===-1,he=i[0].comfyUIFile.filename,Se=he?`${Lv(he)}_mask.png`:Z5;await xE(be).then(Je=>Bv([{blob:Je,filename:Se,overwrite:!0}])).then(Je=>{const gt=Je.files.map(Ii=>{const fe=Xl(Ii);return fe.tags=["mask"],fe.width=be.width,fe.height=be.height,fe});if(i.length>0)pi(g,i[0].children=gt,i),ge&&nt("Uploaded mask successfully!",{type:"success"});else throw new Error("No image was uploaded yet.")}).catch(Je=>{nt(`Failed to upload mask to ComfyUI: ${Je}`,{type:"error",timeout:1e4})})}function O(){for(const be of i)be.children=[];t(10,R=null),b&&b.clearStrokes()}async function D(){t(9,y=!y),await yr(),b&&b.recenterImage()}function M(){if(!i||i.length===0)return;const be=i[0],he=[ll(be)];zs.instance.showModal(he,0)}let L="empty",V=null;function X(){t(11,V=null),t(24,L="uploading")}function q(be){t(11,V=null),t(24,L="uploaded"),pi(g,i=be.detail.map(Xl),i)}function K(){t(11,V=null),t(24,L="empty"),pi(g,i=[],i)}function Q(be){t(24,L="error"),t(11,V=be.detail),pi(g,i=[],i),nt(`Failed to upload image to ComfyUI: ${V}`,{type:"error",timeout:1e4})}let J=[];function ce(be){o=be,m.set(o)}function pe(be){u=be,_.set(u)}function qe(be){Ze[be?"unshift":"push"](()=>{b=be,t(8,b)})}function Ae(be){o=be,m.set(o)}function ue(be){u=be,_.set(u)}const te=()=>{O(),nt("Mask cleared.")};return n.$$set=be=>{"widget"in be&&t(0,h=be.widget),"isMobile"in be&&t(1,d=be.isMobile)},n.$$.update=()=>{var be,ge,he;n.$$.dirty[0]&1&&h&&T(h),n.$$.dirty[0]&8388608&&t(2,k=(((be=p==null?void 0:p.properties)==null?void 0:be.maskCount)||0)>0),n.$$.dirty[0]&4&&(k||O()),n.$$.dirty[0]&16&&t(3,I=i&&i.length>0),n.$$.dirty[0]&8&&(I||t(9,y=!1)),n.$$.dirty[0]&28&&(I&&k?t(10,R=(he=(ge=i[0].children)==null?void 0:ge.find(Se=>Se.tags.includes("mask")))==null?void 0:he.comfyUIFile):t(10,R=null)),n.$$.dirty[0]&16&&(i?t(12,J=i.map(OE)):t(12,J=[])),n.$$.dirty[0]&16777216},[h,d,k,I,i,g,m,_,b,y,R,V,J,o,u,x,O,D,M,X,q,K,Q,p,L,ce,pe,qe,Ae,ue,te]}class ex extends _e{constructor(e){super(),me(this,e,Q5,J5,ae,{widget:0,isMobile:1},null,[-1,-1])}}class Dw extends As{constructor(t){super(t,[]);P(this,"properties",{defaultValue:[],tags:[],maskCount:0});P(this,"svelteComponentType",ex);P(this,"defaultValue",[]);P(this,"outputSlotName","images");P(this,"storeActionName","store");P(this,"saveUserState",!1);P(this,"imgWidth",Be(0));P(this,"imgHeight",Be(0))}onExecute(t,i){const s=ie(this.value);if(s&&s.length>0){s[0].width=ie(this.imgWidth),s[0].height=ie(this.imgHeight);for(const r of s[0].children)r.width=ie(this.imgWidth),r.height=ie(this.imgHeight)}super.onExecute(t,i)}parseValue(t){return Tp(t)||[]}formatValue(t){return`Images: ${(t==null?void 0:t.length)||0}`}stripUserState(t){super.stripUserState(t),t.properties.defaultValue=[],t.comfyValue=[]}}P(Dw,"slotLayout",{inputs:[{name:"store",type:$.ACTION}],outputs:[{name:"images",type:"COMFYBOX_IMAGES"},{name:"changed",type:$.EVENT}]});w.registerNodeType({class:Dw,title:"UI.ImageUpload",desc:"Widget that lets you upload and edit a multi-layered image. Can also act like a standalone image uploader.",type:"ui/image_upload"});function I0(n){let e,t;return e=new yt({props:{type:"fieldset",$$slots:{default:[tx]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&2115&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function tx(n){let e,t;return e=new AA({props:{elem_id:"radio",choices:n[1].properties.choices,disabled:Kn(n[0]),label:n[0].attrs.title,show_label:n[0].attrs.title&&n[0].attrs.title!=="",value:n[6]}}),e.$on("select",n[7]),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&2&&(r.choices=i[1].properties.choices),s&1&&(r.disabled=Kn(i[0])),s&1&&(r.label=i[0].attrs.title),s&1&&(r.show_label=i[0].attrs.title&&i[0].attrs.title!==""),s&64&&(r.value=i[6]),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function E0(n){let e,t,i=n[1]!==null&&n[1].properties.choices&&I0(n);return{c(){i&&i.c(),e=we()},m(s,r){i&&i.m(s,r),A(s,e,r),t=!0},p(s,r){s[1]!==null&&s[1].properties.choices?i?(i.p(s,r),r&2&&S(i,1)):(i=I0(s),i.c(),S(i,1),i.m(e.parentNode,e)):i&&(oe(),C(i,1,1,()=>{i=null}),le())},i(s){t||(S(i),t=!0)},o(s){C(i),t=!1},d(s){s&&E(e),i&&i.d(s)}}}function A0(n){let e=n[5],t,i,s=E0(n);return{c(){s.c(),t=we()},m(r,o){s.m(r,o),A(r,t,o),i=!0},p(r,o){o&32&&ae(e,e=r[5])?(oe(),C(s,1,1,Z),le(),s=E0(r),s.c(),S(s,1),s.m(t.parentNode,t)):s.p(r,o)},i(r){i||(S(s),i=!0)},o(r){C(s),i=!1},d(r){r&&E(t),s.d(r)}}}function ix(n){let e,t,i=n[2],s,r=A0(n);return{c(){e=z("div"),t=z("div"),r.c(),v(t,"class","inner"),v(e,"class","wrapper gradio-radio")},m(o,l){A(o,e,l),F(e,t),r.m(t,null),s=!0},p(o,[l]){l&4&&ae(i,i=o[2])?(oe(),C(r,1,1,Z),le(),r=A0(o),r.c(),S(r,1),r.m(t,null)):r.p(o,l)},i(o){s||(S(r),s=!0)},o(o){C(r),s=!1},d(o){o&&E(e),r.d(o)}}}let nx=null;function sx(n,e,t){let i,s,r=Z,o=()=>(r(),r=ot(p,b=>t(5,s=b)),p),l,a=Z,u=()=>(a(),a=ot(d,b=>t(6,l=b)),d);Si(n,nx,b=>t(2,i=b)),n.$$.on_destroy.push(()=>r()),n.$$.on_destroy.push(()=>a());let{widget:c=null}=e,{isMobile:f=!1}=e,h=null,d=null;u();let p=null;o();function g(b){b&&(t(1,h=b.node),u(t(3,d=h.value)),o(t(4,p=b.attrsChanged)))}function m(){var b;t(1,h.index=yi(h.index,0,((b=h.properties.choices)==null?void 0:b.length)||0),h)}function _(b){h.setValue(b.detail.value),t(1,h.index=b.detail.index,h),wr(20)}return n.$$set=b=>{"widget"in b&&t(0,c=b.widget),"isMobile"in b&&t(8,f=b.isMobile)},n.$$.update=()=>{n.$$.dirty&1&&c&&g(c),n.$$.dirty&6&&h&&i&&m()},[c,h,i,d,p,s,l,_,f]}class rx extends _e{constructor(e){super(),me(this,e,sx,ix,ae,{widget:0,isMobile:8})}}class xw extends As{constructor(t){super(t,"Choice A");P(this,"properties",{tags:[],choices:["Choice A","Choice B","Choice C"],defaultValue:"Choice A"});P(this,"svelteComponentType",rx);P(this,"defaultValue","");P(this,"indexWidget");P(this,"index",0);this.indexWidget=this.addWidget("number","Index",this.index),this.indexWidget.disabled=!0}onExecute(t,i){super.onExecute(t,i),this.setOutputData(1,this.index)}setValue(t,i=!1){super.setValue(t,i),t=ie(this.value);const s=this.properties.choices.indexOf(t);s!==-1&&(this.index=s,this.indexWidget.value=s,this.setOutputData(1,this.index))}parseValue(t){if(typeof t=="string")return this.properties.choices.indexOf(t)===-1?this.properties.choices[0]:t;{const i=yi(parseInt(t),0,this.properties.choices.length-1);return this.properties.choices[i]||this.properties.defaultValue}}}P(xw,"slotLayout",{inputs:[{name:"store",type:$.ACTION}],outputs:[{name:"value",type:"string"},{name:"index",type:"number"},{name:"changed",type:$.EVENT}]});w.registerNodeType({class:xw,title:"UI.Radio",desc:"Radio that outputs a string and index",type:"ui/radio"});function ox(n){let e;return{c(){e=ke(n[5])},m(t,i){A(t,e,i)},p(t,i){i&32&&je(e,t[5])},d(t){t&&E(e)}}}function lx(n){let e,t,i,s,r,o,l,a,u,c,f;return s=new kn({props:{show_label:n[7],info:n[6],$$slots:{default:[ox]},$$scope:{ctx:n}}}),{c(){e=z("div"),t=z("div"),i=z("label"),Y(s.$$.fragment),r=se(),o=z("input"),l=se(),a=z("input"),v(i,"for",n[9]),v(o,"data-testid","number-input"),v(o,"type","number"),v(o,"min",n[1]),v(o,"max",n[2]),v(o,"step",n[3]),o.disabled=n[4],v(o,"class","svelte-17c17fl"),v(t,"class","head svelte-17c17fl"),v(e,"class","wrap svelte-17c17fl"),v(a,"type","range"),v(a,"id",n[9]),v(a,"name","cowbell"),v(a,"min",n[1]),v(a,"max",n[2]),v(a,"step",n[3]),a.disabled=n[4],v(a,"class","svelte-17c17fl")},m(h,d){A(h,e,d),F(e,t),F(t,i),G(s,i,null),F(t,r),F(t,o),Bt(o,n[8]),A(h,l,d),A(h,a,d),Bt(a,n[0]),u=!0,c||(f=[ee(o,"input",n[15]),ee(o,"input",n[10]),ee(o,"blur",n[12]),ee(o,"pointerup",n[11]),ee(a,"change",n[16]),ee(a,"input",n[16]),ee(a,"pointerup",n[11]),ee(a,"pointerdown",n[13]),ee(a,"pointermove",n[14])],c=!0)},p(h,[d]){const p={};d&128&&(p.show_label=h[7]),d&64&&(p.info=h[6]),d&262176&&(p.$$scope={dirty:d,ctx:h}),s.$set(p),(!u||d&2)&&v(o,"min",h[1]),(!u||d&4)&&v(o,"max",h[2]),(!u||d&8)&&v(o,"step",h[3]),(!u||d&16)&&(o.disabled=h[4]),d&256&&br(o.value)!==h[8]&&Bt(o,h[8]),(!u||d&2)&&v(a,"min",h[1]),(!u||d&4)&&v(a,"max",h[2]),(!u||d&8)&&v(a,"step",h[3]),(!u||d&16)&&(a.disabled=h[4]),d&1&&Bt(a,h[0])},i(h){u||(S(s.$$.fragment,h),u=!0)},o(h){C(s.$$.fragment,h),u=!1},d(h){h&&(E(e),E(l),E(a)),j(s),c=!1,lt(f)}}}let ax=0;function ux(n,e,t){let{value:i=0}=e,{minimum:s=0}=e,{maximum:r=100}=e,{step:o=1}=e,{disabled:l=!1}=e,{label:a}=e,{info:u=void 0}=e,{show_label:c}=e;const f=`range_id_${ax++}`,h=mi();let d=i;function p(T){const I=T.currentTarget;parseFloat(I.value),t(8,d=Math.min(Math.max(d,s),r)),t(0,i=d),h("release",i)}function g(T){h("release",i)}const m=()=>{h("release",i),t(0,i=Math.min(Math.max(i,s),r))};function _(T){Ut.call(this,n,T)}function b(T){Ut.call(this,n,T)}function y(){d=br(this.value),t(8,d),t(0,i)}function k(){i=br(this.value),t(0,i)}return n.$$set=T=>{"value"in T&&t(0,i=T.value),"minimum"in T&&t(1,s=T.minimum),"maximum"in T&&t(2,r=T.maximum),"step"in T&&t(3,o=T.step),"disabled"in T&&t(4,l=T.disabled),"label"in T&&t(5,a=T.label),"info"in T&&t(6,u=T.info),"show_label"in T&&t(7,c=T.show_label)},n.$$.update=()=>{n.$$.dirty&1&&(t(8,d=i),h("change",i))},[i,s,r,o,l,a,u,c,d,f,p,g,m,_,b,y,k]}let cx=class extends _e{constructor(e){super(),me(this,e,ux,lx,ae,{value:0,minimum:1,maximum:2,step:3,disabled:4,label:5,info:6,show_label:7})}};function O0(n){let e,t,i;function s(o){n[13](o)}let r={disabled:Kn(n[0]),minimum:n[2].properties.min,maximum:n[2].properties.max,step:n[2].properties.step,label:n[0].attrs.title,show_label:!0};return n[4]!==void 0&&(r.value=n[4]),e=new cx({props:r}),Ze.push(()=>jt(e,"value",s)),e.$on("release",n[7]),e.$on("change",n[8]),e.$on("pointerdown",n[9]),e.$on("pointermove",n[10]),{c(){Y(e.$$.fragment)},m(o,l){G(e,o,l),i=!0},p(o,l){const a={};l&1&&(a.disabled=Kn(o[0])),l&4&&(a.minimum=o[2].properties.min),l&4&&(a.maximum=o[2].properties.max),l&4&&(a.step=o[2].properties.step),l&1&&(a.label=o[0].attrs.title),!t&&l&16&&(t=!0,a.value=o[4],Gt(()=>t=!1)),e.$set(a)},i(o){i||(S(e.$$.fragment,o),i=!0)},o(o){C(e.$$.fragment,o),i=!1},d(o){j(e,o)}}}function fx(n){let e,t,i=n[2]!==null&&n[4]!==null&&O0(n);return{c(){e=z("div"),i&&i.c(),v(e,"class","wrapper gradio-slider svelte-jib6x3"),B(e,"mobile",n[1])},m(s,r){A(s,e,r),i&&i.m(e,null),n[14](e),t=!0},p(s,[r]){s[2]!==null&&s[4]!==null?i?(i.p(s,r),r&20&&S(i,1)):(i=O0(s),i.c(),S(i,1),i.m(e,null)):i&&(oe(),C(i,1,1,()=>{i=null}),le()),(!t||r&2)&&B(e,"mobile",s[1])},i(s){t||(S(i),t=!0)},o(s){C(i),t=!1},d(s){s&&E(e),i&&i.d(),n[14](null)}}}function hx(n){n.style.setProperty("--background-size",`${dx(n)}%`)}function dx(n){const e=+n.min||0,t=+n.max||100;return(+n.value-e)/(t-e)*100}function px(n,e,t){let i,s=Z,r=()=>(s(),s=ot(d,O=>t(11,i=O)),d),o,l=Z,a=()=>(l(),l=ot(h,O=>t(12,o=O)),h);n.$$.on_destroy.push(()=>s()),n.$$.on_destroy.push(()=>l());let{widget:u=null}=e,{isMobile:c=!1}=e,f=null,h=null;a();let d=null;r();let p=null;function g(O){O&&(t(2,f=O.node),a(t(3,h=f.value)),r(t(6,d=f.propsChanged)),m(o))}function m(O){t(4,p=O)}function _(O){h&&p!=null&&pi(h,o=p,o)}function b(){const O=y.querySelector("input[type=range]");hx(O)}let y=null;function k(O){c&&Zl.showIndicator(O.clientX,O.clientY,p)}let T=!0,I=null;function R(O){c&&(Zl.showIndicator(O.clientX,O.clientY,p),T&&I!=p&&(I=p,T=!1,setTimeout(()=>{T=!0},30),wr(10)))}function x(O){p=O,t(4,p)}function N(O){Ze[O?"unshift":"push"](()=>{y=O,t(5,y)})}return n.$$set=O=>{"widget"in O&&t(0,u=O.widget),"isMobile"in O&&t(1,c=O.isMobile)},n.$$.update=()=>{if(n.$$.dirty&1&&u&&g(u),n.$$.dirty&6157&&h!==null&&(!i||i)&&(m(o),g(u),t(2,f),t(3,h),t(11,i),t(12,o),t(0,u)),n.$$.dirty&32&&y&&b(),n.$$.dirty&2100&&y&&f!==null&&p!==null&&(!i||i)){const O=y.querySelector("input[type='range']");let D=O.step/(O.max-O.min)*100,M="max(3px, calc("+D+"% - 2px))",L="max(4px, calc("+D+"% + 0px))";y.style.setProperty("--ae-slider-bg-overlay","repeating-linear-gradient( 90deg, transparent, transparent "+M+", var(--ae-input-border-color) "+M+", var(--ae-input-border-color) "+L+" )")}},[u,c,f,h,p,y,d,_,b,k,R,i,o,x,N]}class gx extends _e{constructor(e){super(),me(this,e,px,fx,ae,{widget:0,isMobile:1})}}class af extends As{constructor(t){super(t,0);P(this,"properties",{tags:[],defaultValue:0,min:0,max:10,step:1,precision:1});P(this,"svelteComponentType",gx);P(this,"defaultValue",0);P(this,"outputProperties",[{name:"min",type:"number"},{name:"max",type:"number"},{name:"step",type:"number"},{name:"precision",type:"number"}])}parseValue(t){return typeof t!="number"?this.properties.min:yi(t,this.properties.min,this.properties.max)}clampOneConfig(t){this.setValue(this.properties.defaultValue)}}P(af,"slotLayout",{inputs:[{name:"store",type:$.ACTION}],outputs:[{name:"value",type:"number"},{name:"changed",type:$.EVENT}]});w.registerNodeType({class:af,title:"UI.Number",desc:"Displays a number, by default in a slider format.",type:"ui/number"});let kt=class Lw{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){let s=[];return this.decompose(0,e,s,2),i.length&&i.decompose(0,i.length,s,3),this.decompose(t,this.length,s,1),bs.from(s,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let i=[];return this.decompose(e,t,i,0),bs.from(i,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),s=new Rl(this),r=new Rl(e);for(let o=t,l=t;;){if(s.next(o),r.next(o),o=0,s.lineBreak!=r.lineBreak||s.done!=r.done||s.value!=r.value)return!1;if(l+=s.value.length,s.done||l>=i)return!0}}iter(e=1){return new Rl(this,e)}iterRange(e,t=this.length){return new Mw(this,e,t)}iterLines(e,t){let i;if(e==null)i=this.iter();else{t==null&&(t=this.lines+1);let s=this.line(e).from;i=this.iterRange(s,Math.max(s,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new Rw(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?Lw.empty:e.length<=32?new ii(e):bs.from(ii.split(e,[]))}};class ii extends kt{constructor(e,t=mx(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,i,s){for(let r=0;;r++){let o=this.text[r],l=s+o.length;if((t?i:l)>=e)return new _x(s,l,i,o);s=l+1,i++}}decompose(e,t,i,s){let r=e<=0&&t>=this.length?this:new ii(N0(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(s&1){let o=i.pop(),l=mu(r.text,o.text.slice(),0,r.length);if(l.length<=32)i.push(new ii(l,o.length+r.length));else{let a=l.length>>1;i.push(new ii(l.slice(0,a)),new ii(l.slice(a)))}}else i.push(r)}replace(e,t,i){if(!(i instanceof ii))return super.replace(e,t,i);let s=mu(this.text,mu(i.text,N0(this.text,0,e)),t),r=this.length+i.length-(t-e);return s.length<=32?new ii(s,r):bs.from(ii.split(s,[]),r)}sliceString(e,t=this.length,i=` +`){let s="";for(let r=0,o=0;r<=t&&oe&&o&&(s+=i),er&&(s+=l.slice(Math.max(0,e-r),t-r)),r=a+1}return s}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let i=[],s=-1;for(let r of e)i.push(r),s+=r.length+1,i.length==32&&(t.push(new ii(i,s)),i=[],s=-1);return s>-1&&t.push(new ii(i,s)),t}}class bs extends kt{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let i of e)this.lines+=i.lines}lineInner(e,t,i,s){for(let r=0;;r++){let o=this.children[r],l=s+o.length,a=i+o.lines-1;if((t?a:l)>=e)return o.lineInner(e,t,i,s);s=l+1,i=a+1}}decompose(e,t,i,s){for(let r=0,o=0;o<=t&&r=o){let u=s&((o<=e?1:0)|(a>=t?2:0));o>=e&&a<=t&&!u?i.push(l):l.decompose(e-o,t-o,i,u)}o=a+1}}replace(e,t,i){if(i.lines=r&&t<=l){let a=o.replace(e-r,t-r,i),u=this.lines-o.lines+a.lines;if(a.lines>5-1&&a.lines>u>>5+1){let c=this.children.slice();return c[s]=a,new bs(c,this.length-(t-e)+i.length)}return super.replace(r,l,a)}r=l+1}return super.replace(e,t,i)}sliceString(e,t=this.length,i=` +`){let s="";for(let r=0,o=0;re&&r&&(s+=i),eo&&(s+=l.sliceString(e-o,t-o,i)),o=a+1}return s}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof bs))return 0;let i=0,[s,r,o,l]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;s+=t,r+=t){if(s==o||r==l)return i;let a=this.children[s],u=e.children[r];if(a!=u)return i+a.scanIdentical(u,t);i+=a.length+1}}static from(e,t=e.reduce((i,s)=>i+s.length+1,-1)){let i=0;for(let d of e)i+=d.lines;if(i<32){let d=[];for(let p of e)p.flatten(d);return new ii(d,t)}let s=Math.max(32,i>>5),r=s<<1,o=s>>1,l=[],a=0,u=-1,c=[];function f(d){let p;if(d.lines>r&&d instanceof bs)for(let g of d.children)f(g);else d.lines>o&&(a>o||!a)?(h(),l.push(d)):d instanceof ii&&a&&(p=c[c.length-1])instanceof ii&&d.lines+p.lines<=32?(a+=d.lines,u+=d.length+1,c[c.length-1]=new ii(p.text.concat(d.text),p.length+1+d.length)):(a+d.lines>s&&h(),a+=d.lines,u+=d.length+1,c.push(d))}function h(){a!=0&&(l.push(c.length==1?c[0]:bs.from(c,u)),u=-1,a=c.length=0)}for(let d of e)f(d);return h(),l.length==1?l[0]:new bs(l,t)}}kt.empty=new ii([""],0);function mx(n){let e=-1;for(let t of n)e+=t.length+1;return e}function mu(n,e,t=0,i=1e9){for(let s=0,r=0,o=!0;r=t&&(a>i&&(l=l.slice(0,i-s)),s0?1:(e instanceof ii?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,s=this.nodes[i],r=this.offsets[i],o=r>>1,l=s instanceof ii?s.text.length:s.children.length;if(o==(t>0?l:0)){if(i==0)return this.done=!0,this.value="",this;t>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((r&1)==(t>0?0:1)){if(this.offsets[i]+=t,e==0)return this.lineBreak=!0,this.value=` +`,this;e--}else if(s instanceof ii){let a=s.text[o+(t<0?-1:0)];if(this.offsets[i]+=t,a.length>Math.max(0,e))return this.value=e==0?a:t>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let a=s.children[o+(t<0?-1:0)];e>a.length?(e-=a.length,this.offsets[i]+=t):(t<0&&this.offsets[i]--,this.nodes.push(a),this.offsets.push(t>0?1:(a instanceof ii?a.text.length:a.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class Mw{constructor(e,t,i){this.value="",this.done=!1,this.cursor=new Rl(e,t>i?-1:1),this.pos=t>i?e.length:0,this.from=Math.min(t,i),this.to=Math.max(t,i)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let i=t<0?this.pos-this.from:this.to-this.pos;e>i&&(e=i),i-=e;let{value:s}=this.cursor.next(e);return this.pos+=(s.length+e)*t,this.value=s.length<=i?s:t<0?s.slice(s.length-i):s.slice(0,i),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class Rw{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:i,value:s}=this.inner.next(e);return t?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=s,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(kt.prototype[Symbol.iterator]=function(){return this.iter()},Rl.prototype[Symbol.iterator]=Mw.prototype[Symbol.iterator]=Rw.prototype[Symbol.iterator]=function(){return this});class _x{constructor(e,t,i,s){this.from=e,this.to=t,this.number=i,this.text=s}get length(){return this.to-this.from}}let zo="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(n=>n?parseInt(n,36):1);for(let n=1;nn)return zo[e-1]<=n;return!1}function D0(n){return n>=127462&&n<=127487}const x0=8205;function Ln(n,e,t=!0,i=!0){return(t?Pw:yx)(n,e,i)}function Pw(n,e,t){if(e==n.length)return e;e&&Bw(n.charCodeAt(e))&&zw(n.charCodeAt(e-1))&&e--;let i=$i(n,e);for(e+=ns(i);e=0&&D0($i(n,o));)r++,o-=2;if(r%2==0)break;e+=2}else break}return e}function yx(n,e,t){for(;e>0;){let i=Pw(n,e-2,t);if(i=56320&&n<57344}function zw(n){return n>=55296&&n<56320}function $i(n,e){let t=n.charCodeAt(e);if(!zw(t)||e+1==n.length)return t;let i=n.charCodeAt(e+1);return Bw(i)?(t-55296<<10)+(i-56320)+65536:t}function Fw(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}function ns(n){return n<65536?1:2}const Zh=/\r\n?|\n/;var rn=function(n){return n[n.Simple=0]="Simple",n[n.TrackDel=1]="TrackDel",n[n.TrackBefore=2]="TrackBefore",n[n.TrackAfter=3]="TrackAfter",n}(rn||(rn={}));class Ts{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return r+(e-s);r+=l}else{if(i!=rn.Simple&&u>=e&&(i==rn.TrackDel&&se||i==rn.TrackBefore&&se))return null;if(u>e||u==e&&t<0&&!l)return e==s||t<0?r:r+a;r+=a}s=u}if(e>s)throw new RangeError(`Position ${e} is out of range for changeset of length ${s}`);return r}touchesRange(e,t=e){for(let i=0,s=0;i=0&&s<=t&&l>=e)return st?"cover":!0;s=l}return!1}toString(){let e="";for(let t=0;t=0?":"+s:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Ts(e)}static create(e){return new Ts(e)}}class di extends Ts{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return Qh(this,(t,i,s,r,o)=>e=e.replace(s,s+(i-t),o),!1),e}mapDesc(e,t=!1){return ed(this,e,t,!0)}invert(e){let t=this.sections.slice(),i=[];for(let s=0,r=0;s=0){t[s]=l,t[s+1]=o;let a=s>>1;for(;i.length0&&ur(i,t,r.text),r.forward(c),l+=c}let u=e[o++];for(;l>1].toJSON()))}return e}static of(e,t,i){let s=[],r=[],o=0,l=null;function a(c=!1){if(!c&&!s.length)return;oh||f<0||h>t)throw new RangeError(`Invalid change range ${f} to ${h} (in doc of length ${t})`);let p=d?typeof d=="string"?kt.of(d.split(i||Zh)):d:kt.empty,g=p.length;if(f==h&&g==0)return;fo&&Xi(s,f-o,-1),Xi(s,h-f,g),ur(r,s,p),o=h}}return u(e),a(!l),l}static empty(e){return new di(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],i=[];for(let s=0;sl&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(r.length==1)t.push(r[0],0);else{for(;i.length=0&&t<=0&&t==n[s+1]?n[s]+=e:e==0&&n[s]==0?n[s+1]+=t:i?(n[s]+=e,n[s+1]+=t):n.push(e,t)}function ur(n,e,t){if(t.length==0)return;let i=e.length-2>>1;if(i>1])),!(t||o==n.sections.length||n.sections[o+1]<0);)l=n.sections[o++],a=n.sections[o++];e(s,u,r,c,f),s=u,r=c}}}function ed(n,e,t,i=!1){let s=[],r=i?[]:null,o=new Ql(n),l=new Ql(e);for(let a=-1;;)if(o.ins==-1&&l.ins==-1){let u=Math.min(o.len,l.len);Xi(s,u,-1),o.forward(u),l.forward(u)}else if(l.ins>=0&&(o.ins<0||a==o.i||o.off==0&&(l.len=0&&a=0){let u=0,c=o.len;for(;c;)if(l.ins==-1){let f=Math.min(c,l.len);u+=f,c-=f,l.forward(f)}else if(l.ins==0&&l.lena||o.ins>=0&&o.len>a)&&(l||i.length>u),r.forward2(a),o.forward(a)}}}}class Ql{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?kt.empty:e[t]}textBit(e){let{inserted:t}=this.set,i=this.i-2>>1;return i>=t.length&&!e?kt.empty:t[i].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Ur{constructor(e,t,i){this.from=e,this.to=t,this.flags=i}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let e=this.flags&3;return e==3?null:e}get goalColumn(){let e=this.flags>>5;return e==33554431?void 0:e}map(e,t=-1){let i,s;return this.empty?i=s=e.mapPos(this.from,t):(i=e.mapPos(this.from,1),s=e.mapPos(this.to,-1)),i==this.from&&s==this.to?this:new Ur(i,s,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return de.range(e,t);let i=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return de.range(this.anchor,i)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return de.range(e.anchor,e.head)}static create(e,t,i){return new Ur(e,t,i)}}class de{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:de.create(this.ranges.map(i=>i.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;te.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new de(e.ranges.map(t=>Ur.fromJSON(t)),e.main)}static single(e,t=e){return new de([de.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let i=0,s=0;se?4:0)|r)}static normalized(e,t=0){let i=e[t];e.sort((s,r)=>s.from-r.from),t=e.indexOf(i);for(let s=1;sr.head?de.range(a,l):de.range(l,a))}}return new de(e,t)}}function Vw(n,e){for(let t of n.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let Up=0;class We{constructor(e,t,i,s,r){this.combine=e,this.compareInput=t,this.compare=i,this.isStatic=s,this.id=Up++,this.default=e([]),this.extensions=typeof r=="function"?r(this):r}static define(e={}){return new We(e.combine||(t=>t),e.compareInput||((t,i)=>t===i),e.compare||(e.combine?(t,i)=>t===i:Gp),!!e.static,e.enables)}of(e){return new _u([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new _u(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new _u(e,this,2,t)}from(e,t){return t||(t=i=>i),this.compute([e],i=>t(i.field(e)))}}function Gp(n,e){return n==e||n.length==e.length&&n.every((t,i)=>t===e[i])}class _u{constructor(e,t,i,s){this.dependencies=e,this.facet=t,this.type=i,this.value=s,this.id=Up++}dynamicSlot(e){var t;let i=this.value,s=this.facet.compareInput,r=this.id,o=e[r]>>1,l=this.type==2,a=!1,u=!1,c=[];for(let f of this.dependencies)f=="doc"?a=!0:f=="selection"?u=!0:((t=e[f.id])!==null&&t!==void 0?t:1)&1||c.push(e[f.id]);return{create(f){return f.values[o]=i(f),1},update(f,h){if(a&&h.docChanged||u&&(h.docChanged||h.selection)||td(f,c)){let d=i(f);if(l?!L0(d,f.values[o],s):!s(d,f.values[o]))return f.values[o]=d,1}return 0},reconfigure:(f,h)=>{let d,p=h.config.address[r];if(p!=null){let g=ec(h,p);if(this.dependencies.every(m=>m instanceof We?h.facet(m)===f.facet(m):m instanceof Pn?h.field(m,!1)==f.field(m,!1):!0)||(l?L0(d=i(f),g,s):s(d=i(f),g)))return f.values[o]=g,0}else d=i(f);return f.values[o]=d,1}}}}function L0(n,e,t){if(n.length!=e.length)return!1;for(let i=0;in[a.id]),s=t.map(a=>a.type),r=i.filter(a=>!(a&1)),o=n[e.id]>>1;function l(a){let u=[];for(let c=0;ci===s),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(M0).find(i=>i.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:i=>(i.values[t]=this.create(i),1),update:(i,s)=>{let r=i.values[t],o=this.updateF(r,s);return this.compareF(r,o)?0:(i.values[t]=o,1)},reconfigure:(i,s)=>s.config.address[this.id]!=null?(i.values[t]=s.field(this),0):(i.values[t]=this.create(i),1)}}init(e){return[this,M0.of({field:this,create:e})]}get extension(){return this}}const Fr={lowest:4,low:3,default:2,high:1,highest:0};function bl(n){return e=>new Hw(e,n)}const pa={highest:bl(Fr.highest),high:bl(Fr.high),default:bl(Fr.default),low:bl(Fr.low),lowest:bl(Fr.lowest)};class Hw{constructor(e,t){this.inner=e,this.prec=t}}class uf{of(e){return new nd(this,e)}reconfigure(e){return uf.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class nd{constructor(e,t){this.compartment=e,this.inner=t}}class Qu{constructor(e,t,i,s,r,o){for(this.base=e,this.compartments=t,this.dynamicSlots=i,this.address=s,this.staticValues=r,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,i){let s=[],r=Object.create(null),o=new Map;for(let h of wx(e,t,o))h instanceof Pn?s.push(h):(r[h.facet.id]||(r[h.facet.id]=[])).push(h);let l=Object.create(null),a=[],u=[];for(let h of s)l[h.id]=u.length<<1,u.push(d=>h.slot(d));let c=i==null?void 0:i.config.facets;for(let h in r){let d=r[h],p=d[0].facet,g=c&&c[h]||[];if(d.every(m=>m.type==0))if(l[p.id]=a.length<<1|1,Gp(g,d))a.push(i.facet(p));else{let m=p.combine(d.map(_=>_.value));a.push(i&&p.compare(m,i.facet(p))?i.facet(p):m)}else{for(let m of d)m.type==0?(l[m.id]=a.length<<1|1,a.push(m.value)):(l[m.id]=u.length<<1,u.push(_=>m.dynamicSlot(_)));l[p.id]=u.length<<1,u.push(m=>vx(m,p,d))}}let f=u.map(h=>h(l));return new Qu(e,o,f,l,a,r)}}function wx(n,e,t){let i=[[],[],[],[],[]],s=new Map;function r(o,l){let a=s.get(o);if(a!=null){if(a<=l)return;let u=i[a].indexOf(o);u>-1&&i[a].splice(u,1),o instanceof nd&&t.delete(o.compartment)}if(s.set(o,l),Array.isArray(o))for(let u of o)r(u,l);else if(o instanceof nd){if(t.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let u=e.get(o.compartment)||o.inner;t.set(o.compartment,u),r(u,l)}else if(o instanceof Hw)r(o.inner,o.prec);else if(o instanceof Pn)i[l].push(o),o.provides&&r(o.provides,l);else if(o instanceof _u)i[l].push(o),o.facet.extensions&&r(o.facet.extensions,Fr.default);else{let u=o.extension;if(!u)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);r(u,l)}}return r(n,Fr.default),i.reduce((o,l)=>o.concat(l))}function Pl(n,e){if(e&1)return 2;let t=e>>1,i=n.status[t];if(i==4)throw new Error("Cyclic dependency between fields and/or facets");if(i&2)return i;n.status[t]=4;let s=n.computeSlot(n,n.config.dynamicSlots[t]);return n.status[t]=2|s}function ec(n,e){return e&1?n.config.staticValues[e>>1]:n.values[e>>1]}const Uw=We.define(),Gw=We.define({combine:n=>n.some(e=>e),static:!0}),jw=We.define({combine:n=>n.length?n[0]:void 0,static:!0}),qw=We.define(),Yw=We.define(),Xw=We.define(),Kw=We.define({combine:n=>n.length?n[0]:!1});class Ys{constructor(e,t){this.type=e,this.value=t}static define(){return new kx}}class kx{of(e){return new Ys(this,e)}}class Sx{constructor(e){this.map=e}of(e){return new dt(this,e)}}class dt{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new dt(this.type,t)}is(e){return this.type==e}static define(e={}){return new Sx(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let i=[];for(let s of e){let r=s.map(t);r&&i.push(r)}return i}}dt.reconfigure=dt.define();dt.appendConfig=dt.define();class gi{constructor(e,t,i,s,r,o){this.startState=e,this.changes=t,this.selection=i,this.effects=s,this.annotations=r,this.scrollIntoView=o,this._doc=null,this._state=null,i&&Vw(i,t.newLength),r.some(l=>l.type==gi.time)||(this.annotations=r.concat(gi.time.of(Date.now())))}static create(e,t,i,s,r,o){return new gi(e,t,i,s,r,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(gi.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}gi.time=Ys.define();gi.userEvent=Ys.define();gi.addToHistory=Ys.define();gi.remote=Ys.define();function Tx(n,e){let t=[];for(let i=0,s=0;;){let r,o;if(i=n[i]))r=n[i++],o=n[i++];else if(s=0;s--){let r=i[s](n);r instanceof gi?n=r:Array.isArray(r)&&r.length==1&&r[0]instanceof gi?n=r[0]:n=Jw(e,Fo(r),!1)}return n}function Ix(n){let e=n.startState,t=e.facet(Xw),i=n;for(let s=t.length-1;s>=0;s--){let r=t[s](n);r&&Object.keys(r).length&&(i=$w(i,sd(e,r,n.changes.newLength),!0))}return i==n?n:gi.create(e,n.changes,n.selection,i.effects,i.annotations,i.scrollIntoView)}const Ex=[];function Fo(n){return n==null?Ex:Array.isArray(n)?n:[n]}var Gn=function(n){return n[n.Word=0]="Word",n[n.Space=1]="Space",n[n.Other=2]="Other",n}(Gn||(Gn={}));const Ax=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let rd;try{rd=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function Ox(n){if(rd)return rd.test(n);for(let e=0;e"€"&&(t.toUpperCase()!=t.toLowerCase()||Ax.test(t)))return!0}return!1}function Nx(n){return e=>{if(!/\S/.test(e))return Gn.Space;if(Ox(e))return Gn.Word;for(let t=0;t-1)return Gn.Word;return Gn.Other}}class pt{constructor(e,t,i,s,r,o){this.config=e,this.doc=t,this.selection=i,this.values=s,this.status=e.statusTemplate.slice(),this.computeSlot=r,o&&(o._state=this);for(let l=0;ls.set(a,l)),t=null),s.set(o.value.compartment,o.value.extension)):o.is(dt.reconfigure)?(t=null,i=o.value):o.is(dt.appendConfig)&&(t=null,i=Fo(i).concat(o.value));let r;t?r=e.startState.values.slice():(t=Qu.resolve(i,s,this),r=new pt(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(l,a)=>a.reconfigure(l,this),null).values),new pt(t,e.newDoc,e.newSelection,r,(o,l)=>l.update(o,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:de.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,i=e(t.ranges[0]),s=this.changes(i.changes),r=[i.range],o=Fo(i.effects);for(let l=1;lo.spec.fromJSON(l,a)))}}return pt.create({doc:e.doc,selection:de.fromJSON(e.selection),extensions:t.extensions?s.concat([t.extensions]):s})}static create(e={}){let t=Qu.resolve(e.extensions||[],new Map),i=e.doc instanceof kt?e.doc:kt.of((e.doc||"").split(t.staticFacet(pt.lineSeparator)||Zh)),s=e.selection?e.selection instanceof de?e.selection:de.single(e.selection.anchor,e.selection.head):de.single(0);return Vw(s,i.length),t.staticFacet(Gw)||(s=s.asSingle()),new pt(t,i,s,t.dynamicSlots.map(()=>null),(r,o)=>o.create(r),null)}get tabSize(){return this.facet(pt.tabSize)}get lineBreak(){return this.facet(pt.lineSeparator)||` +`}get readOnly(){return this.facet(Kw)}phrase(e,...t){for(let i of this.facet(pt.phrases))if(Object.prototype.hasOwnProperty.call(i,e)){e=i[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(i,s)=>{if(s=="$")return"$";let r=+(s||1);return!r||r>t.length?i:t[r-1]})),e}languageDataAt(e,t,i=-1){let s=[];for(let r of this.facet(Uw))for(let o of r(this,t,i))Object.prototype.hasOwnProperty.call(o,e)&&s.push(o[e]);return s}charCategorizer(e){return Nx(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:i,length:s}=this.doc.lineAt(e),r=this.charCategorizer(e),o=e-i,l=e-i;for(;o>0;){let a=Ln(t,o,!1);if(r(t.slice(a,o))!=Gn.Word)break;o=a}for(;ln.length?n[0]:4});pt.lineSeparator=jw;pt.readOnly=Kw;pt.phrases=We.define({compare(n,e){let t=Object.keys(n),i=Object.keys(e);return t.length==i.length&&t.every(s=>n[s]==e[s])}});pt.languageData=Uw;pt.changeFilter=qw;pt.transactionFilter=Yw;pt.transactionExtender=Xw;uf.reconfigure=dt.define();function ro(n,e,t={}){let i={};for(let s of n)for(let r of Object.keys(s)){let o=s[r],l=i[r];if(l===void 0)i[r]=o;else if(!(l===o||o===void 0))if(Object.hasOwnProperty.call(t,r))i[r]=t[r](l,o);else throw new Error("Config merge conflict for field "+r)}for(let s in e)i[s]===void 0&&(i[s]=e[s]);return i}class to{eq(e){return this==e}range(e,t=e){return od.create(e,t,this)}}to.prototype.startSide=to.prototype.endSide=0;to.prototype.point=!1;to.prototype.mapMode=rn.TrackDel;let od=class Zw{constructor(e,t,i){this.from=e,this.to=t,this.value=i}static create(e,t,i){return new Zw(e,t,i)}};function ld(n,e){return n.from-e.from||n.value.startSide-e.value.startSide}class jp{constructor(e,t,i,s){this.from=e,this.to=t,this.value=i,this.maxPoint=s}get length(){return this.to[this.to.length-1]}findIndex(e,t,i,s=0){let r=i?this.to:this.from;for(let o=s,l=r.length;;){if(o==l)return o;let a=o+l>>1,u=r[a]-e||(i?this.value[a].endSide:this.value[a].startSide)-t;if(a==o)return u>=0?o:l;u>=0?l=a:o=a+1}}between(e,t,i,s){for(let r=this.findIndex(t,-1e9,!0),o=this.findIndex(i,1e9,!1,r);rd||h==d&&u.startSide>0&&u.endSide<=0)continue;(d-h||u.endSide-u.startSide)<0||(o<0&&(o=h),u.point&&(l=Math.max(l,d-h)),i.push(u),s.push(h-o),r.push(d-o))}return{mapped:i.length?new jp(s,r,i,l):null,pos:o}}}class Tt{constructor(e,t,i,s){this.chunkPos=e,this.chunk=t,this.nextLayer=i,this.maxPoint=s}static create(e,t,i,s){return new Tt(e,t,i,s)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:i=!1,filterFrom:s=0,filterTo:r=this.length}=e,o=e.filter;if(t.length==0&&!o)return this;if(i&&(t=t.slice().sort(ld)),this.isEmpty)return t.length?Tt.of(t):this;let l=new Qw(this,null,-1).goto(0),a=0,u=[],c=new io;for(;l.value||a=0){let f=t[a++];c.addInner(f.from,f.to,f.value)||u.push(f)}else l.rangeIndex==1&&l.chunkIndexthis.chunkEnd(l.chunkIndex)||rl.to||r=r&&e<=r+o.length&&o.between(r,e-r,t-r,i)===!1)return}this.nextLayer.between(e,t,i)}}iter(e=0){return ea.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return ea.from(e).goto(t)}static compare(e,t,i,s,r=-1){let o=e.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=r),l=t.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=r),a=R0(o,l,i),u=new yl(o,a,r),c=new yl(l,a,r);i.iterGaps((f,h,d)=>P0(u,f,c,h,d,s)),i.empty&&i.length==0&&P0(u,0,c,0,0,s)}static eq(e,t,i=0,s){s==null&&(s=1e9-1);let r=e.filter(c=>!c.isEmpty&&t.indexOf(c)<0),o=t.filter(c=>!c.isEmpty&&e.indexOf(c)<0);if(r.length!=o.length)return!1;if(!r.length)return!0;let l=R0(r,o),a=new yl(r,l,0).goto(i),u=new yl(o,l,0).goto(i);for(;;){if(a.to!=u.to||!ad(a.active,u.active)||a.point&&(!u.point||!a.point.eq(u.point)))return!1;if(a.to>s)return!0;a.next(),u.next()}}static spans(e,t,i,s,r=-1){let o=new yl(e,null,r).goto(t),l=t,a=o.openStart;for(;;){let u=Math.min(o.to,i);if(o.point){let c=o.activeForPoint(o.to),f=o.pointFroml&&(s.span(l,u,o.active,a),a=o.openEnd(u));if(o.to>i)return a+(o.point&&o.to>i?1:0);l=o.to,o.next()}}static of(e,t=!1){let i=new io;for(let s of e instanceof od?[e]:t?Dx(e):e)i.add(s.from,s.to,s.value);return i.finish()}}Tt.empty=new Tt([],[],null,-1);function Dx(n){if(n.length>1)for(let e=n[0],t=1;t0)return n.slice().sort(ld);e=i}return n}Tt.empty.nextLayer=Tt.empty;class io{finishChunk(e){this.chunks.push(new jp(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,i){this.addInner(e,t,i)||(this.nextLayer||(this.nextLayer=new io)).add(e,t,i)}addInner(e,t,i){let s=e-this.lastTo||i.startSide-this.last.endSide;if(s<=0&&(e-this.lastFrom||i.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return s<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=i,this.lastFrom=e,this.lastTo=t,this.value.push(i),i.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let i=t.value.length-1;return this.last=t.value[i],this.lastFrom=t.from[i]+e,this.lastTo=t.to[i]+e,!0}finish(){return this.finishInner(Tt.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=Tt.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function R0(n,e,t){let i=new Map;for(let r of n)for(let o=0;o=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=i&&s.push(new Qw(o,t,i,r));return s.length==1?s[0]:new ea(s)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let i of this.heap)i.goto(e,t);for(let i=this.heap.length>>1;i>=0;i--)Vf(this.heap,i);return this.next(),this}forward(e,t){for(let i of this.heap)i.forward(e,t);for(let i=this.heap.length>>1;i>=0;i--)Vf(this.heap,i);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Vf(this.heap,0)}}}function Vf(n,e){for(let t=n[e];;){let i=(e<<1)+1;if(i>=n.length)break;let s=n[i];if(i+1=0&&(s=n[i+1],i++),t.compare(s)<0)break;n[i]=t,n[e]=s,e=i}}class yl{constructor(e,t,i){this.minPoint=i,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=ea.from(e,t,i)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){Ra(this.active,e),Ra(this.activeTo,e),Ra(this.activeRank,e),this.minActive=B0(this.active,this.activeTo)}addActive(e){let t=0,{value:i,to:s,rank:r}=this.cursor;for(;t-1&&(this.activeTo[s]-this.cursor.from||this.active[s].endSide-this.cursor.startSide)<0){if(this.activeTo[s]>e){this.to=this.activeTo[s],this.endSide=this.active[s].endSide;break}this.removeActive(s),i&&Ra(i,s)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let r=this.cursor.value;if(!r.point)this.addActive(i),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from=0&&i[s]=0&&!(this.activeRank[i]e||this.activeTo[i]==e&&this.active[i].endSide>=this.point.endSide)&&t.push(this.active[i]);return t.reverse()}openEnd(e){let t=0;for(let i=this.activeTo.length-1;i>=0&&this.activeTo[i]>e;i--)t++;return t}}function P0(n,e,t,i,s,r){n.goto(e),t.goto(i);let o=i+s,l=i,a=i-e;for(;;){let u=n.to+a-t.to||n.endSide-t.endSide,c=u<0?n.to+a:t.to,f=Math.min(c,o);if(n.point||t.point?n.point&&t.point&&(n.point==t.point||n.point.eq(t.point))&&ad(n.activeForPoint(n.to),t.activeForPoint(t.to))||r.comparePoint(l,f,n.point,t.point):f>l&&!ad(n.active,t.active)&&r.compareRange(l,f,n.active,t.active),c>o)break;l=c,u<=0&&n.next(),u>=0&&t.next()}}function ad(n,e){if(n.length!=e.length)return!1;for(let t=0;t=e;i--)n[i+1]=n[i];n[e]=t}function B0(n,e){let t=-1,i=1e9;for(let s=0;s=e)return s;if(s==n.length)break;r+=n.charCodeAt(s)==9?t-r%t:1,s=Ln(n,s)}return i===!0?-1:n.length}const cd="ͼ",z0=typeof Symbol>"u"?"__"+cd:Symbol.for(cd),fd=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),F0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Tr{constructor(e,t){this.rules=[];let{finish:i}=t||{};function s(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function r(o,l,a,u){let c=[],f=/^@(\w+)\b/.exec(o[0]),h=f&&f[1]=="keyframes";if(f&&l==null)return a.push(o[0]+";");for(let d in l){let p=l[d];if(/&/.test(d))r(d.split(/,\s*/).map(g=>o.map(m=>g.replace(/&/,m))).reduce((g,m)=>g.concat(m)),p,a);else if(p&&typeof p=="object"){if(!f)throw new RangeError("The value of a property ("+d+") should be a primitive value.");r(s(d),p,c,h)}else p!=null&&c.push(d.replace(/_.*/,"").replace(/[A-Z]/g,g=>"-"+g.toLowerCase())+": "+p+";")}(c.length||h)&&a.push((i&&!f&&!u?o.map(i):o).join(", ")+" {"+c.join(" ")+"}")}for(let o in e)r(s(o),e[o],this.rules)}getRules(){return this.rules.join(` +`)}static newName(){let e=F0[z0]||1;return F0[z0]=e+1,cd+e.toString(36)}static mount(e,t){(e[fd]||new xx(e)).mount(Array.isArray(t)?t:[t])}}let W0=new Map;class xx{constructor(e){let t=e.ownerDocument||e,i=t.defaultView;if(!e.head&&e.adoptedStyleSheets&&i.CSSStyleSheet){let s=W0.get(t);if(s)return e.adoptedStyleSheets=[s.sheet,...e.adoptedStyleSheets],e[fd]=s;this.sheet=new i.CSSStyleSheet,e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets],W0.set(t,this)}else{this.styleTag=t.createElement("style");let s=e.head||e;s.insertBefore(this.styleTag,s.firstChild)}this.modules=[],e[fd]=this}mount(e){let t=this.sheet,i=0,s=0;for(let r=0;r-1&&(this.modules.splice(l,1),s--,l=-1),l==-1){if(this.modules.splice(s++,0,o),t)for(let a=0;a",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Lx=typeof navigator<"u"&&/Mac/.test(navigator.platform),Mx=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Mi=0;Mi<10;Mi++)Cr[48+Mi]=Cr[96+Mi]=String(Mi);for(var Mi=1;Mi<=24;Mi++)Cr[Mi+111]="F"+Mi;for(var Mi=65;Mi<=90;Mi++)Cr[Mi]=String.fromCharCode(Mi+32),ta[Mi]=String.fromCharCode(Mi);for(var Hf in Cr)ta.hasOwnProperty(Hf)||(ta[Hf]=Cr[Hf]);function Rx(n){var e=Lx&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||Mx&&n.shiftKey&&n.key&&n.key.length==1||n.key=="Unidentified",t=!e&&n.key||(n.shiftKey?ta:Cr)[n.keyCode]||n.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}function tc(n){let e;return n.nodeType==11?e=n.getSelection?n:n.ownerDocument:e=n,e.getSelection()}function Zo(n,e){return e?n==e||n.contains(e.nodeType!=1?e.parentNode:e):!1}function Px(n){let e=n.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function bu(n,e){if(!e.anchorNode)return!1;try{return Zo(n,e.anchorNode)}catch{return!1}}function Qo(n){return n.nodeType==3?el(n,0,n.nodeValue.length).getClientRects():n.nodeType==1?n.getClientRects():[]}function ic(n,e,t,i){return t?V0(n,e,t,i,-1)||V0(n,e,t,i,1):!1}function nc(n){for(var e=0;;e++)if(n=n.previousSibling,!n)return e}function V0(n,e,t,i,s){for(;;){if(n==t&&e==i)return!0;if(e==(s<0?0:Ir(n))){if(n.nodeName=="DIV")return!1;let r=n.parentNode;if(!r||r.nodeType!=1)return!1;e=nc(n)+(s<0?0:1),n=r}else if(n.nodeType==1){if(n=n.childNodes[e+(s<0?-1:0)],n.nodeType==1&&n.contentEditable=="false")return!1;e=s<0?Ir(n):0}else return!1}}function Ir(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function cf(n,e){let t=e?n.left:n.right;return{left:t,right:t,top:n.top,bottom:n.bottom}}function Bx(n){return{left:0,right:n.innerWidth,top:0,bottom:n.innerHeight}}function zx(n,e,t,i,s,r,o,l){let a=n.ownerDocument,u=a.defaultView||window;for(let c=n;c;)if(c.nodeType==1){let f,h=c==a.body;if(h)f=Bx(u);else{if(c.scrollHeight<=c.clientHeight&&c.scrollWidth<=c.clientWidth){c=c.assignedSlot||c.parentNode;continue}let g=c.getBoundingClientRect();f={left:g.left,right:g.left+c.clientWidth,top:g.top,bottom:g.top+c.clientHeight}}let d=0,p=0;if(s=="nearest")e.top0&&e.bottom>f.bottom+p&&(p=e.bottom-f.bottom+p+o)):e.bottom>f.bottom&&(p=e.bottom-f.bottom+o,t<0&&e.top-p0&&e.right>f.right+d&&(d=e.right-f.right+d+r)):e.right>f.right&&(d=e.right-f.right+r,t<0&&e.leftt.clientHeight||t.scrollWidth>t.clientWidth)return t;t=t.assignedSlot||t.parentNode}else if(t.nodeType==11)t=t.host;else break;return null}class Wx{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:i}=e;this.set(t,Math.min(e.anchorOffset,t?Ir(t):0),i,Math.min(e.focusOffset,i?Ir(i):0))}set(e,t,i,s){this.anchorNode=e,this.anchorOffset=t,this.focusNode=i,this.focusOffset=s}}let _o=null;function ek(n){if(n.setActive)return n.setActive();if(_o)return n.focus(_o);let e=[];for(let t=n;t&&(e.push(t,t.scrollTop,t.scrollLeft),t!=t.ownerDocument);t=t.parentNode);if(n.focus(_o==null?{get preventScroll(){return _o={preventScroll:!0},!0}}:void 0),!_o){_o=!1;for(let t=0;tt)return f.domBoundsAround(e,t,u);if(h>=e&&s==-1&&(s=a,r=u),u>t&&f.dom.parentNode==this.dom){o=a,l=c;break}c=h,u=h+f.breakAfter}return{from:r,to:l<0?i+this.length:l,startDOM:(s?this.children[s-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o=0?this.children[o].dom:null}}markDirty(e=!1){this.dirty|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.dirty|=2),t.dirty&1)return;t.dirty|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.dirty&&this.markParentsDirty(!0))}setDOM(e){this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,i=qp){this.markDirty();for(let s=e;sthis.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let i=this.children[--this.i];this.pos-=i.length+i.breakAfter}}}function nk(n,e,t,i,s,r,o,l,a){let{children:u}=n,c=u.length?u[e]:null,f=r.length?r[r.length-1]:null,h=f?f.breakAfter:o;if(!(e==i&&c&&!o&&!h&&r.length<2&&c.merge(t,s,r.length?f:null,t==0,l,a))){if(i0&&(!o&&r.length&&c.merge(t,c.length,r[0],!1,l,0)?c.breakAfter=r.shift().breakAfter:(t2);var Pe={mac:q0||/Mac/.test(Dn.platform),windows:/Win/.test(Dn.platform),linux:/Linux|X11/.test(Dn.platform),ie:ff,ie_version:rk?hd.documentMode||6:pd?+pd[1]:dd?+dd[1]:0,gecko:G0,gecko_version:G0?+(/Firefox\/(\d+)/.exec(Dn.userAgent)||[0,0])[1]:0,chrome:!!Uf,chrome_version:Uf?+Uf[1]:0,ios:q0,android:/Android\b/.test(Dn.userAgent),webkit:j0,safari:ok,webkit_version:j0?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:hd.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const Ux=256;class no extends Dt{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,t,i){return i&&(!(i instanceof no)||this.length-(t-e)+i.length>Ux)?!1:(this.text=this.text.slice(0,e)+(i?i.text:"")+this.text.slice(t),this.markDirty(),!0)}split(e){let t=new no(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new Pi(this.dom,e)}domBoundsAround(e,t,i){return{from:i,to:i+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return gd(this.dom,e,t)}}class js extends Dt{constructor(e,t=[],i=0){super(),this.mark=e,this.children=t,this.length=i;for(let s of t)s.setParent(this)}setAttrs(e){if(tk(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.dirty|=6)}sync(e,t){this.dom?this.dirty&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(e,t,i,s,r,o){return i&&(!(i instanceof js&&i.mark.eq(this.mark))||e&&r<=0||te&&t.push(i=e&&(s=r),i=a,r++}let o=this.length-e;return this.length=e,s>-1&&(this.children.length=s,this.markDirty()),new js(this.mark,t,o)}domAtPos(e){return fk(this,e)}coordsAt(e,t){return dk(this,e,t)}}function gd(n,e,t){let i=n.nodeValue.length;e>i&&(e=i);let s=e,r=e,o=0;e==0&&t<0||e==i&&t>=0?Pe.chrome||Pe.gecko||(e?(s--,o=1):r=0)?0:l.length-1];return Pe.safari&&!o&&a.width==0&&(a=Array.prototype.find.call(l,u=>u.width)||a),o?cf(a,o<0):a||null}class cr extends Dt{constructor(e,t,i){super(),this.widget=e,this.length=t,this.side=i,this.prevWidget=null}static create(e,t,i){return new(e.customView||cr)(e,t,i)}split(e){let t=cr.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,t,i,s,r,o){return i&&(!(i instanceof cr)||!this.widget.compare(i.widget)||e>0&&r<=0||t0)?Pi.before(this.dom):Pi.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let i=this.widget.coordsAt(this.dom,e,t);if(i)return i;let s=this.dom.getClientRects(),r=null;if(!s.length)return null;let o=this.side?this.side<0:e>0;for(let l=o?s.length-1:0;r=s[l],!(e>0?l==0:l==s.length-1||r.tops.domAtPos(r),(s,r)=>new Pi(s,Math.min(r,s.nodeValue.length))):new Pi(i,Math.min(e,i.nodeValue.length))}sync(){this.setDOM(this.widget.toDOM())}localPosFromDOM(e,t){let{topView:i,text:s}=this.widget;return i?uk(e,t,i,s,this.length-i.length):Math.min(t,this.length)}ignoreMutation(){return!1}get overrideDOMText(){return null}coordsAt(e,t){let{topView:i,text:s}=this.widget;return i?md(e,t,i,s,this.length-i.length,(r,o,l)=>r.coordsAt(o,l),(r,o,l)=>gd(r,o,l)):gd(s,e,t)}destroy(){var e;super.destroy(),(e=this.widget.topView)===null||e===void 0||e.destroy()}get isEditable(){return!0}canReuseDOM(){return!0}}function md(n,e,t,i,s,r,o){if(t instanceof js){for(let l=t.dom.firstChild;l;l=l.nextSibling){let a=Dt.get(l);if(a){let u=Zo(l,i),c=a.length+(u?s:0);if(n0?Pi.before(this.dom):Pi.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return kt.empty}get isHidden(){return!0}}no.prototype.children=cr.prototype.children=tl.prototype.children=qp;function fk(n,e){let t=n.dom,{children:i}=n,s=0;for(let r=0;sr&&e0;r--){let o=i[r-1];if(o.dom.parentNode==t)return o.domAtPos(o.length)}for(let r=s;r0&&e instanceof js&&s.length&&(i=s[s.length-1])instanceof js&&i.mark.eq(e.mark)?hk(i,e.children[0],t-1):(s.push(e),e.setParent(n)),n.length+=e.length}function dk(n,e,t){let i=null,s=-1,r=null,o=-1;function l(u,c){for(let f=0,h=0;f=c&&(d.children.length?l(d,c-h):(!r||r.isHidden&&t>0)&&(p>c||h==p&&d.getSide()>0)?(r=d,o=c-h):(h0?3e8:-4e8:t>0?1e8:-1e8,new Er(e,t,t,i,e.widget||null,!1)}static replace(e){let t=!!e.block,i,s;if(e.isBlockGap)i=-5e8,s=4e8;else{let{start:r,end:o}=pk(e,t);i=(r?t?-3e8:-1:5e8)-1,s=(o?t?2e8:1:-6e8)+1}return new Er(e,i,s,t,e.widget||null,!0)}static line(e){return new ma(e)}static set(e,t=!1){return Tt.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}ut.none=Tt.empty;class hf extends ut{constructor(e){let{start:t,end:i}=pk(e);super(t?-1:5e8,i?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){return this==e||e instanceof hf&&this.tagName==e.tagName&&this.class==e.class&&Yp(this.attrs,e.attrs)}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}hf.prototype.point=!1;class ma extends ut{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof ma&&this.spec.class==e.spec.class&&Yp(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}ma.prototype.mapMode=rn.TrackBefore;ma.prototype.point=!0;class Er extends ut{constructor(e,t,i,s,r,o){super(t,i,r,e),this.block=s,this.isReplace=o,this.mapMode=s?t<=0?rn.TrackBefore:rn.TrackAfter:rn.TrackDel}get type(){return this.startSide=5||this.widget.lineBreaks>0)}eq(e){return e instanceof Er&&jx(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}Er.prototype.point=!0;function pk(n,e=!1){let{inclusiveStart:t,inclusiveEnd:i}=n;return t==null&&(t=n.inclusive),i==null&&(i=n.inclusive),{start:t??e,end:i??e}}function jx(n,e){return n==e||!!(n&&e&&n.compare(e))}function yd(n,e,t,i=0){let s=t.length-1;s>=0&&t[s]+i>=n?t[s]=Math.max(t[s],e):t.push(n,e)}class mn extends Dt{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,i,s,r,o){if(i){if(!(i instanceof mn))return!1;this.dom||i.transferDOM(this)}return s&&this.setDeco(i?i.attrs:null),sk(this,e,t,i?i.children:[],r,o),!0}split(e){let t=new mn;if(t.breakAfter=this.breakAfter,this.length==0)return t;let{i,off:s}=this.childPos(e);s&&(t.append(this.children[i].split(s),0),this.children[i].merge(s,this.children[i].length,null,!1,0,0),i++);for(let r=i;r0&&this.children[i-1].length==0;)this.children[--i].destroy();return this.children.length=i,this.markDirty(),this.length=e,t}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){Yp(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){hk(this,e,t)}addLineDeco(e){let t=e.spec.attributes,i=e.spec.class;t&&(this.attrs=_d(t,this.attrs||{})),i&&(this.attrs=_d({class:i},this.attrs||{}))}domAtPos(e){return fk(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.dirty|=6)}sync(e,t){var i;this.dom?this.dirty&4&&(tk(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(bd(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t);let s=this.dom.lastChild;for(;s&&Dt.get(s)instanceof js;)s=s.lastChild;if(!s||!this.length||s.nodeName!="BR"&&((i=Dt.get(s))===null||i===void 0?void 0:i.isEditable)==!1&&(!Pe.ios||!this.children.some(r=>r instanceof no))){let r=document.createElement("BR");r.cmIgnore=!0,this.dom.appendChild(r)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,t;for(let i of this.children){if(!(i instanceof no)||/[^ -~]/.test(i.text))return null;let s=Qo(i.dom);if(s.length!=1)return null;e+=s[0].width,t=s[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:t}:null}coordsAt(e,t){let i=dk(this,e,t);if(!this.children.length&&i&&this.parent){let{heightOracle:s}=this.parent.view.viewState,r=i.bottom-i.top;if(Math.abs(r-s.lineHeight)<2&&s.textHeight=t){if(r instanceof mn)return r;if(o>t)break}s=o+r.breakAfter}return null}}class $r extends Dt{constructor(e,t,i){super(),this.widget=e,this.length=t,this.type=i,this.breakAfter=0,this.prevWidget=null}merge(e,t,i,s,r,o){return i&&(!(i instanceof $r)||!this.widget.compare(i.widget)||e>0&&r<=0||t0;){if(this.textOff==this.text.length){let{value:r,lineBreak:o,done:l}=this.cursor.next(this.skip);if(this.skip=0,l)throw new Error("Ran out of text content when drawing inline views");if(o){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=r,this.textOff=0}let s=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-i)),this.getLine().append(Ba(new no(this.text.slice(this.textOff,this.textOff+s)),t),i),this.atCursorPos=!0,this.textOff+=s,e-=s,i=0}}span(e,t,i,s){this.buildText(t-e,i,s),this.pos=t,this.openStart<0&&(this.openStart=s)}point(e,t,i,s,r,o){if(this.disallowBlockEffectsFor[o]&&i instanceof Er){if(i.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let l=t-e;if(i instanceof Er)if(i.block){let{type:a}=i;a==Yt.WidgetAfter&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new $r(i.widget||new Y0("div"),l,a))}else{let a=cr.create(i.widget||new Y0("span"),l,l?0:i.startSide),u=this.atCursorPos&&!a.isEditable&&r<=s.length&&(e0),c=!a.isEditable&&(es.length||i.startSide<=0),f=this.getLine();this.pendingBuffer==2&&!u&&!a.isEditable&&(this.pendingBuffer=0),this.flushBuffer(s),u&&(f.append(Ba(new tl(1),s),r),r=s.length+Math.max(0,r-s.length)),f.append(Ba(a,s),r),this.atCursorPos=c,this.pendingBuffer=c?es.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=s.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(i);l&&(this.textOff+l<=this.text.length?this.textOff+=l:(this.skip+=l-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=r)}static build(e,t,i,s,r){let o=new Xp(e,t,i,r);return o.openEnd=Tt.spans(s,t,i,o),o.openStart<0&&(o.openStart=o.openEnd),o.finish(o.openEnd),o}}function Ba(n,e){for(let t of e)n=new js(t,[n],n.length);return n}class Y0 extends Xs{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}const gk=We.define(),mk=We.define(),_k=We.define(),bk=We.define(),vd=We.define(),yk=We.define(),vk=We.define(),wk=We.define({combine:n=>n.some(e=>e)}),kk=We.define({combine:n=>n.some(e=>e)});class sc{constructor(e,t="nearest",i="nearest",s=5,r=5){this.range=e,this.y=t,this.x=i,this.yMargin=s,this.xMargin=r}map(e){return e.empty?this:new sc(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const X0=dt.define({map:(n,e)=>n.map(e)});function Yn(n,e,t){let i=n.facet(bk);i.length?i[0](e):window.onerror&&window.onerror(String(e),t,void 0,void 0,e)}const df=We.define({combine:n=>n.length?n[0]:!0});let qx=0;const Nl=We.define();class Qi{constructor(e,t,i,s){this.id=e,this.create=t,this.domEventHandlers=i,this.extension=s(this)}static define(e,t){const{eventHandlers:i,provide:s,decorations:r}=t||{};return new Qi(qx++,e,i,o=>{let l=[Nl.of(o)];return r&&l.push(ia.of(a=>{let u=a.plugin(o);return u?r(u):ut.none})),s&&l.push(s(o)),l})}static fromClass(e,t){return Qi.define(i=>new e(i),t)}}class Gf{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(i){if(Yn(t.state,i,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){Yn(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(!((t=this.value)===null||t===void 0)&&t.destroy)try{this.value.destroy()}catch(i){Yn(e.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const Sk=We.define(),Kp=We.define(),ia=We.define(),$p=We.define(),Tk=We.define();function Ck(n){let e=0,t=0,i=0,s=0;for(let r of n.state.facet(Tk)){let o=r(n);o&&(o.left!=null&&(e=Math.max(e,o.left)),o.right!=null&&(t=Math.max(t,o.right)),o.top!=null&&(i=Math.max(i,o.top)),o.bottom!=null&&(s=Math.max(s,o.bottom)))}return{left:e,right:t,top:i,bottom:s}}const Dl=We.define();class Cs{constructor(e,t,i,s){this.fromA=e,this.toA=t,this.fromB=i,this.toB=s}join(e){return new Cs(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,i=this;for(;t>0;t--){let s=e[t-1];if(!(s.fromA>i.toA)){if(s.toAc)break;r+=2}if(!a)return i;new Cs(a.fromA,a.toA,a.fromB,a.toB).addToSet(i),o=a.toA,l=a.toB}}}class rc{constructor(e,t,i){this.view=e,this.state=t,this.transactions=i,this.flags=0,this.startState=e.state,this.changes=di.empty(this.startState.doc.length);for(let r of i)this.changes=this.changes.compose(r.changes);let s=[];this.changes.iterChangedRanges((r,o,l,a)=>s.push(new Cs(r,o,l,a))),this.changedRanges=s}static create(e,t,i){return new rc(e,t,i)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}var qt=function(n){return n[n.LTR=0]="LTR",n[n.RTL=1]="RTL",n}(qt||(qt={}));const wd=qt.LTR,Yx=qt.RTL;function Ik(n){let e=[];for(let t=0;t=t){if(l.level==i)return o;(r<0||(s!=0?s<0?l.fromt:e[r].level>l.level))&&(r=o)}}if(r<0)throw new RangeError("Index out of range");return r}}const Ht=[];function Zx(n,e){let t=n.length,i=e==wd?1:2,s=e==wd?2:1;if(!n||i==1&&!Jx.test(n))return Ek(t);for(let o=0,l=i,a=i;o=0;h-=3)if(fs[h+1]==-c){let d=fs[h+2],p=d&2?i:d&4?d&1?s:i:0;p&&(Ht[o]=Ht[fs[h]]=p),l=h;break}}else{if(fs.length==189)break;fs[l++]=o,fs[l++]=u,fs[l++]=a}else if((f=Ht[o])==2||f==1){let h=f==i;a=h?0:1;for(let d=l-3;d>=0;d-=3){let p=fs[d+2];if(p&2)break;if(h)fs[d+2]|=2;else{if(p&4)break;fs[d+2]|=4}}}for(let o=0;ol;){let c=u,f=Ht[--u]!=2;for(;u>l&&f==(Ht[u-1]!=2);)u--;r.push(new Vo(u,c,f?2:1))}else r.push(new Vo(l,o,0))}else for(let o=0;or)&&this.lineBreak(),s=o}return this.findPointBefore(i,t),this}readTextNode(e){let t=e.nodeValue;for(let i of this.points)i.node==e&&(i.pos=this.text.length+Math.min(i.offset,t.length));for(let i=0,s=this.lineSeparator?null:/\r\n?|\n/g;;){let r=-1,o=1,l;if(this.lineSeparator?(r=t.indexOf(this.lineSeparator,i),o=this.lineSeparator.length):(l=s.exec(t))&&(r=l.index,o=l[0].length),this.append(t.slice(i,r<0?t.length:r)),r<0)break;if(this.lineBreak(),o>1)for(let a of this.points)a.node==e&&a.pos>this.text.length&&(a.pos-=o-1);i=r+o}}readNode(e){if(e.cmIgnore)return;let t=Dt.get(e),i=t&&t.overrideDOMText;if(i!=null){this.findPointInside(e,i.length);for(let s=i.iter();!s.next().done;)s.lineBreak?this.lineBreak():this.append(s.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let i of this.points)i.node==e&&e.childNodes[i.offset]==t&&(i.pos=this.text.length)}findPointInside(e,t){for(let i of this.points)(e.nodeType==3?i.node==e:e.contains(i.node))&&(i.pos=this.text.length+Math.min(t,i.offset))}}function K0(n){return n.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(n.nodeName)}class $0{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class J0 extends Dt{constructor(e){super(),this.view=e,this.compositionDeco=ut.none,this.decorations=[],this.dynamicDecorationMap=[],this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new mn],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new Cs(0,0,0,e.state.doc.length)],0)}get length(){return this.view.state.doc.length}update(e){let t=e.changedRanges;this.minWidth>0&&t.length&&(t.every(({fromA:o,toA:l})=>lthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.view.inputState.composing<0?this.compositionDeco=ut.none:(e.transactions.length||this.dirty)&&(this.compositionDeco=tL(this.view,e.changes)),(Pe.ie||Pe.chrome)&&!this.compositionDeco.size&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let i=this.decorations,s=this.updateDeco(),r=rL(i,s,e.changes);return t=Cs.extendWithRanges(t,r),this.dirty==0&&t.length==0?!1:(this.updateInner(t,e.startState.doc.length),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t);let{observer:i}=this.view;i.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let r=Pe.chrome||Pe.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,r),this.dirty=0,r&&(r.written||i.selectionRange.focusNode!=r.node)&&(this.forceSelection=!0),this.dom.style.height=""});let s=[];if(this.view.viewport.from||this.view.viewport.to=0?e[s]:null;if(!r)break;let{fromA:o,toA:l,fromB:a,toB:u}=r,{content:c,breakAtStart:f,openStart:h,openEnd:d}=Xp.build(this.view.state.doc,a,u,this.decorations,this.dynamicDecorationMap),{i:p,off:g}=i.findPos(l,1),{i:m,off:_}=i.findPos(o,-1);nk(this,m,_,p,g,c,f,h,d)}}updateSelection(e=!1,t=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let i=this.view.root.activeElement,s=i==this.dom,r=!s&&bu(this.dom,this.view.observer.selectionRange)&&!(i&&this.dom.contains(i));if(!(s||t||r))return;let o=this.forceSelection;this.forceSelection=!1;let l=this.view.state.selection.main,a=this.domAtPos(l.anchor),u=l.empty?a:this.domAtPos(l.head);if(Pe.gecko&&l.empty&&!this.compositionDeco.size&&eL(a)){let f=document.createTextNode("");this.view.observer.ignore(()=>a.node.insertBefore(f,a.node.childNodes[a.offset]||null)),a=u=new Pi(f,0),o=!0}let c=this.view.observer.selectionRange;(o||!c.focusNode||!ic(a.node,a.offset,c.anchorNode,c.anchorOffset)||!ic(u.node,u.offset,c.focusNode,c.focusOffset))&&(this.view.observer.ignore(()=>{Pe.android&&Pe.chrome&&this.dom.contains(c.focusNode)&&oL(c.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let f=tc(this.view.root);if(f)if(l.empty){if(Pe.gecko){let h=nL(a.node,a.offset);if(h&&h!=3){let d=Dk(a.node,a.offset,h==1?1:-1);d&&(a=new Pi(d,h==1?0:d.nodeValue.length))}}f.collapse(a.node,a.offset),l.bidiLevel!=null&&c.cursorBidiLevel!=null&&(c.cursorBidiLevel=l.bidiLevel)}else if(f.extend){f.collapse(a.node,a.offset);try{f.extend(u.node,u.offset)}catch{}}else{let h=document.createRange();l.anchor>l.head&&([a,u]=[u,a]),h.setEnd(u.node,u.offset),h.setStart(a.node,a.offset),f.removeAllRanges(),f.addRange(h)}r&&this.view.root.activeElement==this.dom&&(this.dom.blur(),i&&i.focus())}),this.view.observer.setSelectionRange(a,u)),this.impreciseAnchor=a.precise?null:new Pi(c.anchorNode,c.anchorOffset),this.impreciseHead=u.precise?null:new Pi(c.focusNode,c.focusOffset)}enforceCursorAssoc(){if(this.compositionDeco.size)return;let{view:e}=this,t=e.state.selection.main,i=tc(e.root),{anchorNode:s,anchorOffset:r}=e.observer.selectionRange;if(!i||!t.empty||!t.assoc||!i.modify)return;let o=mn.find(this,t.head);if(!o)return;let l=o.posAtStart;if(t.head==l||t.head==l+o.length)return;let a=this.coordsAt(t.head,-1),u=this.coordsAt(t.head,1);if(!a||!u||a.bottom>u.top)return;let c=this.domAtPos(t.head+t.assoc);i.collapse(c.node,c.offset),i.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let f=e.observer.selectionRange;e.docView.posFromDOM(f.anchorNode,f.anchorOffset)!=t.from&&i.collapse(s,r)}nearest(e){for(let t=e;t;){let i=Dt.get(t);if(i&&i.rootView==this)return i;t=t.parentNode}return null}posFromDOM(e,t){let i=this.nearest(e);if(!i)throw new RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(e,t)+i.posAtStart}domAtPos(e){let{i:t,off:i}=this.childCursor().findPos(e,-1);for(;to||e==o&&r.type!=Yt.WidgetBefore&&r.type!=Yt.WidgetAfter&&(!s||t==2||this.children[s-1].breakAfter||this.children[s-1].type==Yt.WidgetBefore&&t>-2))return r.coordsAt(e-o,t);i=o}}measureVisibleLineHeights(e){let t=[],{from:i,to:s}=e,r=this.view.contentDOM.clientWidth,o=r>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,l=-1,a=this.view.textDirection==qt.LTR;for(let u=0,c=0;cs)break;if(u>=i){let d=f.dom.getBoundingClientRect();if(t.push(d.height),o){let p=f.dom.lastChild,g=p?Qo(p):[];if(g.length){let m=g[g.length-1],_=a?m.right-d.left:d.right-m.left;_>l&&(l=_,this.minWidth=r,this.minWidthFrom=u,this.minWidthTo=h)}}}u=h+f.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return getComputedStyle(this.children[t].dom).direction=="rtl"?qt.RTL:qt.LTR}measureTextSize(){for(let r of this.children)if(r instanceof mn){let o=r.measureTextSize();if(o)return o}let e=document.createElement("div"),t,i,s;return e.className="cm-line",e.style.width="99999px",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let r=Qo(e.firstChild)[0];t=e.getBoundingClientRect().height,i=r?r.width/27:7,s=r?r.height:t,e.remove()}),{lineHeight:t,charWidth:i,textHeight:s}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new ik(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let i=0,s=0;;s++){let r=s==t.viewports.length?null:t.viewports[s],o=r?r.from-1:this.length;if(o>i){let l=t.lineBlockAt(o).bottom-t.lineBlockAt(i).top;e.push(ut.replace({widget:new Z0(l),block:!0,inclusive:!0,isBlockGap:!0}).range(i,o))}if(!r)break;i=r.to+1}return ut.set(e)}updateDeco(){let e=this.view.state.facet(ia).map((t,i)=>(this.dynamicDecorationMap[i]=typeof t=="function")?t(this.view):t);for(let t=e.length;tt.anchor?-1:1),s;if(!i)return;!t.empty&&(s=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(i={left:Math.min(i.left,s.left),top:Math.min(i.top,s.top),right:Math.max(i.right,s.right),bottom:Math.max(i.bottom,s.bottom)});let r=Ck(this.view),o={left:i.left-r.left,top:i.top-r.top,right:i.right+r.right,bottom:i.bottom+r.bottom};zx(this.view.scrollDOM,o,t.head-1)return ut.none;if(a-l0)i=i.childNodes[s-1],s=Ir(i);else break}if(t>=0)for(let i=n,s=e;;){if(i.nodeType==3)return i;if(i.nodeType==1&&s=0)i=i.childNodes[s],s=0;else break}return null}function nL(n,e){return n.nodeType!=1?0:(e&&n.childNodes[e-1].contentEditable=="false"?1:0)|(e0;){let u=Ln(s.text,o,!1);if(i(s.text.slice(u,o))!=a)break;o=u}for(;ln?e.left-n:Math.max(0,n-e.right)}function uL(n,e){return e.top>n?e.top-n:Math.max(0,n-e.bottom)}function jf(n,e){return n.tope.top+1}function Q0(n,e){return en.bottom?{top:n.top,left:n.left,right:n.right,bottom:e}:n}function Sd(n,e,t){let i,s,r,o,l=!1,a,u,c,f;for(let p=n.firstChild;p;p=p.nextSibling){let g=Qo(p);for(let m=0;my||o==y&&r>b){i=p,s=_,r=b,o=y;let k=y?t<_.top?-1:1:b?e<_.left?-1:1:0;l=!k||(k>0?m0)}b==0?t>_.bottom&&(!c||c.bottom<_.bottom)?(a=p,c=_):t<_.top&&(!f||f.top>_.top)&&(u=p,f=_):c&&jf(c,_)?c=e_(c,_.bottom):f&&jf(f,_)&&(f=Q0(f,_.top))}}if(c&&c.bottom>=t?(i=a,s=c):f&&f.top<=t&&(i=u,s=f),!i)return{node:n,offset:0};let h=Math.max(s.left,Math.min(s.right,e));if(i.nodeType==3)return t_(i,h,t);if(l&&i.contentEditable!="false")return Sd(i,h,t);let d=Array.prototype.indexOf.call(n.childNodes,i)+(e>=(s.left+s.right)/2?1:0);return{node:n,offset:d}}function t_(n,e,t){let i=n.nodeValue.length,s=-1,r=1e9,o=0;for(let l=0;lt?c.top-t:t-c.bottom)-1;if(c.left-1<=e&&c.right+1>=e&&f=(c.left+c.right)/2,d=h;if((Pe.chrome||Pe.gecko)&&el(n,l).getBoundingClientRect().left==c.right&&(d=!h),f<=0)return{node:n,offset:l+(d?1:0)};s=l+(d?1:0),r=f}}}return{node:n,offset:s>-1?s:o>0?n.nodeValue.length:0}}function xk(n,e,t,i=-1){var s,r;let o=n.contentDOM.getBoundingClientRect(),l=o.top+n.viewState.paddingTop,a,{docHeight:u}=n.viewState,{x:c,y:f}=e,h=f-l;if(h<0)return 0;if(h>u)return n.state.doc.length;for(let k=n.defaultLineHeight/2,T=!1;a=n.elementAtHeight(h),a.type!=Yt.Text;)for(;h=i>0?a.bottom+k:a.top-k,!(h>=0&&h<=u);){if(T)return t?null:0;T=!0,i=-i}f=l+h;let d=a.from;if(dn.viewport.to)return n.viewport.to==n.state.doc.length?n.state.doc.length:t?null:i_(n,o,a,c,f);let p=n.dom.ownerDocument,g=n.root.elementFromPoint?n.root:p,m=g.elementFromPoint(c,f);m&&!n.contentDOM.contains(m)&&(m=null),m||(c=Math.max(o.left+1,Math.min(o.right-1,c)),m=g.elementFromPoint(c,f),m&&!n.contentDOM.contains(m)&&(m=null));let _,b=-1;if(m&&((s=n.docView.nearest(m))===null||s===void 0?void 0:s.isEditable)!=!1){if(p.caretPositionFromPoint){let k=p.caretPositionFromPoint(c,f);k&&({offsetNode:_,offset:b}=k)}else if(p.caretRangeFromPoint){let k=p.caretRangeFromPoint(c,f);k&&({startContainer:_,startOffset:b}=k,(!n.contentDOM.contains(_)||Pe.safari&&cL(_,b,c)||Pe.chrome&&fL(_,b,c))&&(_=void 0))}}if(!_||!n.docView.dom.contains(_)){let k=mn.find(n.docView,d);if(!k)return h>a.top+a.height/2?a.to:a.from;({node:_,offset:b}=Sd(k.dom,c,f))}let y=n.docView.nearest(_);if(!y)return null;if(y.isWidget&&((r=y.dom)===null||r===void 0?void 0:r.nodeType)==1){let k=y.dom.getBoundingClientRect();return e.yn.defaultLineHeight*1.5){let l=Math.floor((s-t.top)/n.defaultLineHeight);r+=l*n.viewState.heightOracle.lineLength}let o=n.state.sliceDoc(t.from,t.to);return t.from+ud(o,r,n.state.tabSize)}function cL(n,e,t){let i;if(n.nodeType!=3||e!=(i=n.nodeValue.length))return!1;for(let s=n.nextSibling;s;s=s.nextSibling)if(s.nodeType!=1||s.nodeName!="BR")return!1;return el(n,i-1,i).getBoundingClientRect().left>t}function fL(n,e,t){if(e!=0)return!1;for(let s=n;;){let r=s.parentNode;if(!r||r.nodeType!=1||r.firstChild!=s)return!1;if(r.classList.contains("cm-line"))break;s=r}let i=n.nodeType==1?n.getBoundingClientRect():el(n,0,Math.max(n.nodeValue.length,1)).getBoundingClientRect();return t-i.left>5}function Td(n,e){let t=n.lineBlockAt(e);if(Array.isArray(t.type)){for(let i of t.type)if(i.to>e||i.to==e&&(i.to==t.to||i.type==Yt.Text))return i}return t}function hL(n,e,t,i){let s=Td(n,e.head),r=!i||s.type!=Yt.Text||!(n.lineWrapping||s.widgetLineBreaks)?null:n.coordsAtPos(e.assoc<0&&e.head>s.from?e.head-1:e.head);if(r){let o=n.dom.getBoundingClientRect(),l=n.textDirectionAt(s.from),a=n.posAtCoords({x:t==(l==qt.LTR)?o.right-1:o.left+1,y:(r.top+r.bottom)/2});if(a!=null)return de.cursor(a,t?-1:1)}return de.cursor(t?s.to:s.from,t?-1:1)}function n_(n,e,t,i){let s=n.state.doc.lineAt(e.head),r=n.bidiSpans(s),o=n.textDirectionAt(s.from);for(let l=e,a=null;;){let u=Qx(s,r,o,l,t),c=Ak;if(!u){if(s.number==(t?n.state.doc.lines:1))return l;c=` +`,s=n.state.doc.line(s.number+(t?1:-1)),r=n.bidiSpans(s),u=de.cursor(t?s.from:s.to)}if(a){if(!a(c))return l}else{if(!i)return u;a=i(c)}l=u}}function dL(n,e,t){let i=n.state.charCategorizer(e),s=i(t);return r=>{let o=i(r);return s==Gn.Space&&(s=o),s==o}}function pL(n,e,t,i){let s=e.head,r=t?1:-1;if(s==(t?n.state.doc.length:0))return de.cursor(s,e.assoc);let o=e.goalColumn,l,a=n.contentDOM.getBoundingClientRect(),u=n.coordsAtPos(s),c=n.documentTop;if(u)o==null&&(o=u.left-a.left),l=r<0?u.top:u.bottom;else{let d=n.viewState.lineBlockAt(s);o==null&&(o=Math.min(a.right-a.left,n.defaultCharacterWidth*(s-d.from))),l=(r<0?d.top:d.bottom)+c}let f=a.left+o,h=i??n.defaultLineHeight>>1;for(let d=0;;d+=10){let p=l+(h+d)*r,g=xk(n,{x:f,y:p},!1,r);if(pa.bottom||(r<0?gs))return de.cursor(g,e.assoc,void 0,o)}}function yu(n,e,t){for(;;){let i=0;for(let s of n)s.between(e-1,e+1,(r,o,l)=>{if(e>r&&es(n)),t.from,e.head>t.from?-1:1);return i==t.from?t:de.cursor(i,i{this.ignoreDuringComposition(s)||s.type=="keydown"&&this.keydown(e,s)||(this.mustFlushObserver(s)&&e.observer.forceFlush(),this.runCustomHandlers(s.type,e,s)?s.preventDefault():i(e,s))};for(let i in ui){let s=ui[i];e.contentDOM.addEventListener(i,r=>{s_(e,r)&&t(s,r)},Cd[i]),this.registeredEvents.push(i)}e.scrollDOM.addEventListener("mousedown",i=>{if(i.target==e.scrollDOM&&i.clientY>e.contentDOM.getBoundingClientRect().bottom&&(t(ui.mousedown,i),!i.defaultPrevented&&i.button==2)){let s=e.contentDOM.style.minHeight;e.contentDOM.style.minHeight="100%",setTimeout(()=>e.contentDOM.style.minHeight=s,200)}}),e.scrollDOM.addEventListener("drop",i=>{i.target==e.scrollDOM&&i.clientY>e.contentDOM.getBoundingClientRect().bottom&&t(ui.drop,i)}),Pe.chrome&&Pe.chrome_version==102&&e.scrollDOM.addEventListener("wheel",()=>{this.chromeScrollHack<0?e.contentDOM.style.pointerEvents="none":window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout(()=>{this.chromeScrollHack=-1,e.contentDOM.style.pointerEvents=""},100)},{passive:!0}),this.notifiedFocused=e.hasFocus,Pe.safari&&e.contentDOM.addEventListener("input",()=>null)}setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}ensureHandlers(e,t){var i;let s;this.customHandlers=[];for(let r of t)if(s=(i=r.update(e).spec)===null||i===void 0?void 0:i.domEventHandlers){this.customHandlers.push({plugin:r.value,handlers:s});for(let o in s)this.registeredEvents.indexOf(o)<0&&o!="scroll"&&(this.registeredEvents.push(o),e.contentDOM.addEventListener(o,l=>{s_(e,l)&&this.runCustomHandlers(o,e,l)&&l.preventDefault()}))}}runCustomHandlers(e,t,i){for(let s of this.customHandlers){let r=s.handlers[e];if(r)try{if(r.call(s.plugin,i,t)||i.defaultPrevented)return!0}catch(o){Yn(t.state,o)}}return!1}runScrollHandlers(e,t){this.lastScrollTop=e.scrollDOM.scrollTop,this.lastScrollLeft=e.scrollDOM.scrollLeft;for(let i of this.customHandlers){let s=i.handlers.scroll;if(s)try{s.call(i.plugin,t,e)}catch(r){Yn(e.state,r)}}}keydown(e,t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&Date.now()s.keyCode==t.keyCode))&&!t.ctrlKey||mL.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=i||t,setTimeout(()=>this.flushIOSKey(e),250),!0):!1}flushIOSKey(e){let t=this.pendingIOSKey;return t?(this.pendingIOSKey=void 0,Wo(e.contentDOM,t.key,t.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:Pe.safari&&!Pe.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}mustFlushObserver(e){return e.type=="keydown"&&e.keyCode!=229}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const Lk=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],mL="dthko",Mk=[16,17,18,20,91,92,224,225],za=6;function Fa(n){return Math.max(0,n)*.7+8}class _L{constructor(e,t,i,s){this.view=e,this.style=i,this.mustSelect=s,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParent=Fx(e.contentDOM),this.atoms=e.state.facet($p).map(o=>o(e));let r=e.contentDOM.ownerDocument;r.addEventListener("mousemove",this.move=this.move.bind(this)),r.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(pt.allowMultipleSelections)&&bL(e,t),this.dragMove=yL(e,t),this.dragging=vL(e,t)&&zk(t)==1?null:!1}start(e){this.dragging===!1&&(e.preventDefault(),this.select(e))}move(e){var t;if(e.buttons==0)return this.destroy();if(this.dragging!==!1)return;this.select(this.lastEvent=e);let i=0,s=0,r=((t=this.scrollParent)===null||t===void 0?void 0:t.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},o=Ck(this.view);e.clientX-o.left<=r.left+za?i=-Fa(r.left-e.clientX):e.clientX+o.right>=r.right-za&&(i=Fa(e.clientX-r.right)),e.clientY-o.top<=r.top+za?s=-Fa(r.top-e.clientY):e.clientY+o.bottom>=r.bottom-za&&(s=Fa(e.clientY-r.bottom)),this.setScrollSpeed(i,s)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let t=null;for(let i=0;ithis.select(this.lastEvent),20)}}function bL(n,e){let t=n.state.facet(gk);return t.length?t[0](e):Pe.mac?e.metaKey:e.ctrlKey}function yL(n,e){let t=n.state.facet(mk);return t.length?t[0](e):Pe.mac?!e.altKey:!e.ctrlKey}function vL(n,e){let{main:t}=n.state.selection;if(t.empty)return!1;let i=tc(n.root);if(!i||i.rangeCount==0)return!0;let s=i.getRangeAt(0).getClientRects();for(let r=0;r=e.clientX&&o.top<=e.clientY&&o.bottom>=e.clientY)return!0}return!1}function s_(n,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,i;t!=n.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(i=Dt.get(t))&&i.ignoreEvent(e))return!1;return!0}const ui=Object.create(null),Cd=Object.create(null),Rk=Pe.ie&&Pe.ie_version<15||Pe.ios&&Pe.webkit_version<604;function wL(n){let e=n.dom.parentNode;if(!e)return;let t=e.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{n.focus(),t.remove(),Pk(n,t.value)},50)}function Pk(n,e){let{state:t}=n,i,s=1,r=t.toText(e),o=r.lines==t.selection.ranges.length;if(Id!=null&&t.selection.ranges.every(a=>a.empty)&&Id==r.toString()){let a=-1;i=t.changeByRange(u=>{let c=t.doc.lineAt(u.from);if(c.from==a)return{range:u};a=c.from;let f=t.toText((o?r.line(s++).text:e)+t.lineBreak);return{changes:{from:c.from,insert:f},range:de.cursor(u.from+f.length)}})}else o?i=t.changeByRange(a=>{let u=r.line(s++);return{changes:{from:a.from,to:a.to,insert:u.text},range:de.cursor(a.from+u.length)}}):i=t.replaceSelection(r);n.dispatch(i,{userEvent:"input.paste",scrollIntoView:!0})}ui.keydown=(n,e)=>{n.inputState.setSelectionOrigin("select"),e.keyCode==27&&(n.inputState.lastEscPress=Date.now())};ui.touchstart=(n,e)=>{n.inputState.lastTouchTime=Date.now(),n.inputState.setSelectionOrigin("select.pointer")};ui.touchmove=n=>{n.inputState.setSelectionOrigin("select.pointer")};Cd.touchstart=Cd.touchmove={passive:!0};ui.mousedown=(n,e)=>{if(n.observer.flush(),n.inputState.lastTouchTime>Date.now()-2e3)return;let t=null;for(let i of n.state.facet(_k))if(t=i(n,e),t)break;if(!t&&e.button==0&&(t=TL(n,e)),t){let i=n.root.activeElement!=n.contentDOM;n.inputState.startMouseSelection(new _L(n,e,t,i)),i&&n.observer.ignore(()=>ek(n.contentDOM)),n.inputState.mouseSelection&&n.inputState.mouseSelection.start(e)}};function r_(n,e,t,i){if(i==1)return de.cursor(e,t);if(i==2)return lL(n.state,e,t);{let s=mn.find(n.docView,e),r=n.state.doc.lineAt(s?s.posAtEnd:e),o=s?s.posAtStart:r.from,l=s?s.posAtEnd:r.to;return ln>=e.top&&n<=e.bottom,o_=(n,e,t)=>Bk(e,t)&&n>=t.left&&n<=t.right;function kL(n,e,t,i){let s=mn.find(n.docView,e);if(!s)return 1;let r=e-s.posAtStart;if(r==0)return 1;if(r==s.length)return-1;let o=s.coordsAt(r,-1);if(o&&o_(t,i,o))return-1;let l=s.coordsAt(r,1);return l&&o_(t,i,l)?1:o&&Bk(i,o)?-1:1}function l_(n,e){let t=n.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:kL(n,t,e.clientX,e.clientY)}}const SL=Pe.ie&&Pe.ie_version<=11;let a_=null,u_=0,c_=0;function zk(n){if(!SL)return n.detail;let e=a_,t=c_;return a_=n,c_=Date.now(),u_=!e||t>Date.now()-400&&Math.abs(e.clientX-n.clientX)<2&&Math.abs(e.clientY-n.clientY)<2?(u_+1)%3:1}function TL(n,e){let t=l_(n,e),i=zk(e),s=n.state.selection;return{update(r){r.docChanged&&(t.pos=r.changes.mapPos(t.pos),s=s.map(r.changes))},get(r,o,l){let a=l_(n,r),u,c=r_(n,a.pos,a.bias,i);if(t.pos!=a.pos&&!o){let f=r_(n,t.pos,t.bias,i),h=Math.min(f.from,c.from),d=Math.max(f.to,c.to);c=h1&&(u=CL(s,a.pos))?u:l?s.addRange(c):de.create([c])}}}function CL(n,e){for(let t=0;t=e)return de.create(n.ranges.slice(0,t).concat(n.ranges.slice(t+1)),n.mainIndex==t?0:n.mainIndex-(n.mainIndex>t?1:0))}return null}ui.dragstart=(n,e)=>{let{selection:{main:t}}=n.state,{mouseSelection:i}=n.inputState;i&&(i.dragging=t),e.dataTransfer&&(e.dataTransfer.setData("Text",n.state.sliceDoc(t.from,t.to)),e.dataTransfer.effectAllowed="copyMove")};function f_(n,e,t,i){if(!t)return;let s=n.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:r}=n.inputState,o=i&&r&&r.dragging&&r.dragMove?{from:r.dragging.from,to:r.dragging.to}:null,l={from:s,insert:t},a=n.state.changes(o?[o,l]:l);n.focus(),n.dispatch({changes:a,selection:{anchor:a.mapPos(s,-1),head:a.mapPos(s,1)},userEvent:o?"move.drop":"input.drop"})}ui.drop=(n,e)=>{if(!e.dataTransfer)return;if(n.state.readOnly)return e.preventDefault();let t=e.dataTransfer.files;if(t&&t.length){e.preventDefault();let i=Array(t.length),s=0,r=()=>{++s==t.length&&f_(n,e,i.filter(o=>o!=null).join(n.state.lineBreak),!1)};for(let o=0;o{/[\x00-\x08\x0e-\x1f]{2}/.test(l.result)||(i[o]=l.result),r()},l.readAsText(t[o])}}else f_(n,e,e.dataTransfer.getData("Text"),!0)};ui.paste=(n,e)=>{if(n.state.readOnly)return e.preventDefault();n.observer.flush();let t=Rk?null:e.clipboardData;t?(Pk(n,t.getData("text/plain")||t.getData("text/uri-text")),e.preventDefault()):wL(n)};function IL(n,e){let t=n.dom.parentNode;if(!t)return;let i=t.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.value=e,i.focus(),i.selectionEnd=e.length,i.selectionStart=0,setTimeout(()=>{i.remove(),n.focus()},50)}function EL(n){let e=[],t=[],i=!1;for(let s of n.selection.ranges)s.empty||(e.push(n.sliceDoc(s.from,s.to)),t.push(s));if(!e.length){let s=-1;for(let{from:r}of n.selection.ranges){let o=n.doc.lineAt(r);o.number>s&&(e.push(o.text),t.push({from:o.from,to:Math.min(n.doc.length,o.to+1)})),s=o.number}i=!0}return{text:e.join(n.lineBreak),ranges:t,linewise:i}}let Id=null;ui.copy=ui.cut=(n,e)=>{let{text:t,ranges:i,linewise:s}=EL(n.state);if(!t&&!s)return;Id=s?t:null;let r=Rk?null:e.clipboardData;r?(e.preventDefault(),r.clearData(),r.setData("text/plain",t)):IL(n,t),e.type=="cut"&&!n.state.readOnly&&n.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"})};const Fk=Ys.define();function Wk(n,e){let t=[];for(let i of n.facet(vk)){let s=i(n,e);s&&t.push(s)}return t?n.update({effects:t,annotations:Fk.of(!0)}):null}function Vk(n){setTimeout(()=>{let e=n.hasFocus;if(e!=n.inputState.notifiedFocused){let t=Wk(n.state,e);t?n.dispatch(t):n.update([])}},10)}ui.focus=n=>{n.inputState.lastFocusTime=Date.now(),!n.scrollDOM.scrollTop&&(n.inputState.lastScrollTop||n.inputState.lastScrollLeft)&&(n.scrollDOM.scrollTop=n.inputState.lastScrollTop,n.scrollDOM.scrollLeft=n.inputState.lastScrollLeft),Vk(n)};ui.blur=n=>{n.observer.clearSelectionRange(),Vk(n)};ui.compositionstart=ui.compositionupdate=n=>{n.inputState.compositionFirstChange==null&&(n.inputState.compositionFirstChange=!0),n.inputState.composing<0&&(n.inputState.composing=0)};ui.compositionend=n=>{n.inputState.composing=-1,n.inputState.compositionEndedAt=Date.now(),n.inputState.compositionPendingKey=!0,n.inputState.compositionPendingChange=n.observer.pendingRecords().length>0,n.inputState.compositionFirstChange=null,Pe.chrome&&Pe.android?n.observer.flushSoon():n.inputState.compositionPendingChange?Promise.resolve().then(()=>n.observer.flush()):setTimeout(()=>{n.inputState.composing<0&&n.docView.compositionDeco.size&&n.update([])},50)};ui.contextmenu=n=>{n.inputState.lastContextMenu=Date.now()};ui.beforeinput=(n,e)=>{var t;let i;if(Pe.chrome&&Pe.android&&(i=Lk.find(s=>s.inputType==e.inputType))&&(n.observer.delayAndroidKey(i.key,i.keyCode),i.key=="Backspace"||i.key=="Delete")){let s=((t=window.visualViewport)===null||t===void 0?void 0:t.height)||0;setTimeout(()=>{var r;(((r=window.visualViewport)===null||r===void 0?void 0:r.height)||0)>s+10&&n.hasFocus&&(n.contentDOM.blur(),n.focus())},100)}};const h_=["pre-wrap","normal","pre-line","break-spaces"];class AL{constructor(e){this.lineWrapping=e,this.doc=kt.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let i=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(i+=Math.max(0,Math.ceil((t-e-i*this.lineLength*.5)/this.lineLength))),this.lineHeight*i}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return h_.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let i=0;i-1,a=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=l;if(this.lineWrapping=l,this.lineHeight=t,this.charWidth=i,this.textHeight=s,this.lineLength=r,a){this.heightSamples={};for(let u=0;u0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,t){this.height!=t&&(Math.abs(this.height-t)>vu&&(e.heightChanged=!0),this.height=t)}replace(e,t,i){return ln.of(i)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,i,s){let r=this,o=i.doc;for(let l=s.length-1;l>=0;l--){let{fromA:a,toA:u,fromB:c,toB:f}=s[l],h=r.lineAt(a,Rt.ByPosNoHeight,i.setDoc(t),0,0),d=h.to>=u?h:r.lineAt(u,Rt.ByPosNoHeight,i,0,0);for(f+=d.to-u,u=d.to;l>0&&h.from<=s[l-1].toA;)a=s[l-1].fromA,c=s[l-1].fromB,l--,ar*2){let l=e[t-1];l.break?e.splice(--t,1,l.left,null,l.right):e.splice(--t,1,l.left,l.right),i+=1+l.break,s-=l.size}else if(r>s*2){let l=e[i];l.break?e.splice(i,1,l.left,null,l.right):e.splice(i,1,l.left,l.right),i+=2+l.break,r-=l.size}else break;else if(s=r&&o(this.blockAt(0,i,s,r))}updateHeight(e,t=0,i=!1,s){return s&&s.from<=t&&s.more&&this.setHeight(e,s.heights[s.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class An extends Hk{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,i,s){return new ys(s,this.length,i,this.height,this.breaks)}replace(e,t,i){let s=i[0];return i.length==1&&(s instanceof An||s instanceof xi&&s.flags&4)&&Math.abs(this.length-s.length)<10?(s instanceof xi?s=new An(s.length,this.height):s.height=this.height,this.outdated||(s.outdated=!1),s):ln.of(i)}updateHeight(e,t=0,i=!1,s){return s&&s.from<=t&&s.more?this.setHeight(e,s.heights[s.index++]):(i||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class xi extends ln{constructor(e){super(e,0)}heightMetrics(e,t){let i=e.doc.lineAt(t).number,s=e.doc.lineAt(t+this.length).number,r=s-i+1,o,l=0;if(e.lineWrapping){let a=Math.min(this.height,e.lineHeight*r);o=a/r,this.length>r+1&&(l=(this.height-a)/(this.length-r-1))}else o=this.height/r;return{firstLine:i,lastLine:s,perLine:o,perChar:l}}blockAt(e,t,i,s){let{firstLine:r,lastLine:o,perLine:l,perChar:a}=this.heightMetrics(t,s);if(t.lineWrapping){let u=s+Math.round(Math.max(0,Math.min(1,(e-i)/this.height))*this.length),c=t.doc.lineAt(u),f=l+c.length*a,h=Math.max(i,e-f/2);return new ys(c.from,c.length,h,f,0)}else{let u=Math.max(0,Math.min(o-r,Math.floor((e-i)/l))),{from:c,length:f}=t.doc.line(r+u);return new ys(c,f,i+l*u,l,0)}}lineAt(e,t,i,s,r){if(t==Rt.ByHeight)return this.blockAt(e,i,s,r);if(t==Rt.ByPosNoHeight){let{from:d,to:p}=i.doc.lineAt(e);return new ys(d,p-d,0,0,0)}let{firstLine:o,perLine:l,perChar:a}=this.heightMetrics(i,r),u=i.doc.lineAt(e),c=l+u.length*a,f=u.number-o,h=s+l*f+a*(u.from-r-f);return new ys(u.from,u.length,Math.max(s,Math.min(h,s+this.height-c)),c,0)}forEachLine(e,t,i,s,r,o){e=Math.max(e,r),t=Math.min(t,r+this.length);let{firstLine:l,perLine:a,perChar:u}=this.heightMetrics(i,r);for(let c=e,f=s;c<=t;){let h=i.doc.lineAt(c);if(c==e){let p=h.number-l;f+=a*p+u*(e-r-p)}let d=a+u*h.length;o(new ys(h.from,h.length,f,d,0)),f+=d,c=h.to+1}}replace(e,t,i){let s=this.length-t;if(s>0){let r=i[i.length-1];r instanceof xi?i[i.length-1]=new xi(r.length+s):i.push(null,new xi(s-1))}if(e>0){let r=i[0];r instanceof xi?i[0]=new xi(e+r.length):i.unshift(new xi(e-1),null)}return ln.of(i)}decomposeLeft(e,t){t.push(new xi(e-1),null)}decomposeRight(e,t){t.push(null,new xi(this.length-e-1))}updateHeight(e,t=0,i=!1,s){let r=t+this.length;if(s&&s.from<=t+this.length&&s.more){let o=[],l=Math.max(t,s.from),a=-1;for(s.from>t&&o.push(new xi(s.from-t-1).updateHeight(e,t));l<=r&&s.more;){let c=e.doc.lineAt(l).length;o.length&&o.push(null);let f=s.heights[s.index++];a==-1?a=f:Math.abs(f-a)>=vu&&(a=-2);let h=new An(c,f);h.outdated=!1,o.push(h),l+=c+1}l<=r&&o.push(null,new xi(r-l).updateHeight(e,l));let u=ln.of(o);return(a<0||Math.abs(u.height-this.height)>=vu||Math.abs(a-this.heightMetrics(e,t).perLine)>=vu)&&(e.heightChanged=!0),u}else(i||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class NL extends ln{constructor(e,t,i){super(e.length+t+i.length,e.height+i.height,t|(e.outdated||i.outdated?2:0)),this.left=e,this.right=i,this.size=e.size+i.size}get break(){return this.flags&1}blockAt(e,t,i,s){let r=i+this.left.height;return el))return u;let c=t==Rt.ByPosNoHeight?Rt.ByPosNoHeight:Rt.ByPos;return a?u.join(this.right.lineAt(l,c,i,o,l)):this.left.lineAt(l,c,i,s,r).join(u)}forEachLine(e,t,i,s,r,o){let l=s+this.left.height,a=r+this.left.length+this.break;if(this.break)e=a&&this.right.forEachLine(e,t,i,l,a,o);else{let u=this.lineAt(a,Rt.ByPos,i,s,r);e=e&&u.from<=t&&o(u),t>u.to&&this.right.forEachLine(u.to+1,t,i,l,a,o)}}replace(e,t,i){let s=this.left.length+this.break;if(tthis.left.length)return this.balanced(this.left,this.right.replace(e-s,t-s,i));let r=[];e>0&&this.decomposeLeft(e,r);let o=r.length;for(let l of i)r.push(l);if(e>0&&d_(r,o-1),t=i&&t.push(null)),e>i&&this.right.decomposeLeft(e-i,t)}decomposeRight(e,t){let i=this.left.length,s=i+this.break;if(e>=s)return this.right.decomposeRight(e-s,t);e2*t.size||t.size>2*e.size?ln.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,i=!1,s){let{left:r,right:o}=this,l=t+r.length+this.break,a=null;return s&&s.from<=t+r.length&&s.more?a=r=r.updateHeight(e,t,i,s):r.updateHeight(e,t,i),s&&s.from<=l+o.length&&s.more?a=o=o.updateHeight(e,l,i,s):o.updateHeight(e,l,i),a?this.balanced(r,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function d_(n,e){let t,i;n[e]==null&&(t=n[e-1])instanceof xi&&(i=n[e+1])instanceof xi&&n.splice(e-1,3,new xi(t.length+1+i.length))}const DL=5;class Jp{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let i=Math.min(t,this.lineEnd),s=this.nodes[this.nodes.length-1];s instanceof An?s.length+=i-this.pos:(i>this.pos||!this.isCovered)&&this.nodes.push(new An(i-this.pos,-1)),this.writtenTo=i,t>i&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,i){if(e=DL)&&this.addLineDeco(s,r,o)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenToe&&this.nodes.push(new An(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let i=new xi(t-e);return this.oracle.doc.lineAt(e).to==t&&(i.flags|=4),i}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof An)return e;let t=new An(0,-1);return this.nodes.push(t),t}addBlock(e){var t;this.enterLine();let i=(t=e.deco)===null||t===void 0?void 0:t.type;i==Yt.WidgetAfter&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,i!=Yt.WidgetBefore&&(this.covering=e)}addLineDeco(e,t,i){let s=this.ensureLine();s.length+=i,s.collapsed+=i,s.widgetHeight=Math.max(s.widgetHeight,e),s.breaks+=t,this.writtenTo=this.pos=this.pos+i}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof An)&&!this.isCovered?this.nodes.push(new An(0,-1)):(this.writtenToc.clientHeight||c.scrollWidth>c.clientWidth)&&f.overflow!="visible"){let h=c.getBoundingClientRect();r=Math.max(r,h.left),o=Math.min(o,h.right),l=Math.max(l,h.top),a=u==n.parentNode?h.bottom:Math.min(a,h.bottom)}u=f.position=="absolute"||f.position=="fixed"?c.offsetParent:c.parentNode}else if(u.nodeType==11)u=u.host;else break;return{left:r-t.left,right:Math.max(r,o)-t.left,top:l-(t.top+e),bottom:Math.max(l,a)-(t.top+e)}}function RL(n,e){let t=n.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class Yf{constructor(e,t,i){this.from=e,this.to=t,this.size=i}static same(e,t){if(e.length!=t.length)return!1;for(let i=0;itypeof i!="function"&&i.class=="cm-lineWrapping");this.heightOracle=new AL(t),this.stateDeco=e.facet(ia).filter(i=>typeof i!="function"),this.heightMap=ln.empty().applyChanges(this.stateDeco,kt.empty,this.heightOracle.setDoc(e.doc),[new Cs(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=ut.set(this.lineGaps.map(i=>i.draw(!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let i=0;i<=1;i++){let s=i?t.head:t.anchor;if(!e.some(({from:r,to:o})=>s>=r&&s<=o)){let{from:r,to:o}=this.lineBlockAt(s);e.push(new Wa(r,o))}}this.viewports=e.sort((i,s)=>i.from-s.from),this.scaler=this.heightMap.height<=7e6?g_:new FL(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:xl(e,this.scaler))})}update(e,t=null){this.state=e.state;let i=this.stateDeco;this.stateDeco=this.state.facet(ia).filter(c=>typeof c!="function");let s=e.changedRanges,r=Cs.extendWithRanges(s,xL(i,this.stateDeco,e?e.changes:di.empty(this.state.doc.length))),o=this.heightMap.height,l=this.scrolledToBottom?null:this.lineBlockAtHeight(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),r),this.heightMap.height!=o&&(e.flags|=2),l?(this.scrollAnchorPos=e.changes.mapPos(l.from,-1),this.scrollAnchorHeight=l.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let a=r.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.heada.to)||!this.viewportIsAppropriate(a))&&(a=this.getViewport(0,t));let u=!e.changes.empty||e.flags&2||a.from!=this.viewport.from||a.to!=this.viewport.to;this.viewport=a,this.updateForViewport(),u&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(kk)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,i=window.getComputedStyle(t),s=this.heightOracle,r=i.whiteSpace;this.defaultTextDirection=i.direction=="rtl"?qt.RTL:qt.LTR;let o=this.heightOracle.mustRefreshForWrapping(r),l=t.getBoundingClientRect(),a=o||this.mustMeasureContent||this.contentDOMHeight!=l.height;this.contentDOMHeight=l.height,this.mustMeasureContent=!1;let u=0,c=0,f=parseInt(i.paddingTop)||0,h=parseInt(i.paddingBottom)||0;(this.paddingTop!=f||this.paddingBottom!=h)&&(this.paddingTop=f,this.paddingBottom=h,u|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(s.lineWrapping&&(a=!0),this.editorWidth=e.scrollDOM.clientWidth,u|=8),this.scrollTop!=e.scrollDOM.scrollTop&&(this.scrollAnchorHeight=-1,this.scrollTop=e.scrollDOM.scrollTop),this.scrolledToBottom=this.scrollTop>e.scrollDOM.scrollHeight-e.scrollDOM.clientHeight-4;let d=(this.printing?RL:ML)(t,this.paddingTop),p=d.top-this.pixelViewport.top,g=d.bottom-this.pixelViewport.bottom;this.pixelViewport=d;let m=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(m!=this.inView&&(this.inView=m,m&&(a=!0)),!this.inView&&!this.scrollTarget)return 0;let _=l.width;if((this.contentDOMWidth!=_||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=l.width,this.editorHeight=e.scrollDOM.clientHeight,u|=8),a){let y=e.docView.measureVisibleLineHeights(this.viewport);if(s.mustRefreshForHeights(y)&&(o=!0),o||s.lineWrapping&&Math.abs(_-this.contentDOMWidth)>s.charWidth){let{lineHeight:k,charWidth:T,textHeight:I}=e.docView.measureTextSize();o=k>0&&s.refresh(r,k,T,I,_/T,y),o&&(e.docView.minWidth=0,u|=8)}p>0&&g>0?c=Math.max(p,g):p<0&&g<0&&(c=Math.min(p,g)),s.heightChanged=!1;for(let k of this.viewports){let T=k.from==this.viewport.from?y:e.docView.measureVisibleLineHeights(k);this.heightMap=(o?ln.empty().applyChanges(this.stateDeco,kt.empty,this.heightOracle,[new Cs(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(s,0,o,new OL(k.from,T))}s.heightChanged&&(u|=2)}let b=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return b&&(this.viewport=this.getViewport(c,this.scrollTarget)),this.updateForViewport(),(u&2||b)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),u|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),u}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let i=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),s=this.heightMap,r=this.heightOracle,{visibleTop:o,visibleBottom:l}=this,a=new Wa(s.lineAt(o-i*1e3,Rt.ByHeight,r,0,0).from,s.lineAt(l+(1-i)*1e3,Rt.ByHeight,r,0,0).to);if(t){let{head:u}=t.range;if(ua.to){let c=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),f=s.lineAt(u,Rt.ByPos,r,0,0),h;t.y=="center"?h=(f.top+f.bottom)/2-c/2:t.y=="start"||t.y=="nearest"&&u=l+Math.max(10,Math.min(i,250)))&&s>o-2*1e3&&r>1,o=s<<1;if(this.defaultTextDirection!=qt.LTR&&!i)return[];let l=[],a=(u,c,f,h)=>{if(c-uu&&mm.from>=f.from&&m.to<=f.to&&Math.abs(m.from-u)m.from<_&&m.to>_));if(!g){if(cm.from<=c&&m.to>=c)){let m=t.moveToLineBoundary(de.cursor(c),!1,!0).head;m>u&&(c=m)}g=new Yf(u,c,this.gapSize(f,u,c,h))}l.push(g)};for(let u of this.viewportLines){if(u.lengthu.from&&a(u.from,h,u,c),dt.draw(this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];Tt.spans(e,this.viewport.from,this.viewport.to,{span(s,r){t.push({from:s,to:r})},point(){}},20);let i=t.length!=this.visibleRanges.length||this.visibleRanges.some((s,r)=>s.from!=t[r].from||s.to!=t[r].to);return this.visibleRanges=t,i?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||xl(this.heightMap.lineAt(e,Rt.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return xl(this.heightMap.lineAt(this.scaler.fromDOM(e),Rt.ByHeight,this.heightOracle,0,0),this.scaler)}elementAtHeight(e){return xl(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class Wa{constructor(e,t){this.from=e,this.to=t}}function BL(n,e,t){let i=[],s=n,r=0;return Tt.spans(t,n,e,{span(){},point(o,l){o>s&&(i.push({from:s,to:o}),r+=o-s),s=l}},20),s=1)return e[e.length-1].to;let i=Math.floor(n*t);for(let s=0;;s++){let{from:r,to:o}=e[s],l=o-r;if(i<=l)return r+i;i-=l}}function Ha(n,e){let t=0;for(let{from:i,to:s}of n.ranges){if(e<=s){t+=e-i;break}t+=s-i}return t/n.total}function zL(n,e){for(let t of n)if(e(t))return t}const g_={toDOM(n){return n},fromDOM(n){return n},scale:1};class FL{constructor(e,t,i){let s=0,r=0,o=0;this.viewports=i.map(({from:l,to:a})=>{let u=t.lineAt(l,Rt.ByPos,e,0,0).top,c=t.lineAt(a,Rt.ByPos,e,0,0).bottom;return s+=c-u,{from:l,to:a,top:u,bottom:c,domTop:0,domBottom:0}}),this.scale=(7e6-s)/(t.height-s);for(let l of this.viewports)l.domTop=o+(l.top-r)*this.scale,o=l.domBottom=l.domTop+(l.bottom-l.top),r=l.bottom}toDOM(e){for(let t=0,i=0,s=0;;t++){let r=txl(s,e)):n._content)}const Ua=We.define({combine:n=>n.join(" ")}),Ed=We.define({combine:n=>n.indexOf(!0)>-1}),Ad=Tr.newName(),Uk=Tr.newName(),Gk=Tr.newName(),jk={"&light":"."+Uk,"&dark":"."+Gk};function Od(n,e,t){return new Tr(e,{finish(i){return/&/.test(i)?i.replace(/&\w*/,s=>{if(s=="&")return n;if(!t||!t[s])throw new RangeError(`Unsupported selector: ${s}`);return t[s]}):n+" "+i}})}const WL=Od("."+Ad,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",left:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},jk);class VL{constructor(e,t,i,s){this.typeOver=s,this.bounds=null,this.text="";let{impreciseHead:r,impreciseAnchor:o}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,i,0))){let l=r||o?[]:UL(e),a=new Ok(l,e.state);a.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=a.text,this.newSel=GL(l,this.bounds.from)}else{let l=e.observer.selectionRange,a=r&&r.node==l.focusNode&&r.offset==l.focusOffset||!Zo(e.contentDOM,l.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(l.focusNode,l.focusOffset),u=o&&o.node==l.anchorNode&&o.offset==l.anchorOffset||!Zo(e.contentDOM,l.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(l.anchorNode,l.anchorOffset);this.newSel=de.single(u,a)}}}function qk(n,e){let t,{newSel:i}=e,s=n.state.selection.main,r=n.inputState.lastKeyTime>Date.now()-100?n.inputState.lastKeyCode:-1;if(e.bounds){let{from:o,to:l}=e.bounds,a=s.from,u=null;(r===8||Pe.android&&e.text.length=s.from&&t.to<=s.to&&(t.from!=s.from||t.to!=s.to)&&s.to-s.from-(t.to-t.from)<=4?t={from:s.from,to:s.to,insert:n.state.doc.slice(s.from,t.from).append(t.insert).append(n.state.doc.slice(t.to,s.to))}:(Pe.mac||Pe.android)&&t&&t.from==t.to&&t.from==s.head-1&&/^\. ?$/.test(t.insert.toString())&&n.contentDOM.getAttribute("autocorrect")=="off"?(i&&t.insert.length==2&&(i=de.single(i.main.anchor-1,i.main.head-1)),t={from:s.from,to:s.to,insert:kt.of([" "])}):Pe.chrome&&t&&t.from==t.to&&t.from==s.head&&t.insert.toString()==` + `&&n.lineWrapping&&(i&&(i=de.single(i.main.anchor-1,i.main.head-1)),t={from:s.from,to:s.to,insert:kt.of([" "])}),t){let o=n.state;if(Pe.ios&&n.inputState.flushIOSKey(n)||Pe.android&&(t.from==s.from&&t.to==s.to&&t.insert.length==1&&t.insert.lines==2&&Wo(n.contentDOM,"Enter",13)||(t.from==s.from-1&&t.to==s.to&&t.insert.length==0||r==8&&t.insert.lengthc(n,t.from,t.to,l)))return!0;n.inputState.composing>=0&&n.inputState.composing++;let a;if(t.from>=s.from&&t.to<=s.to&&t.to-t.from>=(s.to-s.from)/3&&(!i||i.main.empty&&i.main.from==t.from+t.insert.length)&&n.inputState.composing<0){let c=s.fromt.to?o.sliceDoc(t.to,s.to):"";a=o.replaceSelection(n.state.toText(c+t.insert.sliceString(0,void 0,n.state.lineBreak)+f))}else{let c=o.changes(t),f=i&&i.main.to<=c.newLength?i.main:void 0;if(o.selection.ranges.length>1&&n.inputState.composing>=0&&t.to<=s.to&&t.to>=s.to-10){let h=n.state.sliceDoc(t.from,t.to),d=Nk(n)||n.state.doc.lineAt(s.head),p=s.to-t.to,g=s.to-s.from;a=o.changeByRange(m=>{if(m.from==s.from&&m.to==s.to)return{changes:c,range:f||m.map(c)};let _=m.to-p,b=_-h.length;if(m.to-m.from!=g||n.state.sliceDoc(b,_)!=h||d&&m.to>=d.from&&m.from<=d.to)return{range:m};let y=o.changes({from:b,to:_,insert:t.insert}),k=m.to-s.to;return{changes:y,range:f?de.range(Math.max(0,f.anchor+k),Math.max(0,f.head+k)):m.map(y)}})}else a={changes:c,selection:f&&o.selection.replaceRange(f)}}let u="input.type";return(n.composing||n.inputState.compositionPendingChange&&n.inputState.compositionEndedAt>Date.now()-50)&&(n.inputState.compositionPendingChange=!1,u+=".compose",n.inputState.compositionFirstChange&&(u+=".start",n.inputState.compositionFirstChange=!1)),n.dispatch(a,{scrollIntoView:!0,userEvent:u}),!0}else if(i&&!i.main.eq(s)){let o=!1,l="select";return n.inputState.lastSelectionTime>Date.now()-50&&(n.inputState.lastSelectionOrigin=="select"&&(o=!0),l=n.inputState.lastSelectionOrigin),n.dispatch({selection:i,scrollIntoView:o,userEvent:l}),!0}else return!1}function HL(n,e,t,i){let s=Math.min(n.length,e.length),r=0;for(;r0&&l>0&&n.charCodeAt(o-1)==e.charCodeAt(l-1);)o--,l--;if(i=="end"){let a=Math.max(0,r-Math.min(o,l));t-=o+a-r}if(o=o?r-t:0;r-=a,l=r+(l-o),o=r}else if(l=l?r-t:0;r-=a,o=r+(o-l),l=r}return{from:r,toA:o,toB:l}}function UL(n){let e=[];if(n.root.activeElement!=n.contentDOM)return e;let{anchorNode:t,anchorOffset:i,focusNode:s,focusOffset:r}=n.observer.selectionRange;return t&&(e.push(new $0(t,i)),(s!=t||r!=i)&&e.push(new $0(s,r))),e}function GL(n,e){if(n.length==0)return null;let t=n[0].pos,i=n.length==2?n[1].pos:t;return t>-1&&i>-1?de.single(t+e,i+e):null}const jL={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Xf=Pe.ie&&Pe.ie_version<=11;class qL{constructor(e){this.view=e,this.active=!1,this.selectionRange=new Wx,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.resizeContent=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let i of t)this.queue.push(i);(Pe.ie&&Pe.ie_version<=11||Pe.ios&&e.composing)&&t.some(i=>i.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),Xf&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var t;((t=this.view.docView)===null||t===void 0?void 0:t.lastUpdate)this.view.requestMeasure()),this.resizeContent.observe(e.contentDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(t=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runScrollHandlers(this.view,e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,i)=>t!=e[i]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:i}=this,s=this.selectionRange;if(i.state.facet(df)?i.root.activeElement!=this.dom:!bu(i.dom,s))return;let r=s.anchorNode&&i.docView.nearest(s.anchorNode);if(r&&r.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(Pe.ie&&Pe.ie_version<=11||Pe.android&&Pe.chrome)&&!i.state.selection.main.empty&&s.focusNode&&ic(s.focusNode,s.focusOffset,s.anchorNode,s.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=Pe.safari&&e.root.nodeType==11&&Px(this.dom.ownerDocument)==this.dom&&YL(this.view)||tc(e.root);if(!t||this.selectionRange.eq(t))return!1;let i=bu(this.dom,t);return i&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let r=this.delayedAndroidKey;r&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=r.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&r.force&&Wo(this.dom,r.key,r.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(s)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,i=-1,s=!1;for(let r of e){let o=this.readMutation(r);o&&(o.typeOver&&(s=!0),t==-1?{from:t,to:i}=o:(t=Math.min(o.from,t),i=Math.max(o.to,i)))}return{from:t,to:i,typeOver:s}}readChange(){let{from:e,to:t,typeOver:i}=this.processRecords(),s=this.selectionChanged&&bu(this.dom,this.selectionRange);return e<0&&!s?null:(e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1,new VL(this.view,e,t,i))}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return!1;let i=this.view.state,s=qk(this.view,t);return this.view.state==i&&this.view.update([]),s}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty(e.type=="attributes"),e.type=="attributes"&&(t.dirty|=4),e.type=="childList"){let i=m_(t,e.previousSibling||e.target.previousSibling,-1),s=m_(t,e.nextSibling||e.target.nextSibling,1);return{from:i?t.posAfter(i):t.posAtStart,to:s?t.posBefore(s):t.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,t,i,s;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(t=this.gapIntersection)===null||t===void 0||t.disconnect(),(i=this.resizeScroll)===null||i===void 0||i.disconnect(),(s=this.resizeContent)===null||s===void 0||s.disconnect();for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function m_(n,e,t){for(;e;){let i=Dt.get(e);if(i&&i.parent==n)return i;let s=e.parentNode;e=s!=n.dom?s:t>0?e.nextSibling:e.previousSibling}return null}function YL(n){let e=null;function t(a){a.preventDefault(),a.stopImmediatePropagation(),e=a.getTargetRanges()[0]}if(n.contentDOM.addEventListener("beforeinput",t,!0),n.dom.ownerDocument.execCommand("indent"),n.contentDOM.removeEventListener("beforeinput",t,!0),!e)return null;let i=e.startContainer,s=e.startOffset,r=e.endContainer,o=e.endOffset,l=n.docView.domAtPos(n.state.selection.main.anchor);return ic(l.node,l.offset,r,o)&&([i,s,r,o]=[r,o,i,s]),{anchorNode:i,anchorOffset:s,focusNode:r,focusOffset:o}}class He{constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: fixed; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=e.dispatch||(t=>this.update([t])),this.dispatch=this.dispatch.bind(this),this._root=e.root||Vx(e.parent)||document,this.viewState=new p_(e.state||pt.create(e)),this.plugins=this.state.facet(Nl).map(t=>new Gf(t));for(let t of this.plugins)t.update(this);this.observer=new qL(this),this.inputState=new gL(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new J0(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}dispatch(...e){let t=e.length==1&&e[0]instanceof gi?e[0]:this.state.update(...e);this._dispatch(t,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,i=!1,s,r=this.state;for(let h of e){if(h.startState!=r)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");r=h.state}if(this.destroyed){this.viewState.state=r;return}let o=this.hasFocus,l=0,a=null;e.some(h=>h.annotation(Fk))?(this.inputState.notifiedFocused=o,l=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,a=Wk(r,o),a||(l=1));let u=this.observer.delayedAndroidKey,c=null;if(u?(this.observer.clearDelayedAndroidKey(),c=this.observer.readChange(),(c&&!this.state.doc.eq(r.doc)||!this.state.selection.eq(r.selection))&&(c=null)):this.observer.clear(),r.facet(pt.phrases)!=this.state.facet(pt.phrases))return this.setState(r);s=rc.create(this,r,e),s.flags|=l;let f=this.viewState.scrollTarget;try{this.updateState=2;for(let h of e){if(f&&(f=f.map(h.changes)),h.scrollIntoView){let{main:d}=h.state.selection;f=new sc(d.empty?d:de.cursor(d.head,d.head>d.anchor?-1:1))}for(let d of h.effects)d.is(X0)&&(f=d.value)}this.viewState.update(s,f),this.bidiCache=oc.update(this.bidiCache,s.changes),s.empty||(this.updatePlugins(s),this.inputState.update(s)),t=this.docView.update(s),this.state.facet(Dl)!=this.styleModules&&this.mountStyles(),i=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(h=>h.isUserEvent("select.pointer")))}finally{this.updateState=0}if(s.startState.facet(Ua)!=s.state.facet(Ua)&&(this.viewState.mustMeasureContent=!0),(t||i||f||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!s.empty)for(let h of this.state.facet(vd))h(s);(a||c)&&Promise.resolve().then(()=>{a&&this.state==a.startState&&this.dispatch(a),c&&!qk(this,c)&&u.force&&Wo(this.contentDOM,u.key,u.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let i of this.plugins)i.destroy(this);this.viewState=new p_(e),this.plugins=e.facet(Nl).map(i=>new Gf(i)),this.pluginMap.clear();for(let i of this.plugins)i.update(this);this.docView=new J0(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(Nl),i=e.state.facet(Nl);if(t!=i){let s=[];for(let r of i){let o=t.indexOf(r);if(o<0)s.push(new Gf(r));else{let l=this.plugins[o];l.mustUpdate=e,s.push(l)}}for(let r of this.plugins)r.mustUpdate!=e&&r.destroy(this);this.plugins=s,this.pluginMap.clear(),this.inputState.ensureHandlers(this,this.plugins)}else for(let s of this.plugins)s.mustUpdate=e;for(let s=0;s-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,i=this.scrollDOM,{scrollTop:s}=i,{scrollAnchorPos:r,scrollAnchorHeight:o}=this.viewState;if(this.viewState.scrollAnchorHeight=-1,o<0||s!=this.viewState.scrollTop)if(s>i.scrollHeight-i.clientHeight-4)r=-1,o=this.viewState.heightMap.height;else{let l=this.viewState.lineBlockAtHeight(s);r=l.from,o=l.top}try{for(let l=0;;l++){this.updateState=1;let a=this.viewport,u=this.viewState.measure(this);if(!u&&!this.measureRequests.length&&this.viewState.scrollTarget==null||l>5)break;let c=[];u&4||([this.measureRequests,c]=[c,this.measureRequests]);let f=c.map(g=>{try{return g.read(this)}catch(m){return Yn(this.state,m),__}}),h=rc.create(this,this.state,[]),d=!1,p=!1;h.flags|=u,t?t.flags|=u:t=h,this.updateState=2,h.empty||(this.updatePlugins(h),this.inputState.update(h),this.updateAttrs(),d=this.docView.update(h));for(let g=0;g-1){let m=(r<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(r).top)-o;(m>1||m<-1)&&(i.scrollTop=s+m,p=!0)}}if(d&&this.docView.updateSelection(!0),this.viewport.from==a.from&&this.viewport.to==a.to&&!p&&this.measureRequests.length==0)break;o=-1}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let l of this.state.facet(vd))l(t)}get themeClasses(){return Ad+" "+(this.state.facet(Ed)?Gk:Uk)+" "+this.state.facet(Ua)}updateAttrs(){let e=b_(this,Sk,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(df)?"true":"false",class:"cm-content",style:`${Pe.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),b_(this,Kp,t);let i=this.observer.ignore(()=>{let s=bd(this.contentDOM,this.contentAttrs,t),r=bd(this.dom,this.editorAttrs,e);return s||r});return this.editorAttrs=e,this.contentAttrs=t,i}showAnnouncements(e){let t=!0;for(let i of e)for(let s of i.effects)if(s.is(He.announce)){t&&(this.announceDOM.textContent=""),t=!1;let r=this.announceDOM.appendChild(document.createElement("div"));r.textContent=s.value}}mountStyles(){this.styleModules=this.state.facet(Dl),Tr.mount(this.root,this.styleModules.concat(WL).reverse())}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let t=0;ti.spec==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,i){return qf(this,e,n_(this,e,t,i))}moveByGroup(e,t){return qf(this,e,n_(this,e,t,i=>dL(this,e.head,i)))}moveToLineBoundary(e,t,i=!0){return hL(this,e,t,i)}moveVertically(e,t,i){return qf(this,e,pL(this,e,t,i))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),xk(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let i=this.docView.coordsAt(e,t);if(!i||i.left==i.right)return i;let s=this.state.doc.lineAt(e),r=this.bidiSpans(s),o=r[Vo.find(r,e-s.from,-1,t)];return cf(i,o.dir==qt.LTR==t>0)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(wk)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>XL)return Ek(e.length);let t=this.textDirectionAt(e.from);for(let s of this.bidiCache)if(s.from==e.from&&s.dir==t)return s.order;let i=Zx(e.text,t);return this.bidiCache.push(new oc(e.from,e.to,t,i)),i}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||Pe.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{ek(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return X0.of(new sc(typeof e=="number"?de.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}static domEventHandlers(e){return Qi.define(()=>({}),{eventHandlers:e})}static theme(e,t){let i=Tr.newName(),s=[Ua.of(i),Dl.of(Od(`.${i}`,e))];return t&&t.dark&&s.push(Ed.of(!0)),s}static baseTheme(e){return pa.lowest(Dl.of(Od("."+Ad,e,jk)))}static findFromDOM(e){var t;let i=e.querySelector(".cm-content"),s=i&&Dt.get(i)||Dt.get(e);return((t=s==null?void 0:s.rootView)===null||t===void 0?void 0:t.view)||null}}He.styleModule=Dl;He.inputHandler=yk;He.focusChangeEffect=vk;He.perLineTextDirection=wk;He.exceptionSink=bk;He.updateListener=vd;He.editable=df;He.mouseSelectionStyle=_k;He.dragMovesSelection=mk;He.clickAddsSelectionRange=gk;He.decorations=ia;He.atomicRanges=$p;He.scrollMargins=Tk;He.darkTheme=Ed;He.contentAttributes=Kp;He.editorAttributes=Sk;He.lineWrapping=He.contentAttributes.of({class:"cm-lineWrapping"});He.announce=dt.define();const XL=4096,__={};class oc{constructor(e,t,i,s){this.from=e,this.to=t,this.dir=i,this.order=s}static update(e,t){if(t.empty)return e;let i=[],s=e.length?e[e.length-1].dir:qt.LTR;for(let r=Math.max(0,e.length-10);r=0;s--){let r=i[s],o=typeof r=="function"?r(n):r;o&&_d(o,t)}return t}const KL=Pe.mac?"mac":Pe.windows?"win":Pe.linux?"linux":"key";function $L(n,e){const t=n.split(/-(?!$)/);let i=t[t.length-1];i=="Space"&&(i=" ");let s,r,o,l;for(let a=0;ai.concat(s),[]))),t}let rr=null;const QL=4e3;function e3(n,e=KL){let t=Object.create(null),i=Object.create(null),s=(o,l)=>{let a=i[o];if(a==null)i[o]=l;else if(a!=l)throw new Error("Key binding "+o+" is used both as a regular binding and as a multi-stroke prefix")},r=(o,l,a,u)=>{var c,f;let h=t[o]||(t[o]=Object.create(null)),d=l.split(/ (?!$)/).map(m=>$L(m,e));for(let m=1;m{let y=rr={view:b,prefix:_,scope:o};return setTimeout(()=>{rr==y&&(rr=null)},QL),!0}]})}let p=d.join(" ");s(p,!1);let g=h[p]||(h[p]={preventDefault:!1,run:((f=(c=h._any)===null||c===void 0?void 0:c.run)===null||f===void 0?void 0:f.slice())||[]});a&&g.run.push(a),u&&(g.preventDefault=!0)};for(let o of n){let l=o.scope?o.scope.split(" "):["editor"];if(o.any)for(let u of l){let c=t[u]||(t[u]=Object.create(null));c._any||(c._any={preventDefault:!1,run:[]});for(let f in c)c[f].run.push(o.any)}let a=o[e]||o.key;if(a)for(let u of l)r(u,a,o.run,o.preventDefault),o.shift&&r(u,"Shift-"+a,o.shift,o.preventDefault)}return t}function t3(n,e,t,i){let s=Rx(e),r=$i(s,0),o=ns(r)==s.length&&s!=" ",l="",a=!1;rr&&rr.view==t&&rr.scope==i&&(l=rr.prefix+" ",(a=Mk.indexOf(e.keyCode)<0)&&(rr=null));let u=new Set,c=p=>{if(p){for(let g of p.run)if(!u.has(g)&&(u.add(g),g(t,e)))return!0;p.preventDefault&&(a=!0)}return!1},f=n[i],h,d;if(f){if(c(f[l+Ga(s,e,!o)]))return!0;if(o&&(e.altKey||e.metaKey||e.ctrlKey)&&!(Pe.windows&&e.ctrlKey&&e.altKey)&&(h=Cr[e.keyCode])&&h!=s){if(c(f[l+Ga(h,e,!0)]))return!0;if(e.shiftKey&&(d=ta[e.keyCode])!=s&&d!=h&&c(f[l+Ga(d,e,!1)]))return!0}else if(o&&e.shiftKey&&c(f[l+Ga(s,e,!0)]))return!0;if(c(f._any))return!0}return a}class _a{constructor(e,t,i,s,r){this.className=e,this.left=t,this.top=i,this.width=s,this.height=r}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,t,i){if(i.empty){let s=e.coordsAtPos(i.head,i.assoc||1);if(!s)return[];let r=Yk(e);return[new _a(t,s.left-r.left,s.top-r.top,null,s.bottom-s.top)]}else return i3(e,t,i)}}function Yk(n){let e=n.scrollDOM.getBoundingClientRect();return{left:(n.textDirection==qt.LTR?e.left:e.right-n.scrollDOM.clientWidth)-n.scrollDOM.scrollLeft,top:e.top-n.scrollDOM.scrollTop}}function v_(n,e,t){let i=de.cursor(e);return{from:Math.max(t.from,n.moveToLineBoundary(i,!1,!0).from),to:Math.min(t.to,n.moveToLineBoundary(i,!0,!0).from),type:Yt.Text}}function i3(n,e,t){if(t.to<=n.viewport.from||t.from>=n.viewport.to)return[];let i=Math.max(t.from,n.viewport.from),s=Math.min(t.to,n.viewport.to),r=n.textDirection==qt.LTR,o=n.contentDOM,l=o.getBoundingClientRect(),a=Yk(n),u=o.querySelector(".cm-line"),c=u&&window.getComputedStyle(u),f=l.left+(c?parseInt(c.paddingLeft)+Math.min(0,parseInt(c.textIndent)):0),h=l.right-(c?parseInt(c.paddingRight):0),d=Td(n,i),p=Td(n,s),g=d.type==Yt.Text?d:null,m=p.type==Yt.Text?p:null;if(g&&(n.lineWrapping||d.widgetLineBreaks)&&(g=v_(n,i,g)),m&&(n.lineWrapping||p.widgetLineBreaks)&&(m=v_(n,s,m)),g&&m&&g.from==m.from)return b(y(t.from,t.to,g));{let T=g?y(t.from,null,g):k(d,!1),I=m?y(null,t.to,m):k(p,!0),R=[];return(g||d).to<(m||p).from-(g&&m?1:0)||d.widgetLineBreaks>1&&T.bottom+n.defaultLineHeight/2M&&V.from=q)break;ce>X&&D(Math.max(J,X),T==null&&J<=M,Math.min(ce,q),I==null&&ce>=L,Q.dir)}if(X=K.to+1,X>=q)break}return O.length==0&&D(M,T==null,L,I==null,n.textDirection),{top:x,bottom:N,horizontal:O}}function k(T,I){let R=l.top+(I?T.top:T.bottom);return{top:R,bottom:R,horizontal:[]}}}function n3(n,e){return n.constructor==e.constructor&&n.eq(e)}class s3{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(wu)!=e.state.facet(wu)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&e.view.requestMeasure(this.measureReq)}setOrder(e){let t=0,i=e.facet(wu);for(;t!n3(t,this.drawn[i]))){let t=this.dom.firstChild,i=0;for(let s of e)s.update&&t&&s.constructor&&this.drawn[i].constructor&&s.update(t,this.drawn[i])?(t=t.nextSibling,i++):this.dom.insertBefore(s.draw(),t);for(;t;){let s=t.nextSibling;t.remove(),t=s}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const wu=We.define();function Xk(n){return[Qi.define(e=>new s3(e,n)),wu.of(n)]}const Kk=!Pe.ios,na=We.define({combine(n){return ro(n,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}});function r3(n={}){return[na.of(n),o3,l3,a3,kk.of(!0)]}function $k(n){return n.startState.facet(na)!=n.state.facet(na)}const o3=Xk({above:!0,markers(n){let{state:e}=n,t=e.facet(na),i=[];for(let s of e.selection.ranges){let r=s==e.selection.main;if(s.empty?!r||Kk:t.drawRangeCursor){let o=r?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",l=s.empty?s:de.cursor(s.head,s.head>s.anchor?-1:1);for(let a of _a.forRange(n,o,l))i.push(a)}}return i},update(n,e){n.transactions.some(i=>i.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let t=$k(n);return t&&w_(n.state,e),n.docChanged||n.selectionSet||t},mount(n,e){w_(e.state,n)},class:"cm-cursorLayer"});function w_(n,e){e.style.animationDuration=n.facet(na).cursorBlinkRate+"ms"}const l3=Xk({above:!1,markers(n){return n.state.selection.ranges.map(e=>e.empty?[]:_a.forRange(n,"cm-selectionBackground",e)).reduce((e,t)=>e.concat(t))},update(n,e){return n.docChanged||n.selectionSet||n.viewportChanged||$k(n)},class:"cm-selectionLayer"}),Jk={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};Kk&&(Jk[".cm-line"].caretColor="transparent !important");const a3=pa.highest(He.theme(Jk));function k_(n,e,t,i,s){e.lastIndex=0;for(let r=n.iterRange(t,i),o=t,l;!r.next().done;o+=r.value.length)if(!r.lineBreak)for(;l=e.exec(r.value);)s(o+l.index,l)}function u3(n,e){let t=n.visibleRanges;if(t.length==1&&t[0].from==n.viewport.from&&t[0].to==n.viewport.to)return t;let i=[];for(let{from:s,to:r}of t)s=Math.max(n.state.doc.lineAt(s).from,s-e),r=Math.min(n.state.doc.lineAt(r).to,r+e),i.length&&i[i.length-1].to>=s?i[i.length-1].to=r:i.push({from:s,to:r});return i}class c3{constructor(e){const{regexp:t,decoration:i,decorate:s,boundary:r,maxLength:o=1e3}=e;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,s)this.addMatch=(l,a,u,c)=>s(c,u,u+l[0].length,l,a);else if(typeof i=="function")this.addMatch=(l,a,u,c)=>{let f=i(l,a,u);f&&c(u,u+l[0].length,f)};else if(i)this.addMatch=(l,a,u,c)=>c(u,u+l[0].length,i);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=r,this.maxLength=o}createDeco(e){let t=new io,i=t.add.bind(t);for(let{from:s,to:r}of u3(e,this.maxLength))k_(e.state.doc,this.regexp,s,r,(o,l)=>this.addMatch(l,e,o,i));return t.finish()}updateDeco(e,t){let i=1e9,s=-1;return e.docChanged&&e.changes.iterChanges((r,o,l,a)=>{a>e.view.viewport.from&&l1e3?this.createDeco(e.view):s>-1?this.updateRange(e.view,t.map(e.changes),i,s):t}updateRange(e,t,i,s){for(let r of e.visibleRanges){let o=Math.max(r.from,i),l=Math.min(r.to,s);if(l>o){let a=e.state.doc.lineAt(o),u=a.toa.from;o--)if(this.boundary.test(a.text[o-1-a.from])){c=o;break}for(;lh.push(_.range(g,m));if(a==u)for(this.regexp.lastIndex=c-a.from;(d=this.regexp.exec(a.text))&&d.indexthis.addMatch(m,e,g,p));t=t.update({filterFrom:c,filterTo:f,filter:(g,m)=>gf,add:h})}}return t}}const Nd=/x/.unicode!=null?"gu":"g",f3=new RegExp(`[\0-\b +--Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,Nd),h3={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let Kf=null;function d3(){var n;if(Kf==null&&typeof document<"u"&&document.body){let e=document.body.style;Kf=((n=e.tabSize)!==null&&n!==void 0?n:e.MozTabSize)!=null}return Kf||!1}const ku=We.define({combine(n){let e=ro(n,{render:null,specialChars:f3,addSpecialChars:null});return(e.replaceTabs=!d3())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,Nd)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,Nd)),e}});function p3(n={}){return[ku.of(n),g3()]}let S_=null;function g3(){return S_||(S_=Qi.fromClass(class{constructor(n){this.view=n,this.decorations=ut.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(n.state.facet(ku)),this.decorations=this.decorator.createDeco(n)}makeDecorator(n){return new c3({regexp:n.specialChars,decoration:(e,t,i)=>{let{doc:s}=t.state,r=$i(e[0],0);if(r==9){let o=s.lineAt(i),l=t.state.tabSize,a=ga(o.text,l,i-o.from);return ut.replace({widget:new y3((l-a%l)*this.view.defaultCharacterWidth)})}return this.decorationCache[r]||(this.decorationCache[r]=ut.replace({widget:new b3(n,r)}))},boundary:n.replaceTabs?void 0:/[^]/})}update(n){let e=n.state.facet(ku);n.startState.facet(ku)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(n.view)):this.decorations=this.decorator.updateDeco(n,this.decorations)}},{decorations:n=>n.decorations}))}const m3="•";function _3(n){return n>=32?m3:n==10?"␤":String.fromCharCode(9216+n)}class b3 extends Xs{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=_3(this.code),i=e.state.phrase("Control character")+" "+(h3[this.code]||"0x"+this.code.toString(16)),s=this.options.render&&this.options.render(this.code,i,t);if(s)return s;let r=document.createElement("span");return r.textContent=t,r.title=i,r.setAttribute("aria-label",i),r.className="cm-specialChar",r}ignoreEvent(){return!1}}class y3 extends Xs{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}class v3 extends Xs{constructor(e){super(),this.content=e}toDOM(){let e=document.createElement("span");return e.className="cm-placeholder",e.style.pointerEvents="none",e.appendChild(typeof this.content=="string"?document.createTextNode(this.content):this.content),typeof this.content=="string"?e.setAttribute("aria-label","placeholder "+this.content):e.setAttribute("aria-hidden","true"),e}coordsAt(e){let t=e.firstChild?Qo(e.firstChild):[];if(!t.length)return null;let i=window.getComputedStyle(e.parentNode),s=cf(t[0],i.direction!="rtl"),r=parseInt(i.lineHeight);return s.bottom-s.top>r*1.5?{left:s.left,right:s.right,top:s.top,bottom:s.top+r}:s}ignoreEvent(){return!1}}function w3(n){return Qi.fromClass(class{constructor(e){this.view=e,this.placeholder=ut.set([ut.widget({widget:new v3(n),side:1}).range(0)])}get decorations(){return this.view.state.doc.length?ut.none:this.placeholder}},{decorations:e=>e.decorations})}const Dd=2e3;function k3(n,e,t){let i=Math.min(e.line,t.line),s=Math.max(e.line,t.line),r=[];if(e.off>Dd||t.off>Dd||e.col<0||t.col<0){let o=Math.min(e.off,t.off),l=Math.max(e.off,t.off);for(let a=i;a<=s;a++){let u=n.doc.line(a);u.length<=l&&r.push(de.range(u.from+o,u.to+l))}}else{let o=Math.min(e.col,t.col),l=Math.max(e.col,t.col);for(let a=i;a<=s;a++){let u=n.doc.line(a),c=ud(u.text,o,n.tabSize,!0);if(c<0)r.push(de.cursor(u.to));else{let f=ud(u.text,l,n.tabSize);r.push(de.range(u.from+c,u.from+f))}}}return r}function S3(n,e){let t=n.coordsAtPos(n.viewport.from);return t?Math.round(Math.abs((t.left-e)/n.defaultCharacterWidth)):-1}function T_(n,e){let t=n.posAtCoords({x:e.clientX,y:e.clientY},!1),i=n.state.doc.lineAt(t),s=t-i.from,r=s>Dd?-1:s==i.length?S3(n,e.clientX):ga(i.text,n.state.tabSize,t-i.from);return{line:i.number,col:r,off:s}}function T3(n,e){let t=T_(n,e),i=n.state.selection;return t?{update(s){if(s.docChanged){let r=s.changes.mapPos(s.startState.doc.line(t.line).from),o=s.state.doc.lineAt(r);t={line:o.number,col:t.col,off:Math.min(t.off,o.length)},i=i.map(s.changes)}},get(s,r,o){let l=T_(n,s);if(!l)return i;let a=k3(n.state,t,l);return a.length?o?de.create(a.concat(i.ranges)):de.create(a):i}}:null}function C3(n){let e=(n==null?void 0:n.eventFilter)||(t=>t.altKey&&t.button==0);return He.mouseSelectionStyle.of((t,i)=>e(i)?T3(t,i):null)}const I3={Alt:[18,n=>!!n.altKey],Control:[17,n=>!!n.ctrlKey],Shift:[16,n=>!!n.shiftKey],Meta:[91,n=>!!n.metaKey]},E3={style:"cursor: crosshair"};function A3(n={}){let[e,t]=I3[n.key||"Alt"],i=Qi.fromClass(class{constructor(s){this.view=s,this.isDown=!1}set(s){this.isDown!=s&&(this.isDown=s,this.view.update([]))}},{eventHandlers:{keydown(s){this.set(s.keyCode==e||t(s))},keyup(s){(s.keyCode==e||!t(s))&&this.set(!1)},mousemove(s){this.set(t(s))}}});return[i,He.contentAttributes.of(s=>{var r;return!((r=s.plugin(i))===null||r===void 0)&&r.isDown?E3:null})]}const ja="-10000px";class Zk{constructor(e,t,i){this.facet=t,this.createTooltipView=i,this.input=e.state.facet(t),this.tooltips=this.input.filter(s=>s),this.tooltipViews=this.tooltips.map(i)}update(e){var t;let i=e.state.facet(this.facet),s=i.filter(o=>o);if(i===this.input){for(let o of this.tooltipViews)o.update&&o.update(e);return!1}let r=[];for(let o=0;o{var e,t,i;return{position:Pe.ios?"absolute":((e=n.find(s=>s.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((t=n.find(s=>s.parent))===null||t===void 0?void 0:t.parent)||null,tooltipSpace:((i=n.find(s=>s.tooltipSpace))===null||i===void 0?void 0:i.tooltipSpace)||O3}}}),C_=new WeakMap,Qk=Qi.fromClass(class{constructor(n){this.view=n,this.inView=!0,this.lastTransaction=0,this.measureTimeout=-1;let e=n.state.facet($f);this.position=e.position,this.parent=e.parent,this.classes=n.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new Zk(n,Qp,t=>this.createTooltip(t)),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),n.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let n of this.manager.tooltipViews)this.intersectionObserver.observe(n.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(n){n.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(n);e&&this.observeIntersection();let t=e||n.geometryChanged,i=n.state.facet($f);if(i.position!=this.position){this.position=i.position;for(let s of this.manager.tooltipViews)s.dom.style.position=this.position;t=!0}if(i.parent!=this.parent){this.parent&&this.container.remove(),this.parent=i.parent,this.createContainer();for(let s of this.manager.tooltipViews)this.container.appendChild(s.dom);t=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);t&&this.maybeMeasure()}createTooltip(n){let e=n.create(this.view);if(e.dom.classList.add("cm-tooltip"),n.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let t=document.createElement("div");t.className="cm-tooltip-arrow",e.dom.appendChild(t)}return e.dom.style.position=this.position,e.dom.style.top=ja,this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var n,e;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),(n=t.destroy)===null||n===void 0||n.call(t);(e=this.intersectionObserver)===null||e===void 0||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let n=this.view.dom.getBoundingClientRect();return{editor:n,parent:this.parent?this.container.getBoundingClientRect():n,pos:this.manager.tooltips.map((e,t)=>{let i=this.manager.tooltipViews[t];return i.getCoords?i.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet($f).tooltipSpace(this.view)}}writeMeasure(n){var e;let{editor:t,space:i}=n,s=[];for(let r=0;r=Math.min(t.bottom,i.bottom)||u.rightMath.min(t.right,i.right)+.1){a.style.top=ja;continue}let f=o.arrow?l.dom.querySelector(".cm-tooltip-arrow"):null,h=f?7:0,d=c.right-c.left,p=(e=C_.get(l))!==null&&e!==void 0?e:c.bottom-c.top,g=l.offset||D3,m=this.view.textDirection==qt.LTR,_=c.width>i.right-i.left?m?i.left:i.right-c.width:m?Math.min(u.left-(f?14:0)+g.x,i.right-d):Math.max(i.left,u.left-d+(f?14:0)-g.x),b=!!o.above;!o.strictSide&&(b?u.top-(c.bottom-c.top)-g.yi.bottom)&&b==i.bottom-u.bottom>u.top-i.top&&(b=!b);let y=(b?u.top-i.top:i.bottom-u.bottom)-h;if(y_&&I.topk&&(k=b?I.top-p-2-h:I.bottom+h+2);this.position=="absolute"?(a.style.top=k-n.parent.top+"px",a.style.left=_-n.parent.left+"px"):(a.style.top=k+"px",a.style.left=_+"px"),f&&(f.style.left=`${u.left+(m?g.x:-g.x)-(_+14-7)}px`),l.overlap!==!0&&s.push({left:_,top:k,right:T,bottom:k+p}),a.classList.toggle("cm-tooltip-above",b),a.classList.toggle("cm-tooltip-below",!b),l.positioned&&l.positioned(n.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let n of this.manager.tooltipViews)n.dom.style.top=ja}},{eventHandlers:{scroll(){this.maybeMeasure()}}}),N3=He.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),D3={x:0,y:0},Qp=We.define({enables:[Qk,N3]}),lc=We.define();class eg{constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new Zk(e,lc,t=>this.createHostedView(t))}static create(e){return new eg(e)}createHostedView(e){let t=e.create(this.view);return t.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(t.dom),this.mounted&&t.mount&&t.mount(this.view),t}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)(e=t.destroy)===null||e===void 0||e.call(t)}}const x3=Qp.compute([lc],n=>{let e=n.facet(lc).filter(t=>t);return e.length===0?null:{pos:Math.min(...e.map(t=>t.pos)),end:Math.max(...e.filter(t=>t.end!=null).map(t=>t.end)),create:eg.create,above:e[0].above,arrow:e.some(t=>t.arrow)}});class L3{constructor(e,t,i,s,r){this.view=e,this.source=t,this.field=i,this.setHover=s,this.hoverTime=r,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let e=Date.now()-this.lastMove.time;ei.bottom||e.xi.right+this.view.defaultCharacterWidth)return;let s=this.view.bidiSpans(this.view.state.doc.lineAt(t)).find(l=>l.from<=t&&l.to>=t),r=s&&s.dir==qt.RTL?-1:1,o=this.source(this.view,t,e.x{this.pending==l&&(this.pending=null,a&&this.view.dispatch({effects:this.setHover.of(a)}))},a=>Yn(this.view.state,a,"hover tooltip"))}else o&&this.view.dispatch({effects:this.setHover.of(o)})}mousemove(e){var t;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let i=this.active;if(i&&!I_(this.lastMove.target)||this.pending){let{pos:s}=i||this.pending,r=(t=i==null?void 0:i.end)!==null&&t!==void 0?t:s;(s==r?this.view.posAtCoords(this.lastMove)!=s:!M3(this.view,s,r,e.clientX,e.clientY,6))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&!I_(e.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}function I_(n){for(let e=n;e;e=e.parentNode)if(e.nodeType==1&&e.classList.contains("cm-tooltip"))return!0;return!1}function M3(n,e,t,i,s,r){let o=document.createRange(),l=n.domAtPos(e),a=n.domAtPos(t);o.setEnd(a.node,a.offset),o.setStart(l.node,l.offset);let u=o.getClientRects();o.detach();for(let c=0;clc.from(s)});return[i,Qi.define(s=>new L3(s,n,i,t,e.hoverTime||300)),x3]}function e2(n,e){let t=n.plugin(Qk);if(!t)return null;let i=t.manager.tooltips.indexOf(e);return i<0?null:t.manager.tooltipViews[i]}const P3=dt.define(),E_=We.define({combine(n){let e,t;for(let i of n)e=e||i.topContainer,t=t||i.bottomContainer;return{topContainer:e,bottomContainer:t}}});function B3(n,e){let t=n.plugin(t2),i=t?t.specs.indexOf(e):-1;return i>-1?t.panels[i]:null}const t2=Qi.fromClass(class{constructor(n){this.input=n.state.facet(xd),this.specs=this.input.filter(t=>t),this.panels=this.specs.map(t=>t(n));let e=n.state.facet(E_);this.top=new qa(n,!0,e.topContainer),this.bottom=new qa(n,!1,e.bottomContainer),this.top.sync(this.panels.filter(t=>t.top)),this.bottom.sync(this.panels.filter(t=>!t.top));for(let t of this.panels)t.dom.classList.add("cm-panel"),t.mount&&t.mount()}update(n){let e=n.state.facet(E_);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new qa(n.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new qa(n.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let t=n.state.facet(xd);if(t!=this.input){let i=t.filter(a=>a),s=[],r=[],o=[],l=[];for(let a of i){let u=this.specs.indexOf(a),c;u<0?(c=a(n.view),l.push(c)):(c=this.panels[u],c.update&&c.update(n)),s.push(c),(c.top?r:o).push(c)}this.specs=i,this.panels=s,this.top.sync(r),this.bottom.sync(o);for(let a of l)a.dom.classList.add("cm-panel"),a.mount&&a.mount()}else for(let i of this.panels)i.update&&i.update(n)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:n=>He.scrollMargins.of(e=>{let t=e.plugin(n);return t&&{top:t.top.scrollMargin(),bottom:t.bottom.scrollMargin()}})});class qa{constructor(e,t,i){this.view=e,this.top=t,this.container=i,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let t=this.container||this.view.dom;t.insertBefore(this.dom,this.top?t.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=A_(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=A_(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function A_(n){let e=n.nextSibling;return n.remove(),e}const xd=We.define({enables:t2});class Ar extends to{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}Ar.prototype.elementClass="";Ar.prototype.toDOM=void 0;Ar.prototype.mapMode=rn.TrackBefore;Ar.prototype.startSide=Ar.prototype.endSide=-1;Ar.prototype.point=!0;const Jf=We.define(),z3={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>Tt.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Bl=We.define();function F3(n){return[i2(),Bl.of(Object.assign(Object.assign({},z3),n))]}const Ld=We.define({combine:n=>n.some(e=>e)});function i2(n){let e=[W3];return n&&n.fixed===!1&&e.push(Ld.of(!0)),e}const W3=Qi.fromClass(class{constructor(n){this.view=n,this.prevViewport=n.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight+"px",this.gutters=n.state.facet(Bl).map(e=>new N_(n,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!n.state.facet(Ld),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),n.scrollDOM.insertBefore(this.dom,n.contentDOM)}update(n){if(this.updateGutters(n)){let e=this.prevViewport,t=n.view.viewport,i=Math.min(e.to,t.to)-Math.max(e.from,t.from);this.syncGutters(i<(t.to-t.from)*.8)}n.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(Ld)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=n.view.viewport}syncGutters(n){let e=this.dom.nextSibling;n&&this.dom.remove();let t=Tt.iter(this.view.state.facet(Jf),this.view.viewport.from),i=[],s=this.gutters.map(r=>new V3(r,this.view.viewport,-this.view.documentPadding.top));for(let r of this.view.viewportLineBlocks)if(i.length&&(i=[]),Array.isArray(r.type)){let o=!0;for(let l of r.type)if(l.type==Yt.Text&&o){Md(t,i,l.from);for(let a of s)a.line(this.view,l,i);o=!1}else if(l.widget)for(let a of s)a.widget(this.view,l)}else if(r.type==Yt.Text){Md(t,i,r.from);for(let o of s)o.line(this.view,r,i)}for(let r of s)r.finish();n&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(n){let e=n.startState.facet(Bl),t=n.state.facet(Bl),i=n.docChanged||n.heightChanged||n.viewportChanged||!Tt.eq(n.startState.facet(Jf),n.state.facet(Jf),n.view.viewport.from,n.view.viewport.to);if(e==t)for(let s of this.gutters)s.update(n)&&(i=!0);else{i=!0;let s=[];for(let r of t){let o=e.indexOf(r);o<0?s.push(new N_(this.view,r)):(this.gutters[o].update(n),s.push(this.gutters[o]))}for(let r of this.gutters)r.dom.remove(),s.indexOf(r)<0&&r.destroy();for(let r of s)this.dom.appendChild(r.dom);this.gutters=s}return i}destroy(){for(let n of this.gutters)n.destroy();this.dom.remove()}},{provide:n=>He.scrollMargins.of(e=>{let t=e.plugin(n);return!t||t.gutters.length==0||!t.fixed?null:e.textDirection==qt.LTR?{left:t.dom.offsetWidth}:{right:t.dom.offsetWidth}})});function O_(n){return Array.isArray(n)?n:[n]}function Md(n,e,t){for(;n.value&&n.from<=t;)n.from==t&&e.push(n.value),n.next()}class V3{constructor(e,t,i){this.gutter=e,this.height=i,this.i=0,this.cursor=Tt.iter(e.markers,t.from)}addElement(e,t,i){let{gutter:s}=this,r=t.top-this.height;if(this.i==s.elements.length){let o=new n2(e,t.height,r,i);s.elements.push(o),s.dom.appendChild(o.dom)}else s.elements[this.i].update(e,t.height,r,i);this.height=t.bottom,this.i++}line(e,t,i){let s=[];Md(this.cursor,s,t.from),i.length&&(s=s.concat(i));let r=this.gutter.config.lineMarker(e,t,s);r&&s.unshift(r);let o=this.gutter;s.length==0&&!o.config.renderEmptyElements||this.addElement(e,t,s)}widget(e,t){let i=this.gutter.config.widgetMarker(e,t.widget,t);i&&this.addElement(e,t,[i])}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class N_{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let i in t.domEventHandlers)this.dom.addEventListener(i,s=>{let r=s.target,o;if(r!=this.dom&&this.dom.contains(r)){for(;r.parentNode!=this.dom;)r=r.parentNode;let a=r.getBoundingClientRect();o=(a.top+a.bottom)/2}else o=s.clientY;let l=e.lineBlockAtHeight(o-e.documentTop);t.domEventHandlers[i](e,l,s)&&s.preventDefault()});this.markers=O_(t.markers(e)),t.initialSpacer&&(this.spacer=new n2(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=O_(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let s=this.config.updateSpacer(this.spacer.markers[0],e);s!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[s])}let i=e.view.viewport;return!Tt.eq(this.markers,t,i.from,i.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class n2{constructor(e,t,i,s){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,i,s)}update(e,t,i,s){this.height!=t&&(this.dom.style.height=(this.height=t)+"px"),this.above!=i&&(this.dom.style.marginTop=(this.above=i)?i+"px":""),H3(this.markers,s)||this.setMarkers(e,s)}setMarkers(e,t){let i="cm-gutterElement",s=this.dom.firstChild;for(let r=0,o=0;;){let l=o,a=rr(l,a,u)||o(l,a,u):o}return i}})}});class Zf extends Ar{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function Qf(n,e){return n.state.facet(Eo).formatNumber(e,n.state)}const G3=Bl.compute([Eo],n=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(U3)},lineMarker(e,t,i){return i.some(s=>s.toDOM)?null:new Zf(Qf(e,e.state.doc.lineAt(t.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet(Eo)!=e.state.facet(Eo),initialSpacer(e){return new Zf(Qf(e,D_(e.state.doc.lines)))},updateSpacer(e,t){let i=Qf(t.view,D_(t.view.state.doc.lines));return i==e.number?e:new Zf(i)},domEventHandlers:n.facet(Eo).domEventHandlers}));function j3(n={}){return[Eo.of(n),i2(),G3]}function D_(n){let e=9;for(;e{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=wn.match(e)),t=>{let i=e(t);return i===void 0?null:[this,i]}}}rt.closedBy=new rt({deserialize:n=>n.split(" ")});rt.openedBy=new rt({deserialize:n=>n.split(" ")});rt.group=new rt({deserialize:n=>n.split(" ")});rt.contextHash=new rt({perNode:!0});rt.lookAhead=new rt({perNode:!0});rt.mounted=new rt({perNode:!0});const Y3=Object.create(null);class wn{constructor(e,t,i,s=0){this.name=e,this.props=t,this.id=i,this.flags=s}static define(e){let t=e.props&&e.props.length?Object.create(null):Y3,i=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),s=new wn(e.name||"",t,e.id,i);if(e.props){for(let r of e.props)if(Array.isArray(r)||(r=r(s)),r){if(r[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[r[0].id]=r[1]}}return s}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let t=this.prop(rt.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let i in e)for(let s of i.split(" "))t[s]=e[i];return i=>{for(let s=i.prop(rt.group),r=-1;r<(s?s.length:0);r++){let o=t[r<0?i.name:s[r]];if(o)return o}}}}wn.none=new wn("",Object.create(null),0,8);class tg{constructor(e){this.types=e;for(let t=0;t0;for(let a=this.cursor(o|vi.IncludeAnonymous);;){let u=!1;if(a.from<=r&&a.to>=s&&(!l&&a.type.isAnonymous||t(a)!==!1)){if(a.firstChild())continue;u=!0}for(;u&&i&&(l||!a.type.isAnonymous)&&i(a),!a.nextSibling();){if(!a.parent())return;u=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:sg(wn.none,this.children,this.positions,0,this.children.length,0,this.length,(t,i,s)=>new ci(this.type,t,i,s,this.propValues),e.makeTree||((t,i,s)=>new ci(wn.none,t,i,s)))}static build(e){return K3(e)}}ci.empty=new ci(wn.none,[],[],0);class ig{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new ig(this.buffer,this.index)}}class oo{constructor(e,t,i){this.buffer=e,this.length=t,this.set=i}get type(){return wn.none}toString(){let e=[];for(let t=0;t0));a=o[a+3]);return l}slice(e,t,i){let s=this.buffer,r=new Uint16Array(t-e),o=0;for(let l=e,a=0;l=e&&te;case 1:return t<=e&&i>e;case 2:return i>e;case 4:return!0}}function o2(n,e){let t=n.childBefore(e);for(;t;){let i=t.lastChild;if(!i||i.to!=t.to)break;i.type.isError&&i.from==i.to?(n=t,t=i.prevSibling):t=i}return n}function il(n,e,t,i){for(var s;n.from==n.to||(t<1?n.from>=e:n.from>e)||(t>-1?n.to<=e:n.to0?l.length:-1;e!=u;e+=t){let c=l[e],f=a[e]+o.from;if(r2(s,i,f,f+c.length)){if(c instanceof oo){if(r&vi.ExcludeBuffers)continue;let h=c.findChild(0,c.buffer.length,t,i-f,s);if(h>-1)return new fr(new X3(o,c,e,f),null,h)}else if(r&vi.IncludeAnonymous||!c.type.isAnonymous||ng(c)){let h;if(!(r&vi.IgnoreMounts)&&c.props&&(h=c.prop(rt.mounted))&&!h.overlay)return new Hs(h.tree,f,e,o);let d=new Hs(c,f,e,o);return r&vi.IncludeAnonymous||!d.type.isAnonymous?d:d.nextChild(t<0?c.children.length-1:0,t,i,s)}}}if(r&vi.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?e=o.index+t:e=t<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,i=0){let s;if(!(i&vi.IgnoreOverlays)&&(s=this._tree.prop(rt.mounted))&&s.overlay){let r=e-this.from;for(let{from:o,to:l}of s.overlay)if((t>0?o<=r:o=r:l>r))return new Hs(s.tree,s.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,i)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new cc(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return il(this,e,t,!1)}resolveInner(e,t=0){return il(this,e,t,!0)}enterUnfinishedNodesBefore(e){return o2(this,e)}getChild(e,t=null,i=null){let s=ac(this,e,t,i);return s.length?s[0]:null}getChildren(e,t=null,i=null){return ac(this,e,t,i)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return uc(this,e)}}function ac(n,e,t,i){let s=n.cursor(),r=[];if(!s.firstChild())return r;if(t!=null){for(;!s.type.is(t);)if(!s.nextSibling())return r}for(;;){if(i!=null&&s.type.is(i))return r;if(s.type.is(e)&&r.push(s.node),!s.nextSibling())return i==null?r:[]}}function uc(n,e,t=e.length-1){for(let i=n.parent;t>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(e[t]&&e[t]!=i.name)return!1;t--}}return!0}class X3{constructor(e,t,i,s){this.parent=e,this.buffer=t,this.index=i,this.start=s}}class fr{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,i){this.context=e,this._parent=t,this.index=i,this.type=e.buffer.set.types[e.buffer.buffer[i]]}child(e,t,i){let{buffer:s}=this.context,r=s.findChild(this.index+4,s.buffer[this.index+3],e,t-this.context.start,i);return r<0?null:new fr(this.context,this,r)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,i=0){if(i&vi.ExcludeBuffers)return null;let{buffer:s}=this.context,r=s.findChild(this.index+4,s.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return r<0?null:new fr(this.context,this,r)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new fr(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new fr(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new cc(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:i}=this.context,s=this.index+4,r=i.buffer[this.index+3];if(r>s){let o=i.buffer[this.index+1];e.push(i.slice(s,r,o)),t.push(0)}return new ci(this.type,e,t,this.to-this.from)}resolve(e,t=0){return il(this,e,t,!1)}resolveInner(e,t=0){return il(this,e,t,!0)}enterUnfinishedNodesBefore(e){return o2(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,i=null){let s=ac(this,e,t,i);return s.length?s[0]:null}getChildren(e,t=null,i=null){return ac(this,e,t,i)}get node(){return this}matchContext(e){return uc(this,e)}}class cc{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Hs)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let i=e._parent;i;i=i._parent)this.stack.unshift(i.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,t){this.index=e;let{start:i,buffer:s}=this.buffer;return this.type=t||s.set.types[s.buffer[e]],this.from=i+s.buffer[e+1],this.to=i+s.buffer[e+2],!0}yield(e){return e?e instanceof Hs?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,i){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,i,this.mode));let{buffer:s}=this.buffer,r=s.findChild(this.index+4,s.buffer[this.index+3],e,t-this.buffer.start,i);return r<0?!1:(this.stack.push(this.index),this.yieldBuf(r))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,i=this.mode){return this.buffer?i&vi.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,i))}parent(){if(!this.buffer)return this.yieldNode(this.mode&vi.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&vi.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:t}=this.buffer,i=this.stack.length-1;if(e<0){let s=i<0?0:this.stack[i]+4;if(this.index!=s)return this.yieldBuf(t.findChild(s,this.index,-1,0,4))}else{let s=t.buffer[this.index+3];if(s<(i<0?t.buffer.length:t.buffer[this.stack[i]+3]))return this.yieldBuf(s)}return i<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,i,{buffer:s}=this;if(s){if(e>0){if(this.index-1)for(let r=t+e,o=e<0?-1:i._tree.children.length;r!=o;r+=e){let l=i._tree.children[r];if(this.mode&vi.IncludeAnonymous||l instanceof oo||!l.type.isAnonymous||ng(l))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==s){if(s==this.index)return o;t=o,i=r+1;break e}s=this.stack[--r]}for(let s=i;s=0;r--){if(r<0)return uc(this.node,e,s);let o=i[t.buffer[this.stack[r]]];if(!o.isAnonymous){if(e[s]&&e[s]!=o.name)return!1;s--}}return!0}}function ng(n){return n.children.some(e=>e instanceof oo||!e.type.isAnonymous||ng(e))}function K3(n){var e;let{buffer:t,nodeSet:i,maxBufferLength:s=s2,reused:r=[],minRepeatType:o=i.types.length}=n,l=Array.isArray(t)?new ig(t,t.length):t,a=i.types,u=0,c=0;function f(k,T,I,R,x){let{id:N,start:O,end:D,size:M}=l,L=c;for(;M<0;)if(l.next(),M==-1){let Q=r[N];I.push(Q),R.push(O-k);return}else if(M==-3){u=N;return}else if(M==-4){c=N;return}else throw new RangeError(`Unrecognized record size: ${M}`);let V=a[N],X,q,K=O-k;if(D-O<=s&&(q=g(l.pos-T,x))){let Q=new Uint16Array(q.size-q.skip),J=l.pos-q.size,ce=Q.length;for(;l.pos>J;)ce=m(q.start,Q,ce);X=new oo(Q,D-q.start,i),K=q.start-k}else{let Q=l.pos-M;l.next();let J=[],ce=[],pe=N>=o?N:-1,qe=0,Ae=D;for(;l.pos>Q;)pe>=0&&l.id==pe&&l.size>=0?(l.end<=Ae-s&&(d(J,ce,O,qe,l.end,Ae,pe,L),qe=J.length,Ae=l.end),l.next()):f(O,Q,J,ce,pe);if(pe>=0&&qe>0&&qe-1&&qe>0){let ue=h(V);X=sg(V,J,ce,0,J.length,0,D-O,ue,ue)}else X=p(V,J,ce,D-O,L-D)}I.push(X),R.push(K)}function h(k){return(T,I,R)=>{let x=0,N=T.length-1,O,D;if(N>=0&&(O=T[N])instanceof ci){if(!N&&O.type==k&&O.length==R)return O;(D=O.prop(rt.lookAhead))&&(x=I[N]+O.length+D)}return p(k,T,I,R,x)}}function d(k,T,I,R,x,N,O,D){let M=[],L=[];for(;k.length>R;)M.push(k.pop()),L.push(T.pop()+I-x);k.push(p(i.types[O],M,L,N-x,D-N)),T.push(x-I)}function p(k,T,I,R,x=0,N){if(u){let O=[rt.contextHash,u];N=N?[O].concat(N):[O]}if(x>25){let O=[rt.lookAhead,x];N=N?[O].concat(N):[O]}return new ci(k,T,I,R,N)}function g(k,T){let I=l.fork(),R=0,x=0,N=0,O=I.end-s,D={size:0,start:0,skip:0};e:for(let M=I.pos-k;I.pos>M;){let L=I.size;if(I.id==T&&L>=0){D.size=R,D.start=x,D.skip=N,N+=4,R+=4,I.next();continue}let V=I.pos-L;if(L<0||V=o?4:0,q=I.start;for(I.next();I.pos>V;){if(I.size<0)if(I.size==-3)X+=4;else break e;else I.id>=o&&(X+=4);I.next()}x=q,R+=L,N+=X}return(T<0||R==k)&&(D.size=R,D.start=x,D.skip=N),D.size>4?D:void 0}function m(k,T,I){let{id:R,start:x,end:N,size:O}=l;if(l.next(),O>=0&&R4){let M=l.pos-(O-4);for(;l.pos>M;)I=m(k,T,I)}T[--I]=D,T[--I]=N-k,T[--I]=x-k,T[--I]=R}else O==-3?u=R:O==-4&&(c=R);return I}let _=[],b=[];for(;l.pos>0;)f(n.start||0,n.bufferStart||0,_,b,-1);let y=(e=n.length)!==null&&e!==void 0?e:_.length?b[0]+_[0].length:0;return new ci(a[n.topID],_.reverse(),b.reverse(),y)}const L_=new WeakMap;function Su(n,e){if(!n.isAnonymous||e instanceof oo||e.type!=n)return 1;let t=L_.get(e);if(t==null){t=1;for(let i of e.children){if(i.type!=n||!(i instanceof ci)){t=1;break}t+=Su(n,i)}L_.set(e,t)}return t}function sg(n,e,t,i,s,r,o,l,a){let u=0;for(let p=i;p=c)break;I+=R}if(y==k+1){if(I>c){let R=p[k];d(R.children,R.positions,0,R.children.length,g[k]+b);continue}f.push(p[k])}else{let R=g[y-1]+p[y-1].length-T;f.push(sg(n,p,g,k,y,T,R,null,a))}h.push(T+b-r)}}return d(e,t,i,s,0),(l||a)(f,h,o)}class Jr{constructor(e,t,i,s,r=!1,o=!1){this.from=e,this.to=t,this.tree=i,this.offset=s,this.open=(r?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,t=[],i=!1){let s=[new Jr(0,e.length,e,0,!1,i)];for(let r of t)r.to>e.length&&s.push(r);return s}static applyChanges(e,t,i=128){if(!t.length)return e;let s=[],r=1,o=e.length?e[0]:null;for(let l=0,a=0,u=0;;l++){let c=l=i)for(;o&&o.from=h.from||f<=h.to||u){let d=Math.max(h.from,a)-u,p=Math.min(h.to,f)-u;h=d>=p?null:new Jr(d,p,h.tree,h.offset+u,l>0,!!c)}if(h&&s.push(h),o.to>f)break;o=rnew eh(s.from,s.to)):[new eh(0,0)]:[new eh(0,e.length)],this.createParse(e,t||[],i)}parse(e,t,i){let s=this.startParse(e,t,i);for(;;){let r=s.advance();if(r)return r}}};class $3{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}new rt({perNode:!0});let J3=0;class ms{constructor(e,t,i){this.set=e,this.base=t,this.modified=i,this.id=J3++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let t=new ms([],null,[]);if(t.set.push(t),e)for(let i of e.set)t.set.push(i);return t}static defineModifier(){let e=new fc;return t=>t.modified.indexOf(e)>-1?t:fc.get(t.base||t,t.modified.concat(e).sort((i,s)=>i.id-s.id))}}let Z3=0;class fc{constructor(){this.instances=[],this.id=Z3++}static get(e,t){if(!t.length)return e;let i=t[0].instances.find(l=>l.base==e&&Q3(t,l.modified));if(i)return i;let s=[],r=new ms(s,e,t);for(let l of t)l.instances.push(r);let o=eM(t);for(let l of e.set)if(!l.modified.length)for(let a of o)s.push(fc.get(l,a));return r}}function Q3(n,e){return n.length==e.length&&n.every((t,i)=>t==e[i])}function eM(n){let e=[[]];for(let t=0;ti.length-t.length)}function a2(n){let e=Object.create(null);for(let t in n){let i=n[t];Array.isArray(i)||(i=[i]);for(let s of t.split(" "))if(s){let r=[],o=2,l=s;for(let f=0;;){if(l=="..."&&f>0&&f+3==s.length){o=1;break}let h=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);if(!h)throw new RangeError("Invalid path: "+s);if(r.push(h[0]=="*"?"":h[0][0]=='"'?JSON.parse(h[0]):h[0]),f+=h[0].length,f==s.length)break;let d=s[f++];if(f==s.length&&d=="!"){o=0;break}if(d!="/")throw new RangeError("Invalid path: "+s);l=s.slice(f)}let a=r.length-1,u=r[a];if(!u)throw new RangeError("Invalid path: "+s);let c=new hc(i,o,a>0?r.slice(0,a):null);e[u]=c.sort(e[u])}}return u2.add(e)}const u2=new rt;class hc{constructor(e,t,i,s){this.tags=e,this.mode=t,this.context=i,this.next=s}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let o=s;for(let l of r)for(let a of l.set){let u=t[a.id];if(u){o=o?o+" "+u:u;break}}return o},scope:i}}function tM(n,e){let t=null;for(let i of n){let s=i.style(e);s&&(t=t?t+" "+s:s)}return t}function iM(n,e,t,i=0,s=n.length){let r=new nM(i,Array.isArray(e)?e:[e],t);r.highlightRange(n.cursor(),i,s,"",r.highlighters),r.flush(s)}class nM{constructor(e,t,i){this.at=e,this.highlighters=t,this.span=i,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,i,s,r){let{type:o,from:l,to:a}=e;if(l>=i||a<=t)return;o.isTop&&(r=this.highlighters.filter(d=>!d.scope||d.scope(o)));let u=s,c=sM(e)||hc.empty,f=tM(r,c.tags);if(f&&(u&&(u+=" "),u+=f,c.mode==1&&(s+=(s?" ":"")+f)),this.startSpan(Math.max(t,l),u),c.opaque)return;let h=e.tree&&e.tree.prop(rt.mounted);if(h&&h.overlay){let d=e.node.enter(h.overlay[0].from+l,1),p=this.highlighters.filter(m=>!m.scope||m.scope(h.tree.type)),g=e.firstChild();for(let m=0,_=l;;m++){let b=m=y||!e.nextSibling())););if(!b||y>i)break;_=b.to+l,_>t&&(this.highlightRange(d.cursor(),Math.max(t,b.from+l),Math.min(i,_),"",p),this.startSpan(Math.min(i,_),u))}g&&e.parent()}else if(e.firstChild()){h&&(s="");do if(!(e.to<=t)){if(e.from>=i)break;this.highlightRange(e,t,i,s,r),this.startSpan(Math.min(i,e.to),u)}while(e.nextSibling());e.parent()}}}function sM(n){let e=n.type.prop(u2);for(;e&&e.context&&!n.matchContext(e.context);)e=e.next;return e||null}const Ie=ms.define,Xa=Ie(),er=Ie(),M_=Ie(er),R_=Ie(er),tr=Ie(),Ka=Ie(tr),th=Ie(tr),ps=Ie(),Rr=Ie(ps),hs=Ie(),ds=Ie(),Rd=Ie(),vl=Ie(Rd),$a=Ie(),H={comment:Xa,lineComment:Ie(Xa),blockComment:Ie(Xa),docComment:Ie(Xa),name:er,variableName:Ie(er),typeName:M_,tagName:Ie(M_),propertyName:R_,attributeName:Ie(R_),className:Ie(er),labelName:Ie(er),namespace:Ie(er),macroName:Ie(er),literal:tr,string:Ka,docString:Ie(Ka),character:Ie(Ka),attributeValue:Ie(Ka),number:th,integer:Ie(th),float:Ie(th),bool:Ie(tr),regexp:Ie(tr),escape:Ie(tr),color:Ie(tr),url:Ie(tr),keyword:hs,self:Ie(hs),null:Ie(hs),atom:Ie(hs),unit:Ie(hs),modifier:Ie(hs),operatorKeyword:Ie(hs),controlKeyword:Ie(hs),definitionKeyword:Ie(hs),moduleKeyword:Ie(hs),operator:ds,derefOperator:Ie(ds),arithmeticOperator:Ie(ds),logicOperator:Ie(ds),bitwiseOperator:Ie(ds),compareOperator:Ie(ds),updateOperator:Ie(ds),definitionOperator:Ie(ds),typeOperator:Ie(ds),controlOperator:Ie(ds),punctuation:Rd,separator:Ie(Rd),bracket:vl,angleBracket:Ie(vl),squareBracket:Ie(vl),paren:Ie(vl),brace:Ie(vl),content:ps,heading:Rr,heading1:Ie(Rr),heading2:Ie(Rr),heading3:Ie(Rr),heading4:Ie(Rr),heading5:Ie(Rr),heading6:Ie(Rr),contentSeparator:Ie(ps),list:Ie(ps),quote:Ie(ps),emphasis:Ie(ps),strong:Ie(ps),link:Ie(ps),monospace:Ie(ps),strikethrough:Ie(ps),inserted:Ie(),deleted:Ie(),changed:Ie(),invalid:Ie(),meta:$a,documentMeta:Ie($a),annotation:Ie($a),processingInstruction:Ie($a),definition:ms.defineModifier(),constant:ms.defineModifier(),function:ms.defineModifier(),standard:ms.defineModifier(),local:ms.defineModifier(),special:ms.defineModifier()};c2([{tag:H.link,class:"tok-link"},{tag:H.heading,class:"tok-heading"},{tag:H.emphasis,class:"tok-emphasis"},{tag:H.strong,class:"tok-strong"},{tag:H.keyword,class:"tok-keyword"},{tag:H.atom,class:"tok-atom"},{tag:H.bool,class:"tok-bool"},{tag:H.url,class:"tok-url"},{tag:H.labelName,class:"tok-labelName"},{tag:H.inserted,class:"tok-inserted"},{tag:H.deleted,class:"tok-deleted"},{tag:H.literal,class:"tok-literal"},{tag:H.string,class:"tok-string"},{tag:H.number,class:"tok-number"},{tag:[H.regexp,H.escape,H.special(H.string)],class:"tok-string2"},{tag:H.variableName,class:"tok-variableName"},{tag:H.local(H.variableName),class:"tok-variableName tok-local"},{tag:H.definition(H.variableName),class:"tok-variableName tok-definition"},{tag:H.special(H.variableName),class:"tok-variableName2"},{tag:H.definition(H.propertyName),class:"tok-propertyName tok-definition"},{tag:H.typeName,class:"tok-typeName"},{tag:H.namespace,class:"tok-namespace"},{tag:H.className,class:"tok-className"},{tag:H.macroName,class:"tok-macroName"},{tag:H.propertyName,class:"tok-propertyName"},{tag:H.operator,class:"tok-operator"},{tag:H.comment,class:"tok-comment"},{tag:H.meta,class:"tok-meta"},{tag:H.invalid,class:"tok-invalid"},{tag:H.punctuation,class:"tok-punctuation"}]);var ih;const Ao=new rt;function rM(n){return We.define({combine:n?e=>e.concat(n):void 0})}const oM=new rt;class os{constructor(e,t,i=[],s=""){this.data=e,this.name=s,pt.prototype.hasOwnProperty("tree")||Object.defineProperty(pt.prototype,"tree",{get(){return Bi(this)}}),this.parser=t,this.extension=[Or.of(this),pt.languageData.of((r,o,l)=>{let a=P_(r,o,l),u=a.type.prop(Ao);if(!u)return[];let c=r.facet(u),f=a.type.prop(oM);if(f){let h=a.resolve(o-a.from,l);for(let d of f)if(d.test(h,r)){let p=r.facet(d.facet);return d.type=="replace"?p:p.concat(c)}}return c})].concat(i)}isActiveAt(e,t,i=-1){return P_(e,t,i).type.prop(Ao)==this.data}findRegions(e){let t=e.facet(Or);if((t==null?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let i=[],s=(r,o)=>{if(r.prop(Ao)==this.data){i.push({from:o,to:o+r.length});return}let l=r.prop(rt.mounted);if(l){if(l.tree.prop(Ao)==this.data){if(l.overlay)for(let a of l.overlay)i.push({from:a.from+o,to:a.to+o});else i.push({from:o,to:o+r.length});return}else if(l.overlay){let a=i.length;if(s(l.tree,l.overlay[0].from+o),i.length>a)return}}for(let a=0;ai.isTop?t:void 0)]}),e.name)}configure(e,t){return new dc(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Bi(n){let e=n.field(os.state,!1);return e?e.tree:ci.empty}class lM{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let i=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-i,t-i)}}let wl=null;class pc{constructor(e,t,i=[],s,r,o,l,a){this.parser=e,this.state=t,this.fragments=i,this.tree=s,this.treeLen=r,this.viewport=o,this.skipped=l,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,t,i){return new pc(e,t,[],ci.empty,0,i,[],null)}startParse(){return this.parser.startParse(new lM(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=ci.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var i;if(typeof e=="number"){let s=Date.now()+e;e=()=>Date.now()>s}for(this.parse||(this.parse=this.startParse()),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(Jr.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=wl;wl=this;try{return e()}finally{wl=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=B_(e,t.from,t.to);return e}changes(e,t){let{fragments:i,tree:s,treeLen:r,viewport:o,skipped:l}=this;if(this.takeTree(),!e.empty){let a=[];if(e.iterChangedRanges((u,c,f,h)=>a.push({fromA:u,toA:c,fromB:f,toB:h})),i=Jr.applyChanges(i,a),s=ci.empty,r=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){l=[];for(let u of this.skipped){let c=e.mapPos(u.from,1),f=e.mapPos(u.to,-1);ce.from&&(this.fragments=B_(this.fragments,s,r),this.skipped.splice(i--,1))}return this.skipped.length>=t?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends l2{createParse(t,i,s){let r=s[0].from,o=s[s.length-1].to;return{parsedPos:r,advance(){let a=wl;if(a){for(let u of s)a.tempSkipped.push(u);e&&(a.scheduleOn=a.scheduleOn?Promise.all([a.scheduleOn,e]):e)}return this.parsedPos=o,new ci(wn.none,[],[],o-r)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return wl}}function B_(n,e,t){return Jr.applyChanges(n,[{fromA:e,toA:t,fromB:e,toB:t}])}class nl{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),i=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,i)||t.takeTree(),new nl(t)}static init(e){let t=Math.min(3e3,e.doc.length),i=pc.create(e.facet(Or).parser,e,{from:0,to:t});return i.work(20,t)||i.takeTree(),new nl(i)}}os.state=Pn.define({create:nl.init,update(n,e){for(let t of e.effects)if(t.is(os.setState))return t.value;return e.startState.facet(Or)!=e.state.facet(Or)?nl.init(e.state):n.apply(e)}});let f2=n=>{let e=setTimeout(()=>n(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(f2=n=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(n,{timeout:500-100})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const nh=typeof navigator<"u"&&(!((ih=navigator.scheduling)===null||ih===void 0)&&ih.isInputPending)?()=>navigator.scheduling.isInputPending():null,aM=Qi.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(os.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(os.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=f2(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnds+1e3,a=r.context.work(()=>nh&&nh()||Date.now()>o,s+(l?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(r.context.takeTree(),this.view.dispatch({effects:os.setState.of(new nl(r.context))})),this.chunkBudget>0&&!(a&&!l)&&this.scheduleWork(),this.checkAsyncSchedule(r.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>Yn(this.view.state,t)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Or=We.define({combine(n){return n.length?n[0]:null},enables:n=>[os.state,aM,He.contentAttributes.compute([n],e=>{let t=e.facet(n);return t&&t.name?{"data-language":t.name}:{}})]});class uM{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}const cM=We.define(),rg=We.define({combine:n=>{if(!n.length)return" ";let e=n[0];if(!e||/\S/.test(e)||Array.from(e).some(t=>t!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(n[0]));return e}});function gc(n){let e=n.facet(rg);return e.charCodeAt(0)==9?n.tabSize*e.length:e.length}function sa(n,e){let t="",i=n.tabSize,s=n.facet(rg)[0];if(s==" "){for(;e>=i;)t+=" ",e-=i;s=" "}for(let r=0;r=i.from&&s<=i.to?r&&s==e?{text:"",from:e}:(t<0?s-1&&(r+=o-this.countColumn(i,i.search(/\S|$/))),r}countColumn(e,t=e.length){return ga(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:i,from:s}=this.lineAt(e,t),r=this.options.overrideIndentation;if(r){let o=r(s);if(o>-1)return o}return this.countColumn(i,i.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const fM=new rt;function hM(n,e,t){return h2(e.resolveInner(t).enterUnfinishedNodesBefore(t),t,n)}function dM(n){return n.pos==n.options.simulateBreak&&n.options.simulateDoubleBreak}function pM(n){let e=n.type.prop(fM);if(e)return e;let t=n.firstChild,i;if(t&&(i=t.type.prop(rt.closedBy))){let s=n.lastChild,r=s&&i.indexOf(s.name)>-1;return o=>bM(o,!0,1,void 0,r&&!dM(o)?s.from:void 0)}return n.parent==null?gM:null}function h2(n,e,t){for(;n;n=n.parent){let i=pM(n);if(i)return i(lg.create(t,e,n))}return null}function gM(){return 0}class lg extends pf{constructor(e,t,i){super(e.state,e.options),this.base=e,this.pos=t,this.node=i}static create(e,t,i){return new lg(e,t,i)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let i=e.resolve(t.from);for(;i.parent&&i.parent.from==i.from;)i=i.parent;if(mM(i,e))break;t=this.state.doc.lineAt(i.from)}return this.lineIndent(t.from)}continue(){let e=this.node.parent;return e?h2(e,this.pos,this.base):0}}function mM(n,e){for(let t=e;t;t=t.parent)if(n==t)return!0;return!1}function _M(n){let e=n.node,t=e.childAfter(e.from),i=e.lastChild;if(!t)return null;let s=n.options.simulateBreak,r=n.state.doc.lineAt(t.from),o=s==null||s<=r.from?r.to:Math.min(r.to,s);for(let l=t.to;;){let a=e.childAfter(l);if(!a||a==i)return null;if(!a.type.isSkipped)return a.from{if(!n.docChanged||!n.isUserEvent("input.type")&&!n.isUserEvent("input.complete"))return n;let e=n.startState.languageDataAt("indentOnInput",n.startState.selection.main.head);if(!e.length)return n;let t=n.newDoc,{head:i}=n.newSelection.main,s=t.lineAt(i);if(i>s.from+yM)return n;let r=t.sliceString(s.from,i);if(!e.some(u=>u.test(r)))return n;let{state:o}=n,l=-1,a=[];for(let{head:u}of o.selection.ranges){let c=o.doc.lineAt(u);if(c.from==l)continue;l=c.from;let f=og(o,c.from);if(f==null)continue;let h=/^\s*/.exec(c.text)[0],d=sa(o,f);h!=d&&a.push({from:c.from,to:c.from+h.length,insert:d})}return a.length?[n,{changes:a,sequential:!0}]:n})}const wM=We.define(),kM=new rt;function SM(n,e,t){let i=Bi(n);if(i.lengtht)continue;if(r&&o.from=e&&a.to>t&&(r=a)}}return r}function TM(n){let e=n.lastChild;return e&&e.to==n.to&&e.type.isError}function mc(n,e,t){for(let i of n.facet(wM)){let s=i(n,e,t);if(s)return s}return SM(n,e,t)}function d2(n,e){let t=e.mapPos(n.from,1),i=e.mapPos(n.to,-1);return t>=i?void 0:{from:t,to:i}}const gf=dt.define({map:d2}),ba=dt.define({map:d2});function p2(n){let e=[];for(let{head:t}of n.state.selection.ranges)e.some(i=>i.from<=t&&i.to>=t)||e.push(n.lineBlockAt(t));return e}const so=Pn.define({create(){return ut.none},update(n,e){n=n.map(e.changes);for(let t of e.effects)t.is(gf)&&!CM(n,t.value.from,t.value.to)?n=n.update({add:[z_.range(t.value.from,t.value.to)]}):t.is(ba)&&(n=n.update({filter:(i,s)=>t.value.from!=i||t.value.to!=s,filterFrom:t.value.from,filterTo:t.value.to}));if(e.selection){let t=!1,{head:i}=e.selection.main;n.between(i,i,(s,r)=>{si&&(t=!0)}),t&&(n=n.update({filterFrom:i,filterTo:i,filter:(s,r)=>r<=i||s>=i}))}return n},provide:n=>He.decorations.from(n),toJSON(n,e){let t=[];return n.between(0,e.doc.length,(i,s)=>{t.push(i,s)}),t},fromJSON(n){if(!Array.isArray(n)||n.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let t=0;t{(!s||s.from>r)&&(s={from:r,to:o})}),s}function CM(n,e,t){let i=!1;return n.between(e,e,(s,r)=>{s==e&&r==t&&(i=!0)}),i}function g2(n,e){return n.field(so,!1)?e:e.concat(dt.appendConfig.of(b2()))}const IM=n=>{for(let e of p2(n)){let t=mc(n.state,e.from,e.to);if(t)return n.dispatch({effects:g2(n.state,[gf.of(t),m2(n,t)])}),!0}return!1},EM=n=>{if(!n.state.field(so,!1))return!1;let e=[];for(let t of p2(n)){let i=_c(n.state,t.from,t.to);i&&e.push(ba.of(i),m2(n,i,!1))}return e.length&&n.dispatch({effects:e}),e.length>0};function m2(n,e,t=!0){let i=n.state.doc.lineAt(e.from).number,s=n.state.doc.lineAt(e.to).number;return He.announce.of(`${n.state.phrase(t?"Folded lines":"Unfolded lines")} ${i} ${n.state.phrase("to")} ${s}.`)}const AM=n=>{let{state:e}=n,t=[];for(let i=0;i{let e=n.state.field(so,!1);if(!e||!e.size)return!1;let t=[];return e.between(0,n.state.doc.length,(i,s)=>{t.push(ba.of({from:i,to:s}))}),n.dispatch({effects:t}),!0},NM=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:IM},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:EM},{key:"Ctrl-Alt-[",run:AM},{key:"Ctrl-Alt-]",run:OM}],DM={placeholderDOM:null,placeholderText:"…"},_2=We.define({combine(n){return ro(n,DM)}});function b2(n){let e=[so,MM];return n&&e.push(_2.of(n)),e}const z_=ut.replace({widget:new class extends Xs{toDOM(n){let{state:e}=n,t=e.facet(_2),i=r=>{let o=n.lineBlockAt(n.posAtDOM(r.target)),l=_c(n.state,o.from,o.to);l&&n.dispatch({effects:ba.of(l)}),r.preventDefault()};if(t.placeholderDOM)return t.placeholderDOM(n,i);let s=document.createElement("span");return s.textContent=t.placeholderText,s.setAttribute("aria-label",e.phrase("folded code")),s.title=e.phrase("unfold"),s.className="cm-foldPlaceholder",s.onclick=i,s}}}),xM={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class sh extends Ar{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function LM(n={}){let e=Object.assign(Object.assign({},xM),n),t=new sh(e,!0),i=new sh(e,!1),s=Qi.fromClass(class{constructor(o){this.from=o.viewport.from,this.markers=this.buildMarkers(o)}update(o){(o.docChanged||o.viewportChanged||o.startState.facet(Or)!=o.state.facet(Or)||o.startState.field(so,!1)!=o.state.field(so,!1)||Bi(o.startState)!=Bi(o.state)||e.foldingChanged(o))&&(this.markers=this.buildMarkers(o.view))}buildMarkers(o){let l=new io;for(let a of o.viewportLineBlocks){let u=_c(o.state,a.from,a.to)?i:mc(o.state,a.from,a.to)?t:null;u&&l.add(a.from,a.from,u)}return l.finish()}}),{domEventHandlers:r}=e;return[s,F3({class:"cm-foldGutter",markers(o){var l;return((l=o.plugin(s))===null||l===void 0?void 0:l.markers)||Tt.empty},initialSpacer(){return new sh(e,!1)},domEventHandlers:Object.assign(Object.assign({},r),{click:(o,l,a)=>{if(r.click&&r.click(o,l,a))return!0;let u=_c(o.state,l.from,l.to);if(u)return o.dispatch({effects:ba.of(u)}),!0;let c=mc(o.state,l.from,l.to);return c?(o.dispatch({effects:gf.of(c)}),!0):!1}})}),b2()]}const MM=He.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class ul{constructor(e,t){this.specs=e;let i;function s(l){let a=Tr.newName();return(i||(i=Object.create(null)))["."+a]=l,a}const r=typeof t.all=="string"?t.all:t.all?s(t.all):void 0,o=t.scope;this.scope=o instanceof os?l=>l.prop(Ao)==o.data:o?l=>l==o:void 0,this.style=c2(e.map(l=>({tag:l.tag,class:l.class||s(Object.assign({},l,{tag:null}))})),{all:r}).style,this.module=i?new Tr(i):null,this.themeType=t.themeType}static define(e,t){return new ul(e,t||{})}}const Pd=We.define(),y2=We.define({combine(n){return n.length?[n[0]]:null}});function rh(n){let e=n.facet(Pd);return e.length?e:n.facet(y2)}function ag(n,e){let t=[PM],i;return n instanceof ul&&(n.module&&t.push(He.styleModule.of(n.module)),i=n.themeType),e!=null&&e.fallback?t.push(y2.of(n)):i?t.push(Pd.computeN([He.darkTheme],s=>s.facet(He.darkTheme)==(i=="dark")?[n]:[])):t.push(Pd.of(n)),t}class RM{constructor(e){this.markCache=Object.create(null),this.tree=Bi(e.state),this.decorations=this.buildDeco(e,rh(e.state))}update(e){let t=Bi(e.state),i=rh(e.state),s=i!=rh(e.startState);t.length{i.add(o,l,this.markCache[a]||(this.markCache[a]=ut.mark({class:a})))},s,r);return i.finish()}}const PM=pa.high(Qi.fromClass(RM,{decorations:n=>n.decorations})),BM=ul.define([{tag:H.meta,color:"#404740"},{tag:H.link,textDecoration:"underline"},{tag:H.heading,textDecoration:"underline",fontWeight:"bold"},{tag:H.emphasis,fontStyle:"italic"},{tag:H.strong,fontWeight:"bold"},{tag:H.strikethrough,textDecoration:"line-through"},{tag:H.keyword,color:"#708"},{tag:[H.atom,H.bool,H.url,H.contentSeparator,H.labelName],color:"#219"},{tag:[H.literal,H.inserted],color:"#164"},{tag:[H.string,H.deleted],color:"#a11"},{tag:[H.regexp,H.escape,H.special(H.string)],color:"#e40"},{tag:H.definition(H.variableName),color:"#00f"},{tag:H.local(H.variableName),color:"#30a"},{tag:[H.typeName,H.namespace],color:"#085"},{tag:H.className,color:"#167"},{tag:[H.special(H.variableName),H.macroName],color:"#256"},{tag:H.definition(H.propertyName),color:"#00c"},{tag:H.comment,color:"#940"},{tag:H.invalid,color:"#f00"}]),zM=1e4,FM="()[]{}",WM=new rt;function Bd(n,e,t){let i=n.prop(e<0?rt.openedBy:rt.closedBy);if(i)return i;if(n.name.length==1){let s=t.indexOf(n.name);if(s>-1&&s%2==(e<0?1:0))return[t[s+e]]}return null}function zd(n){let e=n.type.prop(WM);return e?e(n.node):n}function Oo(n,e,t,i={}){let s=i.maxScanDistance||zM,r=i.brackets||FM,o=Bi(n),l=o.resolveInner(e,t);for(let a=l;a;a=a.parent){let u=Bd(a.type,t,r);if(u&&a.from0?e>=c.from&&ec.from&&e<=c.to))return VM(n,e,t,a,c,u,r)}}return HM(n,e,t,o,l.type,s,r)}function VM(n,e,t,i,s,r,o){let l=i.parent,a={from:s.from,to:s.to},u=0,c=l==null?void 0:l.cursor();if(c&&(t<0?c.childBefore(i.from):c.childAfter(i.to)))do if(t<0?c.to<=i.from:c.from>=i.to){if(u==0&&r.indexOf(c.type.name)>-1&&c.from0)return null;let u={from:t<0?e-1:e,to:t>0?e+1:e},c=n.doc.iterRange(e,t>0?n.doc.length:0),f=0;for(let h=0;!c.next().done&&h<=r;){let d=c.value;t<0&&(h+=d.length);let p=e+h*t;for(let g=t>0?0:d.length-1,m=t>0?d.length:-1;g!=m;g+=t){let _=o.indexOf(d[g]);if(!(_<0||i.resolveInner(p+g,1).type!=s))if(_%2==0==t>0)f++;else{if(f==1)return{start:u,end:{from:p+g,to:p+g+1},matched:_>>1==a>>1};f--}}t>0&&(h+=d.length)}return c.done?{start:u,matched:!1}:null}const UM=Object.create(null),F_=[wn.none],GM=Object.create(null);for(let[n,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])GM[n]=jM(UM,e);function jM(n,e){let t=null;for(let r of e.split(".")){let o=n[r]||H[r];o&&(typeof o=="function"?t&&(t=o(t)):t||(t=o))}if(!t)return 0;let i=e.replace(/ /g,"_"),s=wn.define({id:F_.length,name:i,props:[a2({[i]:t})]});return F_.push(s),s.id}const qM="#2E3235",gs="#DDDDDD",zl="#B9D2FF",Ja="#b0b0b0",YM="#e0e0e0",v2="#808080",oh="#000000",XM="#A54543",w2="#fc6d24",Pr="#fda331",lh="#8abeb7",W_="#b5bd68",kl="#6fb3d2",Sl="#cc99cc",KM="#6987AF",V_=w2,H_="#292d30",Za=zl+"30",$M=qM,ah=gs,JM="#202325",U_=gs,ZM=He.theme({"&":{color:gs,backgroundColor:$M},".cm-content":{caretColor:U_},".cm-cursor, .cm-dropCursor":{borderLeftColor:U_},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:JM},".cm-panels":{backgroundColor:H_,color:Ja},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:zl,outline:`1px solid ${Ja}`,color:oh},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:YM,color:oh},".cm-activeLine":{backgroundColor:Za},".cm-selectionMatch":{backgroundColor:Za},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{outline:`1px solid ${Ja}`},"&.cm-focused .cm-matchingBracket":{backgroundColor:zl,color:oh},".cm-gutters":{borderRight:"1px solid #ffffff10",color:v2,backgroundColor:H_},".cm-activeLineGutter":{backgroundColor:Za},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:zl},".cm-tooltip":{border:"none",backgroundColor:ah},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:ah,borderBottomColor:ah},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:Za,color:Ja}}},{dark:!0}),QM=ul.define([{tag:H.keyword,color:Pr},{tag:[H.name,H.deleted,H.character,H.propertyName,H.macroName],color:W_},{tag:[H.variableName],color:kl},{tag:[H.function(H.variableName)],color:Pr},{tag:[H.labelName],color:w2},{tag:[H.color,H.constant(H.name),H.standard(H.name)],color:Pr},{tag:[H.definition(H.name),H.separator],color:Sl},{tag:[H.brace],color:Sl},{tag:[H.annotation],color:V_},{tag:[H.number,H.changed,H.annotation,H.modifier,H.self,H.namespace],color:Pr},{tag:[H.typeName,H.className],color:kl},{tag:[H.operator,H.operatorKeyword],color:Sl},{tag:[H.tagName],color:Pr},{tag:[H.squareBracket],color:Sl},{tag:[H.angleBracket],color:Sl},{tag:[H.attributeName],color:kl},{tag:[H.regexp],color:Pr},{tag:[H.quote],color:gs},{tag:[H.string],color:W_},{tag:H.link,color:KM,textDecoration:"underline",textUnderlinePosition:"under"},{tag:[H.url,H.escape,H.special(H.string)],color:lh},{tag:[H.meta],color:XM},{tag:[H.comment],color:v2,fontStyle:"italic"},{tag:H.monospace,color:gs},{tag:H.strong,fontWeight:"bold",color:Pr},{tag:H.emphasis,fontStyle:"italic",color:kl},{tag:H.strikethrough,textDecoration:"line-through"},{tag:H.heading,fontWeight:"bold",color:gs},{tag:H.special(H.heading1),fontWeight:"bold",color:gs},{tag:H.heading1,fontWeight:"bold",color:gs},{tag:[H.heading2,H.heading3,H.heading4],fontWeight:"bold",color:gs},{tag:[H.heading5,H.heading6],color:gs},{tag:[H.atom,H.bool,H.special(H.variableName)],color:lh},{tag:[H.processingInstruction,H.inserted],color:lh},{tag:[H.contentSeparator],color:kl},{tag:H.invalid,color:zl,borderBottom:`1px dotted ${V_}`}]),eR=[ZM,ag(QM)],G_="#2e3440",ug="#3b4252",j_="#434c5e",Qa="#4c566a",q_="#e5e9f0",Fd="#eceff4",uh="#8fbcbb",Y_="#88c0d0",tR="#81a1c1",es="#5e81ac",iR="#bf616a",bo="#d08770",ch="#ebcb8b",X_="#a3be8c",nR="#b48ead",K_="#d30102",cg=Fd,fh=cg,sR="#ffffff",hh=ug,rR=cg,$_=ug,oR=He.theme({"&":{color:G_,backgroundColor:sR},".cm-content":{caretColor:$_},".cm-cursor, .cm-dropCursor":{borderLeftColor:$_},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:rR},".cm-panels":{backgroundColor:cg,color:Qa},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:`1px solid ${Qa}`},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:q_},".cm-activeLine":{backgroundColor:fh},".cm-selectionMatch":{backgroundColor:q_},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{outline:`1px solid ${Qa}`},"&.cm-focused .cm-matchingBracket":{backgroundColor:Fd},".cm-gutters":{backgroundColor:Fd,color:G_,border:"none"},".cm-activeLineGutter":{backgroundColor:fh},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:hh},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:hh,borderBottomColor:hh},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:fh,color:Qa}}},{dark:!1}),lR=ul.define([{tag:H.keyword,color:es},{tag:[H.name,H.deleted,H.character,H.propertyName,H.macroName],color:bo},{tag:[H.variableName],color:bo},{tag:[H.function(H.variableName)],color:es},{tag:[H.labelName],color:tR},{tag:[H.color,H.constant(H.name),H.standard(H.name)],color:es},{tag:[H.definition(H.name),H.separator],color:X_},{tag:[H.brace],color:uh},{tag:[H.annotation],color:K_},{tag:[H.number,H.changed,H.annotation,H.modifier,H.self,H.namespace],color:Y_},{tag:[H.typeName,H.className],color:ch},{tag:[H.operator,H.operatorKeyword],color:X_},{tag:[H.tagName],color:nR},{tag:[H.squareBracket],color:iR},{tag:[H.angleBracket],color:bo},{tag:[H.attributeName],color:ch},{tag:[H.regexp],color:es},{tag:[H.quote],color:ug},{tag:[H.string],color:bo},{tag:H.link,color:uh,textDecoration:"underline",textUnderlinePosition:"under"},{tag:[H.url,H.escape,H.special(H.string)],color:bo},{tag:[H.meta],color:Y_},{tag:[H.comment],color:j_,fontStyle:"italic"},{tag:H.strong,fontWeight:"bold",color:es},{tag:H.emphasis,fontStyle:"italic",color:es},{tag:H.strikethrough,textDecoration:"line-through"},{tag:H.heading,fontWeight:"bold",color:es},{tag:H.special(H.heading1),fontWeight:"bold",color:es},{tag:H.heading1,fontWeight:"bold",color:es},{tag:[H.heading2,H.heading3,H.heading4],fontWeight:"bold",color:es},{tag:[H.heading5,H.heading6],color:es},{tag:[H.atom,H.bool,H.special(H.variableName)],color:bo},{tag:[H.processingInstruction,H.inserted],color:uh},{tag:[H.contentSeparator],color:ch},{tag:H.invalid,color:j_,borderBottom:`1px dotted ${K_}`}]),aR=[oR,ag(lR)],uR=n=>{let{state:e}=n,t=e.doc.lineAt(e.selection.main.from),i=hg(n.state,t.from);return i.line?cR(n):i.block?hR(n):!1};function fg(n,e){return({state:t,dispatch:i})=>{if(t.readOnly)return!1;let s=n(e,t);return s?(i(t.update(s)),!0):!1}}const cR=fg(gR,0),fR=fg(k2,0),hR=fg((n,e)=>k2(n,e,pR(e)),0);function hg(n,e){let t=n.languageDataAt("commentTokens",e);return t.length?t[0]:{}}const Tl=50;function dR(n,{open:e,close:t},i,s){let r=n.sliceDoc(i-Tl,i),o=n.sliceDoc(s,s+Tl),l=/\s*$/.exec(r)[0].length,a=/^\s*/.exec(o)[0].length,u=r.length-l;if(r.slice(u-e.length,u)==e&&o.slice(a,a+t.length)==t)return{open:{pos:i-l,margin:l&&1},close:{pos:s+a,margin:a&&1}};let c,f;s-i<=2*Tl?c=f=n.sliceDoc(i,s):(c=n.sliceDoc(i,i+Tl),f=n.sliceDoc(s-Tl,s));let h=/^\s*/.exec(c)[0].length,d=/\s*$/.exec(f)[0].length,p=f.length-d-t.length;return c.slice(h,h+e.length)==e&&f.slice(p,p+t.length)==t?{open:{pos:i+h+e.length,margin:/\s/.test(c.charAt(h+e.length))?1:0},close:{pos:s-d-t.length,margin:/\s/.test(f.charAt(p-1))?1:0}}:null}function pR(n){let e=[];for(let t of n.selection.ranges){let i=n.doc.lineAt(t.from),s=t.to<=i.to?i:n.doc.lineAt(t.to),r=e.length-1;r>=0&&e[r].to>i.from?e[r].to=s.to:e.push({from:i.from+/^\s*/.exec(i.text)[0].length,to:s.to})}return e}function k2(n,e,t=e.selection.ranges){let i=t.map(r=>hg(e,r.from).block);if(!i.every(r=>r))return null;let s=t.map((r,o)=>dR(e,i[o],r.from,r.to));if(n!=2&&!s.every(r=>r))return{changes:e.changes(t.map((r,o)=>s[o]?[]:[{from:r.from,insert:i[o].open+" "},{from:r.to,insert:" "+i[o].close}]))};if(n!=1&&s.some(r=>r)){let r=[];for(let o=0,l;os&&(r==o||o>f.from)){s=f.from;let h=/^\s*/.exec(f.text)[0].length,d=h==f.length,p=f.text.slice(h,h+u.length)==u?h:-1;hr.comment<0&&(!r.empty||r.single))){let r=[];for(let{line:l,token:a,indent:u,empty:c,single:f}of i)(f||!c)&&r.push({from:l.from+u,insert:a+" "});let o=e.changes(r);return{changes:o,selection:e.selection.map(o,1)}}else if(n!=1&&i.some(r=>r.comment>=0)){let r=[];for(let{line:o,comment:l,token:a}of i)if(l>=0){let u=o.from+l,c=u+a.length;o.text[c-o.from]==" "&&c++,r.push({from:u,to:c})}return{changes:r}}return null}const Wd=Ys.define(),mR=Ys.define(),_R=We.define(),S2=We.define({combine(n){return ro(n,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(i,s)=>e(i,s)||t(i,s)})}});function bR(n){let e=0;return n.iterChangedRanges((t,i)=>e=i),e}const T2=Pn.define({create(){return Ss.empty},update(n,e){let t=e.state.facet(S2),i=e.annotation(Wd);if(i){let a=e.docChanged?de.single(bR(e.changes)):void 0,u=_n.fromTransaction(e,a),c=i.side,f=c==0?n.undone:n.done;return u?f=bc(f,f.length,t.minDepth,u):f=E2(f,e.startState.selection),new Ss(c==0?i.rest:f,c==0?f:i.rest)}let s=e.annotation(mR);if((s=="full"||s=="before")&&(n=n.isolate()),e.annotation(gi.addToHistory)===!1)return e.changes.empty?n:n.addMapping(e.changes.desc);let r=_n.fromTransaction(e),o=e.annotation(gi.time),l=e.annotation(gi.userEvent);return r?n=n.addChanges(r,o,l,t,e):e.selection&&(n=n.addSelection(e.startState.selection,o,l,t.newGroupDelay)),(s=="full"||s=="after")&&(n=n.isolate()),n},toJSON(n){return{done:n.done.map(e=>e.toJSON()),undone:n.undone.map(e=>e.toJSON())}},fromJSON(n){return new Ss(n.done.map(_n.fromJSON),n.undone.map(_n.fromJSON))}});function yR(n={}){return[T2,S2.of(n),He.domEventHandlers({beforeinput(e,t){let i=e.inputType=="historyUndo"?C2:e.inputType=="historyRedo"?Vd:null;return i?(e.preventDefault(),i(t)):!1}})]}function mf(n,e){return function({state:t,dispatch:i}){if(!e&&t.readOnly)return!1;let s=t.field(T2,!1);if(!s)return!1;let r=s.pop(n,t,e);return r?(i(r),!0):!1}}const C2=mf(0,!1),Vd=mf(1,!1),vR=mf(0,!0),wR=mf(1,!0);class _n{constructor(e,t,i,s,r){this.changes=e,this.effects=t,this.mapped=i,this.startSelection=s,this.selectionsAfter=r}setSelAfter(e){return new _n(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,i;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(t=this.mapped)===null||t===void 0?void 0:t.toJSON(),startSelection:(i=this.startSelection)===null||i===void 0?void 0:i.toJSON(),selectionsAfter:this.selectionsAfter.map(s=>s.toJSON())}}static fromJSON(e){return new _n(e.changes&&di.fromJSON(e.changes),[],e.mapped&&Ts.fromJSON(e.mapped),e.startSelection&&de.fromJSON(e.startSelection),e.selectionsAfter.map(de.fromJSON))}static fromTransaction(e,t){let i=jn;for(let s of e.startState.facet(_R)){let r=s(e);r.length&&(i=i.concat(r))}return!i.length&&e.changes.empty?null:new _n(e.changes.invert(e.startState.doc),i,void 0,t||e.startState.selection,jn)}static selection(e){return new _n(void 0,jn,void 0,void 0,e)}}function bc(n,e,t,i){let s=e+1>t+20?e-t-1:0,r=n.slice(s,e);return r.push(i),r}function kR(n,e){let t=[],i=!1;return n.iterChangedRanges((s,r)=>t.push(s,r)),e.iterChangedRanges((s,r,o,l)=>{for(let a=0;a=u&&o<=c&&(i=!0)}}),i}function SR(n,e){return n.ranges.length==e.ranges.length&&n.ranges.filter((t,i)=>t.empty!=e.ranges[i].empty).length===0}function I2(n,e){return n.length?e.length?n.concat(e):n:e}const jn=[],TR=200;function E2(n,e){if(n.length){let t=n[n.length-1],i=t.selectionsAfter.slice(Math.max(0,t.selectionsAfter.length-TR));return i.length&&i[i.length-1].eq(e)?n:(i.push(e),bc(n,n.length-1,1e9,t.setSelAfter(i)))}else return[_n.selection([e])]}function CR(n){let e=n[n.length-1],t=n.slice();return t[n.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),t}function dh(n,e){if(!n.length)return n;let t=n.length,i=jn;for(;t;){let s=IR(n[t-1],e,i);if(s.changes&&!s.changes.empty||s.effects.length){let r=n.slice(0,t);return r[t-1]=s,r}else e=s.mapped,t--,i=s.selectionsAfter}return i.length?[_n.selection(i)]:jn}function IR(n,e,t){let i=I2(n.selectionsAfter.length?n.selectionsAfter.map(l=>l.map(e)):jn,t);if(!n.changes)return _n.selection(i);let s=n.changes.map(e),r=e.mapDesc(n.changes,!0),o=n.mapped?n.mapped.composeDesc(r):r;return new _n(s,dt.mapEffects(n.effects,e),o,n.startSelection.map(r),i)}const ER=/^(input\.type|delete)($|\.)/;class Ss{constructor(e,t,i=0,s=void 0){this.done=e,this.undone=t,this.prevTime=i,this.prevUserEvent=s}isolate(){return this.prevTime?new Ss(this.done,this.undone):this}addChanges(e,t,i,s,r){let o=this.done,l=o[o.length-1];return l&&l.changes&&!l.changes.empty&&e.changes&&(!i||ER.test(i))&&(!l.selectionsAfter.length&&t-this.prevTime0&&t-this.prevTimet.empty?n.moveByChar(t,e):_f(t,e))}function en(n){return n.textDirectionAt(n.state.selection.main.head)==qt.LTR}const O2=n=>A2(n,!en(n)),N2=n=>A2(n,en(n));function D2(n,e){return cs(n,t=>t.empty?n.moveByGroup(t,e):_f(t,e))}const OR=n=>D2(n,!en(n)),NR=n=>D2(n,en(n));function DR(n,e,t){if(e.type.prop(t))return!0;let i=e.to-e.from;return i&&(i>2||/[^\s,.;:]/.test(n.sliceDoc(e.from,e.to)))||e.firstChild}function bf(n,e,t){let i=Bi(n).resolveInner(e.head),s=t?rt.closedBy:rt.openedBy;for(let a=e.head;;){let u=t?i.childAfter(a):i.childBefore(a);if(!u)break;DR(n,u,s)?i=u:a=t?u.to:u.from}let r=i.type.prop(s),o,l;return r&&(o=t?Oo(n,i.from,1):Oo(n,i.to,-1))&&o.matched?l=t?o.end.to:o.end.from:l=t?i.to:i.from,de.cursor(l,t?-1:1)}const xR=n=>cs(n,e=>bf(n.state,e,!en(n))),LR=n=>cs(n,e=>bf(n.state,e,en(n)));function x2(n,e){return cs(n,t=>{if(!t.empty)return _f(t,e);let i=n.moveVertically(t,e);return i.head!=t.head?i:n.moveToLineBoundary(t,e)})}const L2=n=>x2(n,!1),M2=n=>x2(n,!0);function R2(n){let e=n.scrollDOM.clientHeighto.empty?n.moveVertically(o,e,t.height):_f(o,e));if(s.eq(i.selection))return!1;let r;if(t.selfScroll){let o=n.coordsAtPos(i.selection.main.head),l=n.scrollDOM.getBoundingClientRect(),a=l.top+t.marginTop,u=l.bottom-t.marginBottom;o&&o.top>a&&o.bottomP2(n,!1),Hd=n=>P2(n,!0);function Lr(n,e,t){let i=n.lineBlockAt(e.head),s=n.moveToLineBoundary(e,t);if(s.head==e.head&&s.head!=(t?i.to:i.from)&&(s=n.moveToLineBoundary(e,t,!1)),!t&&s.head==i.from&&i.length){let r=/^\s*/.exec(n.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;r&&e.head!=i.from+r&&(s=de.cursor(i.from+r))}return s}const MR=n=>cs(n,e=>Lr(n,e,!0)),RR=n=>cs(n,e=>Lr(n,e,!1)),PR=n=>cs(n,e=>Lr(n,e,!en(n))),BR=n=>cs(n,e=>Lr(n,e,en(n))),zR=n=>cs(n,e=>de.cursor(n.lineBlockAt(e.head).from,1)),FR=n=>cs(n,e=>de.cursor(n.lineBlockAt(e.head).to,-1));function WR(n,e,t){let i=!1,s=cl(n.selection,r=>{let o=Oo(n,r.head,-1)||Oo(n,r.head,1)||r.head>0&&Oo(n,r.head-1,1)||r.headWR(n,e,!1);function Qn(n,e){let t=cl(n.state.selection,i=>{let s=e(i);return de.range(i.anchor,s.head,s.goalColumn,s.bidiLevel||void 0)});return t.eq(n.state.selection)?!1:(n.dispatch(Os(n.state,t)),!0)}function B2(n,e){return Qn(n,t=>n.moveByChar(t,e))}const z2=n=>B2(n,!en(n)),F2=n=>B2(n,en(n));function W2(n,e){return Qn(n,t=>n.moveByGroup(t,e))}const HR=n=>W2(n,!en(n)),UR=n=>W2(n,en(n)),GR=n=>Qn(n,e=>bf(n.state,e,!en(n))),jR=n=>Qn(n,e=>bf(n.state,e,en(n)));function V2(n,e){return Qn(n,t=>n.moveVertically(t,e))}const H2=n=>V2(n,!1),U2=n=>V2(n,!0);function G2(n,e){return Qn(n,t=>n.moveVertically(t,e,R2(n).height))}const Z_=n=>G2(n,!1),Q_=n=>G2(n,!0),qR=n=>Qn(n,e=>Lr(n,e,!0)),YR=n=>Qn(n,e=>Lr(n,e,!1)),XR=n=>Qn(n,e=>Lr(n,e,!en(n))),KR=n=>Qn(n,e=>Lr(n,e,en(n))),$R=n=>Qn(n,e=>de.cursor(n.lineBlockAt(e.head).from)),JR=n=>Qn(n,e=>de.cursor(n.lineBlockAt(e.head).to)),e1=({state:n,dispatch:e})=>(e(Os(n,{anchor:0})),!0),t1=({state:n,dispatch:e})=>(e(Os(n,{anchor:n.doc.length})),!0),i1=({state:n,dispatch:e})=>(e(Os(n,{anchor:n.selection.main.anchor,head:0})),!0),n1=({state:n,dispatch:e})=>(e(Os(n,{anchor:n.selection.main.anchor,head:n.doc.length})),!0),ZR=({state:n,dispatch:e})=>(e(n.update({selection:{anchor:0,head:n.doc.length},userEvent:"select"})),!0),QR=({state:n,dispatch:e})=>{let t=vf(n).map(({from:i,to:s})=>de.range(i,Math.min(s+1,n.doc.length)));return e(n.update({selection:de.create(t),userEvent:"select"})),!0},e4=({state:n,dispatch:e})=>{let t=cl(n.selection,i=>{var s;let r=Bi(n).resolveInner(i.head,1);for(;!(r.from=i.to||r.to>i.to&&r.from<=i.from||!(!((s=r.parent)===null||s===void 0)&&s.parent));)r=r.parent;return de.range(r.to,r.from)});return e(Os(n,t)),!0},t4=({state:n,dispatch:e})=>{let t=n.selection,i=null;return t.ranges.length>1?i=de.create([t.main]):t.main.empty||(i=de.create([de.cursor(t.main.head)])),i?(e(Os(n,i)),!0):!1};function yf(n,e){if(n.state.readOnly)return!1;let t="delete.selection",{state:i}=n,s=i.changeByRange(r=>{let{from:o,to:l}=r;if(o==l){let a=e(o);ao&&(t="delete.forward",a=eu(n,a,!0)),o=Math.min(o,a),l=Math.max(l,a)}else o=eu(n,o,!1),l=eu(n,l,!0);return o==l?{range:r}:{changes:{from:o,to:l},range:de.cursor(o)}});return s.changes.empty?!1:(n.dispatch(i.update(s,{scrollIntoView:!0,userEvent:t,effects:t=="delete.selection"?He.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function eu(n,e,t){if(n instanceof He)for(let i of n.state.facet(He.atomicRanges).map(s=>s(n)))i.between(e,e,(s,r)=>{se&&(e=t?r:s)});return e}const j2=(n,e)=>yf(n,t=>{let{state:i}=n,s=i.doc.lineAt(t),r,o;if(!e&&t>s.from&&tj2(n,!1),q2=n=>j2(n,!0),Y2=(n,e)=>yf(n,t=>{let i=t,{state:s}=n,r=s.doc.lineAt(i),o=s.charCategorizer(i);for(let l=null;;){if(i==(e?r.to:r.from)){i==t&&r.number!=(e?s.doc.lines:1)&&(i+=e?1:-1);break}let a=Ln(r.text,i-r.from,e)+r.from,u=r.text.slice(Math.min(i,a)-r.from,Math.max(i,a)-r.from),c=o(u);if(l!=null&&c!=l)break;(u!=" "||i!=t)&&(l=c),i=a}return i}),X2=n=>Y2(n,!1),i4=n=>Y2(n,!0),K2=n=>yf(n,e=>{let t=n.lineBlockAt(e).to;return eyf(n,e=>{let t=n.lineBlockAt(e).from;return e>t?t:Math.max(0,e-1)}),s4=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let t=n.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:kt.of(["",""])},range:de.cursor(i.from)}));return e(n.update(t,{scrollIntoView:!0,userEvent:"input"})),!0},r4=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let t=n.changeByRange(i=>{if(!i.empty||i.from==0||i.from==n.doc.length)return{range:i};let s=i.from,r=n.doc.lineAt(s),o=s==r.from?s-1:Ln(r.text,s-r.from,!1)+r.from,l=s==r.to?s+1:Ln(r.text,s-r.from,!0)+r.from;return{changes:{from:o,to:l,insert:n.doc.slice(s,l).append(n.doc.slice(o,s))},range:de.cursor(l)}});return t.changes.empty?!1:(e(n.update(t,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function vf(n){let e=[],t=-1;for(let i of n.selection.ranges){let s=n.doc.lineAt(i.from),r=n.doc.lineAt(i.to);if(!i.empty&&i.to==r.from&&(r=n.doc.lineAt(i.to-1)),t>=s.number){let o=e[e.length-1];o.to=r.to,o.ranges.push(i)}else e.push({from:s.from,to:r.to,ranges:[i]});t=r.number+1}return e}function $2(n,e,t){if(n.readOnly)return!1;let i=[],s=[];for(let r of vf(n)){if(t?r.to==n.doc.length:r.from==0)continue;let o=n.doc.lineAt(t?r.to+1:r.from-1),l=o.length+1;if(t){i.push({from:r.to,to:o.to},{from:r.from,insert:o.text+n.lineBreak});for(let a of r.ranges)s.push(de.range(Math.min(n.doc.length,a.anchor+l),Math.min(n.doc.length,a.head+l)))}else{i.push({from:o.from,to:r.from},{from:r.to,insert:n.lineBreak+o.text});for(let a of r.ranges)s.push(de.range(a.anchor-l,a.head-l))}}return i.length?(e(n.update({changes:i,scrollIntoView:!0,selection:de.create(s,n.selection.mainIndex),userEvent:"move.line"})),!0):!1}const o4=({state:n,dispatch:e})=>$2(n,e,!1),l4=({state:n,dispatch:e})=>$2(n,e,!0);function J2(n,e,t){if(n.readOnly)return!1;let i=[];for(let s of vf(n))t?i.push({from:s.from,insert:n.doc.slice(s.from,s.to)+n.lineBreak}):i.push({from:s.to,insert:n.lineBreak+n.doc.slice(s.from,s.to)});return e(n.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const a4=({state:n,dispatch:e})=>J2(n,e,!1),u4=({state:n,dispatch:e})=>J2(n,e,!0),c4=n=>{if(n.state.readOnly)return!1;let{state:e}=n,t=e.changes(vf(e).map(({from:s,to:r})=>(s>0?s--:rn.moveVertically(s,!0)).map(t);return n.dispatch({changes:t,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0};function f4(n,e){if(/\(\)|\[\]|\{\}/.test(n.sliceDoc(e-1,e+1)))return{from:e,to:e};let t=Bi(n).resolveInner(e),i=t.childBefore(e),s=t.childAfter(e),r;return i&&s&&i.to<=e&&s.from>=e&&(r=i.type.prop(rt.closedBy))&&r.indexOf(s.name)>-1&&n.doc.lineAt(i.to).from==n.doc.lineAt(s.from).from?{from:i.to,to:s.from}:null}const h4=Z2(!1),d4=Z2(!0);function Z2(n){return({state:e,dispatch:t})=>{if(e.readOnly)return!1;let i=e.changeByRange(s=>{let{from:r,to:o}=s,l=e.doc.lineAt(r),a=!n&&r==o&&f4(e,r);n&&(r=o=(o<=l.to?l:e.doc.lineAt(o)).to);let u=new pf(e,{simulateBreak:r,simulateDoubleBreak:!!a}),c=og(u,r);for(c==null&&(c=/^\s*/.exec(e.doc.lineAt(r).text)[0].length);ol.from&&r{let s=[];for(let o=i.from;o<=i.to;){let l=n.doc.lineAt(o);l.number>t&&(i.empty||i.to>l.from)&&(e(l,s,i),t=l.number),o=l.to+1}let r=n.changes(s);return{changes:s,range:de.range(r.mapPos(i.anchor,1),r.mapPos(i.head,1))}})}const p4=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let t=Object.create(null),i=new pf(n,{overrideIndentation:r=>{let o=t[r];return o??-1}}),s=dg(n,(r,o,l)=>{let a=og(i,r.from);if(a==null)return;/\S/.test(r.text)||(a=0);let u=/^\s*/.exec(r.text)[0],c=sa(n,a);(u!=c||l.fromn.readOnly?!1:(e(n.update(dg(n,(t,i)=>{i.push({from:t.from,insert:n.facet(rg)})}),{userEvent:"input.indent"})),!0),m4=({state:n,dispatch:e})=>n.readOnly?!1:(e(n.update(dg(n,(t,i)=>{let s=/^\s*/.exec(t.text)[0];if(!s)return;let r=ga(s,n.tabSize),o=0,l=sa(n,Math.max(0,r-gc(n)));for(;o({mac:n.key,run:n.run,shift:n.shift}))),y4=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:xR,shift:GR},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:LR,shift:jR},{key:"Alt-ArrowUp",run:o4},{key:"Shift-Alt-ArrowUp",run:a4},{key:"Alt-ArrowDown",run:l4},{key:"Shift-Alt-ArrowDown",run:u4},{key:"Escape",run:t4},{key:"Mod-Enter",run:d4},{key:"Alt-l",mac:"Ctrl-l",run:QR},{key:"Mod-i",run:e4,preventDefault:!0},{key:"Mod-[",run:m4},{key:"Mod-]",run:g4},{key:"Mod-Alt-\\",run:p4},{key:"Shift-Mod-k",run:c4},{key:"Shift-Mod-\\",run:VR},{key:"Mod-/",run:uR},{key:"Alt-A",run:fR}].concat(b4);class Q2{constructor(e,t,i){this.state=e,this.pos=t,this.explicit=i,this.abortListeners=[]}tokenBefore(e){let t=Bi(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),i=Math.max(t.from,this.pos-250),s=t.text.slice(i-t.from,this.pos-t.from),r=s.search(eS(e,!1));return r<0?null:{from:i+r,to:this.pos,text:s.slice(r)}}get aborted(){return this.abortListeners==null}addEventListener(e,t){e=="abort"&&this.abortListeners&&this.abortListeners.push(t)}}function s1(n){let e=Object.keys(n).join(""),t=/\w/.test(e);return t&&(e=e.replace(/\w/g,"")),`[${t?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function v4(n){let e=Object.create(null),t=Object.create(null);for(let{label:s}of n){e[s[0]]=!0;for(let r=1;rtypeof s=="string"?{label:s}:s),[t,i]=e.every(s=>/^\w+$/.test(s.label))?[/\w*$/,/\w+$/]:v4(e);return s=>{let r=s.matchBefore(i);return r||s.explicit?{from:r?r.from:s.pos,options:e,validFor:t}:null}}class r1{constructor(e,t,i,s){this.completion=e,this.source=t,this.match=i,this.score=s}}function gr(n){return n.selection.main.from}function eS(n,e){var t;let{source:i}=n,s=e&&i[0]!="^",r=i[i.length-1]!="$";return!s&&!r?n:new RegExp(`${s?"^":""}(?:${i})${r?"$":""}`,(t=n.flags)!==null&&t!==void 0?t:n.ignoreCase?"i":"")}const k4=Ys.define();function tS(n,e,t,i){let{main:s}=n.selection,r=t-s.from,o=i-s.from;return Object.assign(Object.assign({},n.changeByRange(l=>l!=s&&t!=i&&n.sliceDoc(l.from+r,l.from+o)!=n.sliceDoc(t,i)?{range:l}:{changes:{from:l.from+r,to:i==s.from?l.to:l.from+o,insert:e},range:de.cursor(l.from+r+e.length)})),{userEvent:"input.complete"})}const o1=new WeakMap;function S4(n){if(!Array.isArray(n))return n;let e=o1.get(n);return e||o1.set(n,e=w4(n)),e}const pg=dt.define(),ra=dt.define();class T4{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let t=0;t=48&&T<=57||T>=97&&T<=122?2:T>=65&&T<=90?1:0:(I=Fw(T))!=I.toLowerCase()?1:I!=I.toUpperCase()?2:0;(!b||R==1&&m||k==0&&R!=0)&&(t[f]==T||i[f]==T&&(h=!0)?o[f++]=b:o.length&&(_=!1)),k=R,b+=ns(T)}return f==a&&o[0]==0&&_?this.result(-100+(h?-200:0),o,e):d==a&&p==0?[-200-e.length+(g==e.length?0:-100),0,g]:l>-1?[-700-e.length,l,l+this.pattern.length]:d==a?[-200+-700-e.length,p,g]:f==a?this.result(-100+(h?-200:0)+-700+(_?0:-1100),o,e):t.length==2?null:this.result((s[0]?-700:0)+-200+-1100,s,e)}result(e,t,i){let s=[e-i.length],r=1;for(let o of t){let l=o+(this.astral?ns($i(i,o)):1);r>1&&s[r-1]==o?s[r-1]=l:(s[r++]=o,s[r++]=l)}return s}}const bn=We.define({combine(n){return ro(n,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:C4,compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>i=>l1(e(i),t(i)),optionClass:(e,t)=>i=>l1(e(i),t(i)),addToOptions:(e,t)=>e.concat(t)})}});function l1(n,e){return n?e?n+" "+e:n:e}function C4(n,e,t,i,s){let r=n.textDirection==qt.RTL,o=r,l=!1,a="top",u,c,f=e.left-s.left,h=s.right-e.right,d=i.right-i.left,p=i.bottom-i.top;if(o&&f=p||g>e.top?u=t.bottom-e.top:(a="bottom",u=e.bottom-t.top)}return{style:`${a}: ${u}px; max-width: ${c}px`,class:"cm-completionInfo-"+(l?r?"left-narrow":"right-narrow":o?"left":"right")}}function I4(n){let e=n.addToOptions.slice();return n.icons&&e.push({render(t){let i=document.createElement("div");return i.classList.add("cm-completionIcon"),t.type&&i.classList.add(...t.type.split(/\s+/g).map(s=>"cm-completionIcon-"+s)),i.setAttribute("aria-hidden","true"),i},position:20}),e.push({render(t,i,s){let r=document.createElement("span");r.className="cm-completionLabel";let{label:o}=t,l=0;for(let a=1;al&&r.appendChild(document.createTextNode(o.slice(l,u)));let f=r.appendChild(document.createElement("span"));f.appendChild(document.createTextNode(o.slice(u,c))),f.className="cm-completionMatchedText",l=c}return lt.position-i.position).map(t=>t.render)}function a1(n,e,t){if(n<=t)return{from:0,to:n};if(e<0&&(e=0),e<=n>>1){let s=Math.floor(e/t);return{from:s*t,to:(s+1)*t}}let i=Math.floor((n-e)/t);return{from:n-(i+1)*t,to:n-i*t}}class E4{constructor(e,t,i){this.view=e,this.stateField=t,this.applyCompletion=i,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:a=>this.placeInfo(a),key:this},this.space=null,this.currentClass="";let s=e.state.field(t),{options:r,selected:o}=s.open,l=e.state.facet(bn);this.optionContent=I4(l),this.optionClass=l.optionClass,this.tooltipClass=l.tooltipClass,this.range=a1(r.length,o,l.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",a=>{for(let u=a.target,c;u&&u!=this.dom;u=u.parentNode)if(u.nodeName=="LI"&&(c=/-(\d+)$/.exec(u.id))&&+c[1]{let u=e.state.field(this.stateField,!1);u&&u.tooltip&&e.state.facet(bn).closeOnBlur&&a.relatedTarget!=e.contentDOM&&e.dispatch({effects:ra.of(null)})}),this.list=this.dom.appendChild(this.createListBox(r,s.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}mount(){this.updateSel()}update(e){var t,i,s;let r=e.state.field(this.stateField),o=e.startState.field(this.stateField);this.updateTooltipClass(e.state),r!=o&&(this.updateSel(),((t=r.open)===null||t===void 0?void 0:t.disabled)!=((i=o.open)===null||i===void 0?void 0:i.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!(!((s=r.open)===null||s===void 0)&&s.disabled)))}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let i of this.currentClass.split(" "))i&&this.dom.classList.remove(i);for(let i of t.split(" "))i&&this.dom.classList.add(i);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=a1(t.options.length,t.selected,this.view.state.facet(bn).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})),this.updateSelectedOption(t.selected)){this.destroyInfo();let{completion:i}=t.options[t.selected],{info:s}=i;if(!s)return;let r=typeof s=="string"?document.createTextNode(s):s(i);if(!r)return;"then"in r?r.then(o=>{o&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(o,i)}).catch(o=>Yn(this.view.state,o,"completion info")):this.addInfoPane(r,i)}}addInfoPane(e,t){this.destroyInfo();let i=this.info=document.createElement("div");if(i.className="cm-tooltip cm-completionInfo",e.nodeType!=null)i.appendChild(e),this.infoDestroy=null;else{let{dom:s,destroy:r}=e;i.appendChild(s),this.infoDestroy=r||null}this.dom.appendChild(i),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let i=this.list.firstChild,s=this.range.from;i;i=i.nextSibling,s++)i.nodeName!="LI"||!i.id?s--:s==e?i.hasAttribute("aria-selected")||(i.setAttribute("aria-selected","true"),t=i):i.hasAttribute("aria-selected")&&i.removeAttribute("aria-selected");return t&&O4(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),i=this.info.getBoundingClientRect(),s=e.getBoundingClientRect(),r=this.space;if(!r){let o=this.dom.ownerDocument.defaultView||window;r={left:0,top:0,right:o.innerWidth,bottom:o.innerHeight}}return s.top>Math.min(r.bottom,t.bottom)-10||s.bottomi.from||i.from==0))if(r=h,typeof u!="string"&&u.header)s.appendChild(u.header(u));else{let d=s.appendChild(document.createElement("completion-section"));d.textContent=h}}const c=s.appendChild(document.createElement("li"));c.id=t+"-"+o,c.setAttribute("role","option");let f=this.optionClass(l);f&&(c.className=f);for(let h of this.optionContent){let d=h(l,this.view.state,a);d&&c.appendChild(d)}}return i.from&&s.classList.add("cm-completionListIncompleteTop"),i.tonew E4(t,n,e)}function O4(n,e){let t=n.getBoundingClientRect(),i=e.getBoundingClientRect();i.topt.bottom&&(n.scrollTop+=i.bottom-t.bottom)}function u1(n){return(n.boost||0)*100+(n.apply?10:0)+(n.info?5:0)+(n.type?1:0)}function N4(n,e){let t=[],i=null,s=a=>{t.push(a);let{section:u}=a.completion;if(u){i||(i=[]);let c=typeof u=="string"?u:u.name;i.some(f=>f.name==c)||i.push(typeof u=="string"?{name:c}:u)}};for(let a of n)if(a.hasResult())if(a.result.filter===!1){let u=a.result.getMatch;for(let c of a.result.options){let f=[1e9-t.length];if(u)for(let h of u(c))f.push(h);s(new r1(c,a.source,f,f[0]))}}else{let u=new T4(e.sliceDoc(a.from,a.to)),c;for(let f of a.result.options)(c=u.match(f.label))&&s(new r1(f,a.source,c,c[0]+(f.boost||0)))}if(i){let a=Object.create(null),u=0,c=(f,h)=>{var d,p;return((d=f.rank)!==null&&d!==void 0?d:1e9)-((p=h.rank)!==null&&p!==void 0?p:1e9)||(f.namec.score-u.score||l(u.completion,c.completion)))!o||o.label!=a.completion.label||o.detail!=a.completion.detail||o.type!=null&&a.completion.type!=null&&o.type!=a.completion.type||o.apply!=a.completion.apply?r.push(a):u1(a.completion)>u1(o)&&(r[r.length-1]=a),o=a.completion;return r}class No{constructor(e,t,i,s,r,o){this.options=e,this.attrs=t,this.tooltip=i,this.timestamp=s,this.selected=r,this.disabled=o}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new No(this.options,c1(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,i,s,r){let o=N4(e,t);if(!o.length)return s&&e.some(a=>a.state==1)?new No(s.options,s.attrs,s.tooltip,s.timestamp,s.selected,!0):null;let l=t.facet(bn).selectOnOpen?0:-1;if(s&&s.selected!=l&&s.selected!=-1){let a=s.options[s.selected].completion;for(let u=0;uu.hasResult()?Math.min(a,u.from):a,1e8),create:A4(Nn,sS),above:r.aboveCursor},s?s.timestamp:Date.now(),l,!1)}map(e){return new No(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class yc{constructor(e,t,i){this.active=e,this.id=t,this.open=i}static start(){return new yc(L4,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:t}=e,i=t.facet(bn),r=(i.override||t.languageDataAt("autocomplete",gr(t)).map(S4)).map(l=>(this.active.find(u=>u.source==l)||new gn(l,this.active.some(u=>u.state!=0)?1:0)).update(e,i));r.length==this.active.length&&r.every((l,a)=>l==this.active[a])&&(r=this.active);let o=this.open;o&&e.docChanged&&(o=o.map(e.changes)),e.selection||r.some(l=>l.hasResult()&&e.changes.touchesRange(l.from,l.to))||!D4(r,this.active)?o=No.build(r,t,this.id,o,i):o&&o.disabled&&!r.some(l=>l.state==1)&&(o=null),!o&&r.every(l=>l.state!=1)&&r.some(l=>l.hasResult())&&(r=r.map(l=>l.hasResult()?new gn(l.source,0):l));for(let l of e.effects)l.is(nS)&&(o=o&&o.setSelected(l.value,this.id));return r==this.active&&o==this.open?this:new yc(r,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:x4}}function D4(n,e){if(n==e)return!0;for(let t=0,i=0;;){for(;t-1&&(t["aria-activedescendant"]=n+"-"+e),t}const L4=[];function Gd(n){return n.isUserEvent("input.type")?"input":n.isUserEvent("delete.backward")?"delete":null}class gn{constructor(e,t,i=-1){this.source=e,this.state=t,this.explicitPos=i}hasResult(){return!1}update(e,t){let i=Gd(e),s=this;i?s=s.handleUserEvent(e,i,t):e.docChanged?s=s.handleChange(e):e.selection&&s.state!=0&&(s=new gn(s.source,0));for(let r of e.effects)if(r.is(pg))s=new gn(s.source,1,r.value?gr(e.state):-1);else if(r.is(ra))s=new gn(s.source,0);else if(r.is(iS))for(let o of r.value)o.source==s.source&&(s=o);return s}handleUserEvent(e,t,i){return t=="delete"||!i.activateOnTyping?this.map(e.changes):new gn(this.source,1)}handleChange(e){return e.changes.touchesRange(gr(e.startState))?new gn(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new gn(this.source,this.state,e.mapPos(this.explicitPos))}}class Ho extends gn{constructor(e,t,i,s,r){super(e,2,t),this.result=i,this.from=s,this.to=r}hasResult(){return!0}handleUserEvent(e,t,i){var s;let r=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),l=gr(e.state);if((this.explicitPos<0?l<=r:lo||t=="delete"&&gr(e.startState)==this.from)return new gn(this.source,t=="input"&&i.activateOnTyping?1:0);let a=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),u;return M4(this.result.validFor,e.state,r,o)?new Ho(this.source,a,this.result,r,o):this.result.update&&(u=this.result.update(this.result,r,o,new Q2(e.state,l,a>=0)))?new Ho(this.source,a,u,u.from,(s=u.to)!==null&&s!==void 0?s:gr(e.state)):new gn(this.source,1,a)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new gn(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new Ho(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function M4(n,e,t,i){if(!n)return!1;let s=e.sliceDoc(t,i);return typeof n=="function"?n(s,t,i,e):eS(n,!0).test(s)}const iS=dt.define({map(n,e){return n.map(t=>t.map(e))}}),nS=dt.define(),Nn=Pn.define({create(){return yc.start()},update(n,e){return n.update(e)},provide:n=>[Qp.from(n,e=>e.tooltip),He.contentAttributes.from(n,e=>e.attrs)]});function sS(n,e){const t=e.completion.apply||e.completion.label;let i=n.state.field(Nn).active.find(s=>s.source==e.source);return i instanceof Ho?(typeof t=="string"?n.dispatch(Object.assign(Object.assign({},tS(n.state,t,i.from,i.to)),{annotations:k4.of(e.completion)})):t(n,e.completion,i.from,i.to),!0):!1}function tu(n,e="option"){return t=>{let i=t.state.field(Nn,!1);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp-1?i.open.selected+s*(n?1:-1):n?0:o-1;return l<0?l=e=="page"?0:o-1:l>=o&&(l=e=="page"?o-1:0),t.dispatch({effects:nS.of(l)}),!0}}const R4=n=>{let e=n.state.field(Nn,!1);return n.state.readOnly||!e||!e.open||e.open.selected<0||Date.now()-e.open.timestampn.state.field(Nn,!1)?(n.dispatch({effects:pg.of(!0)}),!0):!1,B4=n=>{let e=n.state.field(Nn,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(n.dispatch({effects:ra.of(null)}),!0)};class z4{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const f1=50,F4=50,W4=1e3,V4=Qi.fromClass(class{constructor(n){this.view=n,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of n.state.field(Nn).active)e.state==1&&this.startQuery(e)}update(n){let e=n.state.field(Nn);if(!n.selectionSet&&!n.docChanged&&n.startState.field(Nn)==e)return;let t=n.transactions.some(i=>(i.selection||i.docChanged)&&!Gd(i));for(let i=0;iF4&&Date.now()-s.time>W4){for(let r of s.context.abortListeners)try{r()}catch(o){Yn(this.view.state,o)}s.context.abortListeners=null,this.running.splice(i--,1)}else s.updates.push(...n.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=e.active.some(i=>i.state==1&&!this.running.some(s=>s.active.source==i.source))?setTimeout(()=>this.startUpdate(),f1):-1,this.composing!=0)for(let i of n.transactions)Gd(i)=="input"?this.composing=2:this.composing==2&&i.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:n}=this.view,e=n.field(Nn);for(let t of e.active)t.state==1&&!this.running.some(i=>i.active.source==t.source)&&this.startQuery(t)}startQuery(n){let{state:e}=this.view,t=gr(e),i=new Q2(e,t,n.explicitPos==t),s=new z4(n,i);this.running.push(s),Promise.resolve(n.source(i)).then(r=>{s.context.aborted||(s.done=r||null,this.scheduleAccept())},r=>{this.view.dispatch({effects:ra.of(null)}),Yn(this.view.state,r)})}scheduleAccept(){this.running.every(n=>n.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),f1))}accept(){var n;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(bn);for(let i=0;io.source==s.active.source);if(r&&r.state==1)if(s.done==null){let o=new gn(s.active.source,0);for(let l of s.updates)o=o.update(l,t);o.state!=1&&e.push(o)}else this.startQuery(r)}e.length&&this.view.dispatch({effects:iS.of(e)})}},{eventHandlers:{blur(n){let e=this.view.state.field(Nn,!1);if(e&&e.tooltip&&this.view.state.facet(bn).closeOnBlur){let t=e.open&&e2(this.view,e.open.tooltip);(!t||!t.dom.contains(n.relatedTarget))&&this.view.dispatch({effects:ra.of(null)})}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:pg.of(!1)}),20),this.composing=0}}}),H4=He.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),oa={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Gr=dt.define({map(n,e){let t=e.mapPos(n,-1,rn.TrackAfter);return t??void 0}}),gg=new class extends to{};gg.startSide=1;gg.endSide=-1;const rS=Pn.define({create(){return Tt.empty},update(n,e){if(e.selection){let t=e.state.doc.lineAt(e.selection.main.head).from,i=e.startState.doc.lineAt(e.startState.selection.main.head).from;t!=e.changes.mapPos(i,-1)&&(n=Tt.empty)}n=n.map(e.changes);for(let t of e.effects)t.is(Gr)&&(n=n.update({add:[gg.range(t.value,t.value+1)]}));return n}});function U4(){return[j4,rS]}const ph="()[]{}<>";function oS(n){for(let e=0;e{if((G4?n.composing:n.compositionStarted)||n.state.readOnly)return!1;let s=n.state.selection.main;if(i.length>2||i.length==2&&ns($i(i,0))==1||e!=s.from||t!=s.to)return!1;let r=X4(n.state,i);return r?(n.dispatch(r),!0):!1}),q4=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let i=lS(n,n.selection.main.head).brackets||oa.brackets,s=null,r=n.changeByRange(o=>{if(o.empty){let l=K4(n.doc,o.head);for(let a of i)if(a==l&&wf(n.doc,o.head)==oS($i(a,0)))return{changes:{from:o.head-a.length,to:o.head+a.length},range:de.cursor(o.head-a.length)}}return{range:s=o}});return s||e(n.update(r,{scrollIntoView:!0,userEvent:"delete.backward"})),!s},Y4=[{key:"Backspace",run:q4}];function X4(n,e){let t=lS(n,n.selection.main.head),i=t.brackets||oa.brackets;for(let s of i){let r=oS($i(s,0));if(e==s)return r==s?Z4(n,s,i.indexOf(s+s+s)>-1,t):$4(n,s,r,t.before||oa.before);if(e==r&&aS(n,n.selection.main.from))return J4(n,s,r)}return null}function aS(n,e){let t=!1;return n.field(rS).between(0,n.doc.length,i=>{i==e&&(t=!0)}),t}function wf(n,e){let t=n.sliceString(e,e+2);return t.slice(0,ns($i(t,0)))}function K4(n,e){let t=n.sliceString(e-2,e);return ns($i(t,0))==t.length?t:t.slice(1)}function $4(n,e,t,i){let s=null,r=n.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:t,from:o.to}],effects:Gr.of(o.to+e.length),range:de.range(o.anchor+e.length,o.head+e.length)};let l=wf(n.doc,o.head);return!l||/\s/.test(l)||i.indexOf(l)>-1?{changes:{insert:e+t,from:o.head},effects:Gr.of(o.head+e.length),range:de.cursor(o.head+e.length)}:{range:s=o}});return s?null:n.update(r,{scrollIntoView:!0,userEvent:"input.type"})}function J4(n,e,t){let i=null,s=n.changeByRange(r=>r.empty&&wf(n.doc,r.head)==t?{changes:{from:r.head,to:r.head+t.length,insert:t},range:de.cursor(r.head+t.length)}:i={range:r});return i?null:n.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function Z4(n,e,t,i){let s=i.stringPrefixes||oa.stringPrefixes,r=null,o=n.changeByRange(l=>{if(!l.empty)return{changes:[{insert:e,from:l.from},{insert:e,from:l.to}],effects:Gr.of(l.to+e.length),range:de.range(l.anchor+e.length,l.head+e.length)};let a=l.head,u=wf(n.doc,a),c;if(u==e){if(h1(n,a))return{changes:{insert:e+e,from:a},effects:Gr.of(a+e.length),range:de.cursor(a+e.length)};if(aS(n,a)){let h=t&&n.sliceDoc(a,a+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:a,to:a+h.length,insert:h},range:de.cursor(a+h.length)}}}else{if(t&&n.sliceDoc(a-2*e.length,a)==e+e&&(c=d1(n,a-2*e.length,s))>-1&&h1(n,c))return{changes:{insert:e+e+e+e,from:a},effects:Gr.of(a+e.length),range:de.cursor(a+e.length)};if(n.charCategorizer(a)(u)!=Gn.Word&&d1(n,a,s)>-1&&!Q4(n,a,e,s))return{changes:{insert:e+e,from:a},effects:Gr.of(a+e.length),range:de.cursor(a+e.length)}}return{range:r=l}});return r?null:n.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function h1(n,e){let t=Bi(n).resolveInner(e+1);return t.parent&&t.from==e}function Q4(n,e,t,i){let s=Bi(n).resolveInner(e,-1),r=i.reduce((o,l)=>Math.max(o,l.length),0);for(let o=0;o<5;o++){let l=n.sliceDoc(s.from,Math.min(s.to,s.from+t.length+r)),a=l.indexOf(t);if(!a||a>-1&&i.indexOf(l.slice(0,a))>-1){let c=s.firstChild;for(;c&&c.from==s.from&&c.to-c.from>t.length+a;){if(n.sliceDoc(c.to-t.length,c.to)==t)return!1;c=c.firstChild}return!0}let u=s.to==e&&s.parent;if(!u)break;s=u}return!1}function d1(n,e,t){let i=n.charCategorizer(e);if(i(n.sliceDoc(e-1,e))!=Gn.Word)return e;for(let s of t){let r=e-s.length;if(n.sliceDoc(r,e)==s&&i(n.sliceDoc(r-1,r))!=Gn.Word)return r}return-1}function eP(n={}){return[Nn,bn.of(n),V4,tP,H4]}const uS=[{key:"Ctrl-Space",run:P4},{key:"Escape",run:B4},{key:"ArrowDown",run:tu(!0)},{key:"ArrowUp",run:tu(!1)},{key:"PageDown",run:tu(!0,"page")},{key:"PageUp",run:tu(!1,"page")},{key:"Enter",run:R4}],tP=pa.highest(Zp.computeN([bn],n=>n.facet(bn).defaultKeymap?[uS]:[]));function vs(){var n=arguments[0];typeof n=="string"&&(n=document.createElement(n));var e=1,t=arguments[1];if(t&&typeof t=="object"&&t.nodeType==null&&!Array.isArray(t)){for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var s=t[i];typeof s=="string"?n.setAttribute(i,s):s!=null&&(n[i]=s)}e++}for(;el.from==l.to||l.from==l.to-1&&i.doc.lineAt(l.from).to==l.from?ut.widget({widget:new fP(l),diagnostic:l}).range(l.from):ut.mark({attributes:{class:"cm-lintRange cm-lintRange-"+l.severity},diagnostic:l}).range(l.from,l.to)),!0);return new Wr(o,t,sl(o))}}function sl(n,e=null,t=0){let i=null;return n.between(t,1e9,(s,r,{spec:o})=>{if(!(e&&o.diagnostic!=e))return i=new iP(s,r,o.diagnostic),!1}),i}function nP(n,e){let t=n.startState.doc.lineAt(e.pos);return!!(n.effects.some(i=>i.is(fS))||n.changes.touchesRange(t.from,t.to))}function sP(n,e){return n.field(Mn,!1)?e:e.concat(dt.appendConfig.of(pP))}const fS=dt.define(),mg=dt.define(),hS=dt.define(),Mn=Pn.define({create(){return new Wr(ut.none,null,null)},update(n,e){if(e.docChanged){let t=n.diagnostics.map(e.changes),i=null;if(n.selected){let s=e.changes.mapPos(n.selected.from,1);i=sl(t,n.selected.diagnostic,s)||sl(t,null,s)}n=new Wr(t,n.panel,i)}for(let t of e.effects)t.is(fS)?n=Wr.init(t.value,n.panel,e.state):t.is(mg)?n=new Wr(n.diagnostics,t.value?kf.open:null,n.selected):t.is(hS)&&(n=new Wr(n.diagnostics,n.panel,t.value));return n},provide:n=>[xd.from(n,e=>e.panel),He.decorations.from(n,e=>e.diagnostics)]}),rP=ut.mark({class:"cm-lintRange cm-lintRange-active"});function oP(n,e,t){let{diagnostics:i}=n.state.field(Mn),s=[],r=2e8,o=0;i.between(e-(t<0?1:0),e+(t>0?1:0),(a,u,{spec:c})=>{e>=a&&e<=u&&(a==u||(e>a||t>0)&&(egS(n,t,!1)))}const aP=n=>{let e=n.state.field(Mn,!1);(!e||!e.panel)&&n.dispatch({effects:sP(n.state,[mg.of(!0)])});let t=B3(n,kf.open);return t&&t.dom.querySelector(".cm-panel-lint ul").focus(),!0},p1=n=>{let e=n.state.field(Mn,!1);return!e||!e.panel?!1:(n.dispatch({effects:mg.of(!1)}),!0)},uP=n=>{let e=n.state.field(Mn,!1);if(!e)return!1;let t=n.state.selection.main,i=e.diagnostics.iter(t.to+1);return!i.value&&(i=e.diagnostics.iter(0),!i.value||i.from==t.from&&i.to==t.to)?!1:(n.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)},cP=[{key:"Mod-Shift-m",run:aP,preventDefault:!0},{key:"F8",run:uP}],dS=We.define({combine(n){return Object.assign({sources:n.map(e=>e.source)},ro(n.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null},{needsRefresh:(e,t)=>e?t?i=>e(i)||t(i):e:t}))}});function pS(n){let e=[];if(n)e:for(let{name:t}of n){for(let i=0;ir.toLowerCase()==s.toLowerCase())){e.push(s);continue e}}e.push("")}return e}function gS(n,e,t){var i;let s=t?pS(e.actions):[];return vs("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},vs("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage():e.message),(i=e.actions)===null||i===void 0?void 0:i.map((r,o)=>{let l=!1,a=h=>{if(h.preventDefault(),l)return;l=!0;let d=sl(n.state.field(Mn).diagnostics,e);d&&r.apply(n,d.from,d.to)},{name:u}=r,c=s[o]?u.indexOf(s[o]):-1,f=c<0?u:[u.slice(0,c),vs("u",u.slice(c,c+1)),u.slice(c+1)];return vs("button",{type:"button",class:"cm-diagnosticAction",onclick:a,onmousedown:a,"aria-label":` Action: ${u}${c<0?"":` (access key "${s[o]})"`}.`},f)}),e.source&&vs("div",{class:"cm-diagnosticSource"},e.source))}class fP extends Xs{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return vs("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class g1{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=gS(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class kf{constructor(e){this.view=e,this.items=[];let t=s=>{if(s.keyCode==27)p1(this.view),this.view.focus();else if(s.keyCode==38||s.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(s.keyCode==40||s.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(s.keyCode==36)this.moveSelection(0);else if(s.keyCode==35)this.moveSelection(this.items.length-1);else if(s.keyCode==13)this.view.focus();else if(s.keyCode>=65&&s.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:r}=this.items[this.selectedIndex],o=pS(r.actions);for(let l=0;l{for(let r=0;rp1(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(Mn).selected;if(!e)return-1;for(let t=0;t{let u=-1,c;for(let f=i;fi&&(this.items.splice(i,u-i),s=!0)),t&&c.diagnostic==t.diagnostic?c.dom.hasAttribute("aria-selected")||(c.dom.setAttribute("aria-selected","true"),r=c):c.dom.hasAttribute("aria-selected")&&c.dom.removeAttribute("aria-selected"),i++});i({sel:r.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:o,panel:l})=>{o.topl.bottom&&(this.list.scrollTop+=o.bottom-l.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),s&&this.sync()}sync(){let e=this.list.firstChild;function t(){let i=e;e=i.nextSibling,i.remove()}for(let i of this.items)if(i.dom.parentNode==this.list){for(;e!=i.dom;)t();e=i.dom.nextSibling}else this.list.insertBefore(i.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=this.view.state.field(Mn),i=sl(t.diagnostics,this.items[e].diagnostic);i&&this.view.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:hS.of(i)})}static open(e){return new kf(e)}}function hP(n,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(n)}')`}function gh(n){return hP(``,'width="6" height="3"')}const dP=He.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:gh("#d11")},".cm-lintRange-warning":{backgroundImage:gh("orange")},".cm-lintRange-info":{backgroundImage:gh("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),pP=[Mn,He.decorations.compute([Mn],n=>{let{selected:e,panel:t}=n.field(Mn);return!e||!t||e.from==e.to?ut.none:ut.set([rP.range(e.from,e.to)])}),R3(oP,{hideOn:nP}),dP];var m1=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},ws=[],Fn=[],gP=typeof Uint8Array<"u"?Uint8Array:Array,_g=!1;function mS(){_g=!0;for(var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,t=n.length;e0)throw new Error("Invalid string. Length must be a multiple of 4");r=n[l-2]==="="?2:n[l-1]==="="?1:0,o=new gP(l*3/4-r),i=r>0?l-4:l;var a=0;for(e=0,t=0;e>16&255,o[a++]=s>>8&255,o[a++]=s&255;return r===2?(s=Fn[n.charCodeAt(e)]<<2|Fn[n.charCodeAt(e+1)]>>4,o[a++]=s&255):r===1&&(s=Fn[n.charCodeAt(e)]<<10|Fn[n.charCodeAt(e+1)]<<4|Fn[n.charCodeAt(e+2)]>>2,o[a++]=s>>8&255,o[a++]=s&255),o}function _P(n){return ws[n>>18&63]+ws[n>>12&63]+ws[n>>6&63]+ws[n&63]}function bP(n,e,t){for(var i,s=[],r=e;ra?a:l+o));return i===1?(e=n[t-1],s+=ws[e>>2],s+=ws[e<<4&63],s+="=="):i===2&&(e=(n[t-2]<<8)+n[t-1],s+=ws[e>>10],s+=ws[e>>4&63],s+=ws[e<<2&63],s+="="),r.push(s),r.join("")}function Sf(n,e,t,i,s){var r,o,l=s*8-i-1,a=(1<>1,c=-7,f=t?s-1:0,h=t?-1:1,d=n[e+f];for(f+=h,r=d&(1<<-c)-1,d>>=-c,c+=l;c>0;r=r*256+n[e+f],f+=h,c-=8);for(o=r&(1<<-c)-1,r>>=-c,c+=i;c>0;o=o*256+n[e+f],f+=h,c-=8);if(r===0)r=1-u;else{if(r===a)return o?NaN:(d?-1:1)*(1/0);o=o+Math.pow(2,i),r=r-u}return(d?-1:1)*o*Math.pow(2,r-i)}function _S(n,e,t,i,s,r){var o,l,a,u=r*8-s-1,c=(1<>1,h=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=i?0:r-1,p=i?1:-1,g=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(a=Math.pow(2,-o))<1&&(o--,a*=2),o+f>=1?e+=h/a:e+=h*Math.pow(2,1-f),e*a>=2&&(o++,a/=2),o+f>=c?(l=0,o=c):o+f>=1?(l=(e*a-1)*Math.pow(2,s),o=o+f):(l=e*Math.pow(2,f-1)*Math.pow(2,s),o=0));s>=8;n[t+d]=l&255,d+=p,l/=256,s-=8);for(o=o<0;n[t+d]=o&255,d+=p,o/=256,u-=8);n[t+d-p]|=g*128}var yP={}.toString,bS=Array.isArray||function(n){return yP.call(n)=="[object Array]"},vP=50;ne.TYPED_ARRAY_SUPPORT=m1.TYPED_ARRAY_SUPPORT!==void 0?m1.TYPED_ARRAY_SUPPORT:!0;vc();function vc(){return ne.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Fs(n,e){if(vc()=vc())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+vc().toString(16)+" bytes");return n|0}ne.isBuffer=Un;function Es(n){return!!(n!=null&&n._isBuffer)}ne.compare=function(e,t){if(!Es(e)||!Es(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var i=e.length,s=t.length,r=0,o=Math.min(i,s);r>>1;case"base64":return AS(n).length;default:if(i)return wc(n).length;e=(""+e).toLowerCase(),i=!0}}ne.byteLength=wS;function CP(n,e,t){var i=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(n||(n="utf8");;)switch(n){case"hex":return RP(this,e,t);case"utf8":case"utf-8":return TS(this,e,t);case"ascii":return LP(this,e,t);case"latin1":case"binary":return MP(this,e,t);case"base64":return DP(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return PP(this,e,t);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),i=!0}}ne.prototype._isBuffer=!0;function jr(n,e,t){var i=n[e];n[e]=n[t],n[t]=i}ne.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""};ne.prototype.compare=function(e,t,i,s,r){if(!Es(e))throw new TypeError("Argument must be a Buffer");if(t===void 0&&(t=0),i===void 0&&(i=e?e.length:0),s===void 0&&(s=0),r===void 0&&(r=this.length),t<0||i>e.length||s<0||r>this.length)throw new RangeError("out of range index");if(s>=r&&t>=i)return 0;if(s>=r)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,s>>>=0,r>>>=0,this===e)return 0;for(var o=r-s,l=i-t,a=Math.min(o,l),u=this.slice(s,r),c=e.slice(t,i),f=0;f2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=s?0:n.length-1),t<0&&(t=n.length+t),t>=n.length){if(s)return-1;t=n.length-1}else if(t<0)if(s)t=0;else return-1;if(typeof e=="string"&&(e=ne.from(e,i)),Es(e))return e.length===0?-1:b1(n,e,t,i,s);if(typeof e=="number")return e=e&255,ne.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?s?Uint8Array.prototype.indexOf.call(n,e,t):Uint8Array.prototype.lastIndexOf.call(n,e,t):b1(n,[e],t,i,s);throw new TypeError("val must be string, number or Buffer")}function b1(n,e,t,i,s){var r=1,o=n.length,l=e.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(n.length<2||e.length<2)return-1;r=2,o/=2,l/=2,t/=2}function a(d,p){return r===1?d[p]:d.readUInt16BE(p*r)}var u;if(s){var c=-1;for(u=t;uo&&(t=o-l),u=t;u>=0;u--){for(var f=!0,h=0;hs&&(i=s)):i=s;var r=e.length;if(r%2!==0)throw new TypeError("Invalid hex string");i>r/2&&(i=r/2);for(var o=0;or)&&(i=r),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");s||(s="utf8");for(var o=!1;;)switch(s){case"hex":return IP(this,e,t,i);case"utf8":case"utf-8":return EP(this,e,t,i);case"ascii":return SS(this,e,t,i);case"latin1":case"binary":return AP(this,e,t,i);case"base64":return OP(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return NP(this,e,t,i);default:if(o)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),o=!0}};ne.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function DP(n,e,t){return e===0&&t===n.length?_1(n):_1(n.slice(e,t))}function TS(n,e,t){t=Math.min(n.length,t);for(var i=[],s=e;s239?4:r>223?3:r>191?2:1;if(s+l<=t){var a,u,c,f;switch(l){case 1:r<128&&(o=r);break;case 2:a=n[s+1],(a&192)===128&&(f=(r&31)<<6|a&63,f>127&&(o=f));break;case 3:a=n[s+1],u=n[s+2],(a&192)===128&&(u&192)===128&&(f=(r&15)<<12|(a&63)<<6|u&63,f>2047&&(f<55296||f>57343)&&(o=f));break;case 4:a=n[s+1],u=n[s+2],c=n[s+3],(a&192)===128&&(u&192)===128&&(c&192)===128&&(f=(r&15)<<18|(a&63)<<12|(u&63)<<6|c&63,f>65535&&f<1114112&&(o=f))}}o===null?(o=65533,l=1):o>65535&&(o-=65536,i.push(o>>>10&1023|55296),o=56320|o&1023),i.push(o),s+=l}return xP(i)}var y1=4096;function xP(n){var e=n.length;if(e<=y1)return String.fromCharCode.apply(String,n);for(var t="",i=0;ii)&&(t=i);for(var s="",r=e;ri&&(e=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),tt)throw new RangeError("Trying to access beyond buffer length")}ne.prototype.readUIntLE=function(e,t,i){e=e|0,t=t|0,i||Ci(e,t,this.length);for(var s=this[e],r=1,o=0;++o0&&(r*=256);)s+=this[e+--t]*r;return s};ne.prototype.readUInt8=function(e,t){return t||Ci(e,1,this.length),this[e]};ne.prototype.readUInt16LE=function(e,t){return t||Ci(e,2,this.length),this[e]|this[e+1]<<8};ne.prototype.readUInt16BE=function(e,t){return t||Ci(e,2,this.length),this[e]<<8|this[e+1]};ne.prototype.readUInt32LE=function(e,t){return t||Ci(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};ne.prototype.readUInt32BE=function(e,t){return t||Ci(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};ne.prototype.readIntLE=function(e,t,i){e=e|0,t=t|0,i||Ci(e,t,this.length);for(var s=this[e],r=1,o=0;++o=r&&(s-=Math.pow(2,8*t)),s};ne.prototype.readIntBE=function(e,t,i){e=e|0,t=t|0,i||Ci(e,t,this.length);for(var s=t,r=1,o=this[e+--s];s>0&&(r*=256);)o+=this[e+--s]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*t)),o};ne.prototype.readInt8=function(e,t){return t||Ci(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};ne.prototype.readInt16LE=function(e,t){t||Ci(e,2,this.length);var i=this[e]|this[e+1]<<8;return i&32768?i|4294901760:i};ne.prototype.readInt16BE=function(e,t){t||Ci(e,2,this.length);var i=this[e+1]|this[e]<<8;return i&32768?i|4294901760:i};ne.prototype.readInt32LE=function(e,t){return t||Ci(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};ne.prototype.readInt32BE=function(e,t){return t||Ci(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};ne.prototype.readFloatLE=function(e,t){return t||Ci(e,4,this.length),Sf(this,e,!0,23,4)};ne.prototype.readFloatBE=function(e,t){return t||Ci(e,4,this.length),Sf(this,e,!1,23,4)};ne.prototype.readDoubleLE=function(e,t){return t||Ci(e,8,this.length),Sf(this,e,!0,52,8)};ne.prototype.readDoubleBE=function(e,t){return t||Ci(e,8,this.length),Sf(this,e,!1,52,8)};function Sn(n,e,t,i,s,r){if(!Es(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>s||en.length)throw new RangeError("Index out of range")}ne.prototype.writeUIntLE=function(e,t,i,s){if(e=+e,t=t|0,i=i|0,!s){var r=Math.pow(2,8*i)-1;Sn(this,e,t,i,r,0)}var o=1,l=0;for(this[t]=e&255;++l=0&&(l*=256);)this[t+o]=e/l&255;return t+i};ne.prototype.writeUInt8=function(e,t,i){return e=+e,t=t|0,i||Sn(this,e,t,1,255,0),ne.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=e&255,t+1};function Tf(n,e,t,i){e<0&&(e=65535+e+1);for(var s=0,r=Math.min(n.length-t,2);s>>(i?s:1-s)*8}ne.prototype.writeUInt16LE=function(e,t,i){return e=+e,t=t|0,i||Sn(this,e,t,2,65535,0),ne.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):Tf(this,e,t,!0),t+2};ne.prototype.writeUInt16BE=function(e,t,i){return e=+e,t=t|0,i||Sn(this,e,t,2,65535,0),ne.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):Tf(this,e,t,!1),t+2};function Cf(n,e,t,i){e<0&&(e=4294967295+e+1);for(var s=0,r=Math.min(n.length-t,4);s>>(i?s:3-s)*8&255}ne.prototype.writeUInt32LE=function(e,t,i){return e=+e,t=t|0,i||Sn(this,e,t,4,4294967295,0),ne.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255):Cf(this,e,t,!0),t+4};ne.prototype.writeUInt32BE=function(e,t,i){return e=+e,t=t|0,i||Sn(this,e,t,4,4294967295,0),ne.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):Cf(this,e,t,!1),t+4};ne.prototype.writeIntLE=function(e,t,i,s){if(e=+e,t=t|0,!s){var r=Math.pow(2,8*i-1);Sn(this,e,t,i,r-1,-r)}var o=0,l=1,a=0;for(this[t]=e&255;++o>0)-a&255;return t+i};ne.prototype.writeIntBE=function(e,t,i,s){if(e=+e,t=t|0,!s){var r=Math.pow(2,8*i-1);Sn(this,e,t,i,r-1,-r)}var o=i-1,l=1,a=0;for(this[t+o]=e&255;--o>=0&&(l*=256);)e<0&&a===0&&this[t+o+1]!==0&&(a=1),this[t+o]=(e/l>>0)-a&255;return t+i};ne.prototype.writeInt8=function(e,t,i){return e=+e,t=t|0,i||Sn(this,e,t,1,127,-128),ne.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=e&255,t+1};ne.prototype.writeInt16LE=function(e,t,i){return e=+e,t=t|0,i||Sn(this,e,t,2,32767,-32768),ne.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):Tf(this,e,t,!0),t+2};ne.prototype.writeInt16BE=function(e,t,i){return e=+e,t=t|0,i||Sn(this,e,t,2,32767,-32768),ne.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):Tf(this,e,t,!1),t+2};ne.prototype.writeInt32LE=function(e,t,i){return e=+e,t=t|0,i||Sn(this,e,t,4,2147483647,-2147483648),ne.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Cf(this,e,t,!0),t+4};ne.prototype.writeInt32BE=function(e,t,i){return e=+e,t=t|0,i||Sn(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),ne.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):Cf(this,e,t,!1),t+4};function CS(n,e,t,i,s,r){if(t+i>n.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function IS(n,e,t,i,s){return s||CS(n,e,t,4),_S(n,e,t,i,23,4),t+4}ne.prototype.writeFloatLE=function(e,t,i){return IS(this,e,t,!0,i)};ne.prototype.writeFloatBE=function(e,t,i){return IS(this,e,t,!1,i)};function ES(n,e,t,i,s){return s||CS(n,e,t,8),_S(n,e,t,i,52,8),t+8}ne.prototype.writeDoubleLE=function(e,t,i){return ES(this,e,t,!0,i)};ne.prototype.writeDoubleBE=function(e,t,i){return ES(this,e,t,!1,i)};ne.prototype.copy=function(e,t,i,s){if(i||(i=0),!s&&s!==0&&(s=this.length),t>=e.length&&(t=e.length),t||(t=0),s>0&&s=this.length)throw new RangeError("sourceStart out of bounds");if(s<0)throw new RangeError("sourceEnd out of bounds");s>this.length&&(s=this.length),e.length-t=0;--o)e[o+t]=this[o+i];else if(r<1e3||!ne.TYPED_ARRAY_SUPPORT)for(o=0;o>>0,i=i===void 0?this.length:i>>>0,e||(e=0);var o;if(typeof e=="number")for(o=t;o55295&&t<57344){if(!s){if(t>56319){(e-=3)>-1&&r.push(239,191,189);continue}else if(o+1===i){(e-=3)>-1&&r.push(239,191,189);continue}s=t;continue}if(t<56320){(e-=3)>-1&&r.push(239,191,189),s=t;continue}t=(s-55296<<10|t-56320)+65536}else s&&(e-=3)>-1&&r.push(239,191,189);if(s=null,t<128){if((e-=1)<0)break;r.push(t)}else if(t<2048){if((e-=2)<0)break;r.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;r.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;r.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return r}function VP(n){for(var e=[],t=0;t>8,s=t%256,r.push(s),r.push(i);return r}function AS(n){return mP(zP(n))}function If(n,e,t,i){for(var s=0;s=e.length||s>=n.length);++s)e[s+t]=n[s];return s}function UP(n){return n!==n}function Un(n){return n!=null&&(!!n._isBuffer||OS(n)||GP(n))}function OS(n){return!!n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}function GP(n){return typeof n.readFloatLE=="function"&&typeof n.slice=="function"&&OS(n.slice(0,0))}class wt extends Error{constructor(e,t,i,...s){Array.isArray(t)&&(t=t.join(" ").trim()),super(t),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,wt),this.code=e;for(const r of s)for(const o in r){const l=r[o];this[o]=Un(l)?l.toString(i.encoding):l==null?l:JSON.parse(JSON.stringify(l))}}}const jP=function(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)},NS=function(n){const e=[];for(let t=0,i=n.length;t=this.size&&(this.resize(),t>=this.size))throw Error("INVALID_BUFFER_STATE");const i=this.buf;this.buf=ne.allocUnsafe(this.size),e.copy(this.buf,0),i.copy(this.buf,e.length),this.length+=e.length}else{const t=this.length++;t===this.size&&this.resize();const i=this.clone();this.buf[0]=e,i.copy(this.buf,1,0,t)}}append(e){const t=this.length++;t===this.size&&this.resize(),this.buf[t]=e}clone(){return ne.from(this.buf.slice(0,this.length))}resize(){const e=this.length;this.size=this.size*2;const t=ne.allocUnsafe(this.size);this.buf.copy(t,0,0,e),this.buf=t}toString(e){return e?this.buf.slice(0,this.length).toString(e):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}}const qP=12,YP=13,XP=10,KP=32,$P=9,JP=function(n){return{bomSkipped:!1,bufBytesStart:0,castField:n.cast_function,commenting:!1,error:void 0,enabled:n.from_line===1,escaping:!1,escapeIsQuote:Un(n.escape)&&Un(n.quote)&&ne.compare(n.escape,n.quote)===0,expectedRecordLength:Array.isArray(n.columns)?n.columns.length:void 0,field:new v1(20),firstLineToHeaders:n.cast_first_line_to_header,needMoreDataSize:Math.max(n.comment!==null?n.comment.length:0,...n.delimiter.map(e=>e.length),n.quote!==null?n.quote.length:0),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new v1(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:n.record_delimiter.length===0?0:Math.max(...n.record_delimiter.map(e=>e.length)),trimChars:[ne.from(" ",n.encoding)[0],ne.from(" ",n.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:[ne.from(ne.from([YP],"utf8").toString(),n.encoding),ne.from(ne.from([XP],"utf8").toString(),n.encoding),ne.from(ne.from([qP],"utf8").toString(),n.encoding),ne.from(ne.from([KP],"utf8").toString(),n.encoding),ne.from(ne.from([$P],"utf8").toString(),n.encoding)]}},ZP=function(n){return n.replace(/([A-Z])/g,function(e,t){return"_"+t.toLowerCase()})},w1=function(n){const e={};for(const i in n)e[ZP(i)]=n[i];if(e.encoding===void 0||e.encoding===!0)e.encoding="utf8";else if(e.encoding===null||e.encoding===!1)e.encoding=null;else if(typeof e.encoding!="string"&&e.encoding!==null)throw new wt("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(e.encoding)}`],e);if(e.bom===void 0||e.bom===null||e.bom===!1)e.bom=!1;else if(e.bom!==!0)throw new wt("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(e.bom)}`],e);if(e.cast_function=null,e.cast===void 0||e.cast===null||e.cast===!1||e.cast==="")e.cast=void 0;else if(typeof e.cast=="function")e.cast_function=e.cast,e.cast=!0;else if(e.cast!==!0)throw new wt("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(e.cast)}`],e);if(e.cast_date===void 0||e.cast_date===null||e.cast_date===!1||e.cast_date==="")e.cast_date=!1;else if(e.cast_date===!0)e.cast_date=function(i){const s=Date.parse(i);return isNaN(s)?i:new Date(s)};else if(typeof e.cast_date!="function")throw new wt("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(e.cast_date)}`],e);if(e.cast_first_line_to_header=null,e.columns===!0)e.cast_first_line_to_header=void 0;else if(typeof e.columns=="function")e.cast_first_line_to_header=e.columns,e.columns=!0;else if(Array.isArray(e.columns))e.columns=NS(e.columns);else if(e.columns===void 0||e.columns===null||e.columns===!1)e.columns=!1;else throw new wt("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(e.columns)}`],e);if(e.group_columns_by_name===void 0||e.group_columns_by_name===null||e.group_columns_by_name===!1)e.group_columns_by_name=!1;else{if(e.group_columns_by_name!==!0)throw new wt("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(e.group_columns_by_name)}`],e);if(e.columns===!1)throw new wt("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],e)}if(e.comment===void 0||e.comment===null||e.comment===!1||e.comment==="")e.comment=null;else if(typeof e.comment=="string"&&(e.comment=ne.from(e.comment,e.encoding)),!Un(e.comment))throw new wt("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(e.comment)}`],e);const t=JSON.stringify(e.delimiter);if(Array.isArray(e.delimiter)||(e.delimiter=[e.delimiter]),e.delimiter.length===0)throw new wt("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${t}`],e);if(e.delimiter=e.delimiter.map(function(i){if(i==null||i===!1)return ne.from(",",e.encoding);if(typeof i=="string"&&(i=ne.from(i,e.encoding)),!Un(i)||i.length===0)throw new wt("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${t}`],e);return i}),e.escape===void 0||e.escape===!0?e.escape=ne.from('"',e.encoding):typeof e.escape=="string"?e.escape=ne.from(e.escape,e.encoding):(e.escape===null||e.escape===!1)&&(e.escape=null),e.escape!==null&&!Un(e.escape))throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(e.escape)}`);if(e.from===void 0||e.from===null)e.from=1;else if(typeof e.from=="string"&&/\d+/.test(e.from)&&(e.from=parseInt(e.from)),Number.isInteger(e.from)){if(e.from<0)throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(n.from)}`)}else throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(e.from)}`);if(e.from_line===void 0||e.from_line===null)e.from_line=1;else if(typeof e.from_line=="string"&&/\d+/.test(e.from_line)&&(e.from_line=parseInt(e.from_line)),Number.isInteger(e.from_line)){if(e.from_line<=0)throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(n.from_line)}`)}else throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(n.from_line)}`);if(e.ignore_last_delimiters===void 0||e.ignore_last_delimiters===null)e.ignore_last_delimiters=!1;else if(typeof e.ignore_last_delimiters=="number")e.ignore_last_delimiters=Math.floor(e.ignore_last_delimiters),e.ignore_last_delimiters===0&&(e.ignore_last_delimiters=!1);else if(typeof e.ignore_last_delimiters!="boolean")throw new wt("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(e.ignore_last_delimiters)}`],e);if(e.ignore_last_delimiters===!0&&e.columns===!1)throw new wt("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],e);if(e.info===void 0||e.info===null||e.info===!1)e.info=!1;else if(e.info!==!0)throw new Error(`Invalid Option: info must be true, got ${JSON.stringify(e.info)}`);if(e.max_record_size===void 0||e.max_record_size===null||e.max_record_size===!1)e.max_record_size=0;else if(!(Number.isInteger(e.max_record_size)&&e.max_record_size>=0))if(typeof e.max_record_size=="string"&&/\d+/.test(e.max_record_size))e.max_record_size=parseInt(e.max_record_size);else throw new Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(e.max_record_size)}`);if(e.objname===void 0||e.objname===null||e.objname===!1)e.objname=void 0;else if(Un(e.objname)){if(e.objname.length===0)throw new Error("Invalid Option: objname must be a non empty buffer");e.encoding===null||(e.objname=e.objname.toString(e.encoding))}else if(typeof e.objname=="string"){if(e.objname.length===0)throw new Error("Invalid Option: objname must be a non empty string")}else if(typeof e.objname!="number")throw new Error(`Invalid Option: objname must be a string or a buffer, got ${e.objname}`);if(e.objname!==void 0){if(typeof e.objname=="number"){if(e.columns!==!1)throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}else if(e.columns===!1)throw Error("Invalid Option: objname field must be combined with columns or be defined as an index")}if(e.on_record===void 0||e.on_record===null)e.on_record=void 0;else if(typeof e.on_record!="function")throw new wt("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(e.on_record)}`],e);if(e.quote===null||e.quote===!1||e.quote==="")e.quote=null;else if(e.quote===void 0||e.quote===!0?e.quote=ne.from('"',e.encoding):typeof e.quote=="string"&&(e.quote=ne.from(e.quote,e.encoding)),!Un(e.quote))throw new Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(e.quote)}`);if(e.raw===void 0||e.raw===null||e.raw===!1)e.raw=!1;else if(e.raw!==!0)throw new Error(`Invalid Option: raw must be true, got ${JSON.stringify(e.raw)}`);if(e.record_delimiter===void 0)e.record_delimiter=[];else if(typeof e.record_delimiter=="string"||Un(e.record_delimiter)){if(e.record_delimiter.length===0)throw new wt("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);e.record_delimiter=[e.record_delimiter]}else if(!Array.isArray(e.record_delimiter))throw new wt("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);if(e.record_delimiter=e.record_delimiter.map(function(i,s){if(typeof i!="string"&&!Un(i))throw new wt("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${s},`,`got ${JSON.stringify(i)}`],e);if(i.length===0)throw new wt("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${s},`,`got ${JSON.stringify(i)}`],e);return typeof i=="string"&&(i=ne.from(i,e.encoding)),i}),typeof e.relax_column_count!="boolean")if(e.relax_column_count===void 0||e.relax_column_count===null)e.relax_column_count=!1;else throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(e.relax_column_count)}`);if(typeof e.relax_column_count_less!="boolean")if(e.relax_column_count_less===void 0||e.relax_column_count_less===null)e.relax_column_count_less=!1;else throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(e.relax_column_count_less)}`);if(typeof e.relax_column_count_more!="boolean")if(e.relax_column_count_more===void 0||e.relax_column_count_more===null)e.relax_column_count_more=!1;else throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(e.relax_column_count_more)}`);if(typeof e.relax_quotes!="boolean")if(e.relax_quotes===void 0||e.relax_quotes===null)e.relax_quotes=!1;else throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(e.relax_quotes)}`);if(typeof e.skip_empty_lines!="boolean")if(e.skip_empty_lines===void 0||e.skip_empty_lines===null)e.skip_empty_lines=!1;else throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(e.skip_empty_lines)}`);if(typeof e.skip_records_with_empty_values!="boolean")if(e.skip_records_with_empty_values===void 0||e.skip_records_with_empty_values===null)e.skip_records_with_empty_values=!1;else throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(e.skip_records_with_empty_values)}`);if(typeof e.skip_records_with_error!="boolean")if(e.skip_records_with_error===void 0||e.skip_records_with_error===null)e.skip_records_with_error=!1;else throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(e.skip_records_with_error)}`);if(e.rtrim===void 0||e.rtrim===null||e.rtrim===!1)e.rtrim=!1;else if(e.rtrim!==!0)throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(e.rtrim)}`);if(e.ltrim===void 0||e.ltrim===null||e.ltrim===!1)e.ltrim=!1;else if(e.ltrim!==!0)throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(e.ltrim)}`);if(e.trim===void 0||e.trim===null||e.trim===!1)e.trim=!1;else if(e.trim!==!0)throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(e.trim)}`);if(e.trim===!0&&n.ltrim!==!1?e.ltrim=!0:e.ltrim!==!0&&(e.ltrim=!1),e.trim===!0&&n.rtrim!==!1?e.rtrim=!0:e.rtrim!==!0&&(e.rtrim=!1),e.to===void 0||e.to===null)e.to=-1;else if(typeof e.to=="string"&&/\d+/.test(e.to)&&(e.to=parseInt(e.to)),Number.isInteger(e.to)){if(e.to<=0)throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(n.to)}`)}else throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(n.to)}`);if(e.to_line===void 0||e.to_line===null)e.to_line=-1;else if(typeof e.to_line=="string"&&/\d+/.test(e.to_line)&&(e.to_line=parseInt(e.to_line)),Number.isInteger(e.to_line)){if(e.to_line<=0)throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(n.to_line)}`)}else throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(n.to_line)}`);return e},k1=function(n){return n.every(e=>e==null||e.toString&&e.toString().trim()==="")},QP=13,e8=10,yo={utf8:ne.from([239,187,191]),utf16le:ne.from([255,254])},t8=function(n={}){const e={bytes:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},t=w1(n);return{info:e,original_options:n,options:t,state:JP(t),__needMoreData:function(i,s,r){if(r)return!1;const{encoding:o,escape:l,quote:a}=this.options,{quoting:u,needMoreDataSize:c,recordDelimiterMaxLength:f}=this.state,h=s-i-1,d=Math.max(c,f===0?ne.from(`\r +`,o).length:f,u?(l===null?0:l.length)+a.length:0,u?a.length+f:0);return h_){this.state.stop=!0,o();return}this.state.quoting===!1&&T.length===0&&this.__autoDiscoverRecordDelimiter(O,M)&&(T=this.options.record_delimiter);const L=O[M];if(h===!0&&x.append(L),(L===QP||L===e8)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(y!==null&&this.state.quoting===!0&&this.__isEscape(O,M,L)&&M+y.lengthyo[J].equals(this.state.field.toString())?J:!1).filter(Boolean)[0],Q=this.__error(new wt("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(q.column)} at line ${q.lines}, value is ${JSON.stringify(this.state.field.toString(a))}`,K?`(${K} bom)`:void 0],this.options,q,{field:this.state.field}));if(Q!==void 0)return Q}}else{this.state.quoting=!0,M+=k.length-1;continue}if(this.state.quoting===!1){const q=this.__isRecordDelimiter(L,O,M);if(q!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=u){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),M+=q-1;continue}if(g===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,M+=q-1;continue}this.info.bytes=this.state.bufBytesStart+M;const ce=this.__onField();if(ce!==void 0)return ce;this.info.bytes=this.state.bufBytesStart+M+q;const pe=this.__onRecord(r);if(pe!==void 0)return pe;if(m!==-1&&this.info.records>=m){this.state.stop=!0,o();return}}this.state.commenting=!1,M+=q-1;continue}if(this.state.commenting)continue;if((b===null?0:this.__compareBytes(b,O,M,L))!==0){this.state.commenting=!0;continue}const Q=this.__isDelimiter(O,M,L);if(Q!==0){this.info.bytes=this.state.bufBytesStart+M;const J=this.__onField();if(J!==void 0)return J;M+=Q-1;continue}}}if(this.state.commenting===!1&&f!==0&&this.state.record_length+this.state.field.length>f)return this.__error(new wt("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${f}`,`at line ${this.info.lines}`],this.options,this.__infoField()));const V=c===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(O,M),X=p===!1||this.state.wasQuoting===!1;if(V===!0&&X===!0)this.state.field.append(L);else{if(p===!0&&!this.__isCharTrimable(O,M))return this.__error(new wt("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()));V===!1&&(M+=this.__isCharTrimable(O,M)-1);continue}}if(s===!0)if(this.state.quoting===!0){const L=this.__error(new wt("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(L!==void 0)return L}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+M;const L=this.__onField();if(L!==void 0)return L;const V=this.__onRecord(r);if(V!==void 0)return V}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=M,this.state.previousBuf=O.slice(M);this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1)},__onRecord:function(i){const{columns:s,group_columns_by_name:r,encoding:o,info:l,from:a,relax_column_count:u,relax_column_count_less:c,relax_column_count_more:f,raw:h,skip_records_with_empty_values:d}=this.options,{enabled:p,record:g}=this.state;if(p===!1)return this.__resetRecord();const m=g.length;if(s===!0){if(d===!0&&k1(g)){this.__resetRecord();return}return this.__firstLineToColumns(g)}if(s===!1&&this.info.records===0&&(this.state.expectedRecordLength=m),m!==this.state.expectedRecordLength){const _=s===!1?new wt("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${m} on line ${this.info.lines}`],this.options,this.__infoField(),{record:g}):new wt("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${s.length},`,`got ${m} on line ${this.info.lines}`],this.options,this.__infoField(),{record:g});if(u===!0||c===!0&&mthis.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=_;else{const b=this.__error(_);if(b)return b}}if(d===!0&&k1(g)){this.__resetRecord();return}if(this.state.recordHasError===!0){this.__resetRecord(),this.state.recordHasError=!1;return}if(this.info.records++,a===1||this.info.records>=a){const{objname:_}=this.options;if(s!==!1){const b={};for(let y=0,k=g.length;y{const{timchars:a}=this.state;e:for(let u=0;u=0},__compareBytes:function(i,s,r,o){if(i[0]!==o)return 0;const l=i.length;for(let a=1;athis.state.record.length?i[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}},i8=function(n,e={}){typeof n=="string"&&(n=ne.from(n));const t=e&&e.objname?{}:[],i=t8(e),s=a=>{i.options.objname===void 0?t.push(a):t[a[0]]=a[1]},r=()=>{},o=i.parse(n,!1,s,r);if(o!==void 0)throw o;const l=i.parse(void 0,!0,s,r);if(l!==void 0)throw l;return t},DS={[0]:{name:"general",color:"lightblue"},[1]:{name:"artist",color:"red"},[3]:{name:"copyright",color:"lightpurple"},[4]:{name:"character",color:"green"}},n8=Object.values(DS).flatMap(n=>[[`.cm-autocompletion-${n.name}`,{color:n.color+" !important"}]]).reduce((n,e)=>(n[e[0]]=e[1],n),{});function S1(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function s8(n){if(!n||!isNaN(n))return"";let e;return n>=1e6||n>=1e3&&n<1e4?e=Intl.NumberFormat("en",{notation:"compact",minimumFractionDigits:1,maximumFractionDigits:1}):e=Intl.NumberFormat("en",{notation:"compact"}),e.format(n)}const nr=class{constructor(){P(this,"tags",[]);P(this,"tagsByCategory",{});P(this,"aliases",{})}static get instance(){return nr._instance||(nr._instance=new nr),nr._instance}async load(e=!1){if(this.tags.length>0&&!e)return;this.tags=[];const t=i=>({text:i[0],category:parseInt(i[1]),count:parseInt(i[2]),aliases:i[3].split(",")});await bE(async()=>{const s=await(await fetch("/extra/danbooru.csv")).text(),o=i8(s,{delimiter:","}).map(t);this.tags=o})}autocomplete(e){let t=Bi(e.state).resolveInner(e.pos,-1),i=e.state.sliceDoc(t.from,e.pos);if(/:[0-9.]+$/.exec(i))return null;let r=/\b[a-zA-Z0-9_()-]+$/.exec(i);if(!r)return null;let o=r[0],l;o.startsWith("*")?(o=o.slice(1),l=new RegExp(`${S1(o)}`,"i")):l=new RegExp(`(^|[^a-zA-Z])${S1(o)}`,"i");const a=h=>{let d=h.replaceAll("_"," ");return d=d.replaceAll("(","\\(").replaceAll(")","\\)").replaceAll("[","\\[").replaceAll("]","\\]"),d},u=(h,d,p,g)=>{const m=a(d.label);h.dispatch(tS(h.state,m,p,g))},c=h=>h.text.toLowerCase().search(l)>-1,f=this.tags.filter(c).map(h=>{var p;const d=((p=DS[h.category])==null?void 0:p.name)||"unknown";return{label:h.text,apply:u,detail:s8(h.count),type:d,section:"Tags"}});return{from:r?t.from+r.index:e.pos,options:f,validFor:/^\b([\w_()-]+)?$/}}static getCompletionExt(){const e=nr.instance.autocomplete.bind(nr.instance);return eP({override:[e],interactionDelay:250,optionClass:i=>`cm-autocompletion-${i.type}`})}};let Fl=nr;P(Fl,"_instance");class kc{constructor(e,t,i,s,r,o,l,a,u,c=0,f){this.p=e,this.stack=t,this.state=i,this.reducePos=s,this.pos=r,this.score=o,this.buffer=l,this.bufferBase=a,this.curContext=u,this.lookAhead=c,this.parent=f}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,i=0){let s=e.parser.context;return new kc(e,[],t,i,i,0,[],0,s?new T1(s,s.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let i=e>>19,s=e&65535,{parser:r}=this.p,o=r.dynamicPrecedence(s);if(o&&(this.score+=o),i==0){this.pushState(r.getGoto(this.state,s,!0),this.reducePos),s=2e3&&!(!((t=this.p.parser.nodeSet.types[s])===null||t===void 0)&&t.isAnonymous)&&(a==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSizel;)this.stack.pop();this.reduceContext(s,a)}storeNode(e,t,i,s=4,r=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&o.buffer[l-4]==0&&o.buffer[l-1]>-1){if(t==i)return;if(o.buffer[l-2]>=t){o.buffer[l-2]=i;return}}}if(!r||this.pos==i)this.buffer.push(e,t,i,s);else{let o=this.buffer.length;if(o>0&&this.buffer[o-4]!=0)for(;o>0&&this.buffer[o-2]>i;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,s>4&&(s-=4);this.buffer[o]=e,this.buffer[o+1]=t,this.buffer[o+2]=i,this.buffer[o+3]=s}}shift(e,t,i){let s=this.pos;if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=i,this.shiftContext(t,s),t<=this.p.parser.maxNode&&this.buffer.push(t,s,i,4);else{let r=e,{parser:o}=this.p;(i>this.pos||t<=o.maxNode)&&(this.pos=i,o.stateFlag(r,1)||(this.reducePos=i)),this.pushState(r,s),this.shiftContext(t,s),t<=o.maxNode&&this.buffer.push(t,s,i,4)}}apply(e,t,i){e&65536?this.reduce(e):this.shift(e,t,i)}useNode(e,t){let i=this.p.reused.length-1;(i<0||this.p.reused[i]!=e)&&(this.p.reused.push(e),i++);let s=this.pos;this.reducePos=this.pos=s+e.length,this.pushState(t,s),this.buffer.push(i,s,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let i=e.buffer.slice(t),s=e.bufferBase+t;for(;e&&s==e.bufferBase;)e=e.parent;return new kc(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,i,s,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let i=e<=this.p.parser.maxNode;i&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,i?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new r8(this);;){let i=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(i==0)return!1;if(!(i&65536))return!0;t.reduce(i)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let s=[];for(let r=0,o;ra&1&&l==o)||s.push(t[r],o)}t=s}let i=[];for(let s=0;s>19,s=t&65535,r=this.stack.length-i*3;if(r<0||e.getGoto(this.stack[r],s,!1)<0){let o=this.findForcedReduction();if(o==null)return!1;t=o}this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],i=(s,r)=>{if(!t.includes(s))return t.push(s),e.allActions(s,o=>{if(!(o&393216))if(o&65536){let l=(o>>19)-r;if(l>1){let a=o&65535,u=this.stack.length-l*3;if(u>=0&&e.getGoto(this.stack[u],a,!1)>=0)return l<<19|65536|a}}else{let l=i(o,r+1);if(l!=null)return l}})};return i(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;tthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class T1{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}var C1;(function(n){n[n.Insert=200]="Insert",n[n.Delete=190]="Delete",n[n.Reduce=100]="Reduce",n[n.MaxNext=4]="MaxNext",n[n.MaxInsertStackDepth=300]="MaxInsertStackDepth",n[n.DampenInsertStackDepth=120]="DampenInsertStackDepth",n[n.MinBigReduction=2e3]="MinBigReduction"})(C1||(C1={}));class r8{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,i=e>>19;i==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(i-1)*3;let s=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=s}}class Sc{constructor(e,t,i){this.stack=e,this.pos=t,this.index=i,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new Sc(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new Sc(this.stack,this.pos,this.index)}}function Ll(n,e=Uint16Array){if(typeof n!="string")return n;let t=null;for(let i=0,s=0;i=92&&o--,o>=34&&o--;let a=o-32;if(a>=46&&(a-=46,l=!0),r+=a,l)break;r*=46}t?t[s++]=r:t=new e(r)}return t}class Tu{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const I1=new Tu;class o8{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=I1,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let i=this.range,s=this.rangeIndex,r=this.pos+e;for(;ri.to:r>=i.to;){if(s==this.ranges.length-1)return null;let o=this.ranges[++s];r+=o.from-i.to,i=o}return r}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,i,s;if(t>=0&&t=this.chunk2Pos&&il.to&&(this.chunk2=this.chunk2.slice(0,l.to-i)),s=this.chunk2.charCodeAt(0)}}return i>=this.token.lookAhead&&(this.token.lookAhead=i+1),s}acceptToken(e,t=0){let i=t?this.resolveOffset(t,-1):this.pos;if(i==null||i=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=I1,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let i="";for(let s of this.ranges){if(s.from>=t)break;s.to>e&&(i+=this.input.read(Math.max(s.from,e),Math.min(s.to,t)))}return i}}class Uo{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:i}=t.p;LS(this.data,e,t,this.id,i.data,i.tokenPrecTable)}}Uo.prototype.contextual=Uo.prototype.fallback=Uo.prototype.extend=!1;class xS{constructor(e,t,i){this.precTable=t,this.elseToken=i,this.data=typeof e=="string"?Ll(e):e}token(e,t){let i=e.pos,s=0;for(;;){let r=e.resolveOffset(1,-1);if(LS(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(r==null)break;e.reset(r,e.token),s++}s&&(e.reset(i,e.token),e.acceptToken(this.elseToken,s))}}xS.prototype.contextual=Uo.prototype.fallback=Uo.prototype.extend=!1;function LS(n,e,t,i,s,r){let o=0,l=1<0){let p=n[d];if(a.allows(p)&&(e.token.value==-1||e.token.value==p||l8(p,e.token.value,s,r))){e.acceptToken(p);break}}let c=e.next,f=0,h=n[o+2];if(e.next<0&&h>f&&n[u+h*3-3]==65535&&n[u+h*3-3]==65535){o=n[u+h*3-1];continue e}for(;f>1,p=u+d+(d<<1),g=n[p],m=n[p+1]||65536;if(c=m)f=d+1;else{o=n[p+2],e.advance();continue e}}break}}function E1(n,e,t){for(let i=e,s;(s=n[i])!=65535;i++)if(s==t)return i-e;return-1}function l8(n,e,t,i){let s=E1(t,i,e);return s<0||E1(t,i,n)e)&&!i.type.isError)return t<0?Math.max(0,Math.min(i.to-1,e-25)):Math.min(n.length,Math.max(i.from+1,e+25));if(t<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return t<0?0:n.length}}class a8{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?O1(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?O1(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=o,null;if(r instanceof ci){if(o==e){if(o=Math.max(this.safeFrom,e)&&(this.trees.push(r),this.start.push(o),this.index.push(0))}else this.index[t]++,this.nextStart=o+r.length}}}class u8{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(i=>new Tu)}getActions(e){let t=0,i=null,{parser:s}=e.p,{tokenizers:r}=s,o=s.stateSlot(e.state,3),l=e.curContext?e.curContext.hash:0,a=0;for(let u=0;uf.end+25&&(a=Math.max(f.lookAhead,a)),f.value!=0)){let h=t;if(f.extended>-1&&(t=this.addActions(e,f.extended,f.end,t)),t=this.addActions(e,f.value,f.end,t),!c.extend&&(i=f,t>h))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),!i&&e.pos==this.stream.end&&(i=new Tu,i.value=e.p.parser.eofTerm,i.start=i.end=e.pos,t=this.addActions(e,i.value,i.end,t)),this.mainToken=i,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new Tu,{pos:i,p:s}=e;return t.start=i,t.end=Math.min(i+1,s.stream.end),t.value=i==s.stream.end?s.parser.eofTerm:0,t}updateCachedToken(e,t,i){let s=this.stream.clipPos(i.pos);if(t.token(this.stream.reset(s,e),i),e.value>-1){let{parser:r}=i.p;for(let o=0;o=0&&i.p.parser.dialect.allows(l>>1)){l&1?e.extended=l>>1:e.value=l>>1;break}}}else e.value=0,e.end=this.stream.clipPos(s+1)}putAction(e,t,i,s){for(let r=0;re.bufferLength*4?new a8(i,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,i=this.stacks=[],s,r;if(this.bigReductionCount>300&&e.length==1){let[o]=e;for(;o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;ot)i.push(l);else{if(this.advanceStack(l,i,e))continue;{s||(s=[],r=[]),s.push(l);let a=this.tokens.getMainToken(l);r.push(a.value,a.end)}}break}}if(!i.length){let o=s&&h8(s);if(o)return this.stackToTree(o);if(this.parser.strict)throw new SyntaxError("No parse at "+t);this.recovering||(this.recovering=5)}if(this.recovering&&s){let o=this.stoppedAt!=null&&s[0].pos>this.stoppedAt?s[0]:this.runRecovery(s,r,i);if(o)return this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(i.length>o)for(i.sort((l,a)=>a.score-l.score);i.length>o;)i.pop();i.some(l=>l.reducePos>t)&&this.recovering--}else if(i.length>1){e:for(let o=0;o500&&u.buffer.length>500)if((l.score-u.score||l.buffer.length-u.buffer.length)>0)i.splice(a--,1);else{i.splice(o--,1);continue e}}}i.length>12&&i.splice(12,i.length-12)}this.minStackPos=i[0].pos;for(let o=1;othis.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let a=e.curContext&&e.curContext.tracker.strict,u=a?e.curContext.hash:0;for(let c=this.fragments.nodeAt(s);c;){let f=this.parser.nodeSet.types[c.type.id]==c.type?r.getGoto(e.state,c.type.id):-1;if(f>-1&&c.length&&(!a||(c.prop(rt.contextHash)||0)==u))return e.useNode(c,f),!0;if(!(c instanceof ci)||c.children.length==0||c.positions[0]>0)break;let h=c.children[0];if(h instanceof ci&&c.positions[0]==0)c=h;else break}}let o=r.stateSlot(e.state,4);if(o>0)return e.reduce(o),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let a=0;as?t.push(d):i.push(d)}return!1}advanceFully(e,t){let i=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>i)return D1(e,t),!0}}runRecovery(e,t,i){let s=null,r=!1;for(let o=0;ol.pos?(u==l.pos&&(u++,a=0),l.recoverByDelete(a,u),D1(l,i)):(!s||s.scoree.topRules[l][1]),s=[];for(let l=0;l=0)r(c,a,l[u++]);else{let f=l[u+-c];for(let h=-c;h>0;h--)r(l[u++],a,f);u++}}}this.nodeSet=new tg(t.map((l,a)=>wn.define({name:a>=this.minRepeatTerm?void 0:l,id:a,props:s[a],top:i.indexOf(a)>-1,error:a==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(a)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=s2;let o=Ll(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let l=0;ltypeof l=="number"?new Uo(o,l):l),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,i){let s=new c8(this,e,t,i);for(let r of this.wrappers)s=r(s,e,t,i);return s}getGoto(e,t,i=!1){let s=this.goto;if(t>=s[0])return-1;for(let r=s[t+1];;){let o=s[r++],l=o&1,a=s[r++];if(l&&i)return a;for(let u=r+(o>>1);r0}validAction(e,t){return!!this.allActions(e,i=>i==t?!0:null)}allActions(e,t){let i=this.stateSlot(e,4),s=i?t(i):void 0;for(let r=this.stateSlot(e,1);s==null;r+=3){if(this.data[r]==65535)if(this.data[r+1]==1)r=Rs(this.data,r+2);else break;s=t(Rs(this.data,r+1))}return s}nextStates(e){let t=[];for(let i=this.stateSlot(e,1);;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=Rs(this.data,i+2);else break;if(!(this.data[i+2]&1)){let s=this.data[i+1];t.some((r,o)=>o&1&&r==s)||t.push(this.data[i],s)}}return t}configure(e){let t=Object.assign(Object.create(Tc.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let i=this.topRules[e.top];if(!i)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=i}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(i=>{let s=e.tokenizers.find(r=>r.from==i);return s?s.to:i})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((i,s)=>{let r=e.specializers.find(l=>l.from==i.external);if(!r)return i;let o=Object.assign(Object.assign({},i),{external:r.to});return t.specializers[s]=x1(o),o})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),e.bufferLength!=null&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),i=t.map(()=>!1);if(e)for(let r of e.split(" ")){let o=t.indexOf(r);o>=0&&(i[o]=!0)}let s=null;for(let r=0;ri)&&t.p.parser.stateFlag(t.state,2)&&(!e||e.scoren.external(t,i)<<1|e}return n.get}const d8=Tc.deserialize({version:14,states:"#YQ]QPOOPkOPOOOpQPO'#CeOOQO'#Co'#CoOOQO'#Cg'#CgQ]QPOOP!ROQO'#C^POOO)C>_)C>_OOQO,59P,59PO!^QPO,59POOQO-E6e-E6ePOOO'#Cf'#CfP!oOQO,58xPOOO,58x,58xOOQO1G.k1G.kPOOO-E6d-E6dPOOO1G.d1G.d",stateData:"!z~O^OSPOS_PQ~OSROTROUROWQO~O_UO~OSROTROUROVWOWQO~O`ZOaZOb]O~OSROTROUROV^OWQO~O`ZOaZOb`O~O",goto:"!UdPPePPPPPPhntPPPPPPP!ORVPXROQTXQ[UR_[QTOQXQTYTXXSOQTX",nodeNames:"⚠ LineComment BlockComment Program Identifier String Boolean ) ( Application",maxTerm:19,nodeProps:[["openedBy",7,"("],["closedBy",8,")"]],skippedNodes:[0,1,2,10],repeatNodeCount:2,tokenData:"%q~R^XY}YZ}]^}pq}rs!`st#|xy$[yz$a}!O$f!P!Q$z!Q![$f!c!}$f#R#S$f#T#o$f~!SS^~XY}YZ}]^}pq}~!cVOr!`rs!xs#O!`#O#P!}#P;'S!`;'S;=`#v<%lO!`~!}OT~~#QRO;'S!`;'S;=`#Z;=`O!`~#^WOr!`rs!xs#O!`#O#P!}#P;'S!`;'S;=`#v;=`<%l!`<%lO!`~#yP;=`<%l!`~$PQ#Y#Z$V#h#i$V~$[OU~~$aOW~~$fOV~~$kTS~}!O$f!Q![$f!c!}$f#R#S$f#T#o$f~$}Qz{%T!P!Q%Y~%YO_~~%_SP~OY%YZ;'S%Y;'S;=`%k<%lO%Y~%nP;=`<%l%Y",tokenizers:[1,new xS("j~RQYZXz{^~^Oa~~aP!P!Qd~iOb~~",25,16)],topRules:{Program:[0,3]},tokenPrec:0}),p8=dc.define({name:"ComfyUI",parser:d8.configure({props:[a2({LineComment:H.lineComment,BlockComment:H.blockComment})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}),g8=(()=>[j3(),p3(),yR(),LM(),r3(),pt.allowMultipleSelections.of(!0),vM(),ag(BM,{fallback:!0}),U4(),C3(),A3(),He.lineWrapping,Fl.getCompletionExt(),new uM(p8),Zp.of([...Y4,...y4,...AR,...NM,...uS,...cP])])();function m8(n){let e=n[0].attrs.title+"",t;return{c(){t=ke(e)},m(i,s){A(i,t,s)},p(i,s){s&1&&e!==(e=i[0].attrs.title+"")&&je(t,e)},d(i){i&&E(t)}}}function _8(n){let e,t,i,s,r;return e=new kn({props:{$$slots:{default:[m8]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment),t=se(),i=z("div"),s=z("div"),v(s,"class","codemirror-wrapper "+y8+" svelte-1y013ij"),v(i,"class","wrap svelte-1y013ij")},m(o,l){G(e,o,l),A(o,t,l),A(o,i,l),F(i,s),n[7](s),r=!0},p(o,l){const a={};l&2097153&&(a.$$scope={dirty:l,ctx:o}),e.$set(a)},i(o){r||(S(e.$$.fragment,o),r=!0)},o(o){C(e.$$.fragment,o),r=!1},d(o){o&&(E(t),E(i)),j(e,o),n[7](null)}}}function b8(n){let e,t,i;return t=new yt({props:{$$slots:{default:[_8]},$$scope:{ctx:n}}}),{c(){e=z("div"),Y(t.$$.fragment),v(e,"class","code-editor-wrapper svelte-1y013ij")},m(s,r){A(s,e,r),G(t,e,null),i=!0},p(s,[r]){const o={};r&2097157&&(o.$$scope={dirty:r,ctx:s}),t.$set(o)},i(s){i||(S(t.$$.fragment,s),i=!0)},o(s){C(t.$$.fragment,s),i=!1},d(s){s&&E(e),j(t)}}}let y8="";function v8(n){var i;let e=n.dom.querySelectorAll(".cm-gutterElement");if(e.length===0)return null;for(var t=0;t(s(),s=ot(a,O=>t(6,i=O)),a);n.$$.on_destroy.push(()=>s());let{widget:o}=e,{node:l}=e,{nodeValue:a=Be("")}=e;r();let{extraExtensions:u=[]}=e,c=5,f,h;const d=mi();let p=He.theme({"&":{width:"100%",maxWidth:"100%",height:"12rem",fontSize:"var(--text-sm)",backgroundColor:"var(--input-background-fill)"},".cm-content":{paddingTop:"5px",paddingBottom:"5px",color:"var(--body-text-color)",fontFamily:"var(--font-mono)",minHeight:"100%"},".cm-gutters":{marginRight:"1px",borderRight:"1px solid var(--border-color-primary)",backgroundColor:"transparent",color:"var(--body-text-color-subdued)"},".cm-focused":{outline:"none"},".cm-scroller":{height:"auto"},".cm-cursor":{borderLeftColor:"var(--body-text-color)"},".cm-selectionBackground":{backgroundColor:"var(--secondary-600) !important"},".cm-tooltip":{backgroundColor:"var(--panel-background-fill) !important",border:"1px solid var(--panel-border-color) !important"},".cm-tooltip-autocomplete":{color:"var(--body-text-color) !important"},".cm-tooltip-autocomplete > ul > li[aria-selected]":{color:"unset"},...n8});rl(()=>(h=x(),()=>h==null?void 0:h.destroy()));function g(){h==null||h.dispatch({effects:dt.reconfigure.of(I())})}function m(O){h&&O!==h.state.doc.toString()&&h.dispatch({changes:{from:0,to:h.state.doc.length,insert:O}})}function _(O){h&&h.requestMeasure({read:b})}function b(O){return O.dom.querySelectorAll(".cm-gutter"),v8(O),null}function y(O){if(O.docChanged){const M=O.state.doc.toString();pi(a,i=M,i),d("change",M)}h.requestMeasure({read:b})}function k(O,D){const M=[He.editable.of(!O),pt.readOnly.of(O)];return M.push(g8),D&&M.push(w3(D)),M.push(He.updateListener.of(y)),M}function T(O){const D=[];return O?D.push(eR):D.push(aR),D}function I(){return[...k(!1,""),p,...T(!0),...u]}function R(O){return pt.create({doc:O??void 0,extensions:I()})}function x(){return new He({parent:f,state:R(i)})}function N(O){Ze[O?"unshift":"push"](()=>{f=O,t(2,f)})}return n.$$set=O=>{"widget"in O&&t(0,o=O.widget),"node"in O&&t(3,l=O.node),"nodeValue"in O&&r(t(1,a=O.nodeValue)),"extraExtensions"in O&&t(4,u=O.extraExtensions)},n.$$.update=()=>{var O;n.$$.dirty&8&&t(5,c=((O=l==null?void 0:l.properties)==null?void 0:O.lines)||5),n.$$.dirty&64&&m(i),n.$$.dirty&32&&_()},g(),[o,a,f,l,u,c,i,N]}class k8 extends _e{constructor(e){super(),me(this,e,w8,b8,ae,{widget:0,node:3,nodeValue:1,extraExtensions:4})}}function L1(n){let e,t,i,s;const r=[T8,S8],o=[];function l(a,u){return a[0].attrs.variant==="code"?0:1}return e=l(n),t=o[e]=r[e](n),{c(){t.c(),i=we()},m(a,u){o[e].m(a,u),A(a,i,u),s=!0},p(a,u){let c=e;e=l(a),e===c?o[e].p(a,u):(oe(),C(o[c],1,1,()=>{o[c]=null}),le(),t=o[e],t?t.p(a,u):(t=o[e]=r[e](a),t.c()),S(t,1),t.m(i.parentNode,i))},i(a){s||(S(t),s=!0)},o(a){C(t),s=!1},d(a){a&&E(i),o[e].d(a)}}}function S8(n){let e,t,i;function s(o){n[7](o)}let r={label:n[0].attrs.title,disabled:Kn(n[0]),lines:n[1].properties.multiline?n[1].properties.lines:1,max_lines:n[1].properties.multiline?n[1].properties.maxLines:1,show_label:n[0].attrs.title!==""};return n[4]!==void 0&&(r.value=n[4]),e=new dr({props:r}),Ze.push(()=>jt(e,"value",s)),e.$on("change",n[8]),e.$on("submit",n[9]),e.$on("blur",n[10]),e.$on("select",n[11]),{c(){Y(e.$$.fragment)},m(o,l){G(e,o,l),i=!0},p(o,l){const a={};l&1&&(a.label=o[0].attrs.title),l&1&&(a.disabled=Kn(o[0])),l&2&&(a.lines=o[1].properties.multiline?o[1].properties.lines:1),l&2&&(a.max_lines=o[1].properties.multiline?o[1].properties.maxLines:1),l&1&&(a.show_label=o[0].attrs.title!==""),!t&&l&16&&(t=!0,a.value=o[4],Gt(()=>t=!1)),e.$set(a)},i(o){i||(S(e.$$.fragment,o),i=!0)},o(o){C(e.$$.fragment,o),i=!1},d(o){j(e,o)}}}function T8(n){let e,t;return e=new k8({props:{widget:n[0],node:n[1],nodeValue:n[2]}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&1&&(r.widget=i[0]),s&2&&(r.node=i[1]),s&4&&(r.nodeValue=i[2]),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function C8(n){let e,t,i=n[1]!==null&&n[2]!==null&&L1(n);return{c(){e=z("div"),i&&i.c(),v(e,"class","wrapper gradio-textbox svelte-1bwr6zx")},m(s,r){A(s,e,r),i&&i.m(e,null),t=!0},p(s,[r]){s[1]!==null&&s[2]!==null?i?(i.p(s,r),r&6&&S(i,1)):(i=L1(s),i.c(),S(i,1),i.m(e,null)):i&&(oe(),C(i,1,1,()=>{i=null}),le())},i(s){t||(S(i),t=!0)},o(s){C(i),t=!1},d(s){s&&E(e),i&&i.d()}}}function I8(n,e,t){let i,s=Z,r=()=>(s(),s=ot(d,k=>t(6,i=k)),d),o,l=Z,a=()=>(l(),l=ot(h,k=>t(4,o=k)),h);n.$$.on_destroy.push(()=>s()),n.$$.on_destroy.push(()=>l());let{widget:u=null}=e,{isMobile:c=!1}=e,f=null,h=null;a();let d=null;r();function p(k){k&&(t(1,f=k.node),a(t(2,h=f.value)),r(t(3,d=f.propsChanged)))}function g(k){o=k,h.set(o)}function m(k){Ut.call(this,n,k)}function _(k){Ut.call(this,n,k)}function b(k){Ut.call(this,n,k)}function y(k){Ut.call(this,n,k)}return n.$$set=k=>{"widget"in k&&t(0,u=k.widget),"isMobile"in k&&t(5,c=k.isMobile)},n.$$.update=()=>{n.$$.dirty&1&&u&&p(u),n.$$.dirty&71&&h!==null&&(!i||i)&&(p(u),t(1,f),t(2,h),t(6,i),t(0,u))},[u,f,h,d,o,c,i,g,m,_,b,y]}class E8 extends _e{constructor(e){super(),me(this,e,I8,C8,ae,{widget:0,isMobile:5})}}class vg extends As{constructor(t){super(t,"");P(this,"properties",{tags:[],defaultValue:"",multiline:!1,lines:5,maxLines:5});P(this,"inputSlotName","value");P(this,"svelteComponentType",E8);P(this,"defaultValue","")}parseValue(t){return`${t}`}}P(vg,"slotLayout",{inputs:[{name:"value",type:"string"},{name:"store",type:$.ACTION}],outputs:[{name:"value",type:"string"},{name:"changed",type:$.EVENT}]});w.registerNodeType({class:vg,title:"UI.Text",desc:"Textbox outputting a string value",type:"ui/text"});const{window:A8}=$T;function M1(n,e,t){const i=n.slice();i[42]=e[t],i[45]=t;const s=i[8]===i[45];return i[43]=s,i}function O8(n){const e=n.slice(),t=e[2][e[8]];return e[41]=t,e}function bh(n){const e=n.slice(),t=e[0].attrs.title;return e[46]=t,e}function R1(n){let e,t;return e=new ef({props:{label:n[46],show_label:n[46]!="",Icon:cA,float:n[46]!=""}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s[0]&1&&(r.label=i[46]),s[0]&1&&(r.show_label=i[46]!=""),s[0]&1&&(r.float=i[46]!=""),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function N8(n){let e;return{c(){e=z("div"),e.innerHTML='(No regions)',v(e,"class","regions-empty svelte-4pq7qz")},m(t,i){A(t,e,i)},p:Z,i:Z,o:Z,d(t){t&&E(e)}}}function D8(n){let e,t,i,s=`${n[12]?n[9]*100:100}%`,r,o,l,a,u,c=Xe(n[11]),f=[];for(let d=0;d{h=null}),le())},i(d){u||(S(h),u=!0)},o(d){C(h),u=!1},d(d){d&&(E(e),E(l),E(a)),n[24](null),n[25](null),zi(f,d),h&&h.d(d)}}}function P1(n){let e,t,i,s=`${n[42].xPx}px`,r=`${n[42].yPx}px`,o=`${n[42].widthPx}px`,l=`${n[42].heightPx}px`,a,u;function c(...f){return n[26](n[45],...f)}return{c(){e=z("div"),t=z("span"),t.textContent="Warning: Region very large!",i=se(),v(t,"class","tip svelte-4pq7qz"),ve(t,"display",n[42].warnLargeSize?"block":"none"),v(e,"class","region svelte-4pq7qz"),ve(e,"left",s),ve(e,"top",r),ve(e,"width",o),ve(e,"height",l),ve(e,"background",n[42].bgColor),ve(e,"border-style",n[43]?"solid":"dotted"),ve(e,"border-color",n[42].borderColor),ve(e,"display","block"),ve(e,"opacity",n[43]?"100%":"40%"),ve(e,"z-index",n[43]?"var(--layer-3)":"var(--layer-2)")},m(f,h){A(f,e,h),F(e,t),F(e,i),a||(u=[ee(e,"mousemove",W8),ee(e,"mousedown",c)],a=!0)},p(f,h){n=f,h[0]&2048&&ve(t,"display",n[42].warnLargeSize?"block":"none"),h[0]&2048&&s!==(s=`${n[42].xPx}px`)&&ve(e,"left",s),h[0]&2048&&r!==(r=`${n[42].yPx}px`)&&ve(e,"top",r),h[0]&2048&&o!==(o=`${n[42].widthPx}px`)&&ve(e,"width",o),h[0]&2048&&l!==(l=`${n[42].heightPx}px`)&&ve(e,"height",l),h[0]&2048&&ve(e,"background",n[42].bgColor),h[0]&256&&ve(e,"border-style",n[43]?"solid":"dotted"),h[0]&2048&&ve(e,"border-color",n[42].borderColor),h[0]&256&&ve(e,"opacity",n[43]?"100%":"40%"),h[0]&256&&ve(e,"z-index",n[43]?"var(--layer-3)":"var(--layer-2)")},d(f){f&&E(e),a=!1,lt(u)}}}function B1(n){let e,t;return e=new yt({props:{$$slots:{default:[P8]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s[0]&4868|s[1]&65536&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function x8(n){let e,t;return e=new $o({props:{label:"Region #",value:n[8]+1,show_label:!0,minimum:1,maximum:n[2].length,step:1}}),e.$on("change",n[27]),e.$on("release",n[20]),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s[0]&256&&(r.value=i[8]+1),s[0]&4&&(r.maximum=i[2].length),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function L8(n){let e,t,i,s;return e=new $o({props:{label:"X",value:n[41][0],show_label:!0,minimum:0,maximum:1,step:.01}}),e.$on("change",n[28]),e.$on("release",n[20]),i=new $o({props:{label:"Width",value:n[41][2],show_label:!0,minimum:0,maximum:1,step:.01}}),i.$on("change",n[29]),i.$on("release",n[20]),{c(){Y(e.$$.fragment),t=se(),Y(i.$$.fragment)},m(r,o){G(e,r,o),A(r,t,o),G(i,r,o),s=!0},p(r,o){const l={};o[0]&260&&(l.value=r[41][0]),e.$set(l);const a={};o[0]&260&&(a.value=r[41][2]),i.$set(a)},i(r){s||(S(e.$$.fragment,r),S(i.$$.fragment,r),s=!0)},o(r){C(e.$$.fragment,r),C(i.$$.fragment,r),s=!1},d(r){r&&E(t),j(e,r),j(i,r)}}}function M8(n){let e,t,i,s;return e=new $o({props:{label:"Y",value:n[41][1],show_label:!0,minimum:0,maximum:1,step:.01}}),e.$on("change",n[30]),e.$on("release",n[20]),i=new $o({props:{label:"Height",value:n[41][3],show_label:!0,minimum:0,maximum:1,step:.01}}),i.$on("change",n[31]),i.$on("release",n[20]),{c(){Y(e.$$.fragment),t=se(),Y(i.$$.fragment)},m(r,o){G(e,r,o),A(r,t,o),G(i,r,o),s=!0},p(r,o){const l={};o[0]&260&&(l.value=r[41][1]),e.$set(l);const a={};o[0]&260&&(a.value=r[41][3]),i.$set(a)},i(r){s||(S(e.$$.fragment,r),S(i.$$.fragment,r),s=!0)},o(r){C(e.$$.fragment,r),C(i.$$.fragment,r),s=!1},d(r){r&&E(t),j(e,r),j(i,r)}}}function z1(n){let e,t;return e=new Kr({props:{$$slots:{default:[R8]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s[0]&512|s[1]&65536&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function R8(n){let e,t,i;function s(o){n[32](o)}let r={label:"Image Opacity",show_label:!0,minimum:0,maximum:1,step:.01};return n[9]!==void 0&&(r.value=n[9]),e=new $o({props:r}),Ze.push(()=>jt(e,"value",s)),{c(){Y(e.$$.fragment)},m(o,l){G(e,o,l),i=!0},p(o,l){const a={};!t&&l[0]&512&&(t=!0,a.value=o[9],Gt(()=>t=!1)),e.$set(a)},i(o){i||(S(e.$$.fragment,o),i=!0)},o(o){C(e.$$.fragment,o),i=!1},d(o){j(e,o)}}}function P8(n){let e,t,i,s,r,o,l,a;e=new Kr({props:{$$slots:{default:[x8]},$$scope:{ctx:n}}}),i=new Kr({props:{$$slots:{default:[L8]},$$scope:{ctx:n}}}),r=new Kr({props:{$$slots:{default:[M8]},$$scope:{ctx:n}}});let u=n[12]&&z1(n);return{c(){Y(e.$$.fragment),t=se(),Y(i.$$.fragment),s=se(),Y(r.$$.fragment),o=se(),u&&u.c(),l=we()},m(c,f){G(e,c,f),A(c,t,f),G(i,c,f),A(c,s,f),G(r,c,f),A(c,o,f),u&&u.m(c,f),A(c,l,f),a=!0},p(c,f){const h={};f[0]&260|f[1]&65536&&(h.$$scope={dirty:f,ctx:c}),e.$set(h);const d={};f[0]&260|f[1]&65536&&(d.$$scope={dirty:f,ctx:c}),i.$set(d);const p={};f[0]&260|f[1]&65536&&(p.$$scope={dirty:f,ctx:c}),r.$set(p),c[12]?u?(u.p(c,f),f[0]&4096&&S(u,1)):(u=z1(c),u.c(),S(u,1),u.m(l.parentNode,l)):u&&(oe(),C(u,1,1,()=>{u=null}),le())},i(c){a||(S(e.$$.fragment,c),S(i.$$.fragment,c),S(r.$$.fragment,c),S(u),a=!0)},o(c){C(e.$$.fragment,c),C(i.$$.fragment,c),C(r.$$.fragment,c),C(u),a=!1},d(c){c&&(E(t),E(s),E(o),E(l)),j(e,c),j(i,c),j(r,c),u&&u.d(c)}}}function B8(n){var f;let e,t,i,s,r,o=((f=n[0])==null?void 0:f.attrs.title)&&R1(bh(n));const l=[D8,N8],a=[];function u(h,d){return h[10]?0:1}function c(h,d){return d===0?O8(h):h}return t=u(n),i=a[t]=l[t](c(n,t)),{c(){o&&o.c(),e=se(),i.c(),s=we()},m(h,d){o&&o.m(h,d),A(h,e,d),a[t].m(h,d),A(h,s,d),r=!0},p(h,d){var g;(g=h[0])!=null&&g.attrs.title?o?(o.p(bh(h),d),d[0]&1&&S(o,1)):(o=R1(bh(h)),o.c(),S(o,1),o.m(e.parentNode,e)):o&&(oe(),C(o,1,1,()=>{o=null}),le());let p=t;t=u(h),t===p?a[t].p(c(h,t),d):(oe(),C(a[p],1,1,()=>{a[p]=null}),le(),i=a[t],i?i.p(c(h,t),d):(i=a[t]=l[t](c(h,t)),i.c()),S(i,1),i.m(s.parentNode,s))},i(h){r||(S(o),S(i),r=!0)},o(h){C(o),C(i),r=!1},d(h){h&&(E(e),E(s)),o&&o.d(h),a[t].d(h)}}}function F1(n){let e,t;return e=new yt({props:{$$slots:{default:[B8]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s[0]&7965|s[1]&65536&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function z8(n){var l;let e=(l=n[1])==null?void 0:l.properties.canvasWidth,t,i,s,r,o=F1(n);return{c(){o.c(),t=we()},m(a,u){o.m(a,u),A(a,t,u),i=!0,s||(r=ee(A8,"resize",n[14]),s=!0)},p(a,u){var c;u[0]&2&&ae(e,e=(c=a[1])==null?void 0:c.properties.canvasWidth)?(oe(),C(o,1,1,Z),le(),o=F1(a),o.c(),S(o,1),o.m(t.parentNode,t)):o.p(a,u)},i(a){i||(S(o),i=!0)},o(a){C(o),i=!1},d(a){a&&E(t),o.d(a),s=!1,r()}}}const F8=1280,hr=5,iu=5,Cl=3;function W8(n){const e=n.target,t=e.getBoundingClientRect(),i=n.clientX,s=n.clientY,r=i>=t.left&&i<=t.left+hr,o=i>=t.right-hr&&i<=t.right,l=s>=t.top&&s<=t.top+hr,a=s>=t.bottom-hr&&s<=t.bottom;r&&l||o&&a?e.style.cursor="nwse-resize":r&&a||o&&l?e.style.cursor="nesw-resize":r||o?e.style.cursor="ew-resize":l||a?e.style.cursor="ns-resize":e.style.cursor="move"}function V8(n,e,t){let i,s=Z,r=()=>(s(),s=ot(b,fe=>t(2,i=fe)),b),o,l=Z,a=()=>(l(),l=ot(k,fe=>t(22,o=fe)),k),u,c=Z,f=()=>(c(),c=ot(y,fe=>t(23,u=fe)),y);n.$$.on_destroy.push(()=>s()),n.$$.on_destroy.push(()=>l()),n.$$.on_destroy.push(()=>c());const h=[["#ff0000","rgba(255, 0, 0, 0.3)"],["#ff9900","rgba(255, 153, 0, 0.3)"],["#ffff00","rgba(255, 255, 0, 0.3)"],["#33cc33","rgba(51, 204, 51, 0.3)"],["#33cccc","rgba(51, 204, 204, 0.3)"],["#0066ff","rgba(0, 102, 255, 0.3)"],["#6600ff","rgba(102, 0, 255, 0.3)"],["#cc00cc","rgba(204, 0, 204, 0.3)"],["#ff6666","rgba(255, 102, 102, 0.3)"],["#ffcc66","rgba(255, 204, 102, 0.3)"],["#99cc00","rgba(153, 204, 0, 0.3)"],["#00cc99","rgba(0, 204, 153, 0.3)"],["#0099cc","rgba(0, 153, 204, 0.3)"],["#9933cc","rgba(153, 51, 204, 0.3)"],["#ff3399","rgba(255, 51, 153, 0.3)"],["#996633","rgba(153, 102, 51, 0.3)"]];let{widget:d=null}=e,{isMobile:p=!1}=e,g,m,_=null,b=Be([]);r();let y=Be(!1);f();let k=Be(!1);a();let T=0,I=1;function R(fe){fe&&(t(1,_=fe.node),r(t(5,b=_.value)),_.propsChanged,f(t(6,y=_.sizeChanged)),a(t(7,k=_.regionsChanged)),D())}let x=!1,N=[];async function O(fe,Te){return fe||(fe=_),Te||(Te=i),fe!=null&&m!=null&&g!=null?(t(8,T=yi(T,0,Te.length-1)),await L(fe.properties.canvasWidth,fe.properties.canvasHeight,fe.properties.canvasImageURL),Te.map((Ge,It)=>X(Ge,It,m))):[]}async function D(){if(_!=null)return L(_.properties.canvasWidth,_.properties.canvasHeight,_.properties.canvasImageURL).then(()=>O()).then(fe=>{t(11,N=fe)})}rl(async()=>{await D()});let M=!1;async function L(fe,Te,Ge){t(10,x=fe>0&&Te>0),t(12,M=Ge!=null),Ge==null&&(Ge=WE(fe,Te,"transparent").toDataURL());const It=await Mp(Ge);It.classList.add("regions-image"),g!=null&&g.replaceChildren(It),t(4,m=It),t(4,m.style.border=`${Cl}px solid var(--border-color-primary)`,m),pi(y,u=!1,u)}function V(fe,Te){pi(b,i[fe]=Te,i),t(11,N[fe]=X(Te,fe,m,N[fe]),N)}function X(fe,Te,Ge,It){const[Pt,ni,Xt,Fi]=fe,Ei=Math.min(Ge.clientWidth/Ge.naturalWidth,Ge.clientHeight/Ge.naturalHeight),hi=Ge.clientWidth/2,st=Ge.clientHeight/2,ei=Ge.naturalWidth*Ei,Wi=Ge.naturalHeight*Ei,ct=hi-ei/2+Cl,si=hi+ei/2+Cl,Tn=st-Wi/2+Cl,tn=st+Wi/2+Cl,Ce=ct+ei*Pt,tt=Tn+Wi*ni,vt=Math.min(ei*Xt,si-Ce),Kt=Math.min(Wi*Fi,tn-tt),cn=F8/1*Ei,Hi=cn/ei,Ks=cn/Wi,$s=Xt>Hi||Fi>Ks,[At,fn]=h[Te%h.length];return It||(It={}),It.xPx=Ce,It.yPx=tt,It.widthPx=vt,It.heightPx=Kt,It.warnLargeSize=$s,It.bgColor=fn,It.borderColor=At,It}function q(fe,Te){if(fe.button!==0)return;let Ge=i[Te];if(!m||!Ge)return;t(8,T=Te);const Pt=fe.target.getBoundingClientRect();let ni=fe.clientX,Xt=fe.clientY;const Fi=ni>=Pt.left&&ni<=Pt.left+hr,Ei=ni>=Pt.right-hr&&ni<=Pt.right,hi=Xt>=Pt.top&&Xt<=Pt.top+hr,st=Xt>=Pt.bottom-hr&&Xt<=Pt.bottom,ei=ni>=Pt.left+iu&&ni<=Pt.right-iu,Wi=Xt>=Pt.top+iu&&Xt<=Pt.bottom-iu;if(!Fi&&!Ei&&!hi&&!st&&!ei&&!Wi)return;const ct=Fi?Ge[0]+Ge[2]:Ge[0],si=hi?Ge[1]+Ge[3]:Ge[1];let Tn=Math.min(m.clientWidth/m.naturalWidth,m.clientHeight/m.naturalHeight),tn=m.getBoundingClientRect(),Ce=m.naturalWidth*Tn,tt=m.naturalHeight*Tn,vt=tn.left+window.scrollX+m.clientWidth/2,Kt=tn.top+window.scrollY+m.clientHeight/2,Vi=vt-Ce/2-window.scrollX,cn=vt+Ce/2-window.scrollX,Hi=Kt-tt/2-window.scrollY,Ks=Kt+tt/2-window.scrollY;ni=Math.min(Math.max(ni,Vi),cn),Xt=Math.min(Math.max(Xt,Hi),Ks);function $s(fn){fn.preventDefault();let Js=fn.clientX,Ns=fn.clientY;Js=Math.min(Math.max(Js,Vi),cn),Ns=Math.min(Math.max(Ns,Hi),Ks);const Ai=(Js-ni)/Ce,Ui=(Ns-Xt)/tt;if(ni=Js,Xt=Ns,Ai===0&&Ui===0)return;let[ri,$t,xt,Ot]=Ge;ei&&Wi?(ri=Math.min(Math.max(ri+Ai,0),1-xt),$t=Math.min(Math.max($t+Ui,0),1-Ot)):((Fi||Ei)&&(ri1&&(xt=1-ri)),(hi||st)&&($t1&&(Ot=1-$t)));const[fl,hn,co]=i[Te];hn[0]===ri&&hn[1]===$t&&hn[2]===xt&&hn[3]===Ot||(Ge[0]=ri,Ge[1]=$t,Ge[2]=xt,Ge[3]=Ot,V(Te,Ge))}const At=()=>{document.removeEventListener("mousemove",$s),document.removeEventListener("mouseup",At),pi(k,o=!0,o),b.set(i)};document.addEventListener("mousemove",$s),document.addEventListener("mouseup",At)}async function K(){t(11,N=await O())}function Q(fe){t(8,T=yi(fe-1,0,i.length-1))}function J(fe){const Te=i[T],Ge=N[T];!Te||!Ge||(Te[0]=fe,t(11,N[T]=X(Te,T,m,Ge),N))}function ce(fe){const Te=i[T],Ge=N[T];!Te||!Ge||(Te[1]=fe,t(11,N[T]=X(Te,T,m,Ge),N))}function pe(fe){const Te=i[T],Ge=N[T];!Te||!Ge||(Te[2]=fe,t(11,N[T]=X(Te,T,m,Ge),N))}function qe(fe){const Te=i[T],Ge=N[T];!Te||!Ge||(Te[3]=fe,t(11,N[T]=X(Te,T,m,Ge),N))}async function Ae(){const fe=i[T],Te=N[T];fe&&Te&&(fe[2]=yi(fe[2],0,1),fe[3]=yi(fe[3],0,1),fe[0]=yi(fe[0],0,1-fe[2]),fe[1]=yi(fe[1],0,1-fe[3]),t(11,N[T]=X(fe,T,m,Te),N)),await D(),b.set(i)}function ue(fe){Ze[fe?"unshift":"push"](()=>{m=fe,t(4,m)})}function te(fe){Ze[fe?"unshift":"push"](()=>{g=fe,t(3,g)})}const be=(fe,Te)=>q(Te,fe),ge=fe=>Q(fe.detail),he=fe=>J(fe.detail),Se=fe=>pe(fe.detail),Je=fe=>ce(fe.detail),gt=fe=>qe(fe.detail);function Ii(fe){I=fe,t(9,I)}return n.$$set=fe=>{"widget"in fe&&t(0,d=fe.widget),"isMobile"in fe&&t(21,p=fe.isMobile)},n.$$.update=()=>{n.$$.dirty[0]&1&&d&&R(d),n.$$.dirty[0]&8388610&&_!=null&&u&&D(),n.$$.dirty[0]&4194310&&o&&(pi(k,o=!1,o),O(_,i).then(fe=>t(11,N=fe)))},[d,_,i,g,m,b,y,k,T,I,x,N,M,q,K,Q,J,ce,pe,qe,Ae,p,o,u,ue,te,be,ge,he,Se,Je,gt,Ii]}class H8 extends _e{constructor(e){super(),me(this,e,V8,z8,ae,{widget:0,isMobile:21},null,[-1,-1])}}function W1(n){return Array.isArray(n)&&n.length===4&&n.every(e=>typeof e=="number")}const yh=[.4,.4,.2,.2];class MS extends As{constructor(t){super(t,[[...yh]]);P(this,"properties",{tags:[],defaultValue:!1,regionCount:1,canvasWidth:512,canvasHeight:512,canvasImageURL:null,inputType:"size"});P(this,"svelteComponentType",H8);P(this,"defaultValue",[[...yh]]);P(this,"outputSlotName",null);P(this,"storeActionName","store");P(this,"changedEventName","changed");P(this,"sizeChanged",Be(!0));P(this,"regionsChanged",Be(!0));P(this,"inputTypeWidget");P(this,"regionCountWidget");P(this,"_prevWidth",null);P(this,"_prevHeight",null);P(this,"_prevImageURL",null);this.inputTypeWidget=this.addWidget("combo","Input Type",this.properties.inputType,"inputType",{values:["size","image"]}),this.regionCountWidget=this.addWidget("number","# of Regions",this.properties.regionCount,i=>{this.setProperty("regionCount",yi(i,1,16))},{min:1,max:16,step:1,precision:0})}onPropertyChanged(t,i){t==="regionCount"?this.updateRegions():t==="width"||t==="height"?this.updateSize():t==="inputType"&&this.updateInputType()}onExecute(){let t=0,i=0,s=null;if(this.updateInputType(),this.properties.inputType==="image"){let o=this.getInputData(1);Yl(o)?(s=ll(o),t=o.width,i=o.height):s=null}else this.properties.inputType==="size"&&(t=this.getInputData(1)||0,i=this.getInputData(2)||0);(t!=this.properties.canvasWidth||i!=this.properties.canvasHeight||s!=this.properties.canvasImageURL)&&(this.properties.canvasWidth=t,this.properties.canvasHeight=i,this.properties.canvasImageURL=s,this.updateSize());const r=this.getValue();for(let o=0;othis.properties.regionCount;t--)this.outputs[t].type!==$.EVENT&&this.removeOutput(t);for(let t=this.outputs.length-1;t=1;r--)this.inputs[r].type!==$.ACTION&&this.removeInput(r);t==="image"?this.addInput("image","COMFYBOX_IMAGE"):t==="size"&&(this.addInput("width","number"),this.addInput("height","number"))}}parseValue(t){if(t==null||this.properties.regionCount<=0)return[];let i=[];W1(t)&&(i=this.updateSize([t])),Array.isArray(t)&&t.every(W1)&&(i=this.updateSize(t.splice(0,this.properties.regionCount)));for(let s=i.length;s{o[c]=null}),le(),t=o[e],t?t.p(a,u):(t=o[e]=r[e](a),t.c()),S(t,1),t.m(i.parentNode,i))},i(a){s||(S(t),s=!0)},o(a){C(t),s=!1},d(a){a&&E(i),o[e].d(a)}}}function G8(n){let e,t,i=Xe(n[1]),s=[];for(let o=0;oC(s[o],1,1,()=>{s[o]=null});return{c(){for(let o=0;o{j(c,1)}),le()}r?(e=Nt(r,o(l)),Y(e.$$.fragment),S(e.$$.fragment,1),G(e,t.parentNode,t)):e=null}else r&&e.$set(u)},i(l){i||(e&&S(e.$$.fragment,l),i=!0)},o(l){e&&C(e.$$.fragment,l),i=!1},d(l){l&&E(t),e&&j(e,l)}}}function q8(n){let e,t,i,s;const r=[Z8,J8],o=[];function l(a,u){return a[4]?0:1}return e=l(n),t=o[e]=r[e](n),{c(){t.c(),i=we()},m(a,u){o[e].m(a,u),A(a,i,u),s=!0},p(a,u){let c=e;e=l(a),e===c?o[e].p(a,u):(oe(),C(o[c],1,1,()=>{o[c]=null}),le(),t=o[e],t?t.p(a,u):(t=o[e]=r[e](a),t.c()),S(t,1),t.m(i.parentNode,i))},i(a){s||(S(t),s=!0)},o(a){C(t),s=!1},d(a){a&&E(i),o[e].d(a)}}}function Y8(n){let e,t,i;var s=n[5].table;function r(o){return{props:{$$slots:{default:[u6]},$$scope:{ctx:o}}}}return s&&(e=Nt(s,r(n))),{c(){e&&Y(e.$$.fragment),t=we()},m(o,l){e&&G(e,o,l),A(o,t,l),i=!0},p(o,l){const a={};if(l&8388716&&(a.$$scope={dirty:l,ctx:o}),l&32&&s!==(s=o[5].table)){if(e){oe();const u=e;C(u.$$.fragment,1,0,()=>{j(u,1)}),le()}s?(e=Nt(s,r(o)),Y(e.$$.fragment),S(e.$$.fragment,1),G(e,t.parentNode,t)):e=null}else s&&e.$set(a)},i(o){i||(e&&S(e.$$.fragment,o),i=!0)},o(o){e&&C(e.$$.fragment,o),i=!1},d(o){o&&E(t),e&&j(e,o)}}}function X8(n){let e=n[6].raw+"",t;return{c(){t=ke(e)},m(i,s){A(i,t,s)},p(i,s){s&64&&e!==(e=i[6].raw+"")&&je(t,e)},i:Z,o:Z,d(i){i&&E(t)}}}function K8(n){let e,t;return e=new lo({props:{tokens:n[1],renderers:n[5]}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&2&&(r.tokens=i[1]),s&32&&(r.renderers=i[5]),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function $8(n){let e,t,i,s;const r=[K8,X8],o=[];function l(a,u){return a[1]?0:1}return e=l(n),t=o[e]=r[e](n),{c(){t.c(),i=we()},m(a,u){o[e].m(a,u),A(a,i,u),s=!0},p(a,u){let c=e;e=l(a),e===c?o[e].p(a,u):(oe(),C(o[c],1,1,()=>{o[c]=null}),le(),t=o[e],t?t.p(a,u):(t=o[e]=r[e](a),t.c()),S(t,1),t.m(i.parentNode,i))},i(a){s||(S(t),s=!0)},o(a){C(t),s=!1},d(a){a&&E(i),o[e].d(a)}}}function J8(n){let e,t,i;const s=[{ordered:n[4]},n[6]];var r=n[5].list;function o(l){let a={$$slots:{default:[e6]},$$scope:{ctx:l}};for(let u=0;u{j(c,1)}),le()}r?(e=Nt(r,o(l)),Y(e.$$.fragment),S(e.$$.fragment,1),G(e,t.parentNode,t)):e=null}else r&&e.$set(u)},i(l){i||(e&&S(e.$$.fragment,l),i=!0)},o(l){e&&C(e.$$.fragment,l),i=!1},d(l){l&&E(t),e&&j(e,l)}}}function Z8(n){let e,t,i;const s=[{ordered:n[4]},n[6]];var r=n[5].list;function o(l){let a={$$slots:{default:[i6]},$$scope:{ctx:l}};for(let u=0;u{j(c,1)}),le()}r?(e=Nt(r,o(l)),Y(e.$$.fragment),S(e.$$.fragment,1),G(e,t.parentNode,t)):e=null}else r&&e.$set(u)},i(l){i||(e&&S(e.$$.fragment,l),i=!0)},o(l){e&&C(e.$$.fragment,l),i=!1},d(l){l&&E(t),e&&j(e,l)}}}function Q8(n){let e,t,i;return e=new lo({props:{tokens:n[18].tokens,renderers:n[5]}}),{c(){Y(e.$$.fragment),t=se()},m(s,r){G(e,s,r),A(s,t,r),i=!0},p(s,r){const o={};r&64&&(o.tokens=s[18].tokens),r&32&&(o.renderers=s[5]),e.$set(o)},i(s){i||(S(e.$$.fragment,s),i=!0)},o(s){C(e.$$.fragment,s),i=!1},d(s){s&&E(t),j(e,s)}}}function Y1(n){let e,t,i;const s=[n[18]];var r=n[5].unorderedlistitem||n[5].listitem;function o(l){let a={$$slots:{default:[Q8]},$$scope:{ctx:l}};for(let u=0;u{j(c,1)}),le()}r?(e=Nt(r,o(l)),Y(e.$$.fragment),S(e.$$.fragment,1),G(e,t.parentNode,t)):e=null}else r&&e.$set(u)},i(l){i||(e&&S(e.$$.fragment,l),i=!0)},o(l){e&&C(e.$$.fragment,l),i=!1},d(l){l&&E(t),e&&j(e,l)}}}function e6(n){let e,t,i=Xe(n[6].items),s=[];for(let o=0;oC(s[o],1,1,()=>{s[o]=null});return{c(){for(let o=0;o{j(c,1)}),le()}r?(e=Nt(r,o(l)),Y(e.$$.fragment),S(e.$$.fragment,1),G(e,t.parentNode,t)):e=null}else r&&e.$set(u)},i(l){i||(e&&S(e.$$.fragment,l),i=!0)},o(l){e&&C(e.$$.fragment,l),i=!1},d(l){l&&E(t),e&&j(e,l)}}}function i6(n){let e,t,i=Xe(n[6].items),s=[];for(let o=0;oC(s[o],1,1,()=>{s[o]=null});return{c(){for(let o=0;o{j(u,1)}),le()}s?(e=Nt(s,r(o)),Y(e.$$.fragment),S(e.$$.fragment,1),G(e,t.parentNode,t)):e=null}else s&&e.$set(a)},i(o){i||(e&&S(e.$$.fragment,o),i=!0)},o(o){e&&C(e.$$.fragment,o),i=!1},d(o){o&&E(t),e&&j(e,o)}}}function s6(n){let e,t,i=Xe(n[2]),s=[];for(let o=0;oC(s[o],1,1,()=>{s[o]=null});return{c(){for(let o=0;o{j(u,1)}),le()}s?(e=Nt(s,r(o)),Y(e.$$.fragment),S(e.$$.fragment,1),G(e,t.parentNode,t)):e=null}else s&&e.$set(a)},i(o){i||(e&&S(e.$$.fragment,o),i=!0)},o(o){e&&C(e.$$.fragment,o),i=!1},d(o){o&&E(t),e&&j(e,o)}}}function o6(n){let e,t;return e=new lo({props:{tokens:n[13].tokens,renderers:n[5]}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&8&&(r.tokens=i[13].tokens),s&32&&(r.renderers=i[5]),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function $1(n){let e,t,i;var s=n[5].tablecell;function r(o){return{props:{header:!1,align:o[6].align[o[15]]||"center",$$slots:{default:[o6]},$$scope:{ctx:o}}}}return s&&(e=Nt(s,r(n))),{c(){e&&Y(e.$$.fragment),t=we()},m(o,l){e&&G(e,o,l),A(o,t,l),i=!0},p(o,l){const a={};if(l&64&&(a.align=o[6].align[o[15]]||"center"),l&8388648&&(a.$$scope={dirty:l,ctx:o}),l&32&&s!==(s=o[5].tablecell)){if(e){oe();const u=e;C(u.$$.fragment,1,0,()=>{j(u,1)}),le()}s?(e=Nt(s,r(o)),Y(e.$$.fragment),S(e.$$.fragment,1),G(e,t.parentNode,t)):e=null}else s&&e.$set(a)},i(o){i||(e&&S(e.$$.fragment,o),i=!0)},o(o){e&&C(e.$$.fragment,o),i=!1},d(o){o&&E(t),e&&j(e,o)}}}function l6(n){let e,t,i=Xe(n[10]),s=[];for(let o=0;oC(s[o],1,1,()=>{s[o]=null});return{c(){for(let o=0;o{j(u,1)}),le()}s?(e=Nt(s,r(o)),Y(e.$$.fragment),S(e.$$.fragment,1),G(e,t.parentNode,t)):e=null}else s&&e.$set(a)},i(o){i||(e&&S(e.$$.fragment,o),i=!0)},o(o){e&&C(e.$$.fragment,o),i=!1},d(o){o&&E(t),e&&j(e,o)}}}function a6(n){let e,t,i=Xe(n[3]),s=[];for(let o=0;oC(s[o],1,1,()=>{s[o]=null});return{c(){for(let o=0;o{j(p,1)}),le()}o?(e=Nt(o,l(c)),Y(e.$$.fragment),S(e.$$.fragment,1),G(e,t.parentNode,t)):e=null}else o&&e.$set(h);const d={};if(f&8388712&&(d.$$scope={dirty:f,ctx:c}),f&32&&a!==(a=c[5].tablebody)){if(i){oe();const p=i;C(p.$$.fragment,1,0,()=>{j(p,1)}),le()}a?(i=Nt(a,u(c)),Y(i.$$.fragment),S(i.$$.fragment,1),G(i,s.parentNode,s)):i=null}else a&&i.$set(d)},i(c){r||(e&&S(e.$$.fragment,c),i&&S(i.$$.fragment,c),r=!0)},o(c){e&&C(e.$$.fragment,c),i&&C(i.$$.fragment,c),r=!1},d(c){c&&(E(t),E(s)),e&&j(e,c),i&&j(i,c)}}}function Z1(n){let e,t;const i=[n[7],{renderers:n[5]}];let s={};for(let r=0;r{o[c]=null}),le()),~e?(t=o[e],t?t.p(a,u):(t=o[e]=r[e](a),t.c()),S(t,1),t.m(i.parentNode,i)):t=null)},i(a){s||(S(t),s=!0)},o(a){C(t),s=!1},d(a){a&&E(i),~e&&o[e].d(a)}}}function f6(n,e,t){const i=["type","tokens","header","rows","ordered","renderers"];let s=zt(e,i),{type:r=void 0}=e,{tokens:o=void 0}=e,{header:l=void 0}=e,{rows:a=void 0}=e,{ordered:u=!1}=e,{renderers:c}=e;return n.$$set=f=>{e=et(et({},e),Zn(f)),t(6,s=zt(e,i)),"type"in f&&t(0,r=f.type),"tokens"in f&&t(1,o=f.tokens),"header"in f&&t(2,l=f.header),"rows"in f&&t(3,a=f.rows),"ordered"in f&&t(4,u=f.ordered),"renderers"in f&&t(5,c=f.renderers)},[r,o,l,a,u,c,s]}let lo=class extends _e{constructor(e){super(),me(this,e,f6,c6,ae,{type:0,tokens:1,header:2,rows:3,ordered:4,renderers:5})}};function RS(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let ao=RS();function h6(n){ao=n}const PS=/[&<>"']/,d6=new RegExp(PS.source,"g"),BS=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,p6=new RegExp(BS.source,"g"),g6={"&":"&","<":"<",">":">",'"':""","'":"'"},Q1=n=>g6[n];function ji(n,e){if(e){if(PS.test(n))return n.replace(d6,Q1)}else if(BS.test(n))return n.replace(p6,Q1);return n}const m6=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function zS(n){return n.replace(m6,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const _6=/(^|[^\[])\^/g;function Et(n,e){n=typeof n=="string"?n:n.source,e=e||"";const t={replace:(i,s)=>(s=s.source||s,s=s.replace(_6,"$1"),n=n.replace(i,s),t),getRegex:()=>new RegExp(n,e)};return t}const b6=/[^\w:]/g,y6=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function eb(n,e,t){if(n){let i;try{i=decodeURIComponent(zS(t)).replace(b6,"").toLowerCase()}catch{return null}if(i.indexOf("javascript:")===0||i.indexOf("vbscript:")===0||i.indexOf("data:")===0)return null}e&&!y6.test(t)&&(t=S6(e,t));try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}const nu={},v6=/^[^:]+:\/*[^/]*$/,w6=/^([^:]+:)[\s\S]*$/,k6=/^([^:]+:\/*[^/]*)[\s\S]*$/;function S6(n,e){nu[" "+n]||(v6.test(n)?nu[" "+n]=n+"/":nu[" "+n]=Cu(n,"/",!0)),n=nu[" "+n];const t=n.indexOf(":")===-1;return e.substring(0,2)==="//"?t?e:n.replace(w6,"$1")+e:e.charAt(0)==="/"?t?e:n.replace(k6,"$1")+e:n+e}const Cc={exec:function(){}};function tb(n,e){const t=n.replace(/\|/g,(r,o,l)=>{let a=!1,u=o;for(;--u>=0&&l[u]==="\\";)a=!a;return a?"|":" |"}),i=t.split(/ \|/);let s=0;if(i[0].trim()||i.shift(),i.length>0&&!i[i.length-1].trim()&&i.pop(),i.length>e)i.splice(e);else for(;i.length1;)e&1&&(t+=n),e>>=1,n+=n;return t+n}function nb(n,e,t,i){const s=e.href,r=e.title?ji(e.title):null,o=n[1].replace(/\\([\[\]])/g,"$1");if(n[0].charAt(0)!=="!"){i.state.inLink=!0;const l={type:"link",raw:t,href:s,title:r,text:o,tokens:i.inlineTokens(o)};return i.state.inLink=!1,l}return{type:"image",raw:t,href:s,title:r,text:ji(o)}}function I6(n,e){const t=n.match(/^(\s+)(?:```)/);if(t===null)return e;const i=t[1];return e.split(` +`).map(s=>{const r=s.match(/^\s+/);if(r===null)return s;const[o]=r;return o.length>=i.length?s.slice(i.length):s}).join(` +`)}class wg{constructor(e){this.options=e||ao}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const i=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?i:Cu(i,` +`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const i=t[0],s=I6(i,t[3]||"");return{type:"code",raw:i,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:s}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let i=t[2].trim();if(/#$/.test(i)){const s=Cu(i,"#");(this.options.pedantic||!s||/ $/.test(s))&&(i=s.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:i,tokens:this.lexer.inline(i)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const i=t[0].replace(/^ *>[ \t]?/gm,""),s=this.lexer.state.top;this.lexer.state.top=!0;const r=this.lexer.blockTokens(i);return this.lexer.state.top=s,{type:"blockquote",raw:t[0],tokens:r,text:i}}}list(e){let t=this.rules.block.list.exec(e);if(t){let i,s,r,o,l,a,u,c,f,h,d,p,g=t[1].trim();const m=g.length>1,_={type:"list",raw:"",ordered:m,start:m?+g.slice(0,-1):"",loose:!1,items:[]};g=m?`\\d{1,9}\\${g.slice(-1)}`:`\\${g}`,this.options.pedantic&&(g=m?g:"[*+-]");const b=new RegExp(`^( {0,3}${g})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;e&&(p=!1,!(!(t=b.exec(e))||this.rules.block.hr.test(e)));){if(i=t[0],e=e.substring(i.length),c=t[2].split(` +`,1)[0].replace(/^\t+/,k=>" ".repeat(3*k.length)),f=e.split(` +`,1)[0],this.options.pedantic?(o=2,d=c.trimLeft()):(o=t[2].search(/[^ ]/),o=o>4?1:o,d=c.slice(o),o+=t[1].length),a=!1,!c&&/^ *$/.test(f)&&(i+=f+` +`,e=e.substring(f.length+1),p=!0),!p){const k=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),T=new RegExp(`^ {0,${Math.min(3,o-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),I=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:\`\`\`|~~~)`),R=new RegExp(`^ {0,${Math.min(3,o-1)}}#`);for(;e&&(h=e.split(` +`,1)[0],f=h,this.options.pedantic&&(f=f.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(I.test(f)||R.test(f)||k.test(f)||T.test(e)));){if(f.search(/[^ ]/)>=o||!f.trim())d+=` +`+f.slice(o);else{if(a||c.search(/[^ ]/)>=4||I.test(c)||R.test(c)||T.test(c))break;d+=` +`+f}!a&&!f.trim()&&(a=!0),i+=h+` +`,e=e.substring(h.length+1),c=f.slice(o)}}_.loose||(u?_.loose=!0:/\n *\n *$/.test(i)&&(u=!0)),this.options.gfm&&(s=/^\[[ xX]\] /.exec(d),s&&(r=s[0]!=="[ ] ",d=d.replace(/^\[[ xX]\] +/,""))),_.items.push({type:"list_item",raw:i,task:!!s,checked:r,loose:!1,text:d}),_.raw+=i}_.items[_.items.length-1].raw=i.trimRight(),_.items[_.items.length-1].text=d.trimRight(),_.raw=_.raw.trimRight();const y=_.items.length;for(l=0;lI.type==="space"),T=k.length>0&&k.some(I=>/\n.*\n/.test(I.raw));_.loose=T}if(_.loose)for(l=0;l$/,"$1").replace(this.rules.inline._escapes,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:i,raw:t[0],href:s,title:r}}}table(e){const t=this.rules.block.table.exec(e);if(t){const i={type:"table",header:tb(t[1]).map(s=>({text:s})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(` +`):[]};if(i.header.length===i.align.length){i.raw=t[0];let s=i.align.length,r,o,l,a;for(r=0;r({text:u}));for(s=i.header.length,o=0;o/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):ji(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const i=t[2].trim();if(!this.options.pedantic&&/^$/.test(i))return;const o=Cu(i.slice(0,-1),"\\");if((i.length-o.length)%2===0)return}else{const o=T6(t[2],"()");if(o>-1){const a=(t[0].indexOf("!")===0?5:4)+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,a).trim(),t[3]=""}}let s=t[2],r="";if(this.options.pedantic){const o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);o&&(s=o[1],r=o[3])}else r=t[3]?t[3].slice(1,-1):"";return s=s.trim(),/^$/.test(i)?s=s.slice(1):s=s.slice(1,-1)),nb(t,{href:s&&s.replace(this.rules.inline._escapes,"$1"),title:r&&r.replace(this.rules.inline._escapes,"$1")},t[0],this.lexer)}}reflink(e,t){let i;if((i=this.rules.inline.reflink.exec(e))||(i=this.rules.inline.nolink.exec(e))){let s=(i[2]||i[1]).replace(/\s+/g," ");if(s=t[s.toLowerCase()],!s){const r=i[0].charAt(0);return{type:"text",raw:r,text:r}}return nb(i,s,i[0],this.lexer)}}emStrong(e,t,i=""){let s=this.rules.inline.emStrong.lDelim.exec(e);if(!s||s[3]&&i.match(/[\p{L}\p{N}]/u))return;const r=s[1]||s[2]||"";if(!r||r&&(i===""||this.rules.inline.punctuation.exec(i))){const o=s[0].length-1;let l,a,u=o,c=0;const f=s[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(f.lastIndex=0,t=t.slice(-1*e.length+o);(s=f.exec(t))!=null;){if(l=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!l)continue;if(a=l.length,s[3]||s[4]){u+=a;continue}else if((s[5]||s[6])&&o%3&&!((o+a)%3)){c+=a;continue}if(u-=a,u>0)continue;a=Math.min(a,a+u+c);const h=e.slice(0,o+s.index+(s[0].length-l.length)+a);if(Math.min(o,a)%2){const p=h.slice(1,-1);return{type:"em",raw:h,text:p,tokens:this.lexer.inlineTokens(p)}}const d=h.slice(2,-2);return{type:"strong",raw:h,text:d,tokens:this.lexer.inlineTokens(d)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let i=t[2].replace(/\n/g," ");const s=/[^ ]/.test(i),r=/^ /.test(i)&&/ $/.test(i);return s&&r&&(i=i.substring(1,i.length-1)),i=ji(i,!0),{type:"codespan",raw:t[0],text:i}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e,t){const i=this.rules.inline.autolink.exec(e);if(i){let s,r;return i[2]==="@"?(s=ji(this.options.mangle?t(i[1]):i[1]),r="mailto:"+s):(s=ji(i[1]),r=s),{type:"link",raw:i[0],text:s,href:r,tokens:[{type:"text",raw:s,text:s}]}}}url(e,t){let i;if(i=this.rules.inline.url.exec(e)){let s,r;if(i[2]==="@")s=ji(this.options.mangle?t(i[0]):i[0]),r="mailto:"+s;else{let o;do o=i[0],i[0]=this.rules.inline._backpedal.exec(i[0])[0];while(o!==i[0]);s=ji(i[0]),i[1]==="www."?r="http://"+i[0]:r=i[0]}return{type:"link",raw:i[0],text:s,href:r,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(e,t){const i=this.rules.inline.text.exec(e);if(i){let s;return this.lexer.state.inRawBlock?s=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):ji(i[0]):i[0]:s=ji(this.options.smartypants?t(i[0]):i[0]),{type:"text",raw:i[0],text:s}}}}const Ue={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:Cc,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};Ue._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;Ue._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;Ue.def=Et(Ue.def).replace("label",Ue._label).replace("title",Ue._title).getRegex();Ue.bullet=/(?:[*+-]|\d{1,9}[.)])/;Ue.listItemStart=Et(/^( *)(bull) */).replace("bull",Ue.bullet).getRegex();Ue.list=Et(Ue.list).replace(/bull/g,Ue.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Ue.def.source+")").getRegex();Ue._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";Ue._comment=/|$)/;Ue.html=Et(Ue.html,"i").replace("comment",Ue._comment).replace("tag",Ue._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();Ue.paragraph=Et(Ue._paragraph).replace("hr",Ue.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ue._tag).getRegex();Ue.blockquote=Et(Ue.blockquote).replace("paragraph",Ue.paragraph).getRegex();Ue.normal={...Ue};Ue.gfm={...Ue.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};Ue.gfm.table=Et(Ue.gfm.table).replace("hr",Ue.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ue._tag).getRegex();Ue.gfm.paragraph=Et(Ue._paragraph).replace("hr",Ue.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",Ue.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ue._tag).getRegex();Ue.pedantic={...Ue.normal,html:Et(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ue._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Cc,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Et(Ue.normal._paragraph).replace("hr",Ue.hr).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",Ue.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const Oe={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Cc,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Cc,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~";Oe.punctuation=Et(Oe.punctuation).replace(/punctuation/g,Oe._punctuation).getRegex();Oe.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;Oe.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g;Oe._comment=Et(Ue._comment).replace("(?:-->|$)","-->").getRegex();Oe.emStrong.lDelim=Et(Oe.emStrong.lDelim).replace(/punct/g,Oe._punctuation).getRegex();Oe.emStrong.rDelimAst=Et(Oe.emStrong.rDelimAst,"g").replace(/punct/g,Oe._punctuation).getRegex();Oe.emStrong.rDelimUnd=Et(Oe.emStrong.rDelimUnd,"g").replace(/punct/g,Oe._punctuation).getRegex();Oe._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;Oe._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;Oe._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;Oe.autolink=Et(Oe.autolink).replace("scheme",Oe._scheme).replace("email",Oe._email).getRegex();Oe._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;Oe.tag=Et(Oe.tag).replace("comment",Oe._comment).replace("attribute",Oe._attribute).getRegex();Oe._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;Oe._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;Oe._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;Oe.link=Et(Oe.link).replace("label",Oe._label).replace("href",Oe._href).replace("title",Oe._title).getRegex();Oe.reflink=Et(Oe.reflink).replace("label",Oe._label).replace("ref",Ue._label).getRegex();Oe.nolink=Et(Oe.nolink).replace("ref",Ue._label).getRegex();Oe.reflinkSearch=Et(Oe.reflinkSearch,"g").replace("reflink",Oe.reflink).replace("nolink",Oe.nolink).getRegex();Oe.normal={...Oe};Oe.pedantic={...Oe.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Et(/^!?\[(label)\]\((.*?)\)/).replace("label",Oe._label).getRegex(),reflink:Et(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Oe._label).getRegex()};Oe.gfm={...Oe.normal,escape:Et(Oe.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(i="x"+i.toString(16)),e+="&#"+i+";";return e}class qs{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||ao,this.options.tokenizer=this.options.tokenizer||new wg,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:Ue.normal,inline:Oe.normal};this.options.pedantic?(t.block=Ue.pedantic,t.inline=Oe.pedantic):this.options.gfm&&(t.block=Ue.gfm,this.options.breaks?t.inline=Oe.breaks:t.inline=Oe.gfm),this.tokenizer.rules=t}static get rules(){return{block:Ue,inline:Oe}}static lex(e,t){return new qs(t).lex(e)}static lexInline(e,t){return new qs(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,` +`),this.blockTokens(e,this.tokens);let t;for(;t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(e,t=[]){this.options.pedantic?e=e.replace(/\t/g," ").replace(/^ +$/gm,""):e=e.replace(/^( *)(\t+)/gm,(l,a,u)=>a+" ".repeat(u.length));let i,s,r,o;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(l=>(i=l.call({lexer:this},e,t))?(e=e.substring(i.raw.length),t.push(i),!0):!1))){if(i=this.tokenizer.space(e)){e=e.substring(i.raw.length),i.raw.length===1&&t.length>0?t[t.length-1].raw+=` +`:t.push(i);continue}if(i=this.tokenizer.code(e)){e=e.substring(i.raw.length),s=t[t.length-1],s&&(s.type==="paragraph"||s.type==="text")?(s.raw+=` +`+i.raw,s.text+=` +`+i.text,this.inlineQueue[this.inlineQueue.length-1].src=s.text):t.push(i);continue}if(i=this.tokenizer.fences(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.heading(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.hr(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.blockquote(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.list(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.html(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.def(e)){e=e.substring(i.raw.length),s=t[t.length-1],s&&(s.type==="paragraph"||s.type==="text")?(s.raw+=` +`+i.raw,s.text+=` +`+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=s.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if(i=this.tokenizer.table(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.lheading(e)){e=e.substring(i.raw.length),t.push(i);continue}if(r=e,this.options.extensions&&this.options.extensions.startBlock){let l=1/0;const a=e.slice(1);let u;this.options.extensions.startBlock.forEach(function(c){u=c.call({lexer:this},a),typeof u=="number"&&u>=0&&(l=Math.min(l,u))}),l<1/0&&l>=0&&(r=e.substring(0,l+1))}if(this.state.top&&(i=this.tokenizer.paragraph(r))){s=t[t.length-1],o&&s.type==="paragraph"?(s.raw+=` +`+i.raw,s.text+=` +`+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):t.push(i),o=r.length!==e.length,e=e.substring(i.raw.length);continue}if(i=this.tokenizer.text(e)){e=e.substring(i.raw.length),s=t[t.length-1],s&&s.type==="text"?(s.raw+=` +`+i.raw,s.text+=` +`+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):t.push(i);continue}if(e){const l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent)break;throw new Error(l)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let i,s,r,o=e,l,a,u;if(this.tokens.links){const c=Object.keys(this.tokens.links);if(c.length>0)for(;(l=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)c.includes(l[0].slice(l[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,l.index)+"["+ib("a",l[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(l=this.tokenizer.rules.inline.blockSkip.exec(o))!=null;)o=o.slice(0,l.index)+"["+ib("a",l[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(l=this.tokenizer.rules.inline.escapedEmSt.exec(o))!=null;)o=o.slice(0,l.index+l[0].length-2)+"++"+o.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;e;)if(a||(u=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(c=>(i=c.call({lexer:this},e,t))?(e=e.substring(i.raw.length),t.push(i),!0):!1))){if(i=this.tokenizer.escape(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.tag(e)){e=e.substring(i.raw.length),s=t[t.length-1],s&&i.type==="text"&&s.type==="text"?(s.raw+=i.raw,s.text+=i.text):t.push(i);continue}if(i=this.tokenizer.link(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(i.raw.length),s=t[t.length-1],s&&i.type==="text"&&s.type==="text"?(s.raw+=i.raw,s.text+=i.text):t.push(i);continue}if(i=this.tokenizer.emStrong(e,o,u)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.codespan(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.br(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.del(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.autolink(e,sb)){e=e.substring(i.raw.length),t.push(i);continue}if(!this.state.inLink&&(i=this.tokenizer.url(e,sb))){e=e.substring(i.raw.length),t.push(i);continue}if(r=e,this.options.extensions&&this.options.extensions.startInline){let c=1/0;const f=e.slice(1);let h;this.options.extensions.startInline.forEach(function(d){h=d.call({lexer:this},f),typeof h=="number"&&h>=0&&(c=Math.min(c,h))}),c<1/0&&c>=0&&(r=e.substring(0,c+1))}if(i=this.tokenizer.inlineText(r,E6)){e=e.substring(i.raw.length),i.raw.slice(-1)!=="_"&&(u=i.raw.slice(-1)),a=!0,s=t[t.length-1],s&&s.type==="text"?(s.raw+=i.raw,s.text+=i.text):t.push(i);continue}if(e){const c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent)break;throw new Error(c)}}return t}}class kg{constructor(e){this.options=e||ao}code(e,t,i){const s=(t||"").match(/\S*/)[0];if(this.options.highlight){const r=this.options.highlight(e,s);r!=null&&r!==e&&(i=!0,e=r)}return e=e.replace(/\n$/,"")+` +`,s?'
'+(i?e:ji(e,!0))+`
+`:"
"+(i?e:ji(e,!0))+`
+`}blockquote(e){return`
+${e}
+`}html(e){return e}heading(e,t,i,s){if(this.options.headerIds){const r=this.options.headerPrefix+s.slug(i);return`${e} +`}return`${e} +`}hr(){return this.options.xhtml?`
+`:`
+`}list(e,t,i){const s=t?"ol":"ul",r=t&&i!==1?' start="'+i+'"':"";return"<"+s+r+`> +`+e+" +`}listitem(e){return`
  • ${e}
  • +`}checkbox(e){return" "}paragraph(e){return`

    ${e}

    +`}table(e,t){return t&&(t=`${t}`),` + +`+e+` +`+t+`
    +`}tablerow(e){return` +${e} +`}tablecell(e,t){const i=t.header?"th":"td";return(t.align?`<${i} align="${t.align}">`:`<${i}>`)+e+` +`}strong(e){return`${e}`}em(e){return`${e}`}codespan(e){return`${e}`}br(){return this.options.xhtml?"
    ":"
    "}del(e){return`${e}`}link(e,t,i){if(e=eb(this.options.sanitize,this.options.baseUrl,e),e===null)return i;let s='",s}image(e,t,i){if(e=eb(this.options.sanitize,this.options.baseUrl,e),e===null)return i;let s=`${i}":">",s}text(e){return e}}class FS{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,i){return""+i}image(e,t,i){return""+i}br(){return""}}class Sg{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let i=e,s=0;if(this.seen.hasOwnProperty(i)){s=this.seen[e];do s++,i=e+"-"+s;while(this.seen.hasOwnProperty(i))}return t||(this.seen[e]=s,this.seen[i]=0),i}slug(e,t={}){const i=this.serialize(e);return this.getNextSafeSlug(i,t.dryrun)}}class Nr{constructor(e){this.options=e||ao,this.options.renderer=this.options.renderer||new kg,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new FS,this.slugger=new Sg}static parse(e,t){return new Nr(t).parse(e)}static parseInline(e,t){return new Nr(t).parseInline(e)}parse(e,t=!0){let i="",s,r,o,l,a,u,c,f,h,d,p,g,m,_,b,y,k,T,I;const R=e.length;for(s=0;s0&&b.tokens[0].type==="paragraph"?(b.tokens[0].text=T+" "+b.tokens[0].text,b.tokens[0].tokens&&b.tokens[0].tokens.length>0&&b.tokens[0].tokens[0].type==="text"&&(b.tokens[0].tokens[0].text=T+" "+b.tokens[0].tokens[0].text)):b.tokens.unshift({type:"text",text:T}):_+=T),_+=this.parse(b.tokens,m),h+=this.renderer.listitem(_,k,y);i+=this.renderer.list(h,p,g);continue}case"html":{i+=this.renderer.html(d.text);continue}case"paragraph":{i+=this.renderer.paragraph(this.parseInline(d.tokens));continue}case"text":{for(h=d.tokens?this.parseInline(d.tokens):d.text;s+1{if(i.message+=` +Please report this to https://github.com/markedjs/marked.`,n){const s="

    An error occurred:

    "+ji(i.message+"",!0)+"
    ";if(e)return Promise.resolve(s);if(t){t(null,s);return}return s}if(e)return Promise.reject(i);if(t){t(i);return}throw i}}function WS(n,e){return(t,i,s)=>{typeof i=="function"&&(s=i,i=null);const r={...i};i={...Ye.defaults,...r};const o=A6(i.silent,i.async,s);if(typeof t>"u"||t===null)return o(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(C6(i),i.hooks&&(i.hooks.options=i),s){const l=i.highlight;let a;try{i.hooks&&(t=i.hooks.preprocess(t)),a=n(t,i)}catch(f){return o(f)}const u=function(f){let h;if(!f)try{i.walkTokens&&Ye.walkTokens(a,i.walkTokens),h=e(a,i),i.hooks&&(h=i.hooks.postprocess(h))}catch(d){f=d}return i.highlight=l,f?o(f):s(null,h)};if(!l||l.length<3||(delete i.highlight,!a.length))return u();let c=0;Ye.walkTokens(a,function(f){f.type==="code"&&(c++,setTimeout(()=>{l(f.text,f.lang,function(h,d){if(h)return u(h);d!=null&&d!==f.text&&(f.text=d,f.escaped=!0),c--,c===0&&u()})},0))}),c===0&&u();return}if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(t):t).then(l=>n(l,i)).then(l=>i.walkTokens?Promise.all(Ye.walkTokens(l,i.walkTokens)).then(()=>l):l).then(l=>e(l,i)).then(l=>i.hooks?i.hooks.postprocess(l):l).catch(o);try{i.hooks&&(t=i.hooks.preprocess(t));const l=n(t,i);i.walkTokens&&Ye.walkTokens(l,i.walkTokens);let a=e(l,i);return i.hooks&&(a=i.hooks.postprocess(a)),a}catch(l){return o(l)}}}function Ye(n,e,t){return WS(qs.lex,Nr.parse)(n,e,t)}Ye.options=Ye.setOptions=function(n){return Ye.defaults={...Ye.defaults,...n},h6(Ye.defaults),Ye};Ye.getDefaults=RS;Ye.defaults=ao;Ye.use=function(...n){const e=Ye.defaults.extensions||{renderers:{},childTokens:{}};n.forEach(t=>{const i={...t};if(i.async=Ye.defaults.async||i.async||!1,t.extensions&&(t.extensions.forEach(s=>{if(!s.name)throw new Error("extension name required");if(s.renderer){const r=e.renderers[s.name];r?e.renderers[s.name]=function(...o){let l=s.renderer.apply(this,o);return l===!1&&(l=r.apply(this,o)),l}:e.renderers[s.name]=s.renderer}if(s.tokenizer){if(!s.level||s.level!=="block"&&s.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");e[s.level]?e[s.level].unshift(s.tokenizer):e[s.level]=[s.tokenizer],s.start&&(s.level==="block"?e.startBlock?e.startBlock.push(s.start):e.startBlock=[s.start]:s.level==="inline"&&(e.startInline?e.startInline.push(s.start):e.startInline=[s.start]))}s.childTokens&&(e.childTokens[s.name]=s.childTokens)}),i.extensions=e),t.renderer){const s=Ye.defaults.renderer||new kg;for(const r in t.renderer){const o=s[r];s[r]=(...l)=>{let a=t.renderer[r].apply(s,l);return a===!1&&(a=o.apply(s,l)),a}}i.renderer=s}if(t.tokenizer){const s=Ye.defaults.tokenizer||new wg;for(const r in t.tokenizer){const o=s[r];s[r]=(...l)=>{let a=t.tokenizer[r].apply(s,l);return a===!1&&(a=o.apply(s,l)),a}}i.tokenizer=s}if(t.hooks){const s=Ye.defaults.hooks||new Ic;for(const r in t.hooks){const o=s[r];Ic.passThroughHooks.has(r)?s[r]=l=>{if(Ye.defaults.async)return Promise.resolve(t.hooks[r].call(s,l)).then(u=>o.call(s,u));const a=t.hooks[r].call(s,l);return o.call(s,a)}:s[r]=(...l)=>{let a=t.hooks[r].apply(s,l);return a===!1&&(a=o.apply(s,l)),a}}i.hooks=s}if(t.walkTokens){const s=Ye.defaults.walkTokens;i.walkTokens=function(r){let o=[];return o.push(t.walkTokens.call(this,r)),s&&(o=o.concat(s.call(this,r))),o}}Ye.setOptions(i)})};Ye.walkTokens=function(n,e){let t=[];for(const i of n)switch(t=t.concat(e.call(Ye,i)),i.type){case"table":{for(const s of i.header)t=t.concat(Ye.walkTokens(s.tokens,e));for(const s of i.rows)for(const r of s)t=t.concat(Ye.walkTokens(r.tokens,e));break}case"list":{t=t.concat(Ye.walkTokens(i.items,e));break}default:Ye.defaults.extensions&&Ye.defaults.extensions.childTokens&&Ye.defaults.extensions.childTokens[i.type]?Ye.defaults.extensions.childTokens[i.type].forEach(function(s){t=t.concat(Ye.walkTokens(i[s],e))}):i.tokens&&(t=t.concat(Ye.walkTokens(i.tokens,e)))}return t};Ye.parseInline=WS(qs.lexInline,Nr.parseInline);Ye.Parser=Nr;Ye.parser=Nr.parse;Ye.Renderer=kg;Ye.TextRenderer=FS;Ye.Lexer=qs;Ye.lexer=qs.lex;Ye.Tokenizer=wg;Ye.Slugger=Sg;Ye.Hooks=Ic;Ye.parse=Ye;Ye.options;Ye.setOptions;Ye.use;Ye.walkTokens;Ye.parseInline;Nr.parse;qs.lex;const VS={};function O6(n){let e;return{c(){e=ke(n[1])},m(t,i){A(t,e,i)},p(t,i){i&2&&je(e,t[1])},i:Z,o:Z,d(t){t&&E(e)}}}function N6(n){let e,t;const i=n[5].default,s=De(i,n,n[4],null);return{c(){e=z("h6"),s&&s.c(),v(e,"id",n[2])},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,o){s&&s.p&&(!t||o&16)&&Le(s,i,r,r[4],t?xe(i,r[4],o,null):Me(r[4]),null),(!t||o&4)&&v(e,"id",r[2])},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function D6(n){let e,t;const i=n[5].default,s=De(i,n,n[4],null);return{c(){e=z("h5"),s&&s.c(),v(e,"id",n[2])},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,o){s&&s.p&&(!t||o&16)&&Le(s,i,r,r[4],t?xe(i,r[4],o,null):Me(r[4]),null),(!t||o&4)&&v(e,"id",r[2])},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function x6(n){let e,t;const i=n[5].default,s=De(i,n,n[4],null);return{c(){e=z("h4"),s&&s.c(),v(e,"id",n[2])},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,o){s&&s.p&&(!t||o&16)&&Le(s,i,r,r[4],t?xe(i,r[4],o,null):Me(r[4]),null),(!t||o&4)&&v(e,"id",r[2])},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function L6(n){let e,t;const i=n[5].default,s=De(i,n,n[4],null);return{c(){e=z("h3"),s&&s.c(),v(e,"id",n[2])},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,o){s&&s.p&&(!t||o&16)&&Le(s,i,r,r[4],t?xe(i,r[4],o,null):Me(r[4]),null),(!t||o&4)&&v(e,"id",r[2])},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function M6(n){let e,t;const i=n[5].default,s=De(i,n,n[4],null);return{c(){e=z("h2"),s&&s.c(),v(e,"id",n[2])},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,o){s&&s.p&&(!t||o&16)&&Le(s,i,r,r[4],t?xe(i,r[4],o,null):Me(r[4]),null),(!t||o&4)&&v(e,"id",r[2])},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function R6(n){let e,t;const i=n[5].default,s=De(i,n,n[4],null);return{c(){e=z("h1"),s&&s.c(),v(e,"id",n[2])},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,o){s&&s.p&&(!t||o&16)&&Le(s,i,r,r[4],t?xe(i,r[4],o,null):Me(r[4]),null),(!t||o&4)&&v(e,"id",r[2])},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function P6(n){let e,t,i,s;const r=[R6,M6,L6,x6,D6,N6,O6],o=[];function l(a,u){return a[0]===1?0:a[0]===2?1:a[0]===3?2:a[0]===4?3:a[0]===5?4:a[0]===6?5:6}return e=l(n),t=o[e]=r[e](n),{c(){t.c(),i=we()},m(a,u){o[e].m(a,u),A(a,i,u),s=!0},p(a,[u]){let c=e;e=l(a),e===c?o[e].p(a,u):(oe(),C(o[c],1,1,()=>{o[c]=null}),le(),t=o[e],t?t.p(a,u):(t=o[e]=r[e](a),t.c()),S(t,1),t.m(i.parentNode,i))},i(a){s||(S(t),s=!0)},o(a){C(t),s=!1},d(a){a&&E(i),o[e].d(a)}}}function B6(n,e,t){let i,{$$slots:s={},$$scope:r}=e,{depth:o}=e,{raw:l}=e,{text:a}=e;const{slug:u,getOptions:c}=lp(VS),f=c();return n.$$set=h=>{"depth"in h&&t(0,o=h.depth),"raw"in h&&t(1,l=h.raw),"text"in h&&t(3,a=h.text),"$$scope"in h&&t(4,r=h.$$scope)},n.$$.update=()=>{n.$$.dirty&8&&t(2,i=f.headerIds?f.headerPrefix+u(a):void 0)},[o,l,i,a,r,s]}class z6 extends _e{constructor(e){super(),me(this,e,B6,P6,ae,{depth:0,raw:1,text:3})}}function F6(n){let e,t;const i=n[1].default,s=De(i,n,n[0],null);return{c(){e=z("p"),s&&s.c()},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,[o]){s&&s.p&&(!t||o&1)&&Le(s,i,r,r[0],t?xe(i,r[0],o,null):Me(r[0]),null)},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function W6(n,e,t){let{$$slots:i={},$$scope:s}=e;return n.$$set=r=>{"$$scope"in r&&t(0,s=r.$$scope)},[s,i]}class V6 extends _e{constructor(e){super(),me(this,e,W6,F6,ae,{})}}function H6(n){let e;const t=n[3].default,i=De(t,n,n[2],null);return{c(){i&&i.c()},m(s,r){i&&i.m(s,r),e=!0},p(s,[r]){i&&i.p&&(!e||r&4)&&Le(i,t,s,s[2],e?xe(t,s[2],r,null):Me(s[2]),null)},i(s){e||(S(i,s),e=!0)},o(s){C(i,s),e=!1},d(s){i&&i.d(s)}}}function U6(n,e,t){let{$$slots:i={},$$scope:s}=e,{text:r}=e,{raw:o}=e;return n.$$set=l=>{"text"in l&&t(0,r=l.text),"raw"in l&&t(1,o=l.raw),"$$scope"in l&&t(2,s=l.$$scope)},[r,o,s,i]}class G6 extends _e{constructor(e){super(),me(this,e,U6,H6,ae,{text:0,raw:1})}}function j6(n){let e,t;return{c(){e=z("img"),Ti(e.src,t=n[0])||v(e,"src",t),v(e,"title",n[1]),v(e,"alt",n[2])},m(i,s){A(i,e,s)},p(i,[s]){s&1&&!Ti(e.src,t=i[0])&&v(e,"src",t),s&2&&v(e,"title",i[1]),s&4&&v(e,"alt",i[2])},i:Z,o:Z,d(i){i&&E(e)}}}function q6(n,e,t){let{href:i=""}=e,{title:s=void 0}=e,{text:r=""}=e;return n.$$set=o=>{"href"in o&&t(0,i=o.href),"title"in o&&t(1,s=o.title),"text"in o&&t(2,r=o.text)},[i,s,r]}let Y6=class extends _e{constructor(e){super(),me(this,e,q6,j6,ae,{href:0,title:1,text:2})}};function X6(n){let e,t;const i=n[3].default,s=De(i,n,n[2],null);return{c(){e=z("a"),s&&s.c(),v(e,"href",n[0]),v(e,"title",n[1])},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,[o]){s&&s.p&&(!t||o&4)&&Le(s,i,r,r[2],t?xe(i,r[2],o,null):Me(r[2]),null),(!t||o&1)&&v(e,"href",r[0]),(!t||o&2)&&v(e,"title",r[1])},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function K6(n,e,t){let{$$slots:i={},$$scope:s}=e,{href:r=""}=e,{title:o=void 0}=e;return n.$$set=l=>{"href"in l&&t(0,r=l.href),"title"in l&&t(1,o=l.title),"$$scope"in l&&t(2,s=l.$$scope)},[r,o,s,i]}class $6 extends _e{constructor(e){super(),me(this,e,K6,X6,ae,{href:0,title:1})}}function J6(n){let e,t;const i=n[1].default,s=De(i,n,n[0],null);return{c(){e=z("em"),s&&s.c()},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,[o]){s&&s.p&&(!t||o&1)&&Le(s,i,r,r[0],t?xe(i,r[0],o,null):Me(r[0]),null)},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function Z6(n,e,t){let{$$slots:i={},$$scope:s}=e;return n.$$set=r=>{"$$scope"in r&&t(0,s=r.$$scope)},[s,i]}class Q6 extends _e{constructor(e){super(),me(this,e,Z6,J6,ae,{})}}function eB(n){let e,t;const i=n[1].default,s=De(i,n,n[0],null);return{c(){e=z("del"),s&&s.c()},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,[o]){s&&s.p&&(!t||o&1)&&Le(s,i,r,r[0],t?xe(i,r[0],o,null):Me(r[0]),null)},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function tB(n,e,t){let{$$slots:i={},$$scope:s}=e;return n.$$set=r=>{"$$scope"in r&&t(0,s=r.$$scope)},[s,i]}class iB extends _e{constructor(e){super(),me(this,e,tB,eB,ae,{})}}function nB(n){let e,t=n[0].replace(/`/g,"")+"",i;return{c(){e=z("code"),i=ke(t)},m(s,r){A(s,e,r),F(e,i)},p(s,[r]){r&1&&t!==(t=s[0].replace(/`/g,"")+"")&&je(i,t)},i:Z,o:Z,d(s){s&&E(e)}}}function sB(n,e,t){let{raw:i}=e;return n.$$set=s=>{"raw"in s&&t(0,i=s.raw)},[i]}class rB extends _e{constructor(e){super(),me(this,e,sB,nB,ae,{raw:0})}}function oB(n){let e,t;const i=n[1].default,s=De(i,n,n[0],null);return{c(){e=z("strong"),s&&s.c()},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,[o]){s&&s.p&&(!t||o&1)&&Le(s,i,r,r[0],t?xe(i,r[0],o,null):Me(r[0]),null)},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function lB(n,e,t){let{$$slots:i={},$$scope:s}=e;return n.$$set=r=>{"$$scope"in r&&t(0,s=r.$$scope)},[s,i]}class aB extends _e{constructor(e){super(),me(this,e,lB,oB,ae,{})}}function uB(n){let e,t;const i=n[1].default,s=De(i,n,n[0],null);return{c(){e=z("table"),s&&s.c()},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,[o]){s&&s.p&&(!t||o&1)&&Le(s,i,r,r[0],t?xe(i,r[0],o,null):Me(r[0]),null)},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function cB(n,e,t){let{$$slots:i={},$$scope:s}=e;return n.$$set=r=>{"$$scope"in r&&t(0,s=r.$$scope)},[s,i]}class fB extends _e{constructor(e){super(),me(this,e,cB,uB,ae,{})}}function hB(n){let e,t;const i=n[1].default,s=De(i,n,n[0],null);return{c(){e=z("thead"),s&&s.c()},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,[o]){s&&s.p&&(!t||o&1)&&Le(s,i,r,r[0],t?xe(i,r[0],o,null):Me(r[0]),null)},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function dB(n,e,t){let{$$slots:i={},$$scope:s}=e;return n.$$set=r=>{"$$scope"in r&&t(0,s=r.$$scope)},[s,i]}class pB extends _e{constructor(e){super(),me(this,e,dB,hB,ae,{})}}function gB(n){let e,t;const i=n[1].default,s=De(i,n,n[0],null);return{c(){e=z("tbody"),s&&s.c()},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,[o]){s&&s.p&&(!t||o&1)&&Le(s,i,r,r[0],t?xe(i,r[0],o,null):Me(r[0]),null)},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function mB(n,e,t){let{$$slots:i={},$$scope:s}=e;return n.$$set=r=>{"$$scope"in r&&t(0,s=r.$$scope)},[s,i]}class _B extends _e{constructor(e){super(),me(this,e,mB,gB,ae,{})}}function bB(n){let e,t;const i=n[1].default,s=De(i,n,n[0],null);return{c(){e=z("tr"),s&&s.c()},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,[o]){s&&s.p&&(!t||o&1)&&Le(s,i,r,r[0],t?xe(i,r[0],o,null):Me(r[0]),null)},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function yB(n,e,t){let{$$slots:i={},$$scope:s}=e;return n.$$set=r=>{"$$scope"in r&&t(0,s=r.$$scope)},[s,i]}class vB extends _e{constructor(e){super(),me(this,e,yB,bB,ae,{})}}function wB(n){let e,t;const i=n[3].default,s=De(i,n,n[2],null);return{c(){e=z("td"),s&&s.c(),v(e,"align",n[1])},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,o){s&&s.p&&(!t||o&4)&&Le(s,i,r,r[2],t?xe(i,r[2],o,null):Me(r[2]),null),(!t||o&2)&&v(e,"align",r[1])},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function kB(n){let e,t;const i=n[3].default,s=De(i,n,n[2],null);return{c(){e=z("th"),s&&s.c(),v(e,"align",n[1])},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,o){s&&s.p&&(!t||o&4)&&Le(s,i,r,r[2],t?xe(i,r[2],o,null):Me(r[2]),null),(!t||o&2)&&v(e,"align",r[1])},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function SB(n){let e,t,i,s;const r=[kB,wB],o=[];function l(a,u){return a[0]?0:1}return e=l(n),t=o[e]=r[e](n),{c(){t.c(),i=we()},m(a,u){o[e].m(a,u),A(a,i,u),s=!0},p(a,[u]){let c=e;e=l(a),e===c?o[e].p(a,u):(oe(),C(o[c],1,1,()=>{o[c]=null}),le(),t=o[e],t?t.p(a,u):(t=o[e]=r[e](a),t.c()),S(t,1),t.m(i.parentNode,i))},i(a){s||(S(t),s=!0)},o(a){C(t),s=!1},d(a){a&&E(i),o[e].d(a)}}}function TB(n,e,t){let{$$slots:i={},$$scope:s}=e,{header:r}=e,{align:o}=e;return n.$$set=l=>{"header"in l&&t(0,r=l.header),"align"in l&&t(1,o=l.align),"$$scope"in l&&t(2,s=l.$$scope)},[r,o,s,i]}class CB extends _e{constructor(e){super(),me(this,e,TB,SB,ae,{header:0,align:1})}}function IB(n){let e,t;const i=n[3].default,s=De(i,n,n[2],null);return{c(){e=z("ul"),s&&s.c()},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,o){s&&s.p&&(!t||o&4)&&Le(s,i,r,r[2],t?xe(i,r[2],o,null):Me(r[2]),null)},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function EB(n){let e,t;const i=n[3].default,s=De(i,n,n[2],null);return{c(){e=z("ol"),s&&s.c(),v(e,"start",n[1])},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,o){s&&s.p&&(!t||o&4)&&Le(s,i,r,r[2],t?xe(i,r[2],o,null):Me(r[2]),null),(!t||o&2)&&v(e,"start",r[1])},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function AB(n){let e,t,i,s;const r=[EB,IB],o=[];function l(a,u){return a[0]?0:1}return e=l(n),t=o[e]=r[e](n),{c(){t.c(),i=we()},m(a,u){o[e].m(a,u),A(a,i,u),s=!0},p(a,[u]){let c=e;e=l(a),e===c?o[e].p(a,u):(oe(),C(o[c],1,1,()=>{o[c]=null}),le(),t=o[e],t?t.p(a,u):(t=o[e]=r[e](a),t.c()),S(t,1),t.m(i.parentNode,i))},i(a){s||(S(t),s=!0)},o(a){C(t),s=!1},d(a){a&&E(i),o[e].d(a)}}}function OB(n,e,t){let{$$slots:i={},$$scope:s}=e,{ordered:r}=e,{start:o}=e;return n.$$set=l=>{"ordered"in l&&t(0,r=l.ordered),"start"in l&&t(1,o=l.start),"$$scope"in l&&t(2,s=l.$$scope)},[r,o,s,i]}class NB extends _e{constructor(e){super(),me(this,e,OB,AB,ae,{ordered:0,start:1})}}function DB(n){let e,t;const i=n[1].default,s=De(i,n,n[0],null);return{c(){e=z("li"),s&&s.c()},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,[o]){s&&s.p&&(!t||o&1)&&Le(s,i,r,r[0],t?xe(i,r[0],o,null):Me(r[0]),null)},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function xB(n,e,t){let{$$slots:i={},$$scope:s}=e;return n.$$set=r=>{"$$scope"in r&&t(0,s=r.$$scope)},[s,i]}class LB extends _e{constructor(e){super(),me(this,e,xB,DB,ae,{})}}function MB(n){let e;return{c(){e=z("hr")},m(t,i){A(t,e,i)},p:Z,i:Z,o:Z,d(t){t&&E(e)}}}class RB extends _e{constructor(e){super(),me(this,e,null,MB,ae,{})}}function PB(n){let e,t;return{c(){e=new lC(!1),t=we(),e.a=t},m(i,s){e.m(n[0],i,s),A(i,t,s)},p(i,[s]){s&1&&e.p(i[0])},i:Z,o:Z,d(i){i&&(E(t),e.d())}}}function BB(n,e,t){let{text:i}=e;return n.$$set=s=>{"text"in s&&t(0,i=s.text)},[i]}class zB extends _e{constructor(e){super(),me(this,e,BB,PB,ae,{text:0})}}function FB(n){let e,t;const i=n[1].default,s=De(i,n,n[0],null);return{c(){e=z("blockquote"),s&&s.c()},m(r,o){A(r,e,o),s&&s.m(e,null),t=!0},p(r,[o]){s&&s.p&&(!t||o&1)&&Le(s,i,r,r[0],t?xe(i,r[0],o,null):Me(r[0]),null)},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function WB(n,e,t){let{$$slots:i={},$$scope:s}=e;return n.$$set=r=>{"$$scope"in r&&t(0,s=r.$$scope)},[s,i]}class VB extends _e{constructor(e){super(),me(this,e,WB,FB,ae,{})}}function HB(n){let e,t,i;return{c(){e=z("pre"),t=z("code"),i=ke(n[1]),v(e,"class",n[0])},m(s,r){A(s,e,r),F(e,t),F(t,i)},p(s,[r]){r&2&&je(i,s[1]),r&1&&v(e,"class",s[0])},i:Z,o:Z,d(s){s&&E(e)}}}function UB(n,e,t){let{lang:i}=e,{text:s}=e;return n.$$set=r=>{"lang"in r&&t(0,i=r.lang),"text"in r&&t(1,s=r.text)},[i,s]}class GB extends _e{constructor(e){super(),me(this,e,UB,HB,ae,{lang:0,text:1})}}function jB(n){let e,t;const i=n[1].default,s=De(i,n,n[0],null);return{c(){e=z("br"),s&&s.c()},m(r,o){A(r,e,o),s&&s.m(r,o),t=!0},p(r,[o]){s&&s.p&&(!t||o&1)&&Le(s,i,r,r[0],t?xe(i,r[0],o,null):Me(r[0]),null)},i(r){t||(S(s,r),t=!0)},o(r){C(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function qB(n,e,t){let{$$slots:i={},$$scope:s}=e;return n.$$set=r=>{"$$scope"in r&&t(0,s=r.$$scope)},[s,i]}class YB extends _e{constructor(e){super(),me(this,e,qB,jB,ae,{})}}const XB={heading:z6,paragraph:V6,text:G6,image:Y6,link:$6,em:Q6,strong:aB,codespan:rB,del:iB,table:fB,tablehead:pB,tablebody:_B,tablerow:vB,tablecell:CB,list:NB,orderedlistitem:null,unorderedlistitem:null,listitem:LB,hr:RB,html:zB,blockquote:VB,code:GB,br:YB},KB={baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,xhtml:!1};function $B(n){let e,t;return e=new lo({props:{tokens:n[0],renderers:n[1]}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,[s]){const r={};s&1&&(r.tokens=i[0]),s&2&&(r.renderers=i[1]),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function JB(n,e,t){let i,s,r,o,{source:l=[]}=e,{renderers:a={}}=e,{options:u={}}=e,{isInline:c=!1}=e;const f=mi();let h,d,p;return Ly(VS,{slug:g=>s?s.slug(g):"",getOptions:()=>r}),rl(()=>{t(7,p=!0)}),n.$$set=g=>{"source"in g&&t(2,l=g.source),"renderers"in g&&t(3,a=g.renderers),"options"in g&&t(4,u=g.options),"isInline"in g&&t(5,c=g.isInline)},n.$$.update=()=>{n.$$.dirty&4&&t(8,i=Array.isArray(l)),n.$$.dirty&4&&(s=l?new Sg:void 0),n.$$.dirty&16&&t(9,r={...KB,...u}),n.$$.dirty&869&&(i?t(0,h=l):(t(6,d=new qs(r)),t(0,h=c?d.inlineTokens(l):d.lex(l)),f("parsed",{tokens:h}))),n.$$.dirty&8&&t(1,o={...XB,...a}),n.$$.dirty&385&&p&&!i&&f("parsed",{tokens:h})},[h,o,l,a,u,c,d,p,i,r]}class ZB extends _e{constructor(e){super(),me(this,e,JB,$B,ae,{source:2,renderers:3,options:4,isInline:5})}}function QB(n){let e;return{c(){e=z("div")},m(t,i){A(t,e,i)},p:Z,i:Z,o:Z,d(t){t&&E(e)}}}function ez(n,e,t){let{href:i=""}=e,{title:s=void 0}=e,{text:r=""}=e;return n.$$set=o=>{"href"in o&&t(0,i=o.href),"title"in o&&t(1,s=o.title),"text"in o&&t(2,r=o.text)},[i,s,r]}class tz extends _e{constructor(e){super(),me(this,e,ez,QB,ae,{href:0,title:1,text:2})}}function rb(n){let e,t;return e=new yt({props:{$$slots:{default:[iz]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&544&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function iz(n){let e,t;return e=new ZB({props:{source:n[5],renderers:n[6]}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&32&&(r.source=i[5]),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function ob(n){let e,t,i=n[0]!==null&&n[1]!==null&&rb(n);return{c(){i&&i.c(),e=we()},m(s,r){i&&i.m(s,r),A(s,e,r),t=!0},p(s,r){s[0]!==null&&s[1]!==null?i?(i.p(s,r),r&3&&S(i,1)):(i=rb(s),i.c(),S(i,1),i.m(e.parentNode,e)):i&&(oe(),C(i,1,1,()=>{i=null}),le())},i(s){t||(S(i),t=!0)},o(s){C(i),t=!1},d(s){s&&E(e),i&&i.d(s)}}}function nz(n){let e,t=n[4],i,s=ob(n);return{c(){e=z("div"),s.c(),v(e,"class","wrapper prose svelte-2ict3b")},m(r,o){A(r,e,o),s.m(e,null),i=!0},p(r,[o]){o&16&&ae(t,t=r[4])?(oe(),C(s,1,1,Z),le(),s=ob(r),s.c(),S(s,1),s.m(e,null)):s.p(r,o)},i(r){i||(S(s),i=!0)},o(r){C(s),i=!1},d(r){r&&E(e),s.d(r)}}}function sz(n,e,t){let i,s=Z,r=()=>(s(),s=ot(d,m=>t(4,i=m)),d),o,l=Z,a=()=>(l(),l=ot(h,m=>t(5,o=m)),h);n.$$.on_destroy.push(()=>s()),n.$$.on_destroy.push(()=>l());let{widget:u=null}=e,{isMobile:c=!1}=e,f=null,h=Be("");a();let d=Be(0);r();let p={html:tz};function g(m){m&&(t(1,f=m.node),a(t(2,h=f.value)),r(t(3,d=m.attrsChanged)))}return n.$$set=m=>{"widget"in m&&t(0,u=m.widget),"isMobile"in m&&t(7,c=m.isMobile)},n.$$.update=()=>{n.$$.dirty&1&&u&&g(u)},[u,f,h,d,i,o,p,c]}class rz extends _e{constructor(e){super(),me(this,e,sz,nz,ae,{widget:0,isMobile:7})}}class HS extends As{constructor(t){super(t,"");P(this,"properties",{tags:[],defaultValue:!1});P(this,"svelteComponentType",rz);P(this,"defaultValue","")}createDisplayWidget(){return this.addWidget("text","Value","",i=>{i==null||i===this.getValue()||this.setValue(i)},{multiline:!0,inputStyle:{fontFamily:"monospace"}})}}P(HS,"slotLayout",{inputs:[{name:"store",type:$.ACTION}],outputs:[{name:"value",type:"string"},{name:"changed",type:$.EVENT}]});w.registerNodeType({class:HS,title:"UI.Markdown",desc:"Displays Markdown in the UI",type:"ui/markdown"});const Qs=0x4000000000000;class US extends Ft{constructor(t){super(t);P(this,"properties",{tags:[],value:null,action:"randomize",min:-Qs,max:Qs,step:1,ignoreStepWhenRandom:!1});P(this,"defaultWidgets",{inputs:{2:{defaultWidgetNode:da,config:{defaultValue:"randomize",values:["fixed","increment","decrement","randomize"]}}}});P(this,"delayChangeEvent",!0);P(this,"_aboutToChange",0);P(this,"_aboutToChangeValue",null)}onExecute(){if(this._aboutToChange>0&&(this._aboutToChange-=1,this._aboutToChange<=0)){const t=this._aboutToChangeValue;this._aboutToChange=0,this._aboutToChangeValue=null,this.triggerSlot(1,t)}}onAction(t,i){var s=this.getInputData(0);if(typeof s!="number")return;let r=this.getInputData(2);r==null&&(r="fixed");let o=this.getInputData(3);o==null&&(o=-Qs);let l=this.getInputData(4);l==null&&(l=Qs);let a=this.getInputData(5);a==null&&(a=1),this.setProperty("action",r),this.setProperty("min",o),this.setProperty("max",l),this.setProperty("step",a),o=this.properties.min,l=this.properties.max,o==null&&(o=-Qs),l==null&&(l=Qs),o=Math.max(-Qs,this.properties.min),l=Math.min(Qs,this.properties.max);let u=(l-o)/this.properties.step;switch(this.properties.action){case"fixed":break;case"increment":s+=this.properties.step;break;case"decrement":s-=this.properties.step;break;case"randomize":const c=this.properties.ignoreStepWhenRandom?1:this.properties.step;s=Math.floor(Math.random()*u)*c+o}s=yi(s,o,l),this.setProperty("value",s),this.setOutputData(0,s),this.delayChangeEvent?(this._aboutToChange=2,this._aboutToChangeValue=s):this.triggerSlot(1,s)}}P(US,"slotLayout",{inputs:[{name:"value",type:"number"},{name:"trigger",type:$.ACTION},{name:"action",type:"string"},{name:"min",type:"number"},{name:"max",type:"number"},{name:"step",type:"number"}],outputs:[{name:"value",type:"*"},{name:"changed",type:$.EVENT}]});w.registerNodeType({class:US,title:"Comfy.ValueControl",desc:"Adjusts an incoming value based on behavior",type:"utils/value_control"});class GS extends Ft{constructor(t){super(t);P(this,"properties",{tags:[],value:null});P(this,"canInheritSlotTypes",!0);P(this,"selected",0)}getUpstreamLink(){var t=this.getInputData(0);(t==null||t.constructor!==Number)&&(t=0),this.selected=t=Math.round(t)%(this.inputs.length-1);var i=this.getInputLink(t+1),s=this.getInputNode(t+1);return i!=null&&s!=null&&s.mode===ft.ALWAYS?i:null}onDrawBackground(t){if(!this.flags.collapsed){t.fillStyle="#AFB";var i=(this.selected+1)*w.NODE_SLOT_HEIGHT+6;t.beginPath(),t.moveTo(50,i),t.lineTo(50,i+w.NODE_SLOT_HEIGHT),t.lineTo(34,i+w.NODE_SLOT_HEIGHT*.5),t.fill()}}onExecute(){var t=this.getInputData(0);(t==null||t.constructor!==Number)&&(t=0),this.selected=t=Math.round(t)%(this.inputs.length-1);var i=this.getInputData(t+1);i!==void 0&&this.setOutputData(0,i)}}P(GS,"slotLayout",{inputs:[{name:"select",type:"number"},{name:"A",type:"*"},{name:"B",type:"*"},{name:"C",type:"*"},{name:"D",type:"*"}],outputs:[{name:"out",type:"*"}]});w.registerNodeType({class:GS,title:"Comfy.Selector",desc:"Selects an output from two or more inputs",type:"utils/selector"});class jS extends Ft{constructor(t){super(t);P(this,"properties",{tags:[],value:null});P(this,"canInheritSlotTypes",!0);P(this,"selected",0)}getUpstreamLink(){var t=this.getInputData(0);(t==null||t.constructor!==Boolean)&&(t=0),this.selected=t?0:1;var i=this.getInputLink(this.selected+1),s=this.getInputNode(this.selected+1);return i!=null&&s!=null&&s.mode===ft.ALWAYS?i:null}onConnectionsChange(t,i,s,r,o){mt.INPUT}onDrawBackground(t){if(!this.flags.collapsed){t.fillStyle="#AFB";var i=(this.selected+1)*w.NODE_SLOT_HEIGHT+6;t.beginPath(),t.moveTo(65,i),t.lineTo(65,i+w.NODE_SLOT_HEIGHT),t.lineTo(49,i+w.NODE_SLOT_HEIGHT*.5),t.fill()}}onExecute(){var t=this.getInputData(0);(t==null||t.constructor!==Boolean)&&(t=0),this.selected=t?0:1;var i=this.getInputData(this.selected+1);i!==void 0&&(this.getInputLink(this.selected+1),this.getInputNode(this.selected+1),this.setOutputData(0,i))}}P(jS,"slotLayout",{inputs:[{name:"select",type:"boolean"},{name:"true",type:"*"},{name:"false",type:"*"}],outputs:[{name:"out",type:"*"}]});w.registerNodeType({class:jS,title:"Comfy.Selector2",desc:"Selects an output from two inputs with a boolean",type:"utils/selector2"});class qS extends Ft{constructor(t){super(t);P(this,"canInheritSlotTypes",!0);P(this,"_selected",null)}getUpstreamLinkForInheritedType(){for(let t=0;t0&&!(f<=0);f-=1)if(!this.hasActiveSlots(f-1))this.removeInput(f*2),this.removeInput(f*2);else break;let c="A";for(let f=0;f{var r;return(r=s.tags)==null?void 0:r.includes(this.properties.imageTagFilter)}):i==null&&(i=0),this.setValue(t,i),this._image==null?(this.setOutputData(0,null),this.setOutputData(1,null),this.setOutputData(2,0),this.setOutputData(3,0),this.setOutputData(4,null),this.widthWidget.value=0,this.heightWidget.value=0):(this.setOutputData(0,this._image),this.setOutputData(1,this._path),this.setOutputData(2,this._image.width),this.setOutputData(3,this._image.height),this.setOutputData(4,this._image.children),this.widthWidget.value=this._image.width,this.heightWidget.value=this._image.height)}}P(XS,"slotLayout",{inputs:[{name:"images",type:"COMFYBOX_IMAGES,COMFYBOX_IMAGE"},{name:"index",type:"number"}],outputs:[{name:"image",type:"COMFYBOX_IMAGE"},{name:"filename",type:"string"},{name:"width",type:"number"},{name:"height",type:"number"},{name:"children",type:"COMFYBOX_IMAGES"}]});w.registerNodeType({class:XS,title:"Comfy.PickImage",desc:"Selects an image from an array of ComfyBox images and returns its properties.",type:"image/pick_image"});class KS extends Ft{onAction(e,t,i){t&&typeof t=="object"&&"noChangedEvent"in t?t.noChangedEvent=!0:t={__widgetValue__:t,noChangedEvent:!0},this.triggerSlot(0,t,null,i)}}P(KS,"slotLayout",{inputs:[{name:"in",type:$.ACTION}],outputs:[{name:"out",type:$.EVENT}]});w.registerNodeType({class:KS,title:"Comfy.NoChangeEvent",desc:"Wraps an event's parameter such that passing it into a ComfyWidgetNode's 'store' action will not trigger its 'changed' event",type:"events/no_change"});class $S extends Ft{onExecute(){const e=this.getInputData(0);Array.isArray(e)&&(this.setOutputData(0,e[2]),this.setOutputData(1,e[3]),this.setOutputData(2,e[0]),this.setOutputData(3,e[1]))}}P($S,"slotLayout",{inputs:[{name:"in",type:"COMFYBOX_REGION"}],outputs:[{name:"width",type:"number"},{name:"height",type:"number"},{name:"x",type:"number"},{name:"y",type:"number"}]});w.registerNodeType({class:$S,title:"Comfy.RegionToCoords",desc:"Converts a COMFYBOX_REGION to four outputs of [width, height, x, y]",type:"utils/region_to_coords"});class JS extends Ft{constructor(t){super(t);P(this,"properties",{value:null,tags:[]});P(this,"displayWidget");this.displayWidget=this.addWidget("text","Value","","value"),this.displayWidget.disabled=!0}onExecute(){this.getInputLink(0)&&this.setProperty("value",this.getInputData(0))}onAction(t,i){t==="copy"&&(this.setProperty("value",this.getInputData(0)),this.triggerSlot(0,this.properties.value))}}P(JS,"slotLayout",{inputs:[{name:"in",type:"*"},{name:"copy",type:$.ACTION}],outputs:[{name:"out",type:$.EVENT}]});w.registerNodeType({class:JS,title:"Comfy.CopyAction",desc:"Copies its input to its output when an event is received",type:"actions/copy"});class ZS extends Ft{constructor(t){super(t);P(this,"properties",{tags:[],targetTag:""});P(this,"displayWidget");this.displayWidget=this.addWidget("text","targetTag",this.properties.targetTag,"targetTag")}onExecute(){const t=this.getInputData(1);t&&this.setProperty("tag",t)}getTitle(){return this.flags.collapsed?"Execute: "+String(this.properties.targetTag):this.title}onAction(t,i){const s=this.getInputData(1)||this.properties.targetTag,r=window==null?void 0:window.app;if(!r)return;const o=r.ctrlDown?-1:0;r.queuePrompt(this.workflow,o,1,s)}}P(ZS,"slotLayout",{inputs:[{name:"execute",type:$.ACTION},{name:"targetTag",type:"string"}]});w.registerNodeType({class:ZS,title:"Comfy.ExecuteSubgraphAction",desc:"Runs a part of the graph based on a tag",type:"actions/execute_subgraph"});class QS extends Ft{constructor(){super(...arguments);P(this,"properties",{tags:[],message:"Nya.",type:"info",alwaysShow:!1})}onAction(t,i){if(!ti.canShowNotificationText()&&!this.properties.alwaysShow)return;const s=this.getInputData(0)||this.properties.message;if(!s)return;const r={type:this.properties.type,showOn:"all"};if(i!=null&&typeof i=="object"&&"images"in i){const l=wE(i);l.length>0&&(r.imageUrl=l[0].data)}nt(s,r)}}P(QS,"slotLayout",{inputs:[{name:"message",type:"string"},{name:"trigger",type:$.ACTION}]});w.registerNodeType({class:QS,title:"Comfy.NotifyAction",desc:"Displays a message.",type:"actions/notify"});class eT extends Ft{constructor(){super(...arguments);P(this,"properties",{tags:[],sound:"notification.mp3"})}onAction(t,i){if(!ti.canPlayNotificationSound())return;const s=this.getInputData(0)||this.properties.sound;s&&Pv(s)}}P(eT,"slotLayout",{inputs:[{name:"sound",type:"string"},{name:"trigger",type:$.ACTION}]});w.registerNodeType({class:eT,title:"Comfy.PlaySoundAction",desc:"Plays a sound located under the sound/ directory.",type:"actions/play_sound"});class tT extends Ft{getActionParams(e){let t=ie(bt),i=0;return typeof t.queueRemaining=="number"&&(i=t.queueRemaining),{queueRemaining:i,subgraph:e}}beforeQueued(e){this.triggerSlot(0,this.getActionParams(e))}afterQueued(e,t){this.triggerSlot(1,this.getActionParams(t))}onDefaultQueueAction(){let e=ie(bt),t=0;typeof e.queueRemaining=="number"&&(t=e.queueRemaining),this.triggerSlot(2,{queueRemaining:t})}onSerialize(e){super.onSerialize(e)}}P(tT,"slotLayout",{outputs:[{name:"beforeQueued",type:$.EVENT},{name:"afterQueued",type:$.EVENT},{name:"onDefaultQueueAction",type:$.EVENT}]});w.registerNodeType({class:tT,title:"Comfy.QueueEvents",desc:"Triggers a 'bang' event when a prompt is queued.",type:"events/queue_events"});function oz(n){return n.is(Xc)||n.is(ks)}function lz(n){return n.is(qi)||n.is(pn)}function Ef(n,e,t){var i;for(;n!=null;){if("tags"in n.properties&&n.properties.tags.indexOf(e)!==-1)return!0;if(!t)return!1;n=(i=n.graph)==null?void 0:i._subgraph_node}return!1}function Wl(n,e=null){return!(!n||!oz(n)&&!lz(n)&&e&&!Ef(n,e,!0)||n.mode!==ft.ALWAYS)}function iT(n,e=null){return!(!n.isBackendNode||!Wl(n,e)||n.graph._is_subgraph&&Array.from(n.iterateParentSubgraphNodes()).some(i=>!Wl(i,e)))}function az(n,e){if(e.origin_id!=n.id)throw new Error("Invalid link and graph output!");const t=n.getInnerGraphOutputByIndex(e.origin_slot);if(t==null)throw new Error("No inner graph input!");const i=t.getInputLink(0);return[t.graph,i,0,t]}function uz(n,e){if(e.origin_id!=n.id)throw new Error("Invalid link and graph input!");const t=n.getParentSubgraph();if(t==null)throw new Error("No outer subgraph!");const i=t.inputs.findIndex(r=>r.name===n.nameInGraph);if(i===-1)throw new Error("No outer input slot!");const s=t.getInputLink(i);return[t.graph,s,i,t]}function cz(n,e){if(n.is(an))return az(n,e);if(n.is(qi))return uz(n,e);if("getUpstreamLink"in n){const t=n.getUpstreamLink();return[n.graph,t,t==null?void 0:t.target_slot,n]}else if(n.inputs.length===1){const t=n.getInputLink(0);if(t)return[n.graph,t,0,n]}return[null,null,null,null]}class nT{constructor(e){this.isTheTargetNode=e}locateUpstream(e,t,i){let s=e.getInputNode(t);if(!s)return[null,null,null,null];const r={};let o=e.getInputLink(t),l=t,a=e;const u=(c,f)=>Wl(c,i)&&!this.isTheTargetNode(c,f);for(;u(s,o);){const[c,f,h,d]=cz(s,o);if(l=h,a=d,f==null)break;if(f&&!r[f.id]){r[f.id]=!0;const p=c.getNodeById(f.origin_id);Wl(s,i)?(o=f,s=p):s=null}else s=null}return!Wl(s,i)||!this.isTheTargetNode(s,o)||o==null?[null,o,l,a]:[s,o,l,a]}}class fz{serializeInputValues(e){var i;if(!e.inputs)return{};const t={};for(let s=0;so.isBackendNode,r=new nT(s);for(let o=0;oa.id===r.id),!iT(r,t))continue;const o=this.serializeInputValues(r),l=this.serializeBackendLinks(r,t);s[String(r.id)]={inputs:{...o,...l},class_type:r.comfyClass}}for(const r in s)for(const o in s[r].inputs)Array.isArray(s[r].inputs[o])&&s[r].inputs[o].length===2&&!s[s[r].inputs[o][0]]&&delete s[r].inputs[o];return{workflow:i,output:s}}}class sT extends Ft{constructor(t){super(t);P(this,"properties",{targetTags:"",enable:!1,tags:[]});P(this,"displayWidget");P(this,"enableWidget");this.displayWidget=this.addWidget("text","Tags",this.properties.targetTags,"targetTags"),this.enableWidget=this.addWidget("toggle","Enable",this.properties.enable,"enable")}onPropertyChanged(t,i){t==="enable"&&(this.enableWidget.value=i)}onAction(t,i){let s=this.getInputData(0);s==null&&(s=this.properties.enable);let r=!!s;typeof i=="object"&&"enabled"in i&&(r=i.enabled);const o=this.properties.targetTags.split(",").map(l=>l.trim());for(const l of this.graph._nodes)if("tags"in l.properties){const a=l;if(o.some(c=>Ef(a,c,!1))){let c;r?c=ft.ALWAYS:c=ft.NEVER,l.changeMode(c),"notifyPropsChanged"in l&&l.notifyPropsChanged()}}for(const l of Object.values(ie(this.layoutState).allItems))if(l.dragItem.type==="container"){const a=l.dragItem;o.some(c=>a.attrs.tags.indexOf(c)!=-1)&&(a.attrs.hidden=!r),a.attrsChanged.set(ie(a.attrsChanged)+1)}}}P(sT,"slotLayout",{inputs:[{name:"enabled",type:"boolean"},{name:"set",type:$.ACTION}]});w.registerNodeType({class:sT,title:"Comfy.SetNodeModeAction",desc:"Sets a group of nodes/UI containers as enabled/disabled based on their tags (comma-separated)",type:"actions/set_node_mode"});class qd extends Ft{constructor(t){super(t);P(this,"properties",{targetTags:[{tag:"myTag",enable:!0},{tag:"anotherTag",enable:!1}],enable:!0,tags:[]});P(this,"displayWidget");P(this,"enableWidget");this.displayWidget=this.addWidget("text","Tags",this.formatTags(),null),this.displayWidget.disabled=!0,this.enableWidget=this.addWidget("toggle","Enable",this.properties.enable,"enable")}onPropertyChanged(t,i){t==="enable"?this.enableWidget.value=i:t==="targetTags"&&(this.displayWidget.value=this.formatTags())}formatTags(){return!Array.isArray(this.properties.targetTags)||this.properties.targetTags.length===0?"(No tags)":this.properties.targetTags.map(t=>{let i=t.tag;return t.enable?i="+"+i:i="!"+i,i}).join(", ")}getModeChanges(t,i,s,r){for(const o of this.graph.iterateNodesInOrderRecursive())if("tags"in o.properties&&Ef(o,t.tag,!1)){let u;t.enable?u=i?ft.ALWAYS:ft.NEVER:u=i?ft.NEVER:ft.ALWAYS,s[o.id]=u}for(const o of Object.values(ie(this.layoutState).allItems))if(o.dragItem.type==="container"){const l=o.dragItem;if(l.attrs.tags.indexOf(t.tag)!=-1){let u;t.enable?u=!i:u=i,r[l.id]=u}}}onExecute(){this.boxcolor=w.NODE_DEFAULT_BOXCOLOR;for(const t of this.properties.targetTags)if(typeof t!="object"||!("tag"in t)||!("enable"in t)){this.boxcolor="red";break}}onAction(t,i){let s=this.getInputData(0);s==null&&(s=this.properties.enable);let r=!!s;typeof i=="object"&&"enabled"in i&&(r=i.enabled);const o={},l={};for(const u of this.properties.targetTags)this.getModeChanges(u,r,o,l);for(const[u,c]of Object.entries(o))this.graph.getNodeByIdRecursive(u).changeMode(c);const a=ie(this.layoutState);for(const[u,c]of Object.entries(l)){const f=a.allItems[u].dragItem;f.attrs.hidden=c,f.attrsChanged.set(ie(f.attrsChanged)+1)}}}P(qd,"slotLayout",{inputs:[{name:"enabled",type:"boolean"},{name:"set",type:$.ACTION}]}),P(qd,"propertyLayout",[{name:"enable",defaultValue:!0,type:"boolean"},{name:"targetTags",defaultValue:[{tag:"myTag",enable:!0},{tag:"anotherTag",enable:!1}],type:"array",options:{multiline:!0,inputStyle:{fontFamily:"monospace"}}}]);w.registerNodeType({class:qd,title:"Comfy.SetNodeModeAdvancedAction",desc:"Turns multiple groups of nodes on/off at once based on an array of rules [{ tag: string, enable: boolean }, ...]",type:"actions/set_node_mode_advanced"});class rT extends Ft{constructor(){super(...arguments);P(this,"properties",{tags:[],defaultFolderType:"input"});P(this,"_value",null)}getPromptThumbnails(){const t=this.getInputData(0);return AE(t)}}P(rT,"slotLayout",{inputs:[{name:"filenames",type:"*"}]});w.registerNodeType({class:rT,title:"Comfy.SetPromptThumbnailsAction",desc:"When a subgraph containing this node is executed, sets the thumbnails in the queue sidebar to the input filename(s).",type:"actions/set_prompt_thumbnails"});class oT extends Ft{constructor(){super(...arguments);P(this,"properties",{tags:[],images:null})}onExecute(){this.properties.images!==null&&this.setOutputData(0,this.properties.images)}onAction(t,i){t!=="store"||!i||!("images"in i)||(this.setProperty("images",i),this.setOutputData(0,this.properties.images))}}P(oT,"slotLayout",{inputs:[{name:"output",type:$.ACTION,options:{color_off:"rebeccapurple",color_on:"rebeccapurple"}}],outputs:[{name:"images",type:"OUTPUT"}]});w.registerNodeType({class:oT,title:"Comfy.StoreImagesAction",desc:"Stores images from an onExecuted callback",type:"actions/store_images"});class lT extends Ft{onAction(e,t){const i=this.getInputData(0),s=this.getInputData(1);this.triggerSlot(0,s),this.triggerSlot(1,i)}}P(lT,"slotLayout",{inputs:[{name:"A",type:"*"},{name:"B",type:"*"},{name:"swap",type:$.ACTION}],outputs:[{name:"B",type:$.EVENT},{name:"A",type:$.EVENT}]});w.registerNodeType({class:lT,title:"Comfy.SwapAction",desc:"Swaps two inputs when triggered",type:"actions/swap"});class aT extends Ft{constructor(){super(...arguments);P(this,"properties",{tags:[]});P(this,"isActive",!1)}onAction(t,i){const s=this.getInputData(0);if(s==null){nt("No workflow data to send!",{type:"error"});return}if(this.isActive)return;let r=Mv(s);const o=ht.findReceiveOutputTargets(r);this.isActive=!0,Zl.querySendOutput(s,r,o,()=>{this.isActive=!1})}}P(aT,"slotLayout",{inputs:[{name:"value",type:"*"},{name:"trigger",type:$.ACTION}]});w.registerNodeType({class:aT,title:"Comfy.SendOutputAction",desc:"Sends a workflow output elsewhere",type:"actions/send_output"});function hz(n,e){let t=[];return t=t.concat(Array.from(cp)),t.push("COMFYBOX_IMAGE"),t.push("COMFYBOX_IMAGES"),t}class uT extends Ft{constructor(t){super(t);P(this,"properties",{tags:[],name:"Image",description:"Generic image input.",type:"COMFYBOX_IMAGE"});P(this,"size",[180,90]);P(this,"nameWidget");P(this,"descriptionWidget");P(this,"typeWidget");P(this,"isActive",!1);P(this,"_queue",[]);this.nameWidget=this.addWidget("text","Name",this.properties.name,"name"),this.descriptionWidget=this.addWidget("text","Desc.",this.properties.description,"description",{multiline:!0}),this.typeWidget=this.addWidget("combo","Type",""+this.properties.type,"type",{values:hz})}onPropertyChanged(t,i){if(t==="type"){const s=re.DEFAULT_CONNECTION_COLORS_BY_TYPE[i]||re.DEFAULT_CONNECTION_COLORS_BY_TYPE[$.EVENT];this.outputs[0].color_on=s,this.outputs[0].color_off=s}}getTitle(){return this.flags.collapsed?this.properties.name:this.title}onExecute(){for(;this._queue.length>0;)this.triggerSlot(0,this._queue.splice(0,1))}receiveOutput(t){if(Mv(t)!==this.properties.type){nt("Output type mismatch!",{type:"error"});return}this._queue.push(t)}}P(uT,"slotLayout",{outputs:[{name:"received",type:$.EVENT,options:{color_off:"fuchsia",color_on:"fuchsia"}}]});w.registerNodeType({class:uT,title:"Comfy.ReceiveOutput",desc:"Receives a workflow output sent from elsewhere",type:"events/receive_output"});class dz{constructor(){P(this,"eventBus",new kv);P(this,"socket",null);P(this,"clientId",null);P(this,"hostname",null);P(this,"port",8188)}addEventListener(e,t){this.eventBus.addListener(e,t)}pollQueue(){setInterval(async()=>{try{const t=await(await fetch(this.getBackendUrl()+"/prompt")).json();this.eventBus.emit("status",{execInfo:{queueRemaining:t.exec_info.queue_remaining}})}catch(e){this.eventBus.emit("status",{error:e.toString()})}},1e3)}getHostname(){let e=this.hostname||location.hostname;return e==="localhost"&&(e=location.hostname),e}getBackendUrl(){const e=this.getHostname(),t=this.port||location.port;return`${window.location.protocol}//${e}:${t}`}createSocket(e=!1){if(this.socket)return;let t=!1,i=sessionStorage["Comfy.SessionId"]||"";i&&(i="?clientId="+i);const s=this.getHostname(),r=this.port||location.port;this.socket=new WebSocket(`ws${window.location.protocol==="https:"?"s":""}://${s}:${r}/ws${i}`),this.socket.binaryType="arraybuffer",this.socket.addEventListener("open",()=>{t=!0,e&&this.eventBus.emit("reconnected")}),this.socket.addEventListener("error",()=>{this.socket&&this.socket.close(),!e&&!t&&this.pollQueue()}),this.socket.addEventListener("close",()=>{setTimeout(()=>{this.socket=null,this.createSocket(!0)},300),t&&(this.eventBus.emit("status",null),this.eventBus.emit("reconnecting"))}),this.socket.addEventListener("message",o=>{try{if(o.data instanceof ArrayBuffer){const a=new DataView(o.data).getUint32(0),u=o.data.slice(4);switch(a){case 1:const f=new DataView(o.data).getUint32(0);let h;switch(f){case 1:default:h="image/jpeg";break;case 2:h="image/png"}const d=new Blob([u.slice(4)],{type:h});this.eventBus.emit("b_preview",d);break;default:throw new Error(`Unknown binary websocket message of type ${a}`)}}else{const l=JSON.parse(o.data);switch(l.type){case"status":l.data.sid&&(this.clientId=l.data.sid,sessionStorage["Comfy.SessionId"]=this.clientId),this.eventBus.emit("status",{execInfo:{queueRemaining:l.data.status.exec_info.queue_remaining}});break;case"progress":this.eventBus.emit("progress",l.data);break;case"executing":this.eventBus.emit("executing",l.data.prompt_id,l.data.node);break;case"executed":this.eventBus.emit("executed",l.data.prompt_id,l.data.node,l.data.output);break;case"execution_start":this.eventBus.emit("execution_start",l.data.prompt_id);break;case"execution_cached":this.eventBus.emit("execution_cached",l.data.prompt_id,l.data.nodes);break;case"execution_interrupted":this.eventBus.emit("execution_interrupted",l.data);break;case"execution_error":this.eventBus.emit("execution_error",l.data);break;default:}}}catch{}})}init(){this.createSocket()}async getExtensions(){return fetch(this.getBackendUrl()+"/extensions",{cache:"no-store"}).then(e=>e.json())}async getEmbeddings(){return fetch(this.getBackendUrl()+"/embeddings",{cache:"no-store"}).then(e=>e.json())}async getNodeDefs(){return fetch(this.getBackendUrl()+"/object_info",{cache:"no-store"}).then(e=>e.json())}async queuePrompt(e){e.client_id=this.clientId,e.number===-1&&(e.front=!0);let t=null;try{t=JSON.stringify(e)}catch(i){return Promise.reject({error:i.toString()})}return fetch(this.getBackendUrl()+"/prompt",{method:"POST",headers:{"Content-Type":"application/json"},body:t}).then(async i=>{if(i.status!=200)throw await i.json();return i.json()}).then(i=>({promptID:i.prompt_id,number:i.number})).catch(i=>i)}async getQueue(){return fetch(this.getBackendUrl()+"/queue").then(e=>e.json()).then(e=>({running:e.queue_running,pending:e.queue_pending})).catch(e=>({running:[],pending:[],error:e}))}async getHistory(){return fetch(this.getBackendUrl()+"/history").then(e=>e.json()).then(e=>({history:e})).catch(e=>({history:{},error:e}))}async postItem(e,t){try{t=t&&JSON.stringify(t)}catch(i){return Promise.reject(i)}return fetch(this.getBackendUrl()+"/"+e,{method:"POST",headers:{"Content-Type":"application/json"},body:t})}async deleteItem(e,t){return this.postItem(e,{delete:[t]})}async clearItems(e){return this.postItem(e,{clear:!0})}async interrupt(){return fetch(this.getBackendUrl()+"/interrupt",{method:"POST"})}async getSystemStats(){return fetch(this.getBackendUrl()+"/system_stats").then(async e=>await e.json())}}function*pz(n){const e=[137,80,78,71,13,10,26,10],t=4,i=4,s=4;let r=new DataView(n.buffer),o=new TextDecoder("utf-8",{fatal:!0}),l=0;for(let a=0;ai===0);if(t<0)return{kind:1,error:"PNG parse error: no null separator in tEXt chunk"};try{let i=e.decode(n.subarray(0,t)),s=e.decode(n.subarray(t+1,n.byteLength));return{keyword:i,text:s}}catch(i){return{kind:7,error:i}}}async function mz(n){let e=new Uint8Array(n);const t={};let i,s=pz(e);do if(i=s.next(),!i.done){let r=i.value;if("kind"in r||r.type!=="tEXt")continue;let o=gz(r.data);if("kind"in o)continue;let l=o;t[l.keyword]=l.text}while(i.value!=null&&!i.done);return t}function lb(n,e,t){const i=n.slice();return i[12]=e[t],i[14]=t,i}function _z(n){let e,t=n[8][0]+"",i,s,r,o,l,a=n[8][1]+"",u,c,f,h,d,p=Xe(n[7]),g=[];for(let b=0;bC(g[b],1,1,()=>{g[b]=null});let _=!n[5]&&fb();return{c(){e=z("span"),i=ke(t),s=se(),r=z("ul");for(let b=0;b{c[p]=null}),le(),r=c[s],r?r.p(h,d):(r=c[s]=u[s](h),r.c()),S(r,1),r.m(e,o))},i(h){l||(S(r),l=!0)},o(h){C(r),l=!1},d(h){h&&E(e),a&&a.d(),c[s].d()}}}function fb(n){let e;return{c(){e=z("span"),e.textContent=",",v(e,"class","_jsonSep svelte-uhdygg")},m(t,i){A(t,e,i)},d(t){t&&E(e)}}}function hb(n){let e;return{c(){e=z("span"),e.textContent=",",v(e,"class","_jsonSep svelte-uhdygg")},m(t,i){A(t,e,i)},d(t){t&&E(e)}}}function db(n){let e;return{c(){e=z("span"),e.textContent=",",v(e,"class","_jsonSep svelte-uhdygg")},m(t,i){A(t,e,i)},d(t){t&&E(e)}}}function kz(n){let e,t,i,s;const r=[yz,bz,_z],o=[];function l(a,u){return a[7].length?a[0]?1:2:0}return e=l(n),t=o[e]=r[e](n),{c(){t.c(),i=we()},m(a,u){o[e].m(a,u),A(a,i,u),s=!0},p(a,[u]){let c=e;e=l(a),e===c?o[e].p(a,u):(oe(),C(o[c],1,1,()=>{o[c]=null}),le(),t=o[e],t?t.p(a,u):(t=o[e]=r[e](a),t.c()),S(t,1),t.m(i.parentNode,i))},i(a){s||(S(t),s=!0)},o(a){C(t),s=!1},d(a){a&&E(i),o[e].d(a)}}}function la(n){return n===null?"null":typeof n}function pb(n){const e=la(n);return e==="string"?`"${n}"`:e==="function"?"f () {...}":e==="symbol"?n.toString():n}function Sz(n,e,t){let{json:i}=e,{depth:s=1/0}=e,{collapseByDefault:r=!1}=e,{_cur:o=0}=e,{_last:l=!0}=e,a,u=!1,c=["",""],{collapsed:f=null}=e;function h(){t(0,f=!f)}function d(g){g instanceof KeyboardEvent&&["Enter"," "].includes(g.key)&&h()}function p(g){return typeof r=="function"?r(g):typeof r=="boolean"?r:null}return n.$$set=g=>{"json"in g&&t(1,i=g.json),"depth"in g&&t(2,s=g.depth),"collapseByDefault"in g&&t(3,r=g.collapseByDefault),"_cur"in g&&t(4,o=g._cur),"_last"in g&&t(5,l=g._last),"collapsed"in g&&t(0,f=g.collapsed)},n.$$.update=()=>{n.$$.dirty&66&&(t(7,a=la(i)==="object"?Object.keys(i):[]),t(6,u=Array.isArray(i)),t(8,c=u?["[","]"]:["{","}"])),n.$$.dirty&21&&f===null&&t(0,f=s{f=null}),le());const g={};d&34&&(g.$$scope={dirty:d,ctx:h}),l.$set(g);const m={};d&48&&(m.$$scope={dirty:d,ctx:h}),u.$set(m)},i(h){c||(S(i.$$.fragment,h),S(f),S(l.$$.fragment,h),S(u.$$.fragment,h),c=!0)},o(h){C(i.$$.fragment,h),C(f),C(l.$$.fragment,h),C(u.$$.fragment,h),c=!1},d(h){h&&E(e),j(i),f&&f.d(),j(l),j(u)}}}function Tz(n){let e,t;return e=new dr({props:{label:"Infotext",show_label:!0,value:n[3],lines:5,max_lines:20}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&8&&(r.value=i[3]),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function mb(n){let e=Object.keys(n[2].extraParams).length>0,t,i,s=e&&_b(n);return{c(){s&&s.c(),t=we()},m(r,o){s&&s.m(r,o),A(r,t,o),i=!0},p(r,o){o&4&&(e=Object.keys(r[2].extraParams).length>0),e?s?(s.p(r,o),o&4&&S(s,1)):(s=_b(r),s.c(),S(s,1),s.m(t.parentNode,t)):s&&(oe(),C(s,1,1,()=>{s=null}),le())},i(r){i||(S(s),i=!0)},o(r){C(s),i=!1},d(r){r&&E(t),s&&s.d(r)}}}function _b(n){let e,t;return e=new yt({props:{$$slots:{default:[Iz]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&36&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function Cz(n){let e;return{c(){e=ke("Unused Parameters")},m(t,i){A(t,e,i)},d(t){t&&E(e)}}}function Iz(n){let e,t,i,s,r;return e=new kn({props:{$$slots:{default:[Cz]},$$scope:{ctx:n}}}),s=new Af({props:{json:n[2].extraParams}}),{c(){Y(e.$$.fragment),t=se(),i=z("div"),Y(s.$$.fragment),v(i,"class","json svelte-a5z4q2")},m(o,l){G(e,o,l),A(o,t,l),A(o,i,l),G(s,i,null),r=!0},p(o,l){const a={};l&32&&(a.$$scope={dirty:l,ctx:o}),e.$set(a);const u={};l&4&&(u.json=o[2].extraParams),s.$set(u)},i(o){r||(S(e.$$.fragment,o),S(s.$$.fragment,o),r=!0)},o(o){C(e.$$.fragment,o),C(s.$$.fragment,o),r=!1},d(o){o&&(E(t),E(i)),j(e,o),j(s)}}}function Ez(n){let e;return{c(){e=ke("Converted Prompt")},m(t,i){A(t,e,i)},d(t){t&&E(e)}}}function Az(n){let e,t,i,s,r;return e=new kn({props:{$$slots:{default:[Ez]},$$scope:{ctx:n}}}),s=new Af({props:{json:n[1]}}),{c(){Y(e.$$.fragment),t=se(),i=z("div"),Y(s.$$.fragment),v(i,"class","json svelte-a5z4q2")},m(o,l){G(e,o,l),A(o,t,l),A(o,i,l),G(s,i,null),r=!0},p(o,l){const a={};l&32&&(a.$$scope={dirty:l,ctx:o}),e.$set(a);const u={};l&2&&(u.json=o[1]),s.$set(u)},i(o){r||(S(e.$$.fragment,o),S(s.$$.fragment,o),r=!0)},o(o){C(e.$$.fragment,o),C(s.$$.fragment,o),r=!1},d(o){o&&(E(t),E(i)),j(e,o),j(s)}}}function Oz(n){let e,t;return e=new Fp({props:{show_label:!1,label:"Image",value:n[4]}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&16&&(r.value=i[4]),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function Nz(n){let e,t,i=n[0]!=null&&gb(n);return{c(){i&&i.c(),e=we()},m(s,r){i&&i.m(s,r),A(s,e,r),t=!0},p(s,[r]){s[0]!=null?i?(i.p(s,r),r&1&&S(i,1)):(i=gb(s),i.c(),S(i,1),i.m(e.parentNode,e)):i&&(oe(),C(i,1,1,()=>{i=null}),le())},i(s){t||(S(i),t=!0)},o(s){C(i),t=!1},d(s){s&&E(e),i&&i.d(s)}}}function Dz(n,e,t){let{prompt:i=null}=e,s={},r=null,o="",l=null;return n.$$set=a=>{"prompt"in a&&t(0,i=a.prompt)},n.$$.update=()=>{n.$$.dirty&1&&(i?(t(3,o=i.infotext),t(2,r=i.parsedInfotext),t(1,s=i.stdPrompt),t(4,l=URL.createObjectURL(i.imageFile))):(t(3,o=""),t(2,r=null),t(1,s={}),t(4,l=null)))},[i,s,r,o,l]}class xz extends _e{constructor(e){super(),me(this,e,Dz,Nz,ae,{prompt:0})}}function bb(n,e,t){const i=n.slice();return i[1]=e[t],i}function yb(n){let e,t=n[1]+"",i;return{c(){e=z("li"),i=ke(t),v(e,"class","svelte-162c7mp")},m(s,r){A(s,e,r),F(e,i)},p(s,r){r&1&&t!==(t=s[1]+"")&&je(i,t)},d(s){s&&E(e)}}}function Lz(n){let e,t,i,s,r=Xe(Array.from(n[0])),o=[];for(let l=0;l{"missingNodeTypes"in s&&t(0,i=s.missingNodeTypes)},[i]}class Rz extends _e{constructor(e){super(),me(this,e,Mz,Lz,ae,{missingNodeTypes:0})}}function vb(n,e,t){const i=n.slice();return i[1]=e[t],i}function wb(n){let e,t=n[1]+"",i;return{c(){e=z("li"),i=ke(t),v(e,"class","svelte-162c7mp")},m(s,r){A(s,e,r),F(e,i)},p(s,r){r&1&&t!==(t=s[1]+"")&&je(i,t)},d(s){s&&E(e)}}}function Pz(n){let e,t,i,s,r=Xe(Array.from(n[0])),o=[];for(let l=0;l{"missingNodeTypes"in s&&t(0,i=s.missingNodeTypes)},[i]}class zz extends _e{constructor(e){super(),me(this,e,Bz,Pz,ae,{missingNodeTypes:0})}}function Fz(n){var g;let e,t,i,s,r,o=n[0].toString()+"",l,a,u,c,f,h=(((g=n[0])==null?void 0:g.stack)||"(No stacktrace available)")+"",d,p;return{c(){e=z("div"),t=ke(`Loading aborted due to error reloading workflow data: + `),i=z("div"),s=z("pre"),r=ke(" "),l=ke(o),a=ke(` + `),u=se(),c=z("pre"),f=ke(" "),d=ke(h),p=ke(` + `),v(s,"class","error svelte-12ax952"),v(c,"class","stack svelte-12ax952"),v(i,"class","error-block svelte-12ax952"),v(e,"class","svelte-12ax952")},m(m,_){A(m,e,_),F(e,t),F(e,i),F(i,s),F(s,r),F(s,l),F(s,a),F(i,u),F(i,c),F(c,f),F(c,d),F(c,p)},p(m,[_]){var b;_&1&&o!==(o=m[0].toString()+"")&&je(l,o),_&1&&h!==(h=(((b=m[0])==null?void 0:b.stack)||"(No stacktrace available)")+"")&&je(d,h)},i:Z,o:Z,d(m){m&&E(e)}}}function Wz(n,e,t){let{error:i}=e;return n.$$set=s=>{"error"in s&&t(0,i=s.error)},[i]}class Vz extends _e{constructor(e){super(),me(this,e,Wz,Fz,ae,{error:0})}}function kb(n,e,t){const i=n.slice();return i[14]=e[t],i[16]=t,i}function Hz(n){let e,t=n[14].name+"",i,s,r,o;function l(){return n[12](n[14],n[16])}return{c(){e=z("button"),i=ke(t),s=se(),v(e,"class","svelte-1tkhcg5")},m(a,u){A(a,e,u),F(e,i),F(e,s),r||(o=ee(e,"click",l),r=!0)},p(a,u){n=a,u&8&&t!==(t=n[14].name+"")&&je(i,t)},d(a){a&&E(e),r=!1,o()}}}function Uz(n){let e,t=n[14].name+"",i,s;return{c(){e=z("button"),i=ke(t),s=se(),v(e,"class","selected svelte-1tkhcg5")},m(r,o){A(r,e,o),F(e,i),F(e,s)},p(r,o){o&8&&t!==(t=r[14].name+"")&&je(i,t)},d(r){r&&E(e)}}}function Sb(n,e){let t,i;function s(l,a){return l[14].id===l[4]?Uz:Hz}let r=s(e),o=r(e);return{key:n,first:null,c(){t=we(),o.c(),i=we(),this.first=t},m(l,a){A(l,t,a),o.m(l,a),A(l,i,a)},p(l,a){e=l,r===(r=s(e))&&o?o.p(e,a):(o.d(1),o=r(e),o&&(o.c(),o.m(i.parentNode,i)))},d(l){l&&(E(t),E(i)),o.d(l)}}}function Gz(n){let e,t,i=[],s=new Map,r,o,l,a=Xe(n[3]);const u=h=>h[14].id;for(let h=0;ht(4,s=_));const d=Be(0);Si(n,d,_=>t(13,i=_));const p=mi();Ly(cT,{register_tab:_=>(f.push({name:_.name,id:_.id}),h.update(b=>b??_.id),t(3,f),f.length-1),unregister_tab:_=>{const b=f.findIndex(y=>y.id===_.id);f.splice(b,1),h.update(y=>{var k,T;return y===_.id?((k=f[b])==null?void 0:k.id)||((T=f[f.length-1])==null?void 0:T.id):y})},selected_tab:h,selected_tab_index:d});function g(_){t(9,c=_),pi(h,s=_,s),pi(d,i=f.findIndex(b=>b.id===_),i),p("change")}const m=(_,b)=>{g(_.id),p("select",{value:_.name,index:b})};return n.$$set=_=>{"visible"in _&&t(0,l=_.visible),"elem_id"in _&&t(1,a=_.elem_id),"elem_classes"in _&&t(2,u=_.elem_classes),"selected"in _&&t(9,c=_.selected),"$$scope"in _&&t(10,o=_.$$scope)},n.$$.update=()=>{n.$$.dirty&512&&c!==null&&g(c)},[l,a,u,f,s,h,d,p,g,c,o,r,m]}class fT extends _e{constructor(e){super(),me(this,e,jz,Gz,ae,{visible:0,elem_id:1,elem_classes:2,selected:9})}}function qz(n){let e,t,i,s;const r=n[8].default,o=De(r,n,n[7],null);return{c(){e=z("div"),o&&o.c(),v(e,"id",n[2]),v(e,"class",t=mr(n[3].join(" "))+" svelte-1m1obck"),v(e,"style",i=`min-width: min(${n[1]}px, 100%); flex-grow: ${n[0]}`),B(e,"gap",n[6].gap!==!1),B(e,"compact",n[5]==="compact"),B(e,"panel",n[5]==="panel"),B(e,"hide",!n[4])},m(l,a){A(l,e,a),o&&o.m(e,null),s=!0},p(l,[a]){o&&o.p&&(!s||a&128)&&Le(o,r,l,l[7],s?xe(r,l[7],a,null):Me(l[7]),null),(!s||a&4)&&v(e,"id",l[2]),(!s||a&8&&t!==(t=mr(l[3].join(" "))+" svelte-1m1obck"))&&v(e,"class",t),(!s||a&3&&i!==(i=`min-width: min(${l[1]}px, 100%); flex-grow: ${l[0]}`))&&v(e,"style",i),(!s||a&72)&&B(e,"gap",l[6].gap!==!1),(!s||a&40)&&B(e,"compact",l[5]==="compact"),(!s||a&40)&&B(e,"panel",l[5]==="panel"),(!s||a&24)&&B(e,"hide",!l[4])},i(l){s||(S(o,l),s=!0)},o(l){C(o,l),s=!1},d(l){l&&E(e),o&&o.d(l)}}}function Yz(n,e,t){let{$$slots:i={},$$scope:s}=e,{scale:r=1}=e,{min_width:o=0}=e,{elem_id:l=""}=e,{elem_classes:a=[]}=e,{visible:u=!0}=e,{variant:c="default"}=e,{style:f={}}=e;return n.$$set=h=>{"scale"in h&&t(0,r=h.scale),"min_width"in h&&t(1,o=h.min_width),"elem_id"in h&&t(2,l=h.elem_id),"elem_classes"in h&&t(3,a=h.elem_classes),"visible"in h&&t(4,u=h.visible),"variant"in h&&t(5,c=h.variant),"style"in h&&t(6,f=h.style),"$$scope"in h&&t(7,s=h.$$scope)},[r,o,l,a,u,c,f,s,i]}let Xz=class extends _e{constructor(e){super(),me(this,e,Yz,qz,ae,{scale:0,min_width:1,elem_id:2,elem_classes:3,visible:4,variant:5,style:6})}};function Kz(n){let e;const t=n[8].default,i=De(t,n,n[9],null);return{c(){i&&i.c()},m(s,r){i&&i.m(s,r),e=!0},p(s,r){i&&i.p&&(!e||r&512)&&Le(i,t,s,s[9],e?xe(t,s[9],r,null):Me(s[9]),null)},i(s){e||(S(i,s),e=!0)},o(s){C(i,s),e=!1},d(s){i&&i.d(s)}}}function $z(n){let e,t,i,s;return t=new Xz({props:{$$slots:{default:[Kz]},$$scope:{ctx:n}}}),{c(){e=z("div"),Y(t.$$.fragment),v(e,"id",n[0]),v(e,"class",i="tabitem "+n[1].join(" ")+" svelte-ztmw93"),ve(e,"display",n[3]===n[2]?"block":"none")},m(r,o){A(r,e,o),G(t,e,null),s=!0},p(r,[o]){const l={};o&512&&(l.$$scope={dirty:o,ctx:r}),t.$set(l),(!s||o&1)&&v(e,"id",r[0]),(!s||o&2&&i!==(i="tabitem "+r[1].join(" ")+" svelte-ztmw93"))&&v(e,"class",i),o&12&&ve(e,"display",r[3]===r[2]?"block":"none")},i(r){s||(S(t.$$.fragment,r),s=!0)},o(r){C(t.$$.fragment,r),s=!1},d(r){r&&E(e),j(t)}}}function Jz(n,e,t){let i,s,{$$slots:r={},$$scope:o}=e,{elem_id:l=""}=e,{elem_classes:a=[]}=e,{name:u}=e,{id:c={}}=e;const f=mi(),{register_tab:h,unregister_tab:d,selected_tab:p,selected_tab_index:g}=lp(cT);Si(n,p,_=>t(3,s=_)),Si(n,g,_=>t(7,i=_));let m=h({name:u,id:c});return rl(()=>()=>d({name:u,id:c})),n.$$set=_=>{"elem_id"in _&&t(0,l=_.elem_id),"elem_classes"in _&&t(1,a=_.elem_classes),"name"in _&&t(6,u=_.name),"id"in _&&t(2,c=_.id),"$$scope"in _&&t(9,o=_.$$scope)},n.$$.update=()=>{n.$$.dirty&192&&i===m&&yr().then(()=>f("select",{value:u,index:m}))},[l,a,c,s,p,g,u,i,r,o]}class Yd extends _e{constructor(e){super(),me(this,e,Jz,$z,ae,{elem_id:0,elem_classes:1,name:6,id:2})}}function Zz(n){let e,t,i,s,r,o,l,a,u,c;const f=n[4].default,h=De(f,n,n[3],null);return{c(){e=z("div"),t=z("span"),i=ke(n[1]),s=se(),r=z("span"),r.textContent="▼",o=se(),l=z("div"),h&&h.c(),v(t,"class","svelte-xyse2h"),v(r,"class","icon svelte-xyse2h"),ve(r,"transform",n[0]?"rotate(0)":"rotate(90deg)"),v(e,"class","label-wrap svelte-xyse2h"),B(e,"open",n[0]),ve(l,"display",n[0]?"block":"none")},m(d,p){A(d,e,p),F(e,t),F(t,i),F(e,s),F(e,r),A(d,o,p),A(d,l,p),h&&h.m(l,null),a=!0,u||(c=ee(e,"click",n[2]),u=!0)},p(d,[p]){(!a||p&2)&&je(i,d[1]),p&1&&ve(r,"transform",d[0]?"rotate(0)":"rotate(90deg)"),(!a||p&1)&&B(e,"open",d[0]),h&&h.p&&(!a||p&8)&&Le(h,f,d,d[3],a?xe(f,d[3],p,null):Me(d[3]),null),p&1&&ve(l,"display",d[0]?"block":"none")},i(d){a||(S(h,d),a=!0)},o(d){C(h,d),a=!1},d(d){d&&(E(e),E(o),E(l)),h&&h.d(d),u=!1,c()}}}function Qz(n,e,t){let{$$slots:i={},$$scope:s}=e,{label:r=""}=e,{open:o=!0}=e;const l=mi();function a(){t(0,o=!o),l("click",o)}return n.$$set=u=>{"label"in u&&t(1,r=u.label),"open"in u&&t(0,o=u.open),"$$scope"in u&&t(3,s=u.$$scope)},[o,r,a,s,i]}class Of extends _e{constructor(e){super(),me(this,e,Qz,Zz,ae,{label:1,open:0})}}function Tb(n,e,t){const i=n.slice();i[3]=e[t];const s=i[0].allItems[i[3]];return i[4]=s,i}function eF(n){let e,t;return e=new yt({props:{$$slots:{default:[iF]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&130&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function tF(n){let e,t,i,s;const r=[sF,nF],o=[];function l(a,u){return a[2].dragItem.type==="container"?0:1}return e=l(n),t=o[e]=r[e](n),{c(){t.c(),i=we()},m(a,u){o[e].m(a,u),A(a,i,u),s=!0},p(a,u){let c=e;e=l(a),e===c?o[e].p(a,u):(oe(),C(o[c],1,1,()=>{o[c]=null}),le(),t=o[e],t?t.p(a,u):(t=o[e]=r[e](a),t.c()),S(t,1),t.m(i.parentNode,i))},i(a){s||(S(t),s=!0)},o(a){C(t),s=!1},d(a){a&&E(i),o[e].d(a)}}}function iF(n){let e,t;return{c(){e=ke("Missing drag entry! "),t=ke(n[1])},m(i,s){A(i,e,s),A(i,t,s)},p(i,s){s&2&&je(t,i[1])},d(i){i&&(E(e),E(t))}}}function nF(n){let e,t,i;return t=new yt({props:{$$slots:{default:[oF]},$$scope:{ctx:n}}}),{c(){e=z("div"),Y(t.$$.fragment),v(e,"class","layout-widget svelte-1fp9590")},m(s,r){A(s,e,r),G(t,e,null),i=!0},p(s,r){const o={};r&132&&(o.$$scope={dirty:r,ctx:s}),t.$set(o)},i(s){i||(S(t.$$.fragment,s),i=!0)},o(s){C(t.$$.fragment,s),i=!1},d(s){s&&E(e),j(t)}}}function sF(n){let e,t,i;return t=new yt({props:{$$slots:{default:[aF]},$$scope:{ctx:n}}}),{c(){e=z("div"),Y(t.$$.fragment),v(e,"class","layout-container svelte-1fp9590")},m(s,r){A(s,e,r),G(t,e,null),i=!0},p(s,r){const o={};r&133&&(o.$$scope={dirty:r,ctx:s}),t.$set(o)},i(s){i||(S(t.$$.fragment,s),i=!0)},o(s){C(t.$$.fragment,s),i=!1},d(s){s&&E(e),j(t)}}}function rF(n){let e=n[2].dragItem.attrs.title+"",t;return{c(){t=ke(e)},m(i,s){A(i,t,s)},p(i,s){s&4&&e!==(e=i[2].dragItem.attrs.title+"")&&je(t,e)},d(i){i&&E(t)}}}function oF(n){let e,t;return e=new kn({props:{$$slots:{default:[rF]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&132&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function Cb(n){let e,t;return e=new hT({props:{layout:n[0],entry:n[4],entryID:n[3]}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&1&&(r.layout=i[0]),s&5&&(r.entry=i[4]),s&4&&(r.entryID=i[3]),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function lF(n){let e,t,i=Xe(n[2].children),s=[];for(let o=0;oC(s[o],1,1,()=>{s[o]=null});return{c(){for(let o=0;o{o[c]=null}),le(),t=o[e],t?t.p(a,u):(t=o[e]=r[e](a),t.c()),S(t,1),t.m(i.parentNode,i))},i(a){s||(S(t),s=!0)},o(a){C(t),s=!1},d(a){a&&E(i),o[e].d(a)}}}function cF(n,e,t){let{layout:i}=e,{entryID:s}=e,{entry:r}=e;return n.$$set=o=>{"layout"in o&&t(0,i=o.layout),"entryID"in o&&t(1,s=o.entryID),"entry"in o&&t(2,r=o.entry)},[i,s,r]}class hT extends _e{constructor(e){super(),me(this,e,cF,uF,ae,{layout:0,entryID:1,entry:2})}}/*! @license DOMPurify 3.0.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.3/LICENSE */const{entries:dT,setPrototypeOf:Ib,isFrozen:fF,getPrototypeOf:hF,getOwnPropertyDescriptor:dF}=Object;let{freeze:un,seal:us,create:pF}=Object,{apply:Xd,construct:Kd}=typeof Reflect<"u"&&Reflect;Xd||(Xd=function(e,t,i){return e.apply(t,i)});un||(un=function(e){return e});us||(us=function(e){return e});Kd||(Kd=function(e,t){return new e(...t)});const gF=Jn(Array.prototype.forEach),Eb=Jn(Array.prototype.pop),Il=Jn(Array.prototype.push),Eu=Jn(String.prototype.toLowerCase),vh=Jn(String.prototype.toString),mF=Jn(String.prototype.match),ts=Jn(String.prototype.replace),_F=Jn(String.prototype.indexOf),bF=Jn(String.prototype.trim),In=Jn(RegExp.prototype.test),El=yF(TypeError);function Jn(n){return function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),s=1;s/gm),TF=us(/\${[\w\W]*}/gm),CF=us(/^data-[\-\w.\u00B7-\uFFFF]/),IF=us(/^aria-[\-\w]+$/),pT=us(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),EF=us(/^(?:\w+script|data):/i),AF=us(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),gT=us(/^html$/i);var xb=Object.freeze({__proto__:null,MUSTACHE_EXPR:kF,ERB_EXPR:SF,TMPLIT_EXPR:TF,DATA_ATTR:CF,ARIA_ATTR:IF,IS_ALLOWED_URI:pT,IS_SCRIPT_OR_DATA:EF,ATTR_WHITESPACE:AF,DOCTYPE_NAME:gT});const OF=()=>typeof window>"u"?null:window,NF=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let i=null;const s="data-tt-policy-suffix";t&&t.hasAttribute(s)&&(i=t.getAttribute(s));const r="dompurify"+(i?"#"+i:"");try{return e.createPolicy(r,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return null}};function mT(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:OF();const e=Fe=>mT(Fe);if(e.version="3.0.3",e.removed=[],!n||!n.document||n.document.nodeType!==9)return e.isSupported=!1,e;const t=n.document,i=t.currentScript;let{document:s}=n;const{DocumentFragment:r,HTMLTemplateElement:o,Node:l,Element:a,NodeFilter:u,NamedNodeMap:c=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:f,DOMParser:h,trustedTypes:d}=n,p=a.prototype,g=su(p,"cloneNode"),m=su(p,"nextSibling"),_=su(p,"childNodes"),b=su(p,"parentNode");if(typeof o=="function"){const Fe=s.createElement("template");Fe.content&&Fe.content.ownerDocument&&(s=Fe.content.ownerDocument)}let y,k="";const{implementation:T,createNodeIterator:I,createDocumentFragment:R,getElementsByTagName:x}=s,{importNode:N}=t;let O={};e.isSupported=typeof dT=="function"&&typeof b=="function"&&T&&T.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:D,ERB_EXPR:M,TMPLIT_EXPR:L,DATA_ATTR:V,ARIA_ATTR:X,IS_SCRIPT_OR_DATA:q,ATTR_WHITESPACE:K}=xb;let{IS_ALLOWED_URI:Q}=xb,J=null;const ce=it({},[...Ab,...wh,...kh,...Sh,...Ob]);let pe=null;const qe=it({},[...Nb,...Th,...Db,...ru]);let Ae=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ue=null,te=null,be=!0,ge=!0,he=!1,Se=!0,Je=!1,gt=!1,Ii=!1,fe=!1,Te=!1,Ge=!1,It=!1,Pt=!0,ni=!1;const Xt="user-content-";let Fi=!0,Ei=!1,hi={},st=null;const ei=it({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Wi=null;const ct=it({},["audio","video","img","source","image","track"]);let si=null;const Tn=it({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tn="http://www.w3.org/1998/Math/MathML",Ce="http://www.w3.org/2000/svg",tt="http://www.w3.org/1999/xhtml";let vt=tt,Kt=!1,Vi=null;const cn=it({},[tn,Ce,tt],vh);let Hi;const Ks=["application/xhtml+xml","text/html"],$s="text/html";let At,fn=null;const Js=s.createElement("form"),Ns=function(U){return U instanceof RegExp||U instanceof Function},Ai=function(U){if(!(fn&&fn===U)){if((!U||typeof U!="object")&&(U={}),U=vo(U),Hi=Ks.indexOf(U.PARSER_MEDIA_TYPE)===-1?Hi=$s:Hi=U.PARSER_MEDIA_TYPE,At=Hi==="application/xhtml+xml"?vh:Eu,J="ALLOWED_TAGS"in U?it({},U.ALLOWED_TAGS,At):ce,pe="ALLOWED_ATTR"in U?it({},U.ALLOWED_ATTR,At):qe,Vi="ALLOWED_NAMESPACES"in U?it({},U.ALLOWED_NAMESPACES,vh):cn,si="ADD_URI_SAFE_ATTR"in U?it(vo(Tn),U.ADD_URI_SAFE_ATTR,At):Tn,Wi="ADD_DATA_URI_TAGS"in U?it(vo(ct),U.ADD_DATA_URI_TAGS,At):ct,st="FORBID_CONTENTS"in U?it({},U.FORBID_CONTENTS,At):ei,ue="FORBID_TAGS"in U?it({},U.FORBID_TAGS,At):{},te="FORBID_ATTR"in U?it({},U.FORBID_ATTR,At):{},hi="USE_PROFILES"in U?U.USE_PROFILES:!1,be=U.ALLOW_ARIA_ATTR!==!1,ge=U.ALLOW_DATA_ATTR!==!1,he=U.ALLOW_UNKNOWN_PROTOCOLS||!1,Se=U.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Je=U.SAFE_FOR_TEMPLATES||!1,gt=U.WHOLE_DOCUMENT||!1,Te=U.RETURN_DOM||!1,Ge=U.RETURN_DOM_FRAGMENT||!1,It=U.RETURN_TRUSTED_TYPE||!1,fe=U.FORCE_BODY||!1,Pt=U.SANITIZE_DOM!==!1,ni=U.SANITIZE_NAMED_PROPS||!1,Fi=U.KEEP_CONTENT!==!1,Ei=U.IN_PLACE||!1,Q=U.ALLOWED_URI_REGEXP||pT,vt=U.NAMESPACE||tt,Ae=U.CUSTOM_ELEMENT_HANDLING||{},U.CUSTOM_ELEMENT_HANDLING&&Ns(U.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ae.tagNameCheck=U.CUSTOM_ELEMENT_HANDLING.tagNameCheck),U.CUSTOM_ELEMENT_HANDLING&&Ns(U.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ae.attributeNameCheck=U.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),U.CUSTOM_ELEMENT_HANDLING&&typeof U.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Ae.allowCustomizedBuiltInElements=U.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Je&&(ge=!1),Ge&&(Te=!0),hi&&(J=it({},[...Ob]),pe=[],hi.html===!0&&(it(J,Ab),it(pe,Nb)),hi.svg===!0&&(it(J,wh),it(pe,Th),it(pe,ru)),hi.svgFilters===!0&&(it(J,kh),it(pe,Th),it(pe,ru)),hi.mathMl===!0&&(it(J,Sh),it(pe,Db),it(pe,ru))),U.ADD_TAGS&&(J===ce&&(J=vo(J)),it(J,U.ADD_TAGS,At)),U.ADD_ATTR&&(pe===qe&&(pe=vo(pe)),it(pe,U.ADD_ATTR,At)),U.ADD_URI_SAFE_ATTR&&it(si,U.ADD_URI_SAFE_ATTR,At),U.FORBID_CONTENTS&&(st===ei&&(st=vo(st)),it(st,U.FORBID_CONTENTS,At)),Fi&&(J["#text"]=!0),gt&&it(J,["html","head","body"]),J.table&&(it(J,["tbody"]),delete ue.tbody),U.TRUSTED_TYPES_POLICY){if(typeof U.TRUSTED_TYPES_POLICY.createHTML!="function")throw El('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof U.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw El('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');y=U.TRUSTED_TYPES_POLICY,k=y.createHTML("")}else y===void 0&&(y=NF(d,i)),y!==null&&typeof k=="string"&&(k=y.createHTML(""));un&&un(U),fn=U}},Ui=it({},["mi","mo","mn","ms","mtext"]),ri=it({},["foreignobject","desc","title","annotation-xml"]),$t=it({},["title","style","font","a","script"]),xt=it({},wh);it(xt,kh),it(xt,vF);const Ot=it({},Sh);it(Ot,wF);const fl=function(U){let ye=b(U);(!ye||!ye.tagName)&&(ye={namespaceURI:vt,tagName:"template"});const Ee=Eu(U.tagName),_t=Eu(ye.tagName);return Vi[U.namespaceURI]?U.namespaceURI===Ce?ye.namespaceURI===tt?Ee==="svg":ye.namespaceURI===tn?Ee==="svg"&&(_t==="annotation-xml"||Ui[_t]):!!xt[Ee]:U.namespaceURI===tn?ye.namespaceURI===tt?Ee==="math":ye.namespaceURI===Ce?Ee==="math"&&ri[_t]:!!Ot[Ee]:U.namespaceURI===tt?ye.namespaceURI===Ce&&!ri[_t]||ye.namespaceURI===tn&&!Ui[_t]?!1:!Ot[Ee]&&($t[Ee]||!xt[Ee]):!!(Hi==="application/xhtml+xml"&&Vi[U.namespaceURI]):!1},hn=function(U){Il(e.removed,{element:U});try{U.parentNode.removeChild(U)}catch{U.remove()}},co=function(U,ye){try{Il(e.removed,{attribute:ye.getAttributeNode(U),from:ye})}catch{Il(e.removed,{attribute:null,from:ye})}if(ye.removeAttribute(U),U==="is"&&!pe[U])if(Te||Ge)try{hn(ye)}catch{}else try{ye.setAttribute(U,"")}catch{}},Sa=function(U){let ye,Ee;if(fe)U=""+U;else{const dn=mF(U,/^[\r\n\t ]+/);Ee=dn&&dn[0]}Hi==="application/xhtml+xml"&&vt===tt&&(U=''+U+"");const _t=y?y.createHTML(U):U;if(vt===tt)try{ye=new h().parseFromString(_t,Hi)}catch{}if(!ye||!ye.documentElement){ye=T.createDocument(vt,"template",null);try{ye.documentElement.innerHTML=Kt?k:_t}catch{}}const Wt=ye.body||ye.documentElement;return U&&Ee&&Wt.insertBefore(s.createTextNode(Ee),Wt.childNodes[0]||null),vt===tt?x.call(ye,gt?"html":"body")[0]:gt?ye.documentElement:Wt},Bn=function(U){return I.call(U.ownerDocument||U,U,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},hl=function(U){return U instanceof f&&(typeof U.nodeName!="string"||typeof U.textContent!="string"||typeof U.removeChild!="function"||!(U.attributes instanceof c)||typeof U.removeAttribute!="function"||typeof U.setAttribute!="function"||typeof U.namespaceURI!="string"||typeof U.insertBefore!="function"||typeof U.hasChildNodes!="function")},Zs=function(U){return typeof l=="object"?U instanceof l:U&&typeof U=="object"&&typeof U.nodeType=="number"&&typeof U.nodeName=="string"},Cn=function(U,ye,Ee){O[U]&&gF(O[U],_t=>{_t.call(e,ye,Ee,fn)})},Ta=function(U){let ye;if(Cn("beforeSanitizeElements",U,null),hl(U))return hn(U),!0;const Ee=At(U.nodeName);if(Cn("uponSanitizeElement",U,{tagName:Ee,allowedTags:J}),U.hasChildNodes()&&!Zs(U.firstElementChild)&&(!Zs(U.content)||!Zs(U.content.firstElementChild))&&In(/<[/\w]/g,U.innerHTML)&&In(/<[/\w]/g,U.textContent))return hn(U),!0;if(!J[Ee]||ue[Ee]){if(!ue[Ee]&&Oi(Ee)&&(Ae.tagNameCheck instanceof RegExp&&In(Ae.tagNameCheck,Ee)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(Ee)))return!1;if(Fi&&!st[Ee]){const _t=b(U)||U.parentNode,Wt=_(U)||U.childNodes;if(Wt&&_t){const dn=Wt.length;for(let Lt=dn-1;Lt>=0;--Lt)_t.insertBefore(g(Wt[Lt],!0),m(U))}}return hn(U),!0}return U instanceof a&&!fl(U)||(Ee==="noscript"||Ee==="noembed")&&In(/<\/no(script|embed)/i,U.innerHTML)?(hn(U),!0):(Je&&U.nodeType===3&&(ye=U.textContent,ye=ts(ye,D," "),ye=ts(ye,M," "),ye=ts(ye,L," "),U.textContent!==ye&&(Il(e.removed,{element:U.cloneNode()}),U.textContent=ye)),Cn("afterSanitizeElements",U,null),!1)},Ca=function(U,ye,Ee){if(Pt&&(ye==="id"||ye==="name")&&(Ee in s||Ee in Js))return!1;if(!(ge&&!te[ye]&&In(V,ye))){if(!(be&&In(X,ye))){if(!pe[ye]||te[ye]){if(!(Oi(U)&&(Ae.tagNameCheck instanceof RegExp&&In(Ae.tagNameCheck,U)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(U))&&(Ae.attributeNameCheck instanceof RegExp&&In(Ae.attributeNameCheck,ye)||Ae.attributeNameCheck instanceof Function&&Ae.attributeNameCheck(ye))||ye==="is"&&Ae.allowCustomizedBuiltInElements&&(Ae.tagNameCheck instanceof RegExp&&In(Ae.tagNameCheck,Ee)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(Ee))))return!1}else if(!si[ye]){if(!In(Q,ts(Ee,K,""))){if(!((ye==="src"||ye==="xlink:href"||ye==="href")&&U!=="script"&&_F(Ee,"data:")===0&&Wi[U])){if(!(he&&!In(q,ts(Ee,K,"")))){if(Ee)return!1}}}}}}return!0},Oi=function(U){return U.indexOf("-")>0},dl=function(U){let ye,Ee,_t,Wt;Cn("beforeSanitizeAttributes",U,null);const{attributes:dn}=U;if(!dn)return;const Lt={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:pe};for(Wt=dn.length;Wt--;){ye=dn[Wt];const{name:zn,namespaceURI:fo}=ye;if(Ee=zn==="value"?ye.value:bF(ye.value),_t=At(zn),Lt.attrName=_t,Lt.attrValue=Ee,Lt.keepAttr=!0,Lt.forceKeepAttr=void 0,Cn("uponSanitizeAttribute",U,Lt),Ee=Lt.attrValue,Lt.forceKeepAttr||(co(zn,U),!Lt.keepAttr))continue;if(!Se&&In(/\/>/i,Ee)){co(zn,U);continue}Je&&(Ee=ts(Ee,D," "),Ee=ts(Ee,M," "),Ee=ts(Ee,L," "));const Ea=At(U.nodeName);if(Ca(Ea,_t,Ee)){if(ni&&(_t==="id"||_t==="name")&&(co(zn,U),Ee=Xt+Ee),y&&typeof d=="object"&&typeof d.getAttributeType=="function"&&!fo)switch(d.getAttributeType(Ea,_t)){case"TrustedHTML":{Ee=y.createHTML(Ee);break}case"TrustedScriptURL":{Ee=y.createScriptURL(Ee);break}}try{fo?U.setAttributeNS(fo,zn,Ee):U.setAttribute(zn,Ee),Eb(e.removed)}catch{}}}Cn("afterSanitizeAttributes",U,null)},Ia=function Fe(U){let ye;const Ee=Bn(U);for(Cn("beforeSanitizeShadowDOM",U,null);ye=Ee.nextNode();)Cn("uponSanitizeShadowNode",ye,null),!Ta(ye)&&(ye.content instanceof r&&Fe(ye.content),dl(ye));Cn("afterSanitizeShadowDOM",U,null)};return e.sanitize=function(Fe){let U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ye,Ee,_t,Wt;if(Kt=!Fe,Kt&&(Fe=""),typeof Fe!="string"&&!Zs(Fe))if(typeof Fe.toString=="function"){if(Fe=Fe.toString(),typeof Fe!="string")throw El("dirty is not a string, aborting")}else throw El("toString is not a function");if(!e.isSupported)return Fe;if(Ii||Ai(U),e.removed=[],typeof Fe=="string"&&(Ei=!1),Ei){if(Fe.nodeName){const zn=At(Fe.nodeName);if(!J[zn]||ue[zn])throw El("root node is forbidden and cannot be sanitized in-place")}}else if(Fe instanceof l)ye=Sa(""),Ee=ye.ownerDocument.importNode(Fe,!0),Ee.nodeType===1&&Ee.nodeName==="BODY"||Ee.nodeName==="HTML"?ye=Ee:ye.appendChild(Ee);else{if(!Te&&!Je&&!gt&&Fe.indexOf("<")===-1)return y&&It?y.createHTML(Fe):Fe;if(ye=Sa(Fe),!ye)return Te?null:It?k:""}ye&&fe&&hn(ye.firstChild);const dn=Bn(Ei?Fe:ye);for(;_t=dn.nextNode();)Ta(_t)||(_t.content instanceof r&&Ia(_t.content),dl(_t));if(Ei)return Fe;if(Te){if(Ge)for(Wt=R.call(ye.ownerDocument);ye.firstChild;)Wt.appendChild(ye.firstChild);else Wt=ye;return(pe.shadowroot||pe.shadowrootmod)&&(Wt=N.call(t,Wt,!0)),Wt}let Lt=gt?ye.outerHTML:ye.innerHTML;return gt&&J["!doctype"]&&ye.ownerDocument&&ye.ownerDocument.doctype&&ye.ownerDocument.doctype.name&&In(gT,ye.ownerDocument.doctype.name)&&(Lt=" +`+Lt),Je&&(Lt=ts(Lt,D," "),Lt=ts(Lt,M," "),Lt=ts(Lt,L," ")),y&&It?y.createHTML(Lt):Lt},e.setConfig=function(Fe){Ai(Fe),Ii=!0},e.clearConfig=function(){fn=null,Ii=!1},e.isValidAttribute=function(Fe,U,ye){fn||Ai({});const Ee=At(Fe),_t=At(U);return Ca(Ee,_t,ye)},e.addHook=function(Fe,U){typeof U=="function"&&(O[Fe]=O[Fe]||[],Il(O[Fe],U))},e.removeHook=function(Fe){if(O[Fe])return Eb(O[Fe])},e.removeHooks=function(Fe){O[Fe]&&(O[Fe]=[])},e.removeAllHooks=function(){O={}},e}var DF=mT();function xF(n){let e,t,i,s;const r=n[8].default,o=De(r,n,n[7],null);return{c(){e=z("div"),o&&o.c(),v(e,"id",n[2]),v(e,"class",t=mr(n[3].join(" "))+" svelte-1m1obck"),v(e,"style",i=`min-width: min(${n[1]}px, 100%); flex-grow: ${n[0]}`),B(e,"gap",n[6].gap!==!1),B(e,"compact",n[5]==="compact"),B(e,"panel",n[5]==="panel"),B(e,"hide",!n[4])},m(l,a){A(l,e,a),o&&o.m(e,null),s=!0},p(l,[a]){o&&o.p&&(!s||a&128)&&Le(o,r,l,l[7],s?xe(r,l[7],a,null):Me(l[7]),null),(!s||a&4)&&v(e,"id",l[2]),(!s||a&8&&t!==(t=mr(l[3].join(" "))+" svelte-1m1obck"))&&v(e,"class",t),(!s||a&3&&i!==(i=`min-width: min(${l[1]}px, 100%); flex-grow: ${l[0]}`))&&v(e,"style",i),(!s||a&72)&&B(e,"gap",l[6].gap!==!1),(!s||a&40)&&B(e,"compact",l[5]==="compact"),(!s||a&40)&&B(e,"panel",l[5]==="panel"),(!s||a&24)&&B(e,"hide",!l[4])},i(l){s||(S(o,l),s=!0)},o(l){C(o,l),s=!1},d(l){l&&E(e),o&&o.d(l)}}}function LF(n,e,t){let{$$slots:i={},$$scope:s}=e,{scale:r=1}=e,{min_width:o=0}=e,{elem_id:l=""}=e,{elem_classes:a=[]}=e,{visible:u=!0}=e,{variant:c="default"}=e,{style:f={}}=e;return n.$$set=h=>{"scale"in h&&t(0,r=h.scale),"min_width"in h&&t(1,o=h.min_width),"elem_id"in h&&t(2,l=h.elem_id),"elem_classes"in h&&t(3,a=h.elem_classes),"visible"in h&&t(4,u=h.visible),"variant"in h&&t(5,c=h.variant),"style"in h&&t(6,f=h.style),"$$scope"in h&&t(7,s=h.$$scope)},[r,o,l,a,u,c,f,s,i]}class _T extends _e{constructor(e){super(),me(this,e,LF,xF,ae,{scale:0,min_width:1,elem_id:2,elem_classes:3,visible:4,variant:5,style:6})}}function MF(n){let e;return{c(){e=ke("Metadata")},m(t,i){A(t,e,i)},d(t){t&&E(e)}}}function RF(n){let e,t,i,s,r;function o(a){n[18](a)}let l={label:"Created At",disabled:!0,lines:1,max_lines:1};return n[8]!==void 0&&(l.value=n[8]),e=new dr({props:l}),Ze.push(()=>jt(e,"value",o)),s=new dr({props:{label:"Size",disabled:!0,value:(n[0].svg.length/1024).toFixed(2)+" KB",lines:1,max_lines:1}}),{c(){Y(e.$$.fragment),i=se(),Y(s.$$.fragment)},m(a,u){G(e,a,u),A(a,i,u),G(s,a,u),r=!0},p(a,u){const c={};!t&&u&256&&(t=!0,c.value=a[8],Gt(()=>t=!1)),e.$set(c);const f={};u&1&&(f.value=(a[0].svg.length/1024).toFixed(2)+" KB"),s.$set(f)},i(a){r||(S(e.$$.fragment,a),S(s.$$.fragment,a),r=!0)},o(a){C(e.$$.fragment,a),C(s.$$.fragment,a),r=!1},d(a){a&&E(i),j(e,a),j(s,a)}}}function PF(n){let e,t,i,s,r,o,l,a,u,c,f,h,d,p;e=new kn({props:{$$slots:{default:[MF]},$$scope:{ctx:n}}});function g(T){n[15](T)}let m={label:"Name",disabled:!n[9],lines:1,max_lines:1};n[2].name!==void 0&&(m.value=n[2].name),s=new dr({props:m}),Ze.push(()=>jt(s,"value",g));function _(T){n[16](T)}let b={label:"Author",disabled:!n[9],lines:1,max_lines:1};n[2].author!==void 0&&(b.value=n[2].author),l=new dr({props:b}),Ze.push(()=>jt(l,"value",_));function y(T){n[17](T)}let k={label:"Description",disabled:!n[9],lines:5,max_lines:5};return n[2].description!==void 0&&(k.value=n[2].description),c=new dr({props:k}),Ze.push(()=>jt(c,"value",y)),d=new Kr({props:{$$slots:{default:[RF]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment),t=se(),i=z("div"),Y(s.$$.fragment),o=se(),Y(l.$$.fragment),u=se(),Y(c.$$.fragment),h=se(),Y(d.$$.fragment)},m(T,I){G(e,T,I),A(T,t,I),A(T,i,I),G(s,i,null),F(i,o),G(l,i,null),F(i,u),G(c,i,null),F(i,h),G(d,i,null),p=!0},p(T,I){const R={};I&2097152&&(R.$$scope={dirty:I,ctx:T}),e.$set(R);const x={};I&512&&(x.disabled=!T[9]),!r&&I&4&&(r=!0,x.value=T[2].name,Gt(()=>r=!1)),s.$set(x);const N={};I&512&&(N.disabled=!T[9]),!a&&I&4&&(a=!0,N.value=T[2].author,Gt(()=>a=!1)),l.$set(N);const O={};I&512&&(O.disabled=!T[9]),!f&&I&4&&(f=!0,O.value=T[2].description,Gt(()=>f=!1)),c.$set(O);const D={};I&2097409&&(D.$$scope={dirty:I,ctx:T}),d.$set(D)},i(T){p||(S(e.$$.fragment,T),S(s.$$.fragment,T),S(l.$$.fragment,T),S(c.$$.fragment,T),S(d.$$.fragment,T),p=!0)},o(T){C(e.$$.fragment,T),C(s.$$.fragment,T),C(l.$$.fragment,T),C(c.$$.fragment,T),C(d.$$.fragment,T),p=!1},d(T){T&&(E(t),E(i)),j(e,T),j(s),j(l),j(c),j(d)}}}function BF(n){let e,t,i;return t=new yt({props:{$$slots:{default:[PF]},$$scope:{ctx:n}}}),{c(){e=z("div"),Y(t.$$.fragment),v(e,"class","template-metadata svelte-qwu684")},m(s,r){A(s,e,r),G(t,e,null),i=!0},p(s,r){const o={};r&2097925&&(o.$$scope={dirty:r,ctx:s}),t.$set(o)},i(s){i||(S(t.$$.fragment,s),i=!0)},o(s){C(t.$$.fragment,s),i=!1},d(s){s&&E(e),j(t)}}}function Lb(n){let e,t;return e=new _T({props:{$$slots:{default:[WF]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&2097162&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function zF(n){let e;return{c(){e=ke("Layout")},m(t,i){A(t,e,i)},d(t){t&&E(e)}}}function FF(n){let e,t,i,s;return e=new kn({props:{$$slots:{default:[zF]},$$scope:{ctx:n}}}),i=new hT({props:{layout:n[1],entry:n[3],entryID:n[3].dragItem.id}}),{c(){Y(e.$$.fragment),t=se(),Y(i.$$.fragment)},m(r,o){G(e,r,o),A(r,t,o),G(i,r,o),s=!0},p(r,o){const l={};o&2097152&&(l.$$scope={dirty:o,ctx:r}),e.$set(l);const a={};o&2&&(a.layout=r[1]),o&8&&(a.entry=r[3]),o&8&&(a.entryID=r[3].dragItem.id),i.$set(a)},i(r){s||(S(e.$$.fragment,r),S(i.$$.fragment,r),s=!0)},o(r){C(e.$$.fragment,r),C(i.$$.fragment,r),s=!1},d(r){r&&E(t),j(e,r),j(i,r)}}}function WF(n){let e,t,i;return t=new yt({props:{$$slots:{default:[FF]},$$scope:{ctx:n}}}),{c(){e=z("div"),Y(t.$$.fragment),v(e,"class","template-layout-preview svelte-qwu684")},m(s,r){A(s,e,r),G(t,e,null),i=!0},p(s,r){const o={};r&2097162&&(o.$$scope={dirty:r,ctx:s}),t.$set(o)},i(s){i||(S(t.$$.fragment,s),i=!0)},o(s){C(t.$$.fragment,s),i=!1},d(s){s&&E(e),j(t)}}}function VF(n){let e,t,i,s;e=new _T({props:{$$slots:{default:[BF]},$$scope:{ctx:n}}});let r=n[3]&&Lb(n);return{c(){Y(e.$$.fragment),t=se(),r&&r.c(),i=we()},m(o,l){G(e,o,l),A(o,t,l),r&&r.m(o,l),A(o,i,l),s=!0},p(o,l){const a={};l&2097925&&(a.$$scope={dirty:l,ctx:o}),e.$set(a),o[3]?r?(r.p(o,l),l&8&&S(r,1)):(r=Lb(o),r.c(),S(r,1),r.m(i.parentNode,i)):r&&(oe(),C(r,1,1,()=>{r=null}),le())},i(o){s||(S(e.$$.fragment,o),S(r),s=!0)},o(o){C(e.$$.fragment,o),C(r),s=!1},d(o){o&&(E(t),E(i)),j(e,o),r&&r.d(o)}}}function HF(n){let e;return{c(){e=z("div"),v(e,"class","template-graph-wrapper svelte-qwu684")},m(t,i){A(t,e,i),e.innerHTML=n[10]},p(t,i){i&1024&&(e.innerHTML=t[10])},d(t){t&&E(e)}}}function UF(n){let e,t;return e=new yt({props:{$$slots:{default:[HF]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&2098176&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function GF(n){let e,t;return e=new Of({props:{label:"Graph",$$slots:{default:[UF]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&2098176&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function jF(n){let e,t;return e=new yt({props:{$$slots:{default:[GF]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&2098176&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function Mb(n){let e,t,i,s,r,o,l,a;return t=new TA({}),r=new Af({props:{json:n[5],collapseByDefault:n[11]}}),{c(){e=z("button"),Y(t.$$.fragment),i=se(),s=z("div"),Y(r.$$.fragment),v(e,"class","json-button svelte-qwu684"),v(s,"class","json svelte-qwu684")},m(u,c){A(u,e,c),G(t,e,null),A(u,i,c),A(u,s,c),G(r,s,null),o=!0,l||(a=ee(e,"click",n[12]),l=!0)},p(u,c){const f={};c&32&&(f.json=u[5]),r.$set(f)},i(u){o||(S(t.$$.fragment,u),S(r.$$.fragment,u),o=!0)},o(u){C(t.$$.fragment,u),C(r.$$.fragment,u),o=!1},d(u){u&&(E(e),E(i),E(s)),j(t),j(r),l=!1,a()}}}function Rb(n){let e,t,i=n[6]&&Mb(n);return{c(){i&&i.c(),e=we()},m(s,r){i&&i.m(s,r),A(s,e,r),t=!0},p(s,r){s[6]?i?(i.p(s,r),r&64&&S(i,1)):(i=Mb(s),i.c(),S(i,1),i.m(e.parentNode,e)):i&&(oe(),C(i,1,1,()=>{i=null}),le())},i(s){t||(S(i),t=!0)},o(s){C(i),t=!1},d(s){s&&E(e),i&&i.d(s)}}}function qF(n){let e=n[7],t,i,s=Rb(n);return{c(){s.c(),t=we()},m(r,o){s.m(r,o),A(r,t,o),i=!0},p(r,o){o&128&&ae(e,e=r[7])?(oe(),C(s,1,1,Z),le(),s=Rb(r),s.c(),S(s,1),s.m(t.parentNode,t)):s.p(r,o)},i(r){i||(S(s),i=!0)},o(r){C(s),i=!1},d(r){r&&E(t),s.d(r)}}}function YF(n){let e,t,i,s;return e=new Yd({props:{name:"Graph",id:"graph",$$slots:{default:[jF]},$$scope:{ctx:n}}}),i=new Yd({props:{name:"Raw JSON",id:"json",$$slots:{default:[qF]},$$scope:{ctx:n}}}),i.$on("select",n[19]),{c(){Y(e.$$.fragment),t=se(),Y(i.$$.fragment)},m(r,o){G(e,r,o),A(r,t,o),G(i,r,o),s=!0},p(r,o){const l={};o&2098176&&(l.$$scope={dirty:o,ctx:r}),e.$set(l);const a={};o&2097376&&(a.$$scope={dirty:o,ctx:r}),i.$set(a)},i(r){s||(S(e.$$.fragment,r),S(i.$$.fragment,r),s=!0)},o(r){C(e.$$.fragment,r),C(i.$$.fragment,r),s=!1},d(r){r&&E(t),j(e,r),j(i,r)}}}function XF(n){let e,t,i,s,r,o;return t=new Kr({props:{$$slots:{default:[VF]},$$scope:{ctx:n}}}),r=new fT({props:{selected:"graph",$$slots:{default:[YF]},$$scope:{ctx:n}}}),{c(){e=z("div"),Y(t.$$.fragment),i=se(),s=z("div"),Y(r.$$.fragment),v(s,"class","template-graph-preview svelte-qwu684"),v(e,"class","template-preview svelte-qwu684")},m(l,a){A(l,e,a),G(t,e,null),F(e,i),F(e,s),G(r,s,null),o=!0},p(l,[a]){const u={};a&2097935&&(u.$$scope={dirty:a,ctx:l}),t.$set(u);const c={};a&2098400&&(c.$$scope={dirty:a,ctx:l}),r.$set(c)},i(l){o||(S(t.$$.fragment,l),S(r.$$.fragment,l),o=!0)},o(l){C(t.$$.fragment,l),C(r.$$.fragment,l),o=!1},d(l){l&&E(e),j(t),j(r)}}}function KF(n,e,t){let i,s=Z,r=()=>(s(),s=ot(h,O=>t(2,i=O)),h);n.$$.on_destroy.push(()=>s());const o=DF(window);let{templateAndSvg:l}=e,{editable:a=!0}=e,{_modal:u}=e,c,f,h=Be({});r();let d,p=!1,g=0,m="",_=!0;function b(O){switch(g){case 0:return typeof O.id=="string";case 1:return typeof O.nodes=="object";case 2:default:return!1}}function y(){t(7,g=xv(g+1,3))}let k="";function T(O){n.$$.not_equal(i.name,O)&&(i.name=O,h.set(i))}function I(O){n.$$.not_equal(i.author,O)&&(i.author=O,h.set(i))}function R(O){n.$$.not_equal(i.description,O)&&(i.description=O,h.set(i))}function x(O){m=O,t(8,m),t(0,l)}const N=()=>t(6,p=!0);return n.$$set=O=>{"templateAndSvg"in O&&t(0,l=O.templateAndSvg),"editable"in O&&t(13,a=O.editable),"_modal"in O&&t(14,u=O._modal)},n.$$.update=()=>{if(n.$$.dirty&8193&&t(9,_=a&&l&&!l.isBuiltIn),n.$$.dirty&1&&(t(5,d={...l}),t(5,d.svg=void 0,d)),n.$$.dirty&1){let O={weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"};const D=new Date(l.metadata.createdAt);t(8,m=D.toLocaleString("en-US",O))}n.$$.dirty&16389&&(r(t(4,h=u.state)),"name"in i||(pi(h,i.name=l.metadata.title,i),pi(h,i.author=l.metadata.author,i),pi(h,i.description=l.metadata.description,i))),n.$$.dirty&1&&t(10,k=l?o.sanitize(l.svg,{USE_PROFILES:{svg:!0,svgFilters:!0}}).replace("0){this.__currentElement.nodeName==="path"&&(this.__currentElementsToStyle||(this.__currentElementsToStyle={element:i,children:[]}),this.__currentElementsToStyle.children.push(this.__currentElement),this.__applyCurrentDefaultPath());var s=this.__createElement("g");i.appendChild(s),this.__currentElement=s}if(this.__currentElement){var r=this.__currentElement.getAttribute("transform");r?r+=" ":r="",this.__currentElement.setAttribute("transform",r+=t)}}}},e.scale=function(t,i){i===void 0&&(i=t),this.__addTransform(nn("scale({x},{y})",{x:t,y:i}))},e.rotate=function(t){var i=180*t/Math.PI;this.__addTransform(nn("rotate({angle},{cx},{cy})",{angle:i,cx:0,cy:0}))},e.translate=function(t,i){this.__addTransform(nn("translate({x},{y})",{x:t,y:i}))},e.transform=function(t,i,s,r,o,l){this.__addTransform(nn("matrix({a},{b},{c},{d},{e},{f})",{a:t,b:i,c:s,d:r,e:o,f:l}))},e.beginPath=function(){var t,i;this.__currentDefaultPath="",this.__currentPosition={},t=this.__createElement("path",{},!0),(i=this.__closestGroupOrSvg())&&(i.appendChild(t),this.__currentElement=t)},e.__applyCurrentDefaultPath=function(){var t=this.__currentElement;t&&(t.nodeName==="path"&&t.setAttribute("d",this.__currentDefaultPath))},e.__addPathCommand=function(t){this.__currentDefaultPath+=" ",this.__currentDefaultPath+=t},e.moveTo=function(t,i){this.__currentElement&&(this.__currentElement.nodeName!=="path"&&this.beginPath(),this.__currentPosition={x:t,y:i},this.__addPathCommand(nn("M {x} {y}",{x:t,y:i})))},e.closePath=function(){this.__currentDefaultPath&&this.__addPathCommand("Z")},e.lineTo=function(t,i){this.__currentPosition={x:t,y:i},this.__currentDefaultPath.indexOf("M")>-1?this.__addPathCommand(nn("L {x} {y}",{x:t,y:i})):this.__addPathCommand(nn("M {x} {y}",{x:t,y:i}))},e.bezierCurveTo=function(t,i,s,r,o,l){this.__currentPosition={x:o,y:l},this.__addPathCommand(nn("C {cp1x} {cp1y} {cp2x} {cp2y} {x} {y}",{cp1x:t,cp1y:i,cp2x:s,cp2y:r,x:o,y:l}))},e.quadraticCurveTo=function(t,i,s,r){this.__currentPosition={x:s,y:r},this.__addPathCommand(nn("Q {cpx} {cpy} {x} {y}",{cpx:t,cpy:i,x:s,y:r}))},e.arcTo=function(t,i,s,r,o){var l=this.__currentPosition&&this.__currentPosition.x,a=this.__currentPosition&&this.__currentPosition.y;if(l!==void 0&&a!==void 0){if(o<0)throw new Error("IndexSizeError: The radius provided ("+o+") is negative.");if(l===t&&a===i||t===s&&i===r||o===0)this.lineTo(t,i);else{var u=Ch([l-t,a-i]),c=Ch([s-t,r-i]);if(u[0]*c[1]!=u[1]*c[0]){var f=Math.acos(Math.abs(u[0]*c[0]+u[1]*c[1])),h=Ch([u[0]+c[0],u[1]+c[1]]),d=o/Math.sin(f/2),p=t+d*h[0],g=i+d*h[1],m=[-u[1],u[0]],_=[c[1],-c[0]],b=function(T){var I=T[0];return T[1]>=0?Math.acos(I):-Math.acos(I)},y=b(m),k=b(_);this.lineTo(p+m[0]*o,g+m[1]*o),this.arc(p,g,o,y,k)}else this.lineTo(t,i)}}},e.stroke=function(){this.__currentElement&&(this.__currentElement.nodeName==="path"&&this.__currentElement.setAttribute("paint-order","fill stroke markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("stroke"))},e.fill=function(){this.__currentElement&&(this.__currentElement.nodeName==="path"&&this.__currentElement.setAttribute("paint-order","stroke fill markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("fill"))},e.rect=function(t,i,s,r){this.__currentElement&&(this.__currentElement.nodeName!=="path"&&this.beginPath(),this.moveTo(t,i),this.lineTo(t+s,i),this.lineTo(t+s,i+r),this.lineTo(t,i+r),this.lineTo(t,i),this.closePath())},e.fillRect=function(t,i,s,r){var o;o=this.__createElement("rect",{x:t,y:i,width:s,height:r},!0),this.__closestGroupOrSvg().appendChild(o),this.__currentElement=o,this.__applyStyleToCurrentElement("fill")},e.strokeRect=function(t,i,s,r){var o;o=this.__createElement("rect",{x:t,y:i,width:s,height:r},!0),this.__closestGroupOrSvg().appendChild(o),this.__currentElement=o,this.__applyStyleToCurrentElement("stroke")},e.__clearCanvas=function(){var t=this.__closestGroupOrSvg();if(t){for(var i=t.getAttribute("transform"),s=this.__root.childNodes[1],r=s.childNodes,o=r.length-1;o>=0;o--)r[o]&&s.removeChild(r[o]);this.__currentElement=s,this.__groupStack=[],i&&this.__addTransform(i)}},e.clearRect=function(t,i,s,r){if(t!==0||i!==0||s!==this.width||r!==this.height){var o,l=this.__closestGroupOrSvg();o=this.__createElement("rect",{x:t,y:i,width:s,height:r,fill:"#FFFFFF"},!0),l.appendChild(o)}else this.__clearCanvas()},e.createLinearGradient=function(t,i,s,r){var o=this.__createElement("linearGradient",{id:ou(this.__ids),x1:t+"px",x2:s+"px",y1:i+"px",y2:r+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__defs.appendChild(o),new Ih(o,this)},e.createRadialGradient=function(t,i,s,r,o,l){var a=this.__createElement("radialGradient",{id:ou(this.__ids),cx:r+"px",cy:o+"px",r:l+"px",fx:t+"px",fy:i+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__defs.appendChild(a),new Ih(a,this)},e.__parseFont=function(){var t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-,\'\"\sa-z0-9]+?)\s*$/i.exec(this.font);if(t){var i={style:t[1]||"normal",size:t[4]||"10px",family:t[6]||"sans-serif",weight:t[3]||"normal",decoration:t[2]||"normal",href:null};return this.__fontUnderline==="underline"&&(i.decoration="underline"),this.__fontHref&&(i.href=this.__fontHref),i}},e.__wrapTextLink=function(t,i){if(t.href){var s=this.__createElement("a");return s.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.href),s.appendChild(i),s}return i},e.__applyText=function(t,i,s,r){var o=this.__parseFont(),l=this.__closestGroupOrSvg();if(o){var a,u,c=this.__createElement("text",{"font-family":o.family,"font-size":o.size,"font-style":o.style,"font-weight":o.weight,"text-decoration":o.decoration,x:i,y:s,"text-anchor":(u=this.textAlign,Pb[u]||Pb.start),"dominant-baseline":(a=this.textBaseline,Bb[a]||Bb.alphabetic)},!0);c.appendChild(this.__document.createTextNode(t)),this.__currentElement=c,this.__applyStyleToCurrentElement(r),l.appendChild(this.__wrapTextLink(o,c))}},e.fillText=function(t,i,s){this.__applyText(t,i,s,"fill")},e.strokeText=function(t,i,s){this.__applyText(t,i,s,"stroke")},e.measureText=function(t){return this.__ctx.font=this.font,this.__ctx.measureText(t)},e.arc=function(t,i,s,r,o,l){if(r!==o){(r%=2*Math.PI)==(o%=2*Math.PI)&&(o=(o+2*Math.PI-.001*(l?-1:1))%(2*Math.PI));var a,u=t+s*Math.cos(o),c=i+s*Math.sin(o),f=t+s*Math.cos(r),h=i+s*Math.sin(r),d=l?0:1,p=o-r;p<0&&(p+=2*Math.PI),a=l?p>Math.PI?0:1:p>Math.PI?1:0,this.lineTo(f,h),this.__addPathCommand(nn("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}",{rx:s,ry:s,xAxisRotation:0,largeArcFlag:a,sweepFlag:d,endX:u,endY:c})),this.__currentPosition={x:u,y:c}}},e.clip=function(){var t=this.__closestGroupOrSvg(),i=this.__createElement("clipPath"),s=ou(this.__ids),r=this.__createElement("g");t&&this.__currentElement&&(this.__applyCurrentDefaultPath(),t.removeChild(this.__currentElement),i.setAttribute("id",s),i.appendChild(this.__currentElement),this.__defs.appendChild(i),t.setAttribute("clip-path",nn("url(#{id})",{id:s})),t.appendChild(r),this.__currentElement=r)},e.drawImage=function(){var t,i,s,r,o,l,a,u,c,f,h,d,p,g,m=Array.prototype.slice.call(arguments),_=m[0],b=0,y=0;if(m.length===3)t=m[1],i=m[2],s=o=_.width,r=l=_.height;else if(m.length===5)t=m[1],i=m[2],s=m[3],r=m[4],o=_.width,l=_.height;else{if(m.length!==9)throw new Error("Invalid number of arguments passed to drawImage: "+arguments.length);b=m[1],y=m[2],o=m[3],l=m[4],t=m[5],i=m[6],s=m[7],r=m[8]}a=this.__closestGroupOrSvg();var k="translate("+t+", "+i+")";if(_ instanceof n){if((u=_.getSvg().cloneNode(!0)).childNodes&&u.childNodes.length>1){for(c=u.childNodes[0];c.childNodes.length;)g=c.childNodes[0].getAttribute("id"),this.__ids[g]=g,this.__defs.appendChild(c.childNodes[0]);if(f=u.childNodes[1]){var T=f.getAttribute("transform");f.setAttribute("transform",T?T+" "+k:k),a.appendChild(f)}}}else if(_.nodeName==="CANVAS"||_.nodeName==="IMG"){if((h=this.__createElement("image")).setAttribute("width",s),h.setAttribute("height",r),h.setAttribute("preserveAspectRatio","none"),b||y||o!==_.width||l!==_.height){if((d=this.__document.createElement("canvas")).width=s,d.height=r,!(p=d.getContext("2d")))return;p.drawImage(_,b,y,o,l,0,0,s,r),_=d}h.setAttribute("transform",k),h.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",_.nodeName==="CANVAS"?_.toDataURL():_.getAttribute("src")),a.appendChild(h)}},e.createPattern=function(t,i){var s,r=this.__document.createElementNS("http://www.w3.org/2000/svg","pattern"),o=ou(this.__ids);return r.setAttribute("id",o),r.setAttribute("width",t.width),r.setAttribute("height",t.height),t.nodeName==="CANVAS"||t.nodeName==="IMG"?((s=this.__document.createElementNS("http://www.w3.org/2000/svg","image")).setAttribute("width",t.width),s.setAttribute("height",t.height),s.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.nodeName==="CANVAS"?t.toDataURL():t.getAttribute("src")),r.appendChild(s),this.__defs.appendChild(r)):t instanceof n&&(r.appendChild(t.__root.childNodes[1]),this.__defs.appendChild(r)),new Fb(r,this)},e.setLineDash=function(t){this.lineDash=t&&t.length>0?t.join(","):null},n}();function i7(n){return n&&n.isComfyBoxTemplate}const Wb={title:"New Template",author:"Anonymous",description:"A brand-new ComfyBox template",tags:[],category:"general"};function n7(n,e){const t=new Set(e.map(s=>s.id)),i=s=>{const r=new Set;for(const{dragItem:o}of n.iterateBreadthFirst(s.id))if(o.type==="widget"){if(!t.has(o.id))return!1;r.add(o.id)}return r.size===t.size};for(const s of n.iterateBreadthFirst())if(s.dragItem.type==="container"&&s.children.length>0){const r=s.dragItem;if(i(r))return s}return null}function s7(n){let e=[];for(const t of n)jl(t)?e.push(t):t.is(an)&&(e=e.concat(Array.from(t.subgraph.iterateNodesInOrderRecursive()).filter(jl)));return e}function r7(n){const e=new Set(n.map(i=>i.id)),t=[];for(const i of n)for(const s of i.iterateAllLinks())e.has(s.origin_id)&&e.has(s.target_id)&&t.push(s);return t}function o7(n){return n.replaceAll("&","&").replaceAll("<","<").replaceAll(">",">")}function l7(n){return n.replaceAll("&","&").replaceAll("<","<").replaceAll(">",">")}const a7=50;function u7(n,e,t,i){const s=e._nodes.reduce((b,y)=>{y.pos[0]b[2]&&(b[2]=k),T>b[3]&&(b[3]=T),b},[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY]);s[0]-=t,s[1]-=t,s[2]+=t,s[3]+=t;const r=n.ctx,o=n.ds.scale,l=n.canvas.width,a=n.canvas.height,u=n.ds.offset,c=n.show_info,f=n.background_image,h=n.clear_background,d=n.render_canvas_border,p=n.render_subgraph_panels,g=n.render_subgraph_stack_header;n.openSubgraph(e),n.show_info=!1,n.background_image=null,n.clear_background=!1,n.render_canvas_border=!1,n.render_subgraph_panels=!1,n.render_subgraph_stack_header=!1;const m=new t7(s[2]-s[0],s[3]-s[1]);return m.canvas.getBoundingClientRect=function(){return{width:m.width,height:m.height}},m.getTransform=function(){return r.getTransform()},m.resetTransform=function(){return r.resetTransform()},m.roundRect=m.rect,n.ds.scale=1,n.canvas.width=s[2]-s[0],n.canvas.height=s[3]-s[1],n.ds.offset=[-s[0],-s[1]],n.ctx=m,n.isExportingSVG=!0,n.draw(!0,!0),n.isExportingSVG=!1,n.closeSubgraph(),n.ds.scale=o,n.canvas.width=l,n.canvas.height=a,n.ds.offset=u,n.ctx=r,n.show_info=c,n.clear_background=h,n.background_image=f,n.render_canvas_border=d,n.render_subgraph_panels=p,n.render_subgraph_stack_header=g,n.draw(!0,!0),m.getSerializedSvg(!0)}function NV(n){let e=n.svg;n.svg=void 0;const t=JSON.stringify(n),i=e.replace("",`${o7(t)}`);return n.svg=e,i}function c7(n){let[e,t,i,s]=Rv(n);for(const r of n)r.pos=[r.pos[0]-e,r.pos[1]-t];return n}function f7(n){for(const e of n)Array.isArray(e.properties.tags)&&(e.properties.tags=[]);return n}function h7(n,e){const t=new Set(n.map(i=>i.id));for(const i of n){if(i.inputs)for(const s of i.inputs)s.link&&!t.has(s.link)&&(s.link=null);if(i.outputs)for(const s of i.outputs)s.links&&(s.links=s.links.filter(r=>t.has(r)))}return e=e.filter(i=>t.has(i[0])&&t.has(i[2])),[n,e]}function d7(n){return[n.origin_id,n.origin_slot,n.target_id,n.target_slot]}function p7(n,e){let t;e.nodes.length===1&&e.nodes[0].is(an)?t=e.nodes[0].subgraph:t=n.graph;const i=Zt.getLayoutByDragItemID(e.container.dragItem.id);if(i==null)throw"Couldn't find layout for template being serialized!";bi.update(c=>(c.forceSaveUserState=!1,c));const s=e.metadata;let r=e.nodes.map(c=>c.serialize()),o=e.links.map(d7);const l=i.serializeAtRoot(e.container.dragItem.id);bi.update(c=>(c.forceSaveUserState=null,c)),r=c7(r),r=f7(r),[r,o]=h7(r,o);const a=u7(n,t,a7);return{isComfyBoxTemplate:!0,version:1,commitHash:`abd31401f0e159af84040453866d308e519ca819 +`,id:e.id,metadata:s,nodes:r,links:o,layout:l,svg:a}}function g7(n){const e=n.lastIndexOf("");if(e!==-1){const t=n.lastIndexOf("",e);if(t!==-1){const i=n.substring(t+6,e);return l7(i)}}return null}function Vb(n){let e=null,t=g7(n);return t&&(e=JSON.parse(t)),i7(e)?(e.svg=n,e):null}function m7(n){if(n.length===0)return{error:"No nodes selected."};const e=s7(n),t=r7(n),i=Zt.getLayoutByNode(n[0]);if(i==null)return{error:"Node(s) not contained in a layout!"};let s="New Template";if(n.length===1&&(s=n[0].title||s),e.length>0){const r=e.map(l=>l.dragItem);if(!r.every(Boolean))return{error:"At least one widget node was missing an entry in the UI!"};const o=n7(i,r);return o==null?{error:"Couldn't find a suitable container in the UI for these nodes. Ensure all the widget nodes in the subgraph are kept inside a single container in the UI."}:{version:1,id:fi(),metadata:{...Wb,title:s,createdAt:Date.now()},nodes:n,links:t,container:o}}else return{version:1,id:fi(),metadata:{...Wb,title:s,createdAt:Date.now()},nodes:n,links:t}}const Rn=Be({builtInTemplates:[],userTemplates:[],templatesByID:{}});function Tg(n,e){return n.isBuiltIn?e.builtInTemplates:e.userTemplates}function _7(){const n=ie(Rn);return n.builtInTemplates.concat(n.userTemplates)}function b7(n){return ie(Rn).templatesByID[n.id]?!1:(Rn.update(t=>(Tg(n,t).push(n),t.templatesByID[n.id]=n,t)),ya(),!0)}function y7(n){return ie(Rn).templatesByID[n]?(Rn.update(t=>{const i=Tg(t.templatesByID[n],t),s=i.findIndex(r=>r.id===n);return i.splice(s,1),delete t.templatesByID[n],t}),ya(),!0):!1}function v7(n){return ie(Rn).templatesByID[n.id]?(Rn.update(t=>{const i=n.id,s=Tg(n,t),r=s.findIndex(o=>o.id===i);return s.splice(r,1),delete t.templatesByID[i],n.id=fi(),s.push(n),t.templatesByID[n.id]=n,t}),ya(),!0):!1}function ya(){const n=JSON.stringify(ie(Rn).userTemplates);localStorage.setItem("templates",n),Rn.set(ie(Rn))}function w7(n){Rn.update(i=>{i.userTemplates=[],i.templatesByID={};for(const s of n)s.isBuiltIn=!0,i.templatesByID[s.id]=s;return i.builtInTemplates=n,i});const e=localStorage.getItem("templates");if(!e){ya();return}const t=JSON.parse(e);if(Array.isArray(t)){const i=t.map(s=>(s.isBuiltIn=!1,[s.id,s])).reduce((s,r)=>(s[r[0]]=r[1],s),{});Rn.update(s=>(s.userTemplates=t,s.templatesByID={...s.templatesByID,...i},s))}}const $d={...Rn,getAllTemplates:_7,addTemplate:b7,removeTemplate:y7,updateTemplate:v7,save:ya,load:w7},Ig=class extends re{constructor(t,i,s,r={}){super(i,s,r);P(this,"app");P(this,"_unsubscribe");P(this,"isExportingSVG",!1);P(this,"activeErrors",null);P(this,"blinkError",null);P(this,"blinkErrorTime",0);P(this,"highlightNodeAndInput",null);P(this,"_selectedNodes",new Set);this.app=t,this._unsubscribe=Ri.subscribe(o=>{for(const l of Object.values(this.selected_nodes))l.is_selected=!1;this.selected_nodes={};for(const l of o.currentSelectionNodes)this.selected_nodes[l.id]=l,l.is_selected=!0;this._selectedNodes=new Set,this.setDirty(!0,!0)})}get comfyGraph(){return this.graph}clearErrors(){this.activeErrors=null,this.blinkError=null,this.blinkErrorTime=0,this.highlightNodeAndInput=null}serialize(){var s;let t=this.ds.offset,i=this.ds.scale;return((s=this._graph_stack)==null?void 0:s.length)>0&&(t=this._graph_stack[0].offset,i=this._graph_stack[0].scale),{offset:t,scale:i}}deserialize(t){this.ds.offset=t.offset,this.ds.scale=t.scale}recenter(){this.ds.reset(),this.setDirty(!0,!0)}drawNodeShape(t,i,s,r,o,l,a){var _;super.drawNodeShape(t,i,s,r,o,l,a);let u=ie(bt),c=ie(Ri);const f=u.executingNodes.has(t.id),h=(_=this.activeErrors)==null?void 0:_.errorsByID[t.id],d=this.highlightNodeAndInput&&this.highlightNodeAndInput[0].id===t.id;this.blinkErrorTime>0&&(this.blinkErrorTime-=this.graph.elapsed_time);let p=null,g=1,m=!1;if(h?(h.find(y=>y.errorType==="execution")?(m=!0,p="#f0f"):p="red",g=2):d?(p="cyan",g=2,this.highlightNodeAndInput[1]==null&&this.blinkErrorTime>0&&Math.floor(this.blinkErrorTime/2)%2===0&&(p=null)):c.currentHoveredNodes.has(t.id)?p="lightblue":f&&(p="#0f0"),m&&h&&h.includes(this.blinkError)&&this.blinkErrorTime>0&&Math.floor(this.blinkErrorTime/2)%2===0&&(p=null),p&&this.drawNodeOutline(t,i,s,a,r,o,p,g),f&&u.progress&&(i.fillStyle="green",i.fillRect(0,0,s[0]*(u.progress.value/u.progress.max),6),i.fillStyle=o),h&&this.drawFailedValidationInputs(t,h,p,i),d){let b=!0;if(this.blinkErrorTime>0&&Math.floor(this.blinkErrorTime/2)%2===0&&(b=!1),b){const[y,k]=this.highlightNodeAndInput;k!=null&&(i.lineWidth=2,i.strokeStyle=p,this.highlightNodeInput(y,k,i))}}}drawFailedValidationInputs(t,i,s,r){r.lineWidth=2,r.strokeStyle=s||"red";for(const o of i)if(o.input!=null){if(o===this.blinkError&&this.blinkErrorTime>0&&Math.floor(this.blinkErrorTime/2)%2===0)continue;this.highlightNodeInput(t,o.input.name,r)}}highlightNodeInput(t,i,s){let r;if(typeof i=="number"?r=i:r=t.findInputSlotIndexByName(i),r!==-1){let o=t.getConnectionPos(!0,r,Ig.CONNECTION_POS);s.beginPath(),s.arc(o[0]-t.pos[0],o[1]-t.pos[1],12,0,2*Math.PI,!1),s.stroke()}}drawNodeOutline(t,i,s,r,o,l,a,u){const c=t.shape||Re.ROUND_SHAPE;var f=!0;t.titleMode==Ji.TRANSPARENT_TITLE||t.titleMode==Ji.NO_TITLE?f=!1:t.titleMode==Ji.AUTOHIDE_TITLE&&r&&(f=!0);const h=f?w.NODE_TITLE_HEIGHT:0;i.lineWidth=u,i.globalAlpha=.8,i.beginPath(),c==Re.BOX_SHAPE?i.rect(-6,-6+h,12+s[0]+1,12+s[1]+h):c==Re.ROUND_SHAPE||c==Re.CARD_SHAPE&&t.flags.collapsed?i.roundRect(-6,-6-h,12+s[0]+1,12+s[1]+h,this.round_radius*2):c==Re.CARD_SHAPE?i.roundRect(-6,-6+h,12+s[0]+1,12+s[1]+h,this.round_radius*2,2):c==Re.CIRCLE_SHAPE&&i.arc(s[0]*.5,s[1]*.5,s[0]*.5+6,0,Math.PI*2),i.strokeStyle=a,i.stroke(),i.strokeStyle=o,i.globalAlpha=1}alignToGrid(t,i){const s=w.CANVAS_GRID_SIZE*Math.round(t.pos[0]/w.CANVAS_GRID_SIZE),r=w.CANVAS_GRID_SIZE*Math.round(t.pos[1]/w.CANVAS_GRID_SIZE),o=s-t.pos[0];let l=r-t.pos[1],a,u;if(t.flags.collapsed)a=t._collapsed_width,u=w.NODE_TITLE_HEIGHT,l-=w.NODE_TITLE_HEIGHT;else{a=t.size[0],u=t.size[1];let f=t.titleMode;f!==Ji.TRANSPARENT_TITLE&&f!==Ji.NO_TITLE&&(u+=w.NODE_TITLE_HEIGHT,l-=w.NODE_TITLE_HEIGHT)}const c=i.fillStyle;i.fillStyle="rgba(100, 100, 100, 0.5)",i.fillRect(o,l,a,u),i.fillStyle=c}drawNode(t,i){var o;(o=window==null?void 0:window.app)!=null&&o.shiftDown&&this.node_dragged&&t.id in this.selected_nodes&&this.alignToGrid(t,i);var s=this.editor_alpha;t.mode===ft.NEVER&&(this.editor_alpha=.4);const r=super.drawNode(t,i);return this.editor_alpha=s,r}drawGroups(t,i){if(!this.graph)return;var s=this.graph._groups;i.save(),i.globalAlpha=.7*this.editor_alpha;for(var r=0;r{i.currentSelectionNodes=Object.values(t),i.currentSelection=[];const s=Zt.getLayoutByGraph(this.graph);if(s){const r=ie(s);for(const o of i.currentSelectionNodes){const l=r.allItemsByNode[o.id];l&&i.currentSelection.push(l.dragItem.id)}}return i})}onHoverChange(t){Ri.update(i=>{i.currentHoveredNodes.clear(),t&&i.currentHoveredNodes.add(t.id),i.currentHovered.clear();const s=Zt.getLayoutByGraph(this.graph);if(s){const r=ie(s);for(const o of i.currentHoveredNodes){const l=r.allItemsByNode[o];l&&i.currentHovered.add(l.dragItem.id)}}return i})}clear(){super.clear(),Ri.update(t=>(t.currentSelectionNodes=[],t.currentHoveredNodes.clear(),t))}onNodeMoved(t){var i;if(super.onNodeMoved&&super.onNodeMoved(t),(i=window==null?void 0:window.app)!=null&&i.shiftDown)for(const s in this.selected_nodes)this.selected_nodes[s].alignToGrid()}reinstantiate(t,i,s,r,o){if(o.isBackendNode)return;const l=w.createNode(o.type),a=(c,f)=>{const h=w.createNode(ks);h.properties.ignoreTypes=!0,o.graph.add(h);const d=o.getConnectionPos(!0,c);return h.pos=[d[0]-140,d[1]+w.NODE_SLOT_HEIGHT/2],o.graph.getNodeById(f.origin_id).connect(f.origin_slot,h,0),h};for(let c=o.inputs.length-1;c>=0;c--){let f=null;f=o.getInputLink(c),o.disconnectInput(c),f&&a(c,f),o.removeInput(c)}for(let c=0;c{const d=w.createNode(ks);d.properties.ignoreTypes=!0,o.graph.add(d);const p=d.computeSize(),g=o.getConnectionPos(!1,c);d.pos=[g[0]+p[0]+20,g[1]+w.NODE_SLOT_HEIGHT/2];for(const m of f)d.connect(0,o.graph.getNodeById(m.target_id),m.target_slot);return d};for(let c=o.outputs.length-1;c>=0;c--){let f=o.getOutputLinks(c);o.disconnectOutput(c),f.length>0&&u(c,f),o.removeOutput(c)}for(let c=0;cu!=null);this.selected_nodes={};const a=w.createNode(an);a.buildFromNodes(l),this.graph.add(a)}insertTemplate(t,i,s,r){const o=this.graph;let[l,a,u,c]=Rv(t.nodes);const f=u-l,h=c-a;i[0]-=f/2,i[1]-=h/2;const d=o.layout;if(d==null)return;const p=w.cloneObject(t),g=o.insertTemplate(p,i),m=d.insertTemplate(p,o,g,s,r);return this.selectNodes(Object.values(g).filter(_=>_.graph===this.graph)),[Object.values(g),m]}saveAsTemplate(t,i,s,r,o){if(!this.selected_nodes||Object.values(this.selected_nodes).length===0)return;const l=m7(Object.values(this.selected_nodes));if("error"in l){nt(`Couldn't create template: ${l.error}`,{type:"error",timeout:5e3});return}const u=p7(this,l);try{$d.addTemplate(u)?nt("Template saved!",{type:"success"}):nt("Failed to save template: already exists in LocalStorage",{type:"error"})}catch(c){nt(`Failed to save template: ${c}`,{type:"error",timeout:1e4})}}getCanvasMenuOptions(){const t=super.getCanvasMenuOptions();return t.push({content:"Convert to Subgraph",has_submenu:!1,disabled:Object.keys(this.selected_nodes).length===0,callback:this.convertToSubgraph.bind(this)}),t}getNodeMenuOptions(t){const i=super.getNodeMenuOptions(t);return i.push({content:"Reinstantiate",has_submenu:!1,disabled:!1,callback:this.reinstantiate.bind(this)}),i.push({content:"Save as Template",has_submenu:!1,disabled:!1,callback:this.saveAsTemplate.bind(this)}),i}getLinkMenuOptions(t){const i=super.getLinkMenuOptions(t);return i.push({content:"Insert Reroute",has_submenu:!1,disabled:!1,callback:this.insertReroute.bind(this)}),i}onRenderBackground(t,i){return this.isExportingSVG?(i.clearRect(this.visible_area[0],this.visible_area[1],this.visible_area[2],this.visible_area[3]),!0):!1}jumpToFirstError(){this.jumpToError(0)}jumpToError(t){if(this.activeErrors==null)return;let i;if(typeof t=="number"?i=this.activeErrors.errors[t]:i=t,i==null)return;const s=this.graph.getRootGraph();if(s==null)return;const r=s.getNodeByIdRecursive(i.nodeID);if(r==null){nt(`Couldn't find node '${i.comfyNodeType}' (${i.nodeID})`,{type:"warning"});return}this.jumpToNode(r),this.highlightNodeAndInput=null,this.blinkError=i,this.blinkErrorTime=20}jumpToNode(t){Zl.update(s=>(s.isJumpingToNode=!0,s)),this.closeAllSubgraphs();const i=Array.from(t.iterateParentSubgraphNodes()).reverse();for(const s of i)this.openSubgraph(s.subgraph);this.centerOnNode(t),this.selectNode(t)}jumpToNodeAndInput(t,i){this.jumpToNode(t),this.highlightNodeAndInput=[t,i],this.blinkErrorTime=20}};let Au=Ig;P(Au,"CONNECTION_POS",[0,0]);function bT(n,e){let t=n[1].default,{min:i,max:s,step:r}=n[1];return t==null&&(t=0),i==null&&(i=0),s==null&&(s=2048),r==null&&(r=e),{min:i,max:s,step:r,precision:0,defaultValue:t}}function va(n,e,t={}){const i=n.addInput(e);for(const[s,r]of Object.entries(t))i[s]=r;if(i.defaultWidgetNode){const s=Object.values(w.registered_node_types).find(r=>r.class===i.defaultWidgetNode);s&&(i.widgetNodeType=s.type)}return i.serialize=!0,i}const k7={callback:(n,e,t)=>{const i=bT(t,.5);return va(n,e,{type:"number",config:i,defaultWidgetNode:af})},inputType:"number",nodeType:"ui/number",addedWidgetCount:1},yT={callback:(n,e,t)=>{const i=bT(t,1);return va(n,e,{type:"number",config:i,defaultWidgetNode:af})},nodeType:"ui/number",inputType:"number",addedWidgetCount:1},S7={callback:(n,e,t)=>{const i=t[1].default||"",s=!!t[1].multiline;return va(n,e,{type:"string",config:{defaultValue:i,multiline:s},defaultWidgetNode:vg})},inputType:"number",nodeType:"ui/text",addedWidgetCount:1},T7={callback:(n,e,t)=>{const i=t[0];let s=i[0];return t[1]&&t[1].default&&(s=t[1].default),va(n,e,{type:"string",config:{values:i,defaultValue:s},defaultWidgetNode:da})},inputType:"number",nodeType:"ui/combo",addedWidgetCount:1},C7={callback:(n,e,t)=>va(n,e,{type:"number",config:{}}),inputType:"COMFY_IMAGES",nodeType:"ui/image_upload",addedWidgetCount:1},Hb={...yT,addedWidgetCount:2},ss={"INT:seed":Hb,"INT:noise_seed":Hb,FLOAT:k7,INT:yT,STRING:S7,COMBO:T7,IMAGEUPLOAD:C7};function I7(n,e){return!Array.isArray(e)&&!(e in ss)&&!(`${e}:${n}`in ss)}function Cg(n){var e=n.input.required||{};return n.input.optional!=null&&(e=Object.assign({},n.input.required,n.input.optional)),Object.entries(e)}function vT(n){const e=n.output?n.output.length:0;return ju(e).map(t=>({type:n.output[t],name:n.output_name[t]||n.output[t],is_list:n.output_is_list[t]}))}function E7(n){let e=n.toLowerCase().replace("++","pp").replaceAll(" ","_"),t="normal";return e.includes("karras")?(e=e.replace("karras","").replace(/_+$/,""),t="karras"):t="normal",[e,t]}const A7=/^([^(]+)\((.+)\)$/;function O7(n){if(!n)return[void 0,void 0];const e=n.match(A7);return e!=null?[e[1],e[2]]:[void 0,void 0]}const N7=/(.+)\s\[(.+)\]/;function Ub(n){if(!n||n==="None")return[void 0,void 0];const e=n.match(N7);return e!=null?[e[1],e[2]]:[void 0,void 0]}function D7(n){const e=y=>{const k=n.extraParams[y];return delete n.extraParams[y],k},t={};t.conditioning=[{$meta:{types:["positive"]},text:n.positive},{$meta:{types:["negative"]},text:n.negative}];const i=e("hires upscale"),s=e("hires resize");let r=i?parseFloat(i):void 0,o=e("hires upscaler"),l=e("hires steps"),a,u;s&&([a,u]=s.split(s).map(parseInt));const c={width:n.width,height:n.height,batch_count:n.batchSize,batch_pos:n.batchPos},f=e("mask blur");if(f!=null&&(c.mask_blur=parseFloat(f)),t.latent_image=[c],o!=null){let y,k;if(r)y=n.width*r,k=n.height*r;else{if(a==null||u==null)throw new Error("Highres prompt didn't have width/height!");y=+a,k=+u}const T={width:y,height:k,upscale_by:r,upscale_method:o};t.latent_upscale=[T]}const[h,d]=E7(n.sampler),p={steps:n.steps,seed:n.seed,cfg_scale:n.cfgScale,denoise:o!=null?1:n.denoise||1,sampler_name:h,scheduler:d};if(t.k_sampler=[p],o!=null){const y={$meta:{types:["upscale"]},steps:l!=null?parseInt(l):n.steps,seed:n.seed,cfg_scale:n.cfgScale,denoise:n.denoise||1,sampler_name:h,scheduler:d};t.k_sampler.push(y)}if(n.modelHash||n.modelName){const y={model_name:n.modelName,model_hashes:{a1111_shorthash:n.modelHash}};t.checkpoint=[y]}if("clip skip"in n.extraParams){const y=e("clip skip");t.clip=[{clip_skip:parseInt(y)}]}if("sd upscale upscaler"in n.extraParams){const y=e("sd upscale upscaler"),k=e("sd upscale overlap")||"64";t.sd_upscale=[{upscaler:y,overlap:parseInt(k)}]}if("aesthetic embedding"in n.extraParams){const y=e("aesthetic slerp")==="True",k={model_name:e("aesthetic embedding"),lr:parseFloat(e("aesthetic lr")),slerp:y,slerp_angle:parseFloat(e("aesthetic slerp angle")),steps:parseInt(e("aesthetic steps")),text:e("aesthetic text"),text_negative:e("aesthetic text negative")==="True",weight:parseFloat(e("aesthetic weight"))};t.aesthetic_embedding=[k]}if("dynamic thresholding enabled"in n.extraParams&&e("dynamic thresholding enabled")==="True"){const k={mimic_scale:parseInt(e("mimic scale")),threshold_percentile:parseFloat(e("threshold percentile")),mimic_mode:e("mimic mode"),mimic_scale_minimum:parseFloat(e("mimic scale minimum")),cfg_mode:e("cfg mode"),cfg_scale_minimum:parseFloat(e("cfg scale minimum"))};t.dynamic_thresholding=[k]}if("sag guidance scale"in n.extraParams){const y={guidance_scale:parseFloat(e("sag guidance scale")),mask_threshold:parseFloat(e("sag mask threshold"))};t.self_attention_guidance=[y]}if("ddetailer prompt"in n.extraParams){const y=e("ddetailer prompt"),k=e("ddetailer neg prompt"),T=e("ddetailer bitwise"),I=parseFloat(e("ddetailer denoising")),R=e("ddetailer inpaint full")==="True",x=parseInt(e("ddetailer inpaint padding")),N=parseFloat(e("ddetailer mask blur")),O=parseFloat(e("ddetailer cfg")),D=e("ddetailer preprocess b")==="True",[M,L]=Ub(e("ddetailer model a")),[V,X]=Ub(e("ddetailer model b")),q={positive_prompt:y,negative_prompt:k,bitwise:T,denoise:I,inpaint_full:R,inpaint_padding:x,mask_blur:N,cfg:O,model:M,model_hashes:L?{a1111_shorthash:L}:void 0,preprocess:!D,conf:parseFloat(e("ddetailer conf a")),dilation:parseFloat(e("ddetailer dilation a")),offset_x:parseFloat(e("ddetailer offset x a")),offset_y:parseFloat(e("ddetailer offset y a"))},K={positive_prompt:y,negative_prompt:k,bitwise:T,denoise:I,inpaint_full:R,inpaint_padding:x,mask_blur:N,cfg:O,model:V,model_hashes:X?{a1111_shorthash:X}:void 0,preprocess:D,conf:parseFloat(e("ddetailer conf b")),dilation:parseFloat(e("ddetailer dilation b")),offset_x:parseFloat(e("ddetailer offset x b")),offset_y:parseFloat(e("ddetailer offset y b"))};t.ddetailer=[q,K]}for(const[y,k]of Object.entries(n.extraNetworks)){for(const T of k){let I;switch(y.toLowerCase()){case"lora":case"locon":case"lyco":I=parseFloat(T.items[1]);const R={module_name:y.toLowerCase(),model_name:T.items[0],strength_unet:I,strength_tenc:I};t.lora?t.lora.push(R):t.lora=[R];break;case"hypernet":I=parseFloat(T.items[1]);const x={model_name:T.items[0],strength:I};t.hypernetwork?t.hypernetwork.push(x):t.hypernetwork=[x];break}}delete n.extraNetworks[y]}let g=1;for(n.extraParams[`addnet module ${g}`];`addnet module ${g}`in n.extraParams;){e("addnet enabled");const y=e(`addnet module ${g}`),k=e(`addnet model ${g}`),T=e(`addnet weight ${g}`);let I=e(`addnet weight a ${g}`),R=e(`addnet weight b ${g}`);if((I==null||R==null)&&(I=T,R=T),y==null||k==null||I==null||R==null)throw new Error(`Error parsing addnet model params: ${y} ${k} ${I} ${R}`);if(y!=="LoRA")throw new Error("Unknown AddNet model type "+y);const[x,N]=O7(k);if(x==null||N==null)throw new Error("Error parsing addnet model name: "+JSON.stringify(k));let O,D;N.length>8?O=N:D=N;const M={model_name:x,module_name:y,model_hashes:{addnet_shorthash:O,addnet_shorthash_legacy:D},strength_unet:parseFloat(I),strength_tenc:parseFloat(R)};t.lora?t.lora.push(M):t.lora=[M],g+=1,n.extraParams[`addnet model ${g}`]}let m=e("version");const _={};return Object.keys(n.extraParams).length>0&&(_.a1111={params:n.extraParams}),{version:1,metadata:{created_with:"stable-diffusion-webui",app_version:m,extra_data:_},parameters:t}}const x7={Reroute:"utils/reroute"};function L7(n,e,t,i=[0,0]){var s=w.NODE_SLOT_HEIGHT*.5;return e?i[0]=n.pos[0]+s:i[0]=n.pos[0]+n.size[0]+1-s,i[1]=n.pos[1]+(t+.7)*w.NODE_SLOT_HEIGHT+(n.constructor.slot_start_y||0),i}function Ou(n,e,t,i,s,r){const o=w.createNode(e);o.flags.collapsed=!0;const l=[0,0],a=w.NODE_TEXT_SIZE;l[0]=Math.min(o.size[0],o.title.length*a+w.NODE_TITLE_HEIGHT*2);const u=o.serialize();if(u.comfyValue=t,u.shownOutputProperties={},i!=null&&(L7(i,r,s,u.pos),r?u.pos[0]-=l[0]-20:u.pos[0]+=20,u.pos[1]+=w.NODE_TITLE_HEIGHT/2),e==="ui/text"&&typeof t=="string"&&t.indexOf(` +`)!=-1){const c=mE(t);u.properties.multiline=!0,u.properties.lines=c+2,u.properties.maxLines=c+2}return n.nodes.push(u),[o,u]}function Gb(n,e,t,i,s){const r=i.inputs[s],o=e.outputs[t],l=fi();r.link=l,o.links||(o.links=[]),o.links.push(l),n.links||(n.links=[]),n.links.push([l,e.id,t,i.id,s,r.type])}function wT(n){const e={},t={},i=r=>typeof r=="string"?r:(e[r]||(e[r]=fi()),e[r]),s=r=>typeof r=="string"?r:(t[r]||(t[r]=fi()),t[r]);for(const r of n.nodes){if(r.id=i(r.id),r.inputs!=null)for(const o of r.inputs)o.link!=null&&(o.link=s(o.link));if(r.outputs!=null)for(const o of r.outputs)o.links!=null&&(o.links=o.links.map(s))}for(const r of n.links)r[0]=s(r[0]),r[1]=i(r[1]),r[3]=i(r[3]);for(const r of n.nodes)r.type==="graph/subgraph"&&wT(r.subgraph)}function kT(n,e){let t=null,i=null,s=1;if(Array.isArray(e))t="ui/combo",i="string",s=1;else if(`${e}:${n}`in ss){const r=ss[`${e}:${n}`];t=r.nodeType,i=r.inputType,s=r.addedWidgetCount}else if(e in ss){const r=ss[e];t=r.nodeType,i=r.inputType,s=r.addedWidgetCount}else return null;return[t,i,s]}function ST(n,e){switch(e||(e={}),n.type){case"ui/number":n.properties.min=e.min||0,n.properties.max=e.max||100,n.properties.step=e.step||1;break;case"ui/text":n.properties.multiline=e.multiline||!1;break}}function M7(n,e,t,i){const s=(e.outputs||[])[0];if(!s||!s.links)return!1;const r=s.widget;if(r===null)return!1;const[o,l]=r.config;if(!e.widgets_values)return!1;let a=kT(r.name,o);if(a==null)return!1;let[u,c,f]=a;const h=e.widgets_values[0],[d,p]=Ou(n,u,h,e,0,!1);ST(p,l);let g=null;const m=t.addWidget(i,d);m.attrs.title=s.name;const _=p.outputs.findIndex(b=>b.name===d.outputSlotName);if(_!==-1){const b=p.outputs[_];for(const y of s.links){const k=n.links.find(T=>T[0]===y);if(k){k[1]=p.id,k[2]=_,b.links||(b.links=[]),b.links.push(y);const T=n.nodes.find(R=>R.id===k[3]),I=T!=null?T.inputs[k[4]]:null;k[5]=c,I!=null&&(I.type=c,I.serialize=!0),g==null&&I!=null&&I.name&&(g=I.name,m.attrs.title=g)}}s.links=[]}return!0}function jb(n,e){if(e.outputs)for(const t of e.outputs)t.links&&(n.links=n.links.filter(i=>t.links.indexOf(i[0])===-1),t.links=[]);if(e.inputs)for(const t of e.inputs)t.link&&(n.links=n.links.filter(i=>t.link!==i[0]),t.link=null);n.nodes=n.nodes.filter(t=>t.id!==e.id)}function R7(n,e){var a,u,c;const[t,i]=ca.create(),{root:s,left:r,right:o}=i.initDefaultLayout();wT(n);for(const[f,h]of Object.entries(n.nodes)){const d=x7[h.type];d!=null&&(h.type=d);const p=h.bgcolor;if(p!=null&&(h.bgColor||(h.bgColor=p)),h.color||(h.color=w.NODE_DEFAULT_COLOR),h.bgColor||(h.bgColor=w.NODE_DEFAULT_BGCOLOR),h.type==="PrimitiveNode"){M7(n,h,i,r),jb(n,h);continue}else if(h.type==="Note"){const[b,y]=Ou(n,"ui/markdown",h.widgets_values[0]);y.pos=[h.pos[0],h.pos[1]];const k=i.addContainer(r,{title:""});i.addWidget(k,b),jb(n,h);continue}const g=Co.knownBackendNodes[h.type];if(g==null)continue;let m=null,_=g.nodeDef.output_node;for(const[b,[y,k]]of Cg(g.nodeDef)){const T=(a=h.inputs)==null?void 0:a.find(O=>{var D;return((D=O.widget)==null?void 0:D.name)===b});let I=kT(b,y);if(I==null)continue;let[R,x,N]=I;if(T!=null)h.widgets_values.splice(0,N)[0];else{const O={name:b,link:null,type:x,config:k,defaultWidgetNode:null,widgetNodeType:R,serialize:!0,properties:{}};h.inputs||(h.inputs=[]),h.inputs.push(O);const D=h.inputs.length-1,L=h.widgets_values.splice(0,N)[0],[V,X]=Ou(n,R,L,h,D,!0);ST(X,k),m==null&&(m=i.addContainer(_?o:r,{title:h.title||h.type}));const q=i.addWidget(m,V);q.attrs.title=b;const K=(u=X.outputs)==null?void 0:u.findIndex(Q=>Q.name===V.outputSlotName);K!=null&&Gb(n,X,K,h,D)}}if(_){const b={name:"OUTPUT",type:$.EVENT,color_off:"rebeccapurple",color_on:"rebeccapurple",shape:Re.BOX_SHAPE,links:[],properties:{}};h.outputs||(h.outputs=[]),h.outputs.push(b);const y=h.outputs.length-1,[k,T]=Ou(n,"ui/gallery",[],h,y,!1);m==null&&(m=i.addContainer(_?o:r,{title:h.title||h.type}));const I=i.addWidget(m,k);I.attrs.title="Output";const R=(c=T.inputs)==null?void 0:c.findIndex(x=>x.name===k.storeActionName);R!=null&&Gb(n,h,y,T,R)}}const l=i.serialize();return t.deserialize(i,{graph:n,attrs:e,layout:l}),[t,i]}const P7={createdBy:"ComfyBox",version:1,attrs:{title:"New Workflow",queuePromptButtonName:"Queue Prompt",queuePromptButtonRunWorkflow:!0},workflow:{last_node_id:0,last_link_id:0,nodes:[],links:[],groups:[],config:{},extra:{},version:0},layout:{root:null,allItems:{}},canvas:{offset:[0,0],scale:1}},Vl=class extends Ft{constructor(t,i,s){super(t);P(this,"properties",{tags:[],noOutputDisplay:!1});P(this,"comfyClass");P(this,"comfyNodeDef");P(this,"displayName");this.type=i,this.displayName=s.display_name,this.comfyNodeDef=s,this.comfyClass=i,this.isBackendNode=!0;const r=re.node_colors.yellow;this.color==null&&(this.color=r.color),this.bgColor==null&&(this.bgColor=r.bgColor),this.setup(s),s.output_node&&this.addOutput("OUTPUT",$.EVENT,{color_off:"rebeccapurple",color_on:"rebeccapurple"})}get isOutputNode(){return this.comfyNodeDef.output_node}setup(t){Vl.defaultInputConfigs[this.type]={};for(const[i,s]of Cg(t)){const r={},[o,l]=s;if(l!=null&&l.forceInput){if(Array.isArray(o))throw new Error(`Can't have forceInput set to true for an enum type! ${o}`);this.addInput(i,o)}else Array.isArray(o)?Object.assign(r,ss.COMBO.callback(this,i,s)||{}):`${o}:${i}`in ss?Object.assign(r,ss[`${o}:${i}`].callback(this,i,s)||{}):o in ss?Object.assign(r,ss[o].callback(this,i,s)||{}):this.addInput(i,o);"widgetNodeType"in r&&(Vl.defaultInputConfigs[this.type][i]=r.config)}for(const i of vT(t)){const s=i.is_list?Re.GRID_SHAPE:Re.CIRCLE_SHAPE;this.addOutput(i.name,i.type,{shape:s})}this.serialize_widgets=!1}onSerialize(t){super.onSerialize(t);for(const i of t.inputs)i.config!=null&&(i.config={})}onConfigure(t){super.onConfigure(t);const i=Vl.defaultInputConfigs[t.type];for(let s=0;s=0&&s]+)>/g,z7=/\s*([\w ]+):\s*("(?:\\"[^,]|\\"|\\|[^\"])+"|[^,]*)(?:,|$)/g;function F7(n){const e={};function t(i,s,r){return e[s]||(e[s]=[]),e[s].push({items:r.split(":")}),""}return n=n.replace(B7,t),[n,e]}const qb=n=>(e,t)=>{e[n]=parseFloat(t)},lu=n=>(e,t)=>{e[n]=parseInt(t)},W7={steps:lu("steps"),"cfg scale":qb("cfgScale"),size:(n,e)=>{const[t,i]=e.split("x");n.width=parseInt(t),n.height=parseInt(i)},"model hash":"modelHash",model:"modelName","batch size":lu("batchSize"),"batch pos":lu("batchPos"),sampler:"sampler",seed:lu("seed"),"denoising strength":qb("denoise")};function V7(n){let e=!1,t="",i="";const s=n.trim().split(` +`);let r=s.findIndex(c=>c.trim().indexOf("Steps: ")!==-1);if(r===-1)return{error:"Steps: line not found"};for(let c=0;c(n.RequiredInputMissing="required_input_missing",n.BadLinkedInput="bad_linked_input",n.ReturnTypeMismatch="return_type_mismatch",n.InvalidInputType="invalid_input_type",n.ValueSmallerThanMin="value_smaller_than_min",n.ValueBiggerThanMax="value_bigger_than_max",n.CustomValidationFailed="custom_validation_failed",n.ValueNotInList="value_not_in_list",n.ExceptionDuringValidation="exception_during_validation",n.ExceptionDuringInnerValidation="exception_during_inner_validation",n))(H7||{});function U7(n){return n&&"input_name"in n}function G7(n){return n&&"exception_type"in n&&"traceback"in n}function j7(n){return`${n.error.message}: ${n.error.details}`}function q7(n){return n.exception_message}function Y7(n,e,t){const i={};for(const[s,r]of Object.entries(e.node_errors))i[s]=r.errors.map(o=>{const l={workflowID:n,nodeID:s,comfyNodeType:r.class_type,errorType:o.type,message:o.message,dependentOutputs:r.dependent_outputs,queueEntry:t};return U7(o.extra_info)&&(l.input={name:o.extra_info.input_name,config:o.extra_info.input_config,receivedValue:o.extra_info.received_value},"received_type"in o.extra_info&&(l.input.receivedType=o.extra_info.received_type),"linked_node"in o.extra_info&&(l.input.linkedNode=o.extra_info.linked_node)),"exception_message"in o.extra_info&&(l.exceptionMessage=o.extra_info.exception_message),G7(o.extra_info)&&(l.exceptionType=o.extra_info.exception_type,l.traceback=o.extra_info.traceback),l});return{message:e.error.message,errors:Object.values(i).flatMap(s=>s),errorsByID:i}}function X7(n,e,t){const i={};return i[e.node_id]=[{workflowID:n,nodeID:e.node_id,comfyNodeType:e.node_type,errorType:"execution",message:e.exception_message,dependentOutputs:[],queueEntry:t,exceptionMessage:e.exception_message,exceptionType:e.exception_type,traceback:e.traceback,inputValues:e.current_inputs,outputValues:e.current_outputs}],{message:e.exception_message,errors:Object.values(i).flatMap(s=>s),errorsByID:i}}function DV(n,e,t){return e.type==="validation"?Y7(n,e.error,t):X7(n,e.error,t)}const TT=Be({devices:[]});function K7(n){TT.set({devices:n.devices})}const Yb={...TT,updateState:K7},Xb=1;typeof window<"u"&&ks.setDefaultTextVisibility(!!localStorage["Comfy.ComfyReroute.DefaultVisibility"]);function $7(n){return n!=null&&typeof n=="object"&&n.comfyBoxWorkflow}function J7(n){return n!=null&&typeof n=="object"&&n.last_node_id!=null}const Vr=class{constructor(){P(this,"api");P(this,"rootEl",null);P(this,"canvasEl",null);P(this,"canvasCtx",null);P(this,"lCanvas",null);P(this,"shiftDown",!1);P(this,"ctrlDown",!1);P(this,"selectedGroupMoving",!1);P(this,"alreadySetup",Be(!1));P(this,"queueItems",[]);P(this,"processingQueue",!1);P(this,"promptSerializer");P(this,"stdPromptSerializer");this.api=new dz,this.promptSerializer=new fz,this.stdPromptSerializer=new e7}async setup(){if(ie(this.alreadySetup))return;await this.loadConfig(),this.api.hostname=ie(ti).comfyUIHostname,this.api.port=ie(ti).comfyUIPort,this.setupColorScheme(),this.rootEl=document.getElementById("app-root"),this.canvasEl=document.getElementById("graph-canvas"),this.lCanvas=new Au(this,this.canvasEl),this.canvasCtx=this.canvasEl.getContext("2d");const e=ie(bi).uiUnlocked;this.lCanvas.allow_dragnodes=e,this.lCanvas.allow_interaction=e;let t;try{t=await this.api.getNodeDefs()}catch{throw new Error(`Could not reach ComfyUI at ${this.api.getBackendUrl()}`)}await this.registerNodes(t);let i=!1;try{i=await this.loadStateFromLocalStorage(t)}catch(r){nt(`Error loading previous workflow: +${r}`,{type:"error",timeout:null})}if(!i){const r={refreshCombos:t,setActive:!1};await this.initDefaultWorkflow("defaultWorkflow",r),await this.initDefaultWorkflow("upscaleByModel",r),await this.initDefaultWorkflow("conditioningRegions",r)}this.addApiUpdateHandlers(),this.addPasteHandler(),this.addKeyboardHandler(),await this.updateHistoryAndQueue();const s=await this.loadBuiltInTemplates();return $d.load(s),await this.initFrontendFeatures(),this.resizeCanvas(),window.addEventListener("resize",this.resizeCanvas.bind(this)),this.requestPermissions(),this.alreadySetup.set(!0),Promise.resolve()}async loadConfig(){try{const e=localStorage.getItem("config");e==null?ti.loadDefault():ti.load(JSON.parse(e))}catch{ti.loadDefault()}ti.runOnChangedEvents()}async loadBuiltInTemplates(){const e=ie(ti).builtInTemplates,t=ie(ti).cacheBuiltInResources?{}:{cache:"no-store"},i=e.map(o=>fetch(`/templates/${o}.svg`,t).then(l=>l.text()).catch(l=>l)),[s,r]=await Promise.all(i).then(o=>{const l=[],a=[];for(const c of o)if(c instanceof Error)a.push(c.toString());else{const h=Vb(c);h==null?a.push("Invalid SVG template format"):l.push(h)}let u=null;return a&&a.length>0&&(u=`Error(s) loading builtin templates: +`+a.join(` +`)),[l,u]});return r&&nt(r,{type:"error"}),s}resizeCanvas(){this.canvasEl&&(this.canvasEl.width=this.canvasEl.parentElement.offsetWidth,this.canvasEl.height=this.canvasEl.parentElement.offsetHeight,this.canvasEl.style.width="",this.canvasEl.style.height="",this.lCanvas.draw(!0,!0))}serialize(e,t){const i=Zt.getLayout(e.id);if(i==null)throw new Error("Workflow has no layout!");const{graph:s,layout:r,attrs:o}=e.serialize(i);return t||(t=this.lCanvas.serialize()),{comfyBoxWorkflow:!0,createdBy:"ComfyBox",version:Xb,commitHash:`abd31401f0e159af84040453866d308e519ca819 +`,workflow:s,attrs:o,layout:r,canvas:t}}saveStateToLocalStorage(e=!0){try{bi.update(l=>(l.forceSaveUserState=!0,l));const t=ie(ht),i=t.openedWorkflows,s=i.map(l=>this.serialize(l)),r=i.findIndex(l=>t.activeWorkflowID===l.id),o=JSON.stringify({workflows:s,activeWorkflowIndex:r});localStorage.setItem("workflows",o);for(const l of i)l.isModified=!1;ht.set(ie(ht)),e&&nt("Saved to local storage.")}catch(t){e&&nt(`Failed saving to local storage: +${t}`,{type:"error"})}finally{bi.update(t=>(t.forceSaveUserState=null,t))}}async loadStateFromLocalStorage(e){const t=localStorage.getItem("workflows");if(!t)return!1;const i=JSON.parse(t);if(!("workflows"in i))return!1;const s=i.workflows;return s.length===0?!1:(await Promise.all(s.map(r=>this.openWorkflow(r,{refreshCombos:e,warnMissingNodeTypes:!1,setActive:!1}).catch(o=>{nt(`Failed restoring previous workflow: ${o}`,{type:"error"})}))),typeof i.activeWorkflowIndex=="number"&&(ht.setActiveWorkflow(this.lCanvas,i.activeWorkflowIndex),Ri.clear()),!0)}async registerNodes(e){Vr.knownBackendNodes={};for(const[t,i]of Object.entries(e)){const r=Vr.node_type_overrides[t]||Nu,l={class:class extends r{constructor(a){super(a,t,i)}},title:i.display_name||i.name,type:t,desc:`ComfyNode: ${t}`};w.registerNodeType(l),l.category=i.category,Vr.knownBackendNodes[t]={nodeDef:i},Vr.registerDefaultSlotHandlers(t,i)}Vr.registerComfyBoxSlotTypes()}static registerComfyBoxSlotTypes(){const e=t=>{const i=t.toLowerCase();w.slot_types_in.includes(i)||w.slot_types_in.push(i),w.slot_types_out.includes(t)||w.slot_types_out.push(t)};e("COMFYBOX_IMAGE"),e("COMFYBOX_IMAGES"),e("COMFYBOX_REGION"),w.registered_node_types["basic/reroute"].hide_in_node_lists=!0}static registerDefaultSlotHandlers(e,t){var r,o,l;const i={node:e,title:t.display_name||t.name,properties:null,inputs:null,outputs:null};for(const[a,[u,c]]of Cg(t))if(I7(a,u)){(r=w.slot_types_default_out)[u]||(r[u]=["utils/reroute"]),w.slot_types_default_out[u].push(i);const f=u.toLocaleLowerCase();f in w.registered_slot_in_types||(w.registered_slot_in_types[f]={nodes:[]}),w.registered_slot_in_types[f].nodes.push(e),w.slot_types_in.includes(f)||w.slot_types_in.push(f)}for(const a of vT(t))(o=w.slot_types_default_in)[l=a.type]||(o[l]=["utils/reroute"]),w.slot_types_default_in[a.type].push(i),a.type in w.registered_slot_out_types||(w.registered_slot_out_types[a.type]={nodes:[]}),w.registered_slot_out_types[a.type].nodes.push(e),w.slot_types_out.includes(a.type)||w.slot_types_out.push(a.type);const s=5;for(const a of Object.keys(w.slot_types_default_in))w.slot_types_default_in[a]=w.slot_types_default_in[a].slice(0,s);for(const a of Object.keys(w.slot_types_default_out))w.slot_types_default_out[a]=w.slot_types_default_out[a].slice(0,s)}addPasteHandler(){document.addEventListener("paste",e=>{let t=(e.clipboardData||window.clipboardData).getData("text/plain"),i;try{t=t.slice(t.indexOf("{")),i=JSON.parse(t)}catch{try{t=t.slice(t.indexOf(`workflow +`)),t=t.slice(t.indexOf("{")),i=JSON.parse(t)}catch{}}if(i!=null&&typeof i=="object")if(typeof i.createdBy=="string")this.openWorkflow(i);else throw new Error("Workflow was not in ComfyBox format!")})}addApiUpdateHandlers(){this.api.addEventListener("status",t=>{bt.statusUpdated(t)}),this.api.addEventListener("reconnecting",()=>{bi.reconnecting()}),this.api.addEventListener("reconnected",()=>{bi.reconnected()}),this.api.addEventListener("progress",t=>{var i,s;bt.progressUpdated(t),(s=(i=ht.getActiveWorkflow())==null?void 0:i.graph)==null||s.setDirtyCanvas(!0,!1)}),this.api.addEventListener("executing",(t,i)=>{var r,o;const s=bt.executingUpdated(t,i);if(s!=null&&((r=s.extraData)==null?void 0:r.workflowID)!=null){const l=ht.getWorkflow(s.extraData.workflowID);(o=l==null?void 0:l.graph)==null||o.setDirtyCanvas(!0,!1)}}),this.api.addEventListener("executed",(t,i,s)=>{const r=bt.onExecuted(t,i,s);if(r!=null){const o=ht.getWorkflow(r.extraData.workflowID);if(o!=null){o.graph.setDirtyCanvas(!0,!1);const l=o.graph.getNodeByIdRecursive(i);l!=null&&l.onExecuted&&l.onExecuted(s)}}}),this.api.addEventListener("execution_start",t=>{bt.executionStart(t)}),this.api.addEventListener("execution_cached",(t,i)=>{bt.executionCached(t,i)}),this.api.addEventListener("execution_error",t=>{const i=bt.executionError(t);let s;if(i){const r=i.entry.extraData.workflowID;r&&(s=ht.getWorkflow(r))}if(s)ht.executionError(s.id,t.prompt_id),nt(`Execution error in workflow "${s.attrs.title}". +Click for details.`,{type:"error",showBar:!0,timeout:15*1e3,onClick:()=>{bi.update(r=>(r.activeError=t.prompt_id,r))}});else{const r=q7(t);nt(`Execution error: ${r}`,{type:"error",timeout:1e4})}}),this.api.addEventListener("b_preview",t=>{bt.previewUpdated(t)});const e=ie(ti);if(e.pollSystemStatsInterval>0){const t=Math.max(e.pollSystemStatsInterval,250),i=async()=>{try{const s=await this.api.getSystemStats();Yb.updateState(s)}catch{Yb.updateState({devices:[]})}setTimeout(i,t)};setTimeout(i,t)}this.api.init()}async interrupt(){ie(bt).isInterrupting||(bt.update(e=>(e.isInterrupting=!0,e)),await this.api.interrupt().finally(()=>{bt.update(e=>(e.isInterrupting=!0,e))}))}async deleteQueueItem(e,t){ie(bt).isInterrupting||(bt.update(i=>(i.isInterrupting=!0,i)),await this.api.deleteItem(e,t).then(()=>{bt.queueItemDeleted(e,t)}).finally(()=>{bt.update(i=>(i.isInterrupting=!1,i))}))}async clearQueue(e){ie(bt).isInterrupting||(bt.update(t=>(t.isInterrupting=!0,t)),await this.api.clearItems(e).then(()=>{bt.queueCleared(e),nt(`${_E(e)} cleared.`)}).finally(()=>{bt.update(t=>(t.isInterrupting=!1,t))}))}addKeyboardHandler(){window.addEventListener("keydown",e=>{this.shiftDown=e.shiftKey,this.ctrlDown=e.ctrlKey,(e.ctrlKey||e.metaKey)&&(e.key==="Enter"||e.code==="Enter"||e.keyCode===10)?(e.preventDefault(),e.stopImmediatePropagation(),this.runDefaultQueueAction()):e.ctrlKey&&(e.key==="s"||e.code==="KeyS")&&(e.preventDefault(),e.stopImmediatePropagation(),this.saveStateToLocalStorage())}),window.addEventListener("keyup",e=>{this.shiftDown=e.shiftKey,this.ctrlDown=e.ctrlKey})}async initFrontendFeatures(){await Fl.instance.load()}async updateHistoryAndQueue(){const e=await this.api.getQueue(),t=await this.api.getHistory();bt.queueUpdated(e),bt.historyUpdated(t)}requestPermissions(){window.Notification!=null&&window.Notification.permission==="default"&&window.Notification.requestPermission().then(e=>{})}setupColorScheme(){const e=(i,s)=>{re.DEFAULT_LINK_TYPE_COLORS[i]=s,re.DEFAULT_CONNECTION_COLORS_BY_TYPE[i]=s},t=["CLIP","CLIP_VISION","CLIP_VISION_OUTPUT","CONDITIONING","CONTROL_NET","IMAGE","LATENT","MASK","MODEL","STYLE_MODEL","VAE","UPSCALE_MODEL"];for(const i of t)e(i,"orange");e("COMFYBOX_IMAGES","rebeccapurple"),e("COMFYBOX_IMAGE","fuchsia"),e("COMFYBOX_REGION","salmon"),e($.EVENT,"lightseagreen"),e($.ACTION,"lightseagreen")}async openWorkflow(e,t={setActive:!0,refreshCombos:!0,warnMissingNodeTypes:!0}){if(e.version!==Xb){const s=`Invalid ComfyBox saved data format: ${e.version} `;return nt(s,{type:"error"}),Promise.reject(s)}this.clean();let i;try{i=ht.openWorkflow(this.lCanvas,e,t.setActive)}catch(s){return To.pushModal({svelteComponent:Vz,svelteProps:{error:s}}),Promise.reject(s)}if(i.missingNodeTypes.size>0&&t.warnMissingNodeTypes&&To.pushModal({svelteComponent:zz,svelteProps:{missingNodeTypes:i.missingNodeTypes}}),this.lCanvas.deserialize(e.canvas),t.refreshCombos){let s=null;typeof t.refreshCombos=="object"&&(s=t.refreshCombos),await this.refreshComboInNodes(i,s)}return i}async openVanillaWorkflow(e,t){const i=Lv(t),s={...Gu,title:i},r={offset:[0,0],scale:1},[o,l]=R7(e,s),a=()=>{nt("Converted ComfyUI workflow to ComfyBox format.",{type:"info"}),ht.addWorkflow(this.lCanvas,o),this.lCanvas.deserialize(r)};o.missingNodeTypes.size>0?To.pushModal({svelteComponent:Rz,svelteProps:{missingNodeTypes:o.missingNodeTypes},closeOnClick:!1,showCloseButton:!1,buttons:[{name:"Cancel",variant:"secondary",onClick:()=>{Zt.remove(o.id)}},{name:"Convert",variant:"primary",onClick:a}]}):a()}setActiveWorkflow(e){const t=ie(ht).openedWorkflows.findIndex(i=>i.id===e);t!==-1&&(ht.setActiveWorkflow(this.lCanvas,t),Ri.clear())}createNewWorkflow(){ht.createNewWorkflow(this.lCanvas,void 0,!0),Ri.clear()}closeWorkflow(e){const t=ie(ht).openedWorkflows.findIndex(i=>i.id===e);t!==-1&&(ht.closeWorkflow(this.lCanvas,t),Ri.clear())}async initDefaultWorkflow(e="defaultWorkflow",t){let i=null;try{const s=ie(ti).cacheBuiltInResources?{}:{cache:"no-store"};i=await(await fetch(`/workflows/${e}.json`,s)).json()}catch(s){nt(`Failed to load default graph ${e}: ${s} `,{type:"error"}),i=structuredClone(P7)}await this.openWorkflow(i,t)}saveWorkflowStateAsDefault(e){if(e||(e=ht.getActiveWorkflow()),e!=null)for(const t of e.graph.iterateNodesInOrderRecursive())jl(t)&&(t.properties.defaultValue=t.getValue())}resetCurrentWorkflow(){const e=ht.getActiveWorkflow();if(e!=null)for(const t of e.graph.iterateNodesInOrderRecursive())jl(t)&&t.setValue(t.properties.defaultValue)}clear(){this.clean(),this.lCanvas.closeAllSubgraphs(),ht.closeAllWorkflows(this.lCanvas),bi.update(e=>(e.uiUnlocked=!0,e.uiEditMode="widgets",e))}runDefaultQueueAction(){const e=ht.getActiveWorkflow();if(e!=null){for(const t of e.graph.iterateNodesInOrderRecursive())"onDefaultQueueAction"in t&&t.onDefaultQueueAction();if(e.attrs.queuePromptButtonRunWorkflow){const t=this.ctrlDown?-1:0;let i=null;e.attrs.queuePromptButtonDefaultWorkflow&&(i=e.attrs.queuePromptButtonDefaultWorkflow),this.queuePrompt(e,t,1,i)}}}querySave(){const e=ht.getActiveWorkflow();if(e==null){nt("No active workflow!",{type:"error"});return}this.saveWorkflowStateAsDefault(e);const t=ie(ti).promptForWorkflowName,i=e.attrs.title.trim()||"workflow";let s=`${i}.json`;if(t){if(s=prompt("Save workflow as:",s),!s)return;s.toLowerCase().endsWith(".json")||(s+=".json")}else{const a=new Date().toISOString().replace(/:/g,"-").replace(/\.\d{3}/g,"").replace("T","_").replace("Z","");s=`${i} - ${a}.json`}const r=2,o=JSON.stringify(this.serialize(e),null,r);yE(s,o,"application/json"),e.isModified=!1,ht.set(ie(ht))}graphToPrompt(e,t=null){return this.promptSerializer.serialize(e.graph,t)}async queuePrompt(e,t,i=1,s=null){if(this.queueItems.push({num:t,batchCount:i,workflow:e}),this.processingQueue)return;s===""&&(s=null),e.attrs.showDefaultNotifications&&nt("Prompt queued.",{type:"info",showOn:"web"}),this.processingQueue=!0;let r;try{for(;this.queueItems.length;){({num:t,batchCount:i,workflow:r}=this.queueItems.pop());const o=[];for(const l of r.graph.iterateNodesInOrderRecursive())if(!(l.mode!==ft.ALWAYS||s!=null&&!Ef(l,s,!0))&&"getPromptThumbnails"in l){const a=l.getPromptThumbnails();a&&o.push(...a)}for(let l=0;l{bi.update(m=>(m.activeError=p,m))}});else if(d!=null)break;for(const m of r.graph.iterateNodesInOrderRecursive())"afterQueued"in m&&m.afterQueued(a,s);this.lCanvas.draw(!0,!0)}}}finally{this.processingQueue=!1}}async handleFile(e){if(e.type==="image/png"){const t=await e.arrayBuffer(),i=await mz(t);if(i)if(i.comfyBoxWorkflow)await this.openWorkflow(JSON.parse(i.comfyBoxWorkflow));else if(i.workflow){const s=JSON.parse(i.workflow);await this.openVanillaWorkflow(s,e.name)}else if(i.parameters){const s=V7(i.parameters);if("error"in s){nt(`Couldn't parse webui prompt: ${s.error}`,{type:"error"});return}const r=D7(s),o={infotext:i.parameters,parsedInfotext:s,stdPrompt:r,imageFile:e};To.pushModal({title:"A1111 Prompt Details",svelteComponent:xz,svelteProps:{prompt:o}})}else nt("No metadata found in image file.",{type:"error"})}else if(e.type==="application/json"||e.name.endsWith(".json")){const t=new FileReader;t.onload=async()=>{const i=JSON.parse(t.result);$7(i)?await this.openWorkflow(i):J7(i)&&await this.openVanillaWorkflow(i,e.name)},t.readAsText(e)}else if(e.type==="image/svg+xml"||e.name.endsWith(".svg")){const t=await NE(e),i=Vb(t);if(i==null){nt("Invalid SVG template format!",{type:"error"});return}const s=()=>{try{$d.addTemplate(i)?nt("Template imported successfully!",{type:"success"}):nt("Template already exists in saved list.",{type:"warning"})}catch(r){nt(`Error importing template: ${r}`,{type:"error",timeout:1e4})}};To.pushModal({title:"ComfyBox Template Preview",svelteComponent:$F,closeOnClick:!1,showCloseButton:!1,svelteProps:{templateAndSvg:i,editable:!1},buttons:[{name:"Import",variant:"primary",onClick:s},{name:"Close",variant:"secondary",onClick:()=>{}}]})}}async refreshComboInNodes(e,t,i=!1){if(e||(e=ht.getActiveWorkflow()),e==null){nt("No active workflow!",{type:"error"});return}t==null&&(t=await this.api.getNodeDefs());const s=u=>u&&u.type==="ui/combo"&&"doAutoConfig"in u,r=u=>"config"in u&&"widgetNodeType"in u&&u.widgetNodeType==="ui/combo",o={},l=new nT(s),a=(u,c)=>{const f=u.inputs[c];if(!r(f))return null;const[d,p]=l.locateUpstream(u,c,null);return d==null?null:[f,d]};for(const u of e.graph.iterateNodesInOrderRecursive()){if(!iT(u))continue;const c=ju(u.inputs.length).map(f=>a(u,f)).filter(Boolean);for(const[f,h]of c)t[u.type].input.required[f.name]!==void 0&&(o[h.id]={comboNode:h,comfyInput:f,backendNode:u})}for(const u of e.graph.iterateNodesOfClassRecursive(da)){if(o[u.id]!=null)continue;const c=u;let f=c.properties.values;const h=ju(u.outputs.length).flatMap(p=>u.getInputSlotsConnectedTo(p)).find(p=>"config"in p&&Array.isArray(p.config.values));let d=null;if(h!=null){const p=h;f=p.config.values,d=p.config.defaultValue}c.formatValues(f,d)}await yr();for(const{comboNode:u,comfyInput:c,backendNode:f}of Object.values(o)){const h=t[f.type],[d,p]=h.input.required[c.name];u.doAutoConfig(c,{includeProperties:new Set(["values"]),setWidgetTitle:!1});const g=d,m=d[0];u.formatValues(g,m,!0),d!=null&&d.includes(ie(u.value))||u.setValue(d[0],c.config.defaultValue)}}clean(){}};let Co=Vr;P(Co,"node_type_overrides",{}),P(Co,"widget_type_overrides",{}),P(Co,"knownBackendNodes",{});function Z7(n=!1){w.catch_exceptions=!1,w.use_uuids=!0,w.search_filter_enabled=!0,w.release_link_on_empty_shows_menu=!0,w.alt_drag_do_clone_nodes=!0,w.middle_click_slot_add_default_node=!0,w.dialog_close_on_mouse_leave=!1,w.search_hide_on_mouse_leave=!1,w.graph_inputs_outputs_use_combo_widget=!0,w.search_box_refresh_interval_ms=150,w.CANVAS_GRID_SIZE=32,n&&(w.pointerevents_method="pointer"),an.default_lgraph_factory=()=>new Sv}function Q7(){const n=window;n.LiteGraph=w,n.LGraphCanvas=re,n.layoutStates=Zt,n.workflowState=ht,n.svelteGet=ie}function xV(n=!1){Z7(n),Q7()}const uo=Be({mode:"queue",queuedEntries:[],runningEntries:[],completedEntries:[],queueUIEntries:[],historyUIEntries:[]});function eW(n){const e=n.toLocaleString("en-US",{hour:"numeric",minute:"numeric",hour12:!0}),t=n.toLocaleString("en-US",{month:"2-digit",day:"2-digit",year:"numeric"}).replace(",","");return[e,t].join(", ")}function CT(n,e){var l,a,u,c;let t=n.finishedAt||n.queuedAt,i=null;t&&(i=eW(t));const s=(u=(a=(l=n.extraData)==null?void 0:l.extra_pnginfo)==null?void 0:a.comfyBoxPrompt)==null?void 0:u.subgraphs;let r="Prompt";if(((c=n.extraData)==null?void 0:c.workflowTitle)!=null&&(r=`${n.extraData.workflowTitle}`),s&&s.length>0){const f=s.join(", ");r+=` (${f})`}let o=`#: ${n.number}, Nodes: ${Object.keys(n.prompt).length}`;return Object.keys(n.outputs).length>0&&(o=`Images: ${Object.values(n.outputs).filter(h=>h.images).flatMap(h=>h.images).length}`),{entry:n,message:r,submessage:o,date:i,status:e,images:[]}}function Kb(n,e){var r;const t=CT(n,e),i=(r=n.extraData)==null?void 0:r.thumbnails;i&&(t.images=[...i]);const s=Object.values(n.outputs).filter(o=>o.images).flatMap(o=>o.images);return s&&(t.images=t.images.concat(s)),t}function tW(n){const e=CT(n.entry,n.status),t=Object.values(n.entry.outputs).filter(i=>i.images).flatMap(i=>i.images);return e.images=t,n.message?e.submessage=n.message:(n.status==="interrupted"||n.status==="all_cached")&&(e.submessage="Prompt was interrupted."),n.error&&(e.error=n.error),e}function iW(n,e){uo.update(t=>(t.queuedEntries=n.map(i=>Kb(i,"pending")).reverse(),t.runningEntries=e.map(i=>Kb(i,"running")).reverse(),t.queuedEntries.sort((i,s)=>i.entry.number-s.entry.number),t.runningEntries.sort((i,s)=>i.entry.number-s.entry.number),t.queueUIEntries=t.queuedEntries.concat(t.runningEntries),t))}function nW(n){uo.update(e=>(e.historyUIEntries=n.map(tW).reverse(),e))}function wa(n=!1){const e=ie(uo),t=ie(bt),i=t.queuePending,s=t.queueRunning,r=t.queueCompleted,o=ie(i).length!=e.queuedEntries.length||ie(s).length!=e.runningEntries.length,l=ie(r).length!=e.historyUIEntries.length;(o||n)&&iW(ie(i),ie(s)),(l||n)&&nW(ie(r))}function sW(){uo.update(n=>(n.queuedEntries=[],n.runningEntries=[],n.historyUIEntries=[],n)),wa(!0)}function rW(){uo.update(n=>(n.queuedEntries=[],n.runningEntries=[],n)),wa(!0)}function oW(){uo.update(n=>(n.historyUIEntries=[],n)),wa(!0)}bt.subscribe(n=>{wa()});const LV={...uo,updateEntries:wa,clearAll:sW,clearQueue:rW,clearHistory:oW};function $b(n,e,t){const i=n.slice();i[19]=e[t];const s=$n(i[19])&&!i[5];return i[20]=s,i}function Eh(n){const e=n.slice(),t=e[9].uiUnlocked&&e[10].currentSelection.includes(e[0].id);return e[18]=t,e}function Jb(n){let e,t,i,s;return t=new yt({props:{$$slots:{default:[aW]},$$scope:{ctx:n}}}),{c(){e=z("div"),Y(t.$$.fragment),v(e,"class",i="container "+n[0].attrs.direction+" "+n[0].attrs.classes+" "+n[3].join(" ")+" z-index"+n[2]+" svelte-ihejkv"),B(e,"hide-block",n[0].attrs.containerVariant==="hidden"),B(e,"selected",n[18]),B(e,"root-container",n[2]===0),B(e,"is-executing",n[0].isNodeExecuting),B(e,"mobile",n[7]),B(e,"edit",n[5])},m(r,o){A(r,e,o),G(t,e,null),s=!0},p(r,o){const l={};o&8389623&&(l.$$scope={dirty:o,ctx:r}),t.$set(l),(!s||o&13&&i!==(i="container "+r[0].attrs.direction+" "+r[0].attrs.classes+" "+r[3].join(" ")+" z-index"+r[2]+" svelte-ihejkv"))&&v(e,"class",i),(!s||o&13)&&B(e,"hide-block",r[0].attrs.containerVariant==="hidden"),(!s||o&1549)&&B(e,"selected",r[18]),(!s||o&13)&&B(e,"root-container",r[2]===0),(!s||o&13)&&B(e,"is-executing",r[0].isNodeExecuting),(!s||o&141)&&B(e,"mobile",r[7]),(!s||o&45)&&B(e,"edit",r[5])},i(r){s||(S(t.$$.fragment,r),s=!0)},o(r){C(t.$$.fragment,r),s=!1},d(r){r&&E(e),j(t)}}}function Zb(n){let e,t,i,s,r;return t=new kn({props:{$$slots:{default:[lW]},$$scope:{ctx:n}}}),{c(){e=z("label"),Y(t.$$.fragment),v(e,"for",i=String(n[0].id)),v(e,"class",s=mr(n[9].uiUnlocked&&n[9].uiEditMode==="widgets"?"edit-title-label":"")+" svelte-ihejkv")},m(o,l){A(o,e,l),G(t,e,null),r=!0},p(o,l){const a={};l&8388609&&(a.$$scope={dirty:l,ctx:o}),t.$set(a),(!r||l&1&&i!==(i=String(o[0].id)))&&v(e,"for",i),(!r||l&512&&s!==(s=mr(o[9].uiUnlocked&&o[9].uiEditMode==="widgets"?"edit-title-label":"")+" svelte-ihejkv"))&&v(e,"class",s)},i(o){r||(S(t.$$.fragment,o),r=!0)},o(o){C(t.$$.fragment,o),r=!1},d(o){o&&E(e),j(t)}}}function lW(n){let e=n[0].attrs.title+"",t;return{c(){t=ke(e)},m(i,s){A(i,t,s)},p(i,s){s&1&&e!==(e=i[0].attrs.title+"")&&je(t,e)},d(i){i&&E(t)}}}function Qb(n){let e,t;return{c(){e=z("div"),v(e,"class","drag-item-shadow svelte-ihejkv")},m(i,s){A(i,e,s)},p(i,s){},i(i){t||vn(()=>{t=Ac(e,tf,{duration:200,easing:Pp}),t.start()})},o:Z,d(i){i&&E(e)}}}function ey(n,e){let t,i,s,r,o,l,a=Z,u;i=new ka({props:{layoutState:e[1],dragItem:e[19],zIndex:e[2]+1,isMobile:e[7]}});let c=e[19][Is]&&Qb();return{key:n,first:null,c(){var f,h;t=z("div"),Y(i.$$.fragment),s=se(),c&&c.c(),r=se(),v(t,"class","animation-wrapper svelte-ihejkv"),v(t,"style",o=((h=(f=e[19])==null?void 0:f.attrs)==null?void 0:h.style)||""),B(t,"edit",e[5]),B(t,"hidden",e[20]),this.first=t},m(f,h){A(f,t,h),G(i,t,null),F(t,s),c&&c.m(t,null),F(t,r),u=!0},p(f,h){var p,g;e=f;const d={};h&2&&(d.layoutState=e[1]),h&256&&(d.dragItem=e[19]),h&4&&(d.zIndex=e[2]+1),h&128&&(d.isMobile=e[7]),i.$set(d),e[19][Is]?c?h&256&&S(c,1):(c=Qb(),c.c(),S(c,1),c.m(t,r)):c&&(c.d(1),c=null),(!u||h&256&&o!==(o=((g=(p=e[19])==null?void 0:p.attrs)==null?void 0:g.style)||""))&&v(t,"style",o),(!u||h&32)&&B(t,"edit",e[5]),(!u||h&288)&&B(t,"hidden",e[20])},r(){l=t.getBoundingClientRect()},f(){rp(t),a()},a(){a(),a=sp(t,l,Hp,{duration:Jd})},i(f){u||(S(i.$$.fragment,f),S(c),u=!0)},o(f){C(i.$$.fragment,f),u=!1},d(f){f&&E(t),j(i),c&&c.d()}}}function ty(n){let e;return{c(){e=z("div"),v(e,"class","handle handle-hidden svelte-ihejkv"),B(e,"hidden",!n[5]),ve(e,"z-index",n[2]+100)},m(t,i){A(t,e,i)},p(t,i){i&32&&B(e,"hidden",!t[5]),i&4&&ve(e,"z-index",t[2]+100)},d(t){t&&E(e)}}}function iy(n){let e,t,i,s;return{c(){e=z("div"),v(e,"class","handle handle-container svelte-ihejkv"),v(e,"data-drag-item-id",t=n[0].id),ve(e,"z-index",n[2]+100)},m(r,o){A(r,e,o),i||(s=[ee(e,"mousedown",n[13]),ee(e,"touchstart",n[13]),ee(e,"mouseup",n[14]),ee(e,"touchend",n[14])],i=!0)},p(r,o){o&1&&t!==(t=r[0].id)&&v(e,"data-drag-item-id",t),o&4&&ve(e,"z-index",r[2]+100)},d(r){r&&E(e),i=!1,lt(s)}}}function aW(n){let e,t,i=[],s=new Map,r,o,l=$n(n[0])&&n[5],a,u,c,f,h,d=n[0].attrs.title&&n[0].attrs.title!==""&&Zb(n),p=Xe(n[8].filter(n[16]));const g=b=>b[19].id;for(let b=0;b{d=null}),le()),y&422){p=Xe(b[8].filter(b[16])),oe();for(let k=0;k{i=null}),le())},i(s){t||(S(i),t=!0)},o(s){C(i),t=!1},d(s){s&&E(e),i&&i.d(s)}}}const Jd=100;function cW(n,e,t){let i,s=Z,r=()=>(s(),s=ot(a,I=>t(15,i=I)),a),o,l;Si(n,bi,I=>t(9,o=I)),Si(n,Ri,I=>t(10,l=I)),n.$$.on_destroy.push(()=>s());let{layoutState:a}=e;r();let{container:u=null}=e,{zIndex:c=0}=e,{classes:f=[]}=e,{showHandles:h=!1}=e,{edit:d=!1}=e,{dragDisabled:p=!1}=e,{isMobile:g=!1}=e,m=[];function _(I){t(8,m=Wp(a,u,I))}function b(I){t(8,m=Vp(a,u,I))}function y(I){zc(I,a)}function k(I){Fc(I,a)}const T=I=>I.id!==Us;return n.$$set=I=>{"layoutState"in I&&r(t(1,a=I.layoutState)),"container"in I&&t(0,u=I.container),"zIndex"in I&&t(2,c=I.zIndex),"classes"in I&&t(3,f=I.classes),"showHandles"in I&&t(4,h=I.showHandles),"edit"in I&&t(5,d=I.edit),"dragDisabled"in I&&t(6,p=I.dragDisabled),"isMobile"in I&&t(7,g=I.isMobile)},n.$$.update=()=>{n.$$.dirty&32769&&(u?i.allItems[u.id]?(t(8,m=i.allItems[u.id].children),u.attrsChanged):(t(0,u=null),t(8,m=[])):t(8,m=[]))},[u,a,c,f,h,d,p,g,m,o,l,_,b,y,k,i,T]}class fW extends _e{constructor(e){super(),me(this,e,cW,uW,ae,{layoutState:1,container:0,zIndex:2,classes:3,showHandles:4,edit:5,dragDisabled:6,isMobile:7})}}function ny(n,e,t){const i=n.slice();return i[23]=e[t],i}function sy(n,e,t){const i=n.slice();i[23]=e[t];const s=$n(i[23]);return i[24]=s,i}function Ah(n){const e=n.slice(),t=e[11].uiUnlocked&&e[12].currentSelection.includes(e[0].id);return e[22]=t,e}function ry(n){let e,t,i,s,r;const o=[dW,hW],l=[];function a(u,c){return u[5]?0:1}return t=a(n),i=l[t]=o[t](n),{c(){e=z("div"),i.c(),v(e,"class",s="container "+n[0].attrs.direction+" "+n[0].attrs.classes+" "+n[3].join(" ")+" z-index"+n[2]+" svelte-gk4lmp"),B(e,"hide-block",n[0].attrs.containerVariant==="hidden"),B(e,"selected",n[22]),B(e,"root-container",n[2]===0),B(e,"is-executing",n[0].isNodeExecuting),B(e,"edit",n[5])},m(u,c){A(u,e,c),l[t].m(e,null),r=!0},p(u,c){let f=t;t=a(u),t===f?l[t].p(u,c):(oe(),C(l[f],1,1,()=>{l[f]=null}),le(),i=l[t],i?i.p(u,c):(i=l[t]=o[t](u),i.c()),S(i,1),i.m(e,null)),(!r||c&13&&s!==(s="container "+u[0].attrs.direction+" "+u[0].attrs.classes+" "+u[3].join(" ")+" z-index"+u[2]+" svelte-gk4lmp"))&&v(e,"class",s),(!r||c&13)&&B(e,"hide-block",u[0].attrs.containerVariant==="hidden"),(!r||c&6157)&&B(e,"selected",u[22]),(!r||c&13)&&B(e,"root-container",u[2]===0),(!r||c&13)&&B(e,"is-executing",u[0].isNodeExecuting),(!r||c&45)&&B(e,"edit",u[5])},i(u){r||(S(i),r=!0)},o(u){C(i),r=!1},d(u){u&&E(e),l[t].d()}}}function hW(n){let e,t;return e=new yt({props:{elem_classes:["gradio-accordion"],$$slots:{default:[gW]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&536872583&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function dW(n){let e,t;return e=new yt({props:{elem_classes:["gradio-accordion"],$$slots:{default:[_W]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&536871671&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function oy(n,e){let t,i,s;return i=new ka({props:{layoutState:e[1],dragItem:e[23],zIndex:e[2]+1,isMobile:e[7]}}),{key:n,first:null,c(){t=we(),Y(i.$$.fragment),this.first=t},m(r,o){A(r,t,o),G(i,r,o),s=!0},p(r,o){e=r;const l={};o&2&&(l.layoutState=e[1]),o&512&&(l.dragItem=e[23]),o&4&&(l.zIndex=e[2]+1),o&128&&(l.isMobile=e[7]),i.$set(l)},i(r){s||(S(i.$$.fragment,r),s=!0)},o(r){C(i.$$.fragment,r),s=!1},d(r){r&&E(t),j(i,r)}}}function pW(n){let e=[],t=new Map,i,s,r=Xe(n[9].filter(n[19]));const o=l=>l[23].id;for(let l=0;l{t=Ac(e,tf,{duration:200,easing:Pp}),t.start()})},o:Z,d(i){i&&E(e)}}}function ay(n,e){let t,i,s,r,o,l,a=Z,u;i=new ka({props:{layoutState:e[1],dragItem:e[23],zIndex:e[2]+1,isMobile:e[7]}});let c=e[23][Is]&&ly();return{key:n,first:null,c(){var f,h;t=z("div"),Y(i.$$.fragment),s=se(),c&&c.c(),r=se(),v(t,"class","animation-wrapper svelte-gk4lmp"),v(t,"style",o=((h=(f=e[23])==null?void 0:f.attrs)==null?void 0:h.style)||""),B(t,"hidden",e[24]),this.first=t},m(f,h){A(f,t,h),G(i,t,null),F(t,s),c&&c.m(t,null),F(t,r),u=!0},p(f,h){var p,g;e=f;const d={};h&2&&(d.layoutState=e[1]),h&512&&(d.dragItem=e[23]),h&4&&(d.zIndex=e[2]+1),h&128&&(d.isMobile=e[7]),i.$set(d),e[23][Is]?c?h&512&&S(c,1):(c=ly(),c.c(),S(c,1),c.m(t,r)):c&&(c.d(1),c=null),(!u||h&512&&o!==(o=((g=(p=e[23])==null?void 0:p.attrs)==null?void 0:g.style)||""))&&v(t,"style",o),(!u||h&512)&&B(t,"hidden",e[24])},r(){l=t.getBoundingClientRect()},f(){rp(t),a()},a(){a(),a=sp(t,l,Hp,{duration:Zd})},i(f){u||(S(i.$$.fragment,f),S(c),u=!0)},o(f){C(i.$$.fragment,f),u=!1},d(f){f&&E(t),j(i),c&&c.d()}}}function uy(n){let e;return{c(){e=z("div"),v(e,"class","handle handle-hidden svelte-gk4lmp"),B(e,"hidden",!n[5]),ve(e,"z-index",n[2]+100)},m(t,i){A(t,e,i)},p(t,i){i&32&&B(e,"hidden",!t[5]),i&4&&ve(e,"z-index",t[2]+100)},d(t){t&&E(e)}}}function cy(n){let e,t,i,s;return{c(){e=z("div"),v(e,"class","handle handle-container svelte-gk4lmp"),v(e,"data-drag-item-id",t=n[0].id),ve(e,"z-index",n[2]+100)},m(r,o){A(r,e,o),i||(s=[ee(e,"mousedown",n[16]),ee(e,"touchstart",n[16]),ee(e,"mouseup",n[17]),ee(e,"touchend",n[17])],i=!0)},p(r,o){o&1&&t!==(t=r[0].id)&&v(e,"data-drag-item-id",t),o&4&&ve(e,"z-index",r[2]+100)},d(r){r&&E(e),i=!1,lt(s)}}}function mW(n){let e,t=[],i=new Map,s,r,o=$n(n[0])&&n[5],l,a,u,c,f,h=Xe(n[9].filter(n[18]));const d=m=>m[23].id;for(let m=0;m{i=null}),le())},i(s){t||(S(i),t=!0)},o(s){C(i),t=!1},d(s){s&&E(e),i&&i.d(s)}}}const Zd=100;function yW(n,e,t){let i,s=Z,r=()=>(s(),s=ot(y,L=>t(10,i=L)),y),o,l=Z,a=()=>(l(),l=ot(f,L=>t(20,o=L)),f),u,c;Si(n,bi,L=>t(11,u=L)),Si(n,Ri,L=>t(12,c=L)),n.$$.on_destroy.push(()=>s()),n.$$.on_destroy.push(()=>l());let{layoutState:f}=e;a();let{container:h=null}=e,{zIndex:d=0}=e,{classes:p=[]}=e,{showHandles:g=!1}=e,{edit:m=!1}=e,{dragDisabled:_=!1}=e,{isMobile:b=!1}=e,y=null;r();let k=[];function T(){t(9,k=o.allItems[h.id].children),h.isOpen==null&&t(0,h.isOpen=Be(h.attrs.openOnStartup),h),r(t(8,y=h.isOpen))}function I(L){t(9,k=Wp(f,h,L))}function R(L){t(9,k=Vp(f,h,L))}function x(L){wr(20),pi(y,i=L.detail,i)}function N(L){zc(L,f)}function O(L){Fc(L,f)}const D=L=>L.id!==Us,M=L=>L.id!==Us;return n.$$set=L=>{"layoutState"in L&&a(t(1,f=L.layoutState)),"container"in L&&t(0,h=L.container),"zIndex"in L&&t(2,d=L.zIndex),"classes"in L&&t(3,p=L.classes),"showHandles"in L&&t(4,g=L.showHandles),"edit"in L&&t(5,m=L.edit),"dragDisabled"in L&&t(6,_=L.dragDisabled),"isMobile"in L&&t(7,b=L.isMobile)},n.$$.update=()=>{n.$$.dirty&1&&(h?T():t(9,k=null))},[h,f,d,p,g,m,_,b,y,k,i,u,c,I,R,x,N,O,D,M]}class vW extends _e{constructor(e){super(),me(this,e,yW,bW,ae,{layoutState:1,container:0,zIndex:2,classes:3,showHandles:4,edit:5,dragDisabled:6,isMobile:7})}}function fy(n,e,t){const i=n.slice();i[20]=e[t],i[24]=t;const s=IT(i[1],i[24]);return i[22]=s,i}function hy(n,e,t){const i=n.slice();i[20]=e[t],i[24]=t;const s=$n(i[20]);i[21]=s;const r=IT(i[1],i[24]);return i[22]=r,i}function Oh(n){const e=n.slice(),t=e[9].uiUnlocked&&e[10].currentSelection.includes(e[1].id);return e[19]=t,e}function dy(n){let e,t,i,s,r;const o=[kW,wW],l=[];function a(u,c){return u[5]?0:1}return t=a(n),i=l[t]=o[t](n),{c(){e=z("div"),i.c(),v(e,"class",s="container "+n[1].attrs.direction+" "+n[1].attrs.classes+" "+n[3].join(" ")+" z-index"+n[2]+" svelte-1gex4qr"),B(e,"hide-block",n[1].attrs.containerVariant==="hidden"),B(e,"selected",n[19]),B(e,"root-container",n[2]===0),B(e,"is-executing",n[1].isNodeExecuting),B(e,"edit",n[5])},m(u,c){A(u,e,c),l[t].m(e,null),r=!0},p(u,c){let f=t;t=a(u),t===f?l[t].p(u,c):(oe(),C(l[f],1,1,()=>{l[f]=null}),le(),i=l[t],i?i.p(u,c):(i=l[t]=o[t](u),i.c()),S(i,1),i.m(e,null)),(!r||c&14&&s!==(s="container "+u[1].attrs.direction+" "+u[1].attrs.classes+" "+u[3].join(" ")+" z-index"+u[2]+" svelte-1gex4qr"))&&v(e,"class",s),(!r||c&14)&&B(e,"hide-block",u[1].attrs.containerVariant==="hidden"),(!r||c&1550)&&B(e,"selected",u[19]),(!r||c&14)&&B(e,"root-container",u[2]===0),(!r||c&14)&&B(e,"is-executing",u[1].isNodeExecuting),(!r||c&46)&&B(e,"edit",u[5])},i(u){r||(S(i),r=!0)},o(u){C(i),r=!1},d(u){u&&E(e),l[t].d()}}}function wW(n){let e,t;return e=new fT({props:{elem_classes:["gradio-tabs"],$$slots:{default:[TW]},$$scope:{ctx:n}}}),e.$on("select",n[13]),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&67109255&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function kW(n){let e,t;return e=new yt({props:{$$slots:{default:[EW]},$$scope:{ctx:n}}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&67109367&&(r.$$scope={dirty:s,ctx:i}),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function SW(n){let e,t,i;return e=new ka({props:{layoutState:n[0],dragItem:n[20],zIndex:n[2]+1,isMobile:n[7]}}),{c(){Y(e.$$.fragment),t=se()},m(s,r){G(e,s,r),A(s,t,r),i=!0},p(s,r){const o={};r&1&&(o.layoutState=s[0]),r&256&&(o.dragItem=s[20]),r&4&&(o.zIndex=s[2]+1),r&128&&(o.isMobile=s[7]),e.$set(o)},i(s){i||(S(e.$$.fragment,s),i=!0)},o(s){C(e.$$.fragment,s),i=!1},d(s){s&&E(t),j(e,s)}}}function py(n,e){let t,i,s;return i=new Yd({props:{id:e[22],name:e[22],$$slots:{default:[SW]},$$scope:{ctx:e}}}),{key:n,first:null,c(){t=we(),Y(i.$$.fragment),this.first=t},m(r,o){A(r,t,o),G(i,r,o),s=!0},p(r,o){e=r;const l={};o&258&&(l.id=e[22]),o&258&&(l.name=e[22]),o&67109253&&(l.$$scope={dirty:o,ctx:e}),i.$set(l)},i(r){s||(S(i.$$.fragment,r),s=!0)},o(r){C(i.$$.fragment,r),s=!1},d(r){r&&E(t),j(i,r)}}}function TW(n){let e=[],t=new Map,i,s,r=Xe(n[8].filter(n[18]));const o=l=>l[20].id;for(let l=0;l{t=Ac(e,tf,{duration:200,easing:Pp}),t.start()})},o:Z,d(i){i&&E(e)}}}function IW(n){let e,t,i,s,r,o,l,a;t=new kn({props:{$$slots:{default:[CW]},$$scope:{ctx:n}}}),r=new ka({props:{layoutState:n[0],dragItem:n[20],zIndex:n[2]+1,isMobile:n[7]}});let u=n[20][Is]&&gy();return{c(){e=z("label"),Y(t.$$.fragment),s=se(),Y(r.$$.fragment),o=se(),u&&u.c(),l=we(),v(e,"for",i=String(n[20].id))},m(c,f){A(c,e,f),G(t,e,null),A(c,s,f),G(r,c,f),A(c,o,f),u&&u.m(c,f),A(c,l,f),a=!0},p(c,f){const h={};f&67109122&&(h.$$scope={dirty:f,ctx:c}),t.$set(h),(!a||f&256&&i!==(i=String(c[20].id)))&&v(e,"for",i);const d={};f&1&&(d.layoutState=c[0]),f&256&&(d.dragItem=c[20]),f&4&&(d.zIndex=c[2]+1),f&128&&(d.isMobile=c[7]),r.$set(d),c[20][Is]?u?f&256&&S(u,1):(u=gy(),u.c(),S(u,1),u.m(l.parentNode,l)):u&&(u.d(1),u=null)},i(c){a||(S(t.$$.fragment,c),S(r.$$.fragment,c),S(u),a=!0)},o(c){C(t.$$.fragment,c),C(r.$$.fragment,c),a=!1},d(c){c&&(E(e),E(s),E(o),E(l)),j(t),j(r,c),u&&u.d(c)}}}function my(n,e){let t,i,s,r,o,l=Z,a;return i=new yt({props:{$$slots:{default:[IW]},$$scope:{ctx:e}}}),{key:n,first:null,c(){var u,c;t=z("div"),Y(i.$$.fragment),s=se(),v(t,"class","animation-wrapper svelte-1gex4qr"),v(t,"style",r=((c=(u=e[20])==null?void 0:u.attrs)==null?void 0:c.style)||""),B(t,"hidden",e[21]),this.first=t},m(u,c){A(u,t,c),G(i,t,null),F(t,s),a=!0},p(u,c){var h,d;e=u;const f={};c&67109255&&(f.$$scope={dirty:c,ctx:e}),i.$set(f),(!a||c&256&&r!==(r=((d=(h=e[20])==null?void 0:h.attrs)==null?void 0:d.style)||""))&&v(t,"style",r),(!a||c&256)&&B(t,"hidden",e[21])},r(){o=t.getBoundingClientRect()},f(){rp(t),l()},a(){l(),l=sp(t,o,Hp,{duration:Qd})},i(u){a||(S(i.$$.fragment,u),a=!0)},o(u){C(i.$$.fragment,u),a=!1},d(u){u&&E(t),j(i)}}}function _y(n){let e;return{c(){e=z("div"),v(e,"class","handle handle-hidden svelte-1gex4qr"),B(e,"hidden",!n[5]),ve(e,"z-index",n[2]+100)},m(t,i){A(t,e,i)},p(t,i){i&32&&B(e,"hidden",!t[5]),i&4&&ve(e,"z-index",t[2]+100)},d(t){t&&E(e)}}}function by(n){let e,t,i,s;return{c(){e=z("div"),v(e,"class","handle handle-container svelte-1gex4qr"),v(e,"data-drag-item-id",t=n[1].id),ve(e,"z-index",n[2]+100)},m(r,o){A(r,e,o),i||(s=[ee(e,"mousedown",n[14]),ee(e,"touchstart",n[14]),ee(e,"mouseup",n[15]),ee(e,"touchend",n[15])],i=!0)},p(r,o){o&2&&t!==(t=r[1].id)&&v(e,"data-drag-item-id",t),o&4&&ve(e,"z-index",r[2]+100)},d(r){r&&E(e),i=!1,lt(s)}}}function EW(n){let e,t=[],i=new Map,s,r,o=$n(n[1])&&n[5],l,a,u,c,f,h=Xe(n[8].filter(n[17]));const d=m=>m[20].id;for(let m=0;m{i=null}),le())},i(s){t||(S(i),t=!0)},o(s){C(i),t=!1},d(s){s&&E(e),i&&i.d(s)}}}const Qd=100;function IT(n,e){const t=n.attrs.title;if(!t)return`Tab ${e+1}`;const s=t.split(",").map(r=>r.trim())[e];return s==null||s===""?`Tab ${e+1}`:s}function OW(n,e,t){let i,s=Z,r=()=>(s(),s=ot(a,x=>t(16,i=x)),a),o,l;Si(n,bi,x=>t(9,o=x)),Si(n,Ri,x=>t(10,l=x)),n.$$.on_destroy.push(()=>s());let{layoutState:a}=e;r();let{container:u=null}=e,{zIndex:c=0}=e,{classes:f=[]}=e,{showHandles:h=!1}=e,{edit:d=!1}=e,{dragDisabled:p=!1}=e,{isMobile:g=!1}=e,m=[];function _(x){t(8,m=Wp(a,u,x))}function b(x){t(8,m=Vp(a,u,x))}function y(){wr(20)}function k(x){zc(x,a)}function T(x){Fc(x,a)}const I=x=>x.id!==Us,R=x=>x.id!==Us;return n.$$set=x=>{"layoutState"in x&&r(t(0,a=x.layoutState)),"container"in x&&t(1,u=x.container),"zIndex"in x&&t(2,c=x.zIndex),"classes"in x&&t(3,f=x.classes),"showHandles"in x&&t(4,h=x.showHandles),"edit"in x&&t(5,d=x.edit),"dragDisabled"in x&&t(6,p=x.dragDisabled),"isMobile"in x&&t(7,g=x.isMobile)},n.$$.update=()=>{n.$$.dirty&65538&&(u?t(8,m=i.allItems[u.id].children):t(8,m=[]))},[a,u,c,f,h,d,p,g,m,o,l,_,b,y,k,T,i,I,R]}class NW extends _e{constructor(e){super(),me(this,e,OW,AW,ae,{layoutState:0,container:1,zIndex:2,classes:3,showHandles:4,edit:5,dragDisabled:6,isMobile:7})}}function Nh(n){const e=n.slice(),t=e[7].uiUnlocked&&e[7].uiEditMode==="widgets";e[10]=t;const i=e[2]===0||e[8].currentSelection.length>2||!e[7].uiUnlocked;return e[11]=i,e}function yy(n){let e=n[9],t,i,s=wy(n);return{c(){s.c(),t=we()},m(r,o){s.m(r,o),A(r,t,o),i=!0},p(r,o){o&512&&ae(e,e=r[9])?(oe(),C(s,1,1,Z),le(),s=wy(r),s.c(),S(s,1),s.m(t.parentNode,t)):s.p(r,o)},i(r){i||(S(s),i=!0)},o(r){C(s),i=!1},d(r){r&&E(t),s.d(r)}}}function vy(n){let e,t,i,s;const r=[LW,xW,DW],o=[];function l(a,u){return a[1].attrs.variant==="tabs"?0:a[1].attrs.variant==="accordion"?1:2}return e=l(n),t=o[e]=r[e](n),{c(){t.c(),i=we()},m(a,u){o[e].m(a,u),A(a,i,u),s=!0},p(a,u){let c=e;e=l(a),e===c?o[e].p(a,u):(oe(),C(o[c],1,1,()=>{o[c]=null}),le(),t=o[e],t?t.p(a,u):(t=o[e]=r[e](a),t.c()),S(t,1),t.m(i.parentNode,i))},i(a){s||(S(t),s=!0)},o(a){C(t),s=!1},d(a){a&&E(i),o[e].d(a)}}}function DW(n){let e,t;return e=new fW({props:{layoutState:n[0],container:n[1],zIndex:n[2],classes:n[3],showHandles:n[4],edit:n[10],dragDisabled:n[11],isMobile:n[5]}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&1&&(r.layoutState=i[0]),s&2&&(r.container=i[1]),s&4&&(r.zIndex=i[2]),s&8&&(r.classes=i[3]),s&16&&(r.showHandles=i[4]),s&128&&(r.edit=i[10]),s&388&&(r.dragDisabled=i[11]),s&32&&(r.isMobile=i[5]),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function xW(n){let e,t;return e=new vW({props:{layoutState:n[0],container:n[1],zIndex:n[2],classes:n[3],showHandles:n[4],edit:n[10],dragDisabled:n[11],isMobile:n[5]}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&1&&(r.layoutState=i[0]),s&2&&(r.container=i[1]),s&4&&(r.zIndex=i[2]),s&8&&(r.classes=i[3]),s&16&&(r.showHandles=i[4]),s&128&&(r.edit=i[10]),s&388&&(r.dragDisabled=i[11]),s&32&&(r.isMobile=i[5]),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function LW(n){let e,t;return e=new NW({props:{layoutState:n[0],container:n[1],zIndex:n[2],classes:n[3],showHandles:n[4],edit:n[10],dragDisabled:n[11],isMobile:n[5]}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&1&&(r.layoutState=i[0]),s&2&&(r.container=i[1]),s&4&&(r.zIndex=i[2]),s&8&&(r.classes=i[3]),s&16&&(r.showHandles=i[4]),s&128&&(r.edit=i[10]),s&388&&(r.dragDisabled=i[11]),s&32&&(r.isMobile=i[5]),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function wy(n){let e=n[10]||!$n(n[1]),t,i,s=e&&vy(n);return{c(){s&&s.c(),t=we()},m(r,o){s&&s.m(r,o),A(r,t,o),i=!0},p(r,o){o&130&&(e=r[10]||!$n(r[1])),e?s?(s.p(r,o),o&130&&S(s,1)):(s=vy(r),s.c(),S(s,1),s.m(t.parentNode,t)):s&&(oe(),C(s,1,1,()=>{s=null}),le())},i(r){i||(S(s),i=!0)},o(r){C(s),i=!1},d(r){r&&E(t),s&&s.d(r)}}}function MW(n){let e,t,i=n[1]&&yy(Nh(n));return{c(){i&&i.c(),e=we()},m(s,r){i&&i.m(s,r),A(s,e,r),t=!0},p(s,[r]){s[1]?i?(i.p(Nh(s),r),r&2&&S(i,1)):(i=yy(Nh(s)),i.c(),S(i,1),i.m(e.parentNode,e)):i&&(oe(),C(i,1,1,()=>{i=null}),le())},i(s){t||(S(i),t=!0)},o(s){C(i),t=!1},d(s){s&&E(e),i&&i.d(s)}}}function RW(n,e,t){let i,s,r,o=Z,l=()=>(o(),o=ot(p,g=>t(9,r=g)),p);Si(n,bi,g=>t(7,i=g)),Si(n,Ri,g=>t(8,s=g)),n.$$.on_destroy.push(()=>o());let{layoutState:a}=e,{container:u=null}=e,{zIndex:c=0}=e,{classes:f=[]}=e,{showHandles:h=!1}=e,{isMobile:d=!1}=e,p=null;return l(),n.$$set=g=>{"layoutState"in g&&t(0,a=g.layoutState),"container"in g&&t(1,u=g.container),"zIndex"in g&&t(2,c=g.zIndex),"classes"in g&&t(3,f=g.classes),"showHandles"in g&&t(4,h=g.showHandles),"isMobile"in g&&t(5,d=g.isMobile)},n.$$.update=()=>{n.$$.dirty&2&&l(u?t(6,p=u.attrsChanged):t(6,p=null))},[a,u,c,f,h,d,p,i,s,r]}class PW extends _e{constructor(e){super(),me(this,e,RW,MW,ae,{layoutState:0,container:1,zIndex:2,classes:3,showHandles:4,isMobile:5})}}function BW(n){const e=n.slice(),t=e[7].uiUnlocked&&e[7].uiEditMode==="widgets";e[19]=t;const i=$n(e[5]);e[20]=i;const s=e[7].uiUnlocked&&e[12].currentHovered.has(e[5].id);e[21]=s;const r=e[7].uiUnlocked&&e[12].currentSelection.includes(e[5].id);return e[22]=r,e}function zW(n){let e=n[11],t,i,s=Cy(n);return{c(){s.c(),t=we()},m(r,o){s.m(r,o),A(r,t,o),i=!0},p(r,o){o&2048&&ae(e,e=r[11])?(oe(),C(s,1,1,Z),le(),s=Cy(r),s.c(),S(s,1),s.m(t.parentNode,t)):s.p(r,o)},i(r){i||(S(s),i=!0)},o(r){C(s),i=!1},d(r){r&&E(t),s.d(r)}}}function FW(n){let e=n[11],t,i,s=Iy(n);return{c(){s.c(),t=we()},m(r,o){s.m(r,o),A(r,t,o),i=!0},p(r,o){o&2048&&ae(e,e=r[11])?(oe(),C(s,1,1,Z),le(),s=Iy(r),s.c(),S(s,1),s.m(t.parentNode,t)):s.p(r,o)},i(r){i||(S(s),i=!0)},o(r){C(s),i=!1},d(r){r&&E(t),s.d(r)}}}function ky(n){let e;return{c(){e=z("div"),v(e,"class","handle handle-hidden svelte-1nqgbfy"),B(e,"hidden",!n[19])},m(t,i){A(t,e,i)},p(t,i){i&128&&B(e,"hidden",!t[19])},d(t){t&&E(e)}}}function Sy(n){let e,t,i,s;return{c(){e=z("div"),v(e,"class","handle handle-widget svelte-1nqgbfy"),v(e,"data-drag-item-id",t=n[5].id),B(e,"hovered",n[21])},m(r,o){A(r,e,o),i||(s=[ee(e,"mousedown",n[15]),ee(e,"touchstart",n[15]),ee(e,"mouseup",n[16]),ee(e,"touchend",n[16])],i=!0)},p(r,o){o&32&&t!==(t=r[5].id)&&v(e,"data-drag-item-id",t),o&4256&&B(e,"hovered",r[21])},d(r){r&&E(e),i=!1,lt(s)}}}function Ty(n){let e,t,i,s,r,o,l;var a=n[5].node.svelteComponentType;function u(h){return{props:{widget:h[5],isMobile:h[3]}}}a&&(t=Nt(a,u(n)));let c=n[20]&&n[19]&&ky(n),f=(n[10]||n[21])&&Sy(n);return{c(){e=z("div"),t&&Y(t.$$.fragment),s=se(),c&&c.c(),r=se(),f&&f.c(),o=we(),v(e,"class",i="widget "+n[5].attrs.classes+" "+n[14]()+" svelte-1nqgbfy"),B(e,"edit",n[19]),B(e,"hovered",n[21]),B(e,"selected",n[22]),B(e,"is-executing",n[6].runningNodeID&&n[6].runningNodeID==n[5].node.id),B(e,"hidden",n[20])},m(h,d){A(h,e,d),t&&G(t,e,null),A(h,s,d),c&&c.m(h,d),A(h,r,d),f&&f.m(h,d),A(h,o,d),l=!0},p(h,d){const p={};if(d&32&&(p.widget=h[5]),d&8&&(p.isMobile=h[3]),d&32&&a!==(a=h[5].node.svelteComponentType)){if(t){oe();const g=t;C(g.$$.fragment,1,0,()=>{j(g,1)}),le()}a?(t=Nt(a,u(h)),Y(t.$$.fragment),S(t.$$.fragment,1),G(t,e,null)):t=null}else a&&t.$set(p);(!l||d&32&&i!==(i="widget "+h[5].attrs.classes+" "+h[14]()+" svelte-1nqgbfy"))&&v(e,"class",i),(!l||d&160)&&B(e,"edit",h[19]),(!l||d&4256)&&B(e,"hovered",h[21]),(!l||d&4256)&&B(e,"selected",h[22]),(!l||d&96)&&B(e,"is-executing",h[6].runningNodeID&&h[6].runningNodeID==h[5].node.id),(!l||d&32)&&B(e,"hidden",h[20]),h[20]&&h[19]?c?c.p(h,d):(c=ky(h),c.c(),c.m(r.parentNode,r)):c&&(c.d(1),c=null),h[10]||h[21]?f?f.p(h,d):(f=Sy(h),f.c(),f.m(o.parentNode,o)):f&&(f.d(1),f=null)},i(h){l||(t&&S(t.$$.fragment,h),l=!0)},o(h){t&&C(t.$$.fragment,h),l=!1},d(h){h&&(E(e),E(s),E(r),E(o)),t&&j(t),c&&c.d(h),f&&f.d(h)}}}function Cy(n){let e=n[13],t,i,s=Ty(n);return{c(){s.c(),t=we()},m(r,o){s.m(r,o),A(r,t,o),i=!0},p(r,o){o&8192&&ae(e,e=r[13])?(oe(),C(s,1,1,Z),le(),s=Ty(r),s.c(),S(s,1),s.m(t.parentNode,t)):s.p(r,o)},i(r){i||(S(s),i=!0)},o(r){C(s),i=!1},d(r){r&&E(t),s.d(r)}}}function Iy(n){let e,t;return e=new PW({props:{layoutState:n[0],container:n[4],classes:n[2],zIndex:n[1],showHandles:n[10],isMobile:n[3]}}),{c(){Y(e.$$.fragment)},m(i,s){G(e,i,s),t=!0},p(i,s){const r={};s&1&&(r.layoutState=i[0]),s&16&&(r.container=i[4]),s&4&&(r.classes=i[2]),s&2&&(r.zIndex=i[1]),s&1024&&(r.showHandles=i[10]),s&8&&(r.isMobile=i[3]),e.$set(r)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){C(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function WW(n){let e,t,i,s;const r=[FW,zW],o=[];function l(u,c){return u[4]?0:u[5]&&u[5].node?1:-1}function a(u,c){return c===1?BW(u):u}return~(e=l(n))&&(t=o[e]=r[e](a(n,e))),{c(){t&&t.c(),i=we()},m(u,c){~e&&o[e].m(u,c),A(u,i,c),s=!0},p(u,[c]){let f=e;e=l(u),e===f?~e&&o[e].p(a(u,e),c):(t&&(oe(),C(o[f],1,1,()=>{o[f]=null}),le()),~e?(t=o[e],t?t.p(a(u,e),c):(t=o[e]=r[e](a(u,e)),t.c()),S(t,1),t.m(i.parentNode,i)):t=null)},i(u){s||(S(t),s=!0)},o(u){C(t),s=!1},d(u){u&&E(i),~e&&o[e].d(u)}}}function VW(n,e,t){let i,s,r=Z,o=()=>(r(),r=ot(g,M=>t(18,s=M)),g),l,a,u=Z,c=()=>(u(),u=ot(T,M=>t(11,a=M)),T),f,h,d=Z,p=()=>(d(),d=ot(I,M=>t(13,h=M)),I);Si(n,bt,M=>t(6,i=M)),Si(n,bi,M=>t(7,l=M)),Si(n,Ri,M=>t(12,f=M)),n.$$.on_destroy.push(()=>r()),n.$$.on_destroy.push(()=>u()),n.$$.on_destroy.push(()=>d());let{layoutState:g}=e;o();let{dragItem:m=null}=e,{zIndex:_=0}=e,{classes:b=[]}=e,{isMobile:y=!1}=e,k=null,T=Be(0);c();let I=Be(0);p();let R=null,x=!1;function N(){return`widget--${R.node.type.replace("/","-").replace(".","-")}`}function O(M){zc(M,g)}function D(M){Fc(M,g)}return n.$$set=M=>{"layoutState"in M&&o(t(0,g=M.layoutState)),"dragItem"in M&&t(17,m=M.dragItem),"zIndex"in M&&t(1,_=M.zIndex),"classes"in M&&t(2,b=M.classes),"isMobile"in M&&t(3,y=M.isMobile)},n.$$.update=()=>{n.$$.dirty&393264&&(!m||!s.allItems[m.id]?(t(17,m=null),t(4,k=null),t(5,R=null),c(t(8,T=Be(0))),p(t(9,I=Be(0)))):m.type==="container"?(t(4,k=m),c(t(8,T=k.attrsChanged)),t(5,R=null),p(t(9,I=null))):m.type==="widget"&&(t(5,R=m),c(t(8,T=R.attrsChanged)),t(4,k=null),R.node&&"propsChanged"in R.node?p(t(9,I=R.node.propsChanged)):p(t(9,I=Be(0))))),n.$$.dirty&262274&&t(10,x=l.uiUnlocked&&l.uiEditMode==="widgets"&&_>1&&!s.isMenuOpen),n.$$.dirty&96&&i&&R&&R.node&&t(17,m.isNodeExecuting=i.runningNodeID===R.node.id,m)},[g,_,b,y,k,R,i,l,T,I,x,a,f,h,N,O,D,m,s]}class ka extends _e{constructor(e){super(),me(this,e,VW,WW,ae,{layoutState:0,dragItem:17,zIndex:1,classes:2,isMobile:3})}}export{Le as $,Nt as A,Y as B,G as C,_i as D,ol as E,j as F,Xe as G,lC as H,xr as I,up as J,mr as K,rp as L,fC as M,sp as N,vn as O,Ac as P,rV as Q,XW as R,_e as S,Hp as T,tf as U,Dh as V,zt as W,Zn as X,De as Y,ze as Z,Jt as _,et as a,Zl as a$,Me as a0,xe as a1,zs as a2,Oc as a3,mi as a4,Ly as a5,pi as a6,ke as a7,je as a8,ve as a9,Ut as aA,bt as aB,Bt as aC,Xn as aD,QW as aE,br as aF,nV as aG,Ti as aH,LV as aI,vV as aJ,iV as aK,ot as aL,uO as aM,aO as aN,_r as aO,iO as aP,tO as aQ,sO as aR,bi as aS,Ri as aT,ka as aU,To as aV,H7 as aW,Ef as aX,Af as aY,nT as aZ,cz as a_,lp as aa,yr as ab,YW as ac,Ze as ad,Yb as ae,zi as af,Rp as ag,TA as ah,gA as ai,hA as aj,yt as ak,Xl as al,ht as am,Of as an,Gs as ao,AN as ap,jt as aq,Gt as ar,mE as as,kn as at,KN as au,dr as av,ef as aw,Hn as ax,UW as ay,Qc as az,me as b,jW as b0,qW as b1,Zt as b2,uv as b3,ie as b4,aA as b5,$d as b6,tV as b7,eV as b8,fi as b9,dV as bA,yV as bB,at as bC,hV as bD,gV as bE,pr as bF,cV as bG,pV as bH,qh as bI,_V as bJ,BN as bK,XT as bL,bV as bM,GW as bN,mV as bO,hC as bP,wr as bQ,sV as bR,u0 as bS,hu as ba,on as bb,Is as bc,$F as bd,Us as be,wp as bf,zy as bg,nt as bh,NV as bi,yE as bj,Pp as bk,_E as bl,SV as bm,KW as bn,$W as bo,DV as bp,ZW as bq,ti as br,Av as bs,JW as bt,$T as bu,wV as bv,zv as bw,xV as bx,Co as by,fV as bz,se as c,v as d,z as e,A as f,F as g,ee as h,Ec as i,oe as j,C as k,ip as l,le as m,ep as n,S as o,E as p,Si as q,lt as r,ae as s,B as t,rl as u,op as v,Be as w,Z as x,Kh as y,we as z}; +//# sourceMappingURL=global-dc583974.js.map diff --git a/assets/global-dc583974.js.map b/assets/global-dc583974.js.map new file mode 100644 index 0000000..625c66a --- /dev/null +++ b/assets/global-dc583974.js.map @@ -0,0 +1 @@ +{"version":3,"file":"global-dc583974.js","sources":["../../node_modules/.pnpm/@floating-ui+core@1.3.1/node_modules/@floating-ui/core/dist/floating-ui.core.browser.min.mjs","../../node_modules/.pnpm/@floating-ui+dom@1.4.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.browser.min.mjs","../../src/lib/widgets/ComfyUI.grammar"],"sourcesContent":["function t(t){return t.split(\"-\")[1]}function e(t){return\"y\"===t?\"height\":\"width\"}function n(t){return t.split(\"-\")[0]}function o(t){return[\"top\",\"bottom\"].includes(n(t))?\"x\":\"y\"}function i(i,r,a){let{reference:l,floating:s}=i;const c=l.x+l.width/2-s.width/2,f=l.y+l.height/2-s.height/2,m=o(r),u=e(m),g=l[u]/2-s[u]/2,d=\"x\"===m;let p;switch(n(r)){case\"top\":p={x:c,y:l.y-s.height};break;case\"bottom\":p={x:c,y:l.y+l.height};break;case\"right\":p={x:l.x+l.width,y:f};break;case\"left\":p={x:l.x-s.width,y:f};break;default:p={x:l.x,y:l.y}}switch(t(r)){case\"start\":p[m]-=g*(a&&d?-1:1);break;case\"end\":p[m]+=g*(a&&d?-1:1)}return p}const r=async(t,e,n)=>{const{placement:o=\"bottom\",strategy:r=\"absolute\",middleware:a=[],platform:l}=n,s=a.filter(Boolean),c=await(null==l.isRTL?void 0:l.isRTL(e));let f=await l.getElementRects({reference:t,floating:e,strategy:r}),{x:m,y:u}=i(f,o,c),g=o,d={},p=0;for(let n=0;n({name:\"arrow\",options:n,async fn(i){const{x:r,y:s,placement:c,rects:m,platform:g,elements:d}=i,{element:p,padding:h=0}=a(n,i)||{};if(null==p)return{};const y=l(h),x={x:r,y:s},w=o(c),v=e(w),b=await g.getDimensions(p),A=\"y\"===w,R=A?\"top\":\"left\",P=A?\"bottom\":\"right\",E=A?\"clientHeight\":\"clientWidth\",T=m.reference[v]+m.reference[w]-x[w]-m.floating[v],D=x[w]-m.reference[w],L=await(null==g.getOffsetParent?void 0:g.getOffsetParent(p));let k=L?L[E]:0;k&&await(null==g.isElement?void 0:g.isElement(L))||(k=d.floating[E]||m.floating[v]);const O=T/2-D/2,B=k/2-b[v]/2-1,C=f(y[R],B),H=f(y[P],B),S=C,F=k-b[v]-H,M=k/2-b[v]/2+O,V=u(S,M,F),W=null!=t(c)&&M!=V&&m.reference[v]/2-(Mt.concat(e,e+\"-start\",e+\"-end\")),[]),h={left:\"right\",right:\"left\",bottom:\"top\",top:\"bottom\"};function y(t){return t.replace(/left|right|bottom|top/g,(t=>h[t]))}function x(n,i,r){void 0===r&&(r=!1);const a=t(n),l=o(n),s=e(l);let c=\"x\"===l?a===(r?\"end\":\"start\")?\"right\":\"left\":\"start\"===a?\"bottom\":\"top\";return i.reference[s]>i.floating[s]&&(c=y(c)),{main:c,cross:y(c)}}const w={start:\"end\",end:\"start\"};function v(t){return t.replace(/start|end/g,(t=>w[t]))}const b=function(e){return void 0===e&&(e={}),{name:\"autoPlacement\",options:e,async fn(o){var i,r,l;const{rects:s,middlewareData:f,placement:m,platform:u,elements:g}=o,{crossAxis:d=!1,alignment:h,allowedPlacements:y=p,autoAlignment:w=!0,...b}=a(e,o),A=void 0!==h||y===p?function(e,o,i){return(e?[...i.filter((n=>t(n)===e)),...i.filter((n=>t(n)!==e))]:i.filter((t=>n(t)===t))).filter((n=>!e||t(n)===e||!!o&&v(n)!==n))}(h||null,w,y):y,R=await c(o,b),P=(null==(i=f.autoPlacement)?void 0:i.index)||0,E=A[P];if(null==E)return{};const{main:T,cross:D}=x(E,s,await(null==u.isRTL?void 0:u.isRTL(g.floating)));if(m!==E)return{reset:{placement:A[0]}};const L=[R[n(E)],R[T],R[D]],k=[...(null==(r=f.autoPlacement)?void 0:r.overflows)||[],{placement:E,overflows:L}],O=A[P+1];if(O)return{data:{index:P+1,overflows:k},reset:{placement:O}};const B=k.map((e=>{const n=t(e.placement);return[e.placement,n&&d?e.overflows.slice(0,2).reduce(((t,e)=>t+e),0):e.overflows[0],e.overflows]})).sort(((t,e)=>t[1]-e[1])),C=(null==(l=B.filter((e=>e[2].slice(0,t(e[0])?2:3).every((t=>t<=0))))[0])?void 0:l[0])||B[0][0];return C!==m?{data:{index:P+1,overflows:k},reset:{placement:C}}:{}}}};const A=function(e){return void 0===e&&(e={}),{name:\"flip\",options:e,async fn(o){var i;const{placement:r,middlewareData:l,rects:s,initialPlacement:f,platform:m,elements:u}=o,{mainAxis:g=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:h=\"bestFit\",fallbackAxisSideDirection:w=\"none\",flipAlignment:b=!0,...A}=a(e,o),R=n(r),P=n(f)===f,E=await(null==m.isRTL?void 0:m.isRTL(u.floating)),T=p||(P||!b?[y(f)]:function(t){const e=y(t);return[v(t),e,v(e)]}(f));p||\"none\"===w||T.push(...function(e,o,i,r){const a=t(e);let l=function(t,e,n){const o=[\"left\",\"right\"],i=[\"right\",\"left\"],r=[\"top\",\"bottom\"],a=[\"bottom\",\"top\"];switch(t){case\"top\":case\"bottom\":return n?e?i:o:e?o:i;case\"left\":case\"right\":return e?r:a;default:return[]}}(n(e),\"start\"===i,r);return a&&(l=l.map((t=>t+\"-\"+a)),o&&(l=l.concat(l.map(v)))),l}(f,b,w,E));const D=[f,...T],L=await c(o,A),k=[];let O=(null==(i=l.flip)?void 0:i.overflows)||[];if(g&&k.push(L[R]),d){const{main:t,cross:e}=x(r,s,E);k.push(L[t],L[e])}if(O=[...O,{placement:r,overflows:k}],!k.every((t=>t<=0))){var B,C;const t=((null==(B=l.flip)?void 0:B.index)||0)+1,e=D[t];if(e)return{data:{index:t,overflows:O},reset:{placement:e}};let n=null==(C=O.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:C.placement;if(!n)switch(h){case\"bestFit\":{var H;const t=null==(H=O.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:H[0];t&&(n=t);break}case\"initialPlacement\":n=f}if(r!==n)return{reset:{placement:n}}}return{}}}};function R(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function P(t){return d.some((e=>t[e]>=0))}const E=function(t){return void 0===t&&(t={}),{name:\"hide\",options:t,async fn(e){const{rects:n}=e,{strategy:o=\"referenceHidden\",...i}=a(t,e);switch(o){case\"referenceHidden\":{const t=R(await c(e,{...i,elementContext:\"reference\"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:P(t)}}}case\"escaped\":{const t=R(await c(e,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:P(t)}}}default:return{}}}}};function T(t){const e=f(...t.map((t=>t.left))),n=f(...t.map((t=>t.top)));return{x:e,y:n,width:m(...t.map((t=>t.right)))-e,height:m(...t.map((t=>t.bottom)))-n}}const D=function(t){return void 0===t&&(t={}),{name:\"inline\",options:t,async fn(e){const{placement:i,elements:r,rects:c,platform:u,strategy:g}=e,{padding:d=2,x:p,y:h}=a(t,e),y=Array.from(await(null==u.getClientRects?void 0:u.getClientRects(r.reference))||[]),x=function(t){const e=t.slice().sort(((t,e)=>t.y-e.y)),n=[];let o=null;for(let t=0;to.height/2?n.push([i]):n[n.length-1].push(i),o=i}return n.map((t=>s(T(t))))}(y),w=s(T(y)),v=l(d);const b=await u.getElementRects({reference:{getBoundingClientRect:function(){if(2===x.length&&x[0].left>x[1].right&&null!=p&&null!=h)return x.find((t=>p>t.left-v.left&&pt.top-v.top&&h=2){if(\"x\"===o(i)){const t=x[0],e=x[x.length-1],o=\"top\"===n(i),r=t.top,a=e.bottom,l=o?t.left:e.left,s=o?t.right:e.right;return{top:r,bottom:a,left:l,right:s,width:s-l,height:a-r,x:l,y:r}}const t=\"left\"===n(i),e=m(...x.map((t=>t.right))),r=f(...x.map((t=>t.left))),a=x.filter((n=>t?n.left===r:n.right===e)),l=a[0].top,s=a[a.length-1].bottom;return{top:l,bottom:s,left:r,right:e,width:e-r,height:s-l,x:r,y:l}}return w}},floating:r.floating,strategy:g});return c.reference.x!==b.reference.x||c.reference.y!==b.reference.y||c.reference.width!==b.reference.width||c.reference.height!==b.reference.height?{reset:{rects:b}}:{}}}};const L=function(e){return void 0===e&&(e=0),{name:\"offset\",options:e,async fn(i){const{x:r,y:l}=i,s=await async function(e,i){const{placement:r,platform:l,elements:s}=e,c=await(null==l.isRTL?void 0:l.isRTL(s.floating)),f=n(r),m=t(r),u=\"x\"===o(r),g=[\"left\",\"top\"].includes(f)?-1:1,d=c&&u?-1:1,p=a(i,e);let{mainAxis:h,crossAxis:y,alignmentAxis:x}=\"number\"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return m&&\"number\"==typeof x&&(y=\"end\"===m?-1*x:x),u?{x:y*d,y:h*g}:{x:h*g,y:y*d}}(i,e);return{x:r+s.x,y:l+s.y,data:s}}}};function k(t){return\"x\"===t?\"y\":\"x\"}const O=function(t){return void 0===t&&(t={}),{name:\"shift\",options:t,async fn(e){const{x:i,y:r,placement:l}=e,{mainAxis:s=!0,crossAxis:f=!1,limiter:m={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...g}=a(t,e),d={x:i,y:r},p=await c(e,g),h=o(n(l)),y=k(h);let x=d[h],w=d[y];if(s){const t=\"y\"===h?\"bottom\":\"right\";x=u(x+p[\"y\"===h?\"top\":\"left\"],x,x-p[t])}if(f){const t=\"y\"===y?\"bottom\":\"right\";w=u(w+p[\"y\"===y?\"top\":\"left\"],w,w-p[t])}const v=m.fn({...e,[h]:x,[y]:w});return{...v,data:{x:v.x-i,y:v.y-r}}}}},B=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:i,y:r,placement:l,rects:s,middlewareData:c}=e,{offset:f=0,mainAxis:m=!0,crossAxis:u=!0}=a(t,e),g={x:i,y:r},d=o(l),p=k(d);let h=g[d],y=g[p];const x=a(f,e),w=\"number\"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(m){const t=\"y\"===d?\"height\":\"width\",e=s.reference[d]-s.floating[t]+w.mainAxis,n=s.reference[d]+s.reference[t]-w.mainAxis;hn&&(h=n)}if(u){var v,b;const t=\"y\"===d?\"width\":\"height\",e=[\"top\",\"left\"].includes(n(l)),o=s.reference[p]-s.floating[t]+(e&&(null==(v=c.offset)?void 0:v[p])||0)+(e?0:w.crossAxis),i=s.reference[p]+s.reference[t]+(e?0:(null==(b=c.offset)?void 0:b[p])||0)-(e?w.crossAxis:0);yi&&(y=i)}return{[d]:h,[p]:y}}}},C=function(e){return void 0===e&&(e={}),{name:\"size\",options:e,async fn(i){const{placement:r,rects:l,platform:s,elements:u}=i,{apply:g=(()=>{}),...d}=a(e,i),p=await c(i,d),h=n(r),y=t(r),x=\"x\"===o(r),{width:w,height:v}=l.floating;let b,A;\"top\"===h||\"bottom\"===h?(b=h,A=y===(await(null==s.isRTL?void 0:s.isRTL(u.floating))?\"start\":\"end\")?\"left\":\"right\"):(A=h,b=\"end\"===y?\"top\":\"bottom\");const R=v-p[b],P=w-p[A],E=!i.middlewareData.shift;let T=R,D=P;if(x){const t=w-p.left-p.right;D=y||E?f(P,t):t}else{const t=v-p.top-p.bottom;T=y||E?f(R,t):t}if(E&&!y){const t=m(p.left,0),e=m(p.right,0),n=m(p.top,0),o=m(p.bottom,0);x?D=w-2*(0!==t||0!==e?t+e:m(p.left,p.right)):T=v-2*(0!==n||0!==o?n+o:m(p.top,p.bottom))}await g({...i,availableWidth:D,availableHeight:T});const L=await s.getDimensions(u.floating);return w!==L.width||v!==L.height?{reset:{rects:!0}}:{}}}};export{g as arrow,b as autoPlacement,r as computePosition,c as detectOverflow,A as flip,E as hide,D as inline,B as limitShift,L as offset,s as rectToClientRect,O as shift,C as size};\n","import{rectToClientRect as t,computePosition as e}from\"@floating-ui/core\";export{arrow,autoPlacement,detectOverflow,flip,hide,inline,limitShift,offset,shift,size}from\"@floating-ui/core\";function n(t){var e;return(null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function o(t){return n(t).getComputedStyle(t)}function i(t){return t instanceof n(t).Node}function r(t){return i(t)?(t.nodeName||\"\").toLowerCase():\"#document\"}function c(t){return t instanceof n(t).HTMLElement}function l(t){return t instanceof n(t).Element}function s(t){return\"undefined\"!=typeof ShadowRoot&&(t instanceof n(t).ShadowRoot||t instanceof ShadowRoot)}function f(t){const{overflow:e,overflowX:n,overflowY:i,display:r}=o(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&![\"inline\",\"contents\"].includes(r)}function u(t){return[\"table\",\"td\",\"th\"].includes(r(t))}function d(t){const e=a(),n=o(t);return\"none\"!==n.transform||\"none\"!==n.perspective||!e&&!!n.backdropFilter&&\"none\"!==n.backdropFilter||!e&&!!n.filter&&\"none\"!==n.filter||[\"transform\",\"perspective\",\"filter\"].some((t=>(n.willChange||\"\").includes(t)))||[\"paint\",\"layout\",\"strict\",\"content\"].some((t=>(n.contain||\"\").includes(t)))}function a(){return!(\"undefined\"==typeof CSS||!CSS.supports)&&CSS.supports(\"-webkit-backdrop-filter\",\"none\")}function h(t){return[\"html\",\"body\",\"#document\"].includes(r(t))}const p=Math.min,g=Math.max,m=Math.round,y=Math.floor,w=t=>({x:t,y:t});function x(t){const e=o(t);let n=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=c(t),l=r?t.offsetWidth:n,s=r?t.offsetHeight:i,f=m(n)!==l||m(i)!==s;return f&&(n=l,i=s),{width:n,height:i,$:f}}function v(t){return l(t)?t:t.contextElement}function b(t){const e=v(t);if(!c(e))return w(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=x(e);let l=(r?m(n.width):n.width)/o,s=(r?m(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}const L=w(0);function R(t,e,o){var i,r;if(void 0===e&&(e=!0),!a())return L;const c=t?n(t):window;return!o||e&&o!==c?L:{x:(null==(i=c.visualViewport)?void 0:i.offsetLeft)||0,y:(null==(r=c.visualViewport)?void 0:r.offsetTop)||0}}function T(e,o,i,r){void 0===o&&(o=!1),void 0===i&&(i=!1);const c=e.getBoundingClientRect(),s=v(e);let f=w(1);o&&(r?l(r)&&(f=b(r)):f=b(e));const u=R(s,i,r);let d=(c.left+u.x)/f.x,a=(c.top+u.y)/f.y,h=c.width/f.x,p=c.height/f.y;if(s){const t=n(s),e=r&&l(r)?n(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=b(o),e=o.getBoundingClientRect(),i=getComputedStyle(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,c=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;d*=t.x,a*=t.y,h*=t.x,p*=t.y,d+=r,a+=c,o=n(o).frameElement}}return t({width:h,height:p,x:d,y:a})}function S(t){return((i(t)?t.ownerDocument:t.document)||window.document).documentElement}function E(t){return l(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function C(t){return T(S(t)).left+E(t).scrollLeft}function F(t){if(\"html\"===r(t))return t;const e=t.assignedSlot||t.parentNode||s(t)&&t.host||S(t);return s(e)?e.host:e}function W(t){const e=F(t);return h(e)?t.ownerDocument?t.ownerDocument.body:t.body:c(e)&&f(e)?e:W(e)}function D(t,e){var o;void 0===e&&(e=[]);const i=W(t),r=i===(null==(o=t.ownerDocument)?void 0:o.body),c=n(i);return r?e.concat(c,c.visualViewport||[],f(i)?i:[]):e.concat(i,D(i))}function H(e,i,r){let s;if(\"viewport\"===i)s=function(t,e){const o=n(t),i=S(t),r=o.visualViewport;let c=i.clientWidth,l=i.clientHeight,s=0,f=0;if(r){c=r.width,l=r.height;const t=a();(!t||t&&\"fixed\"===e)&&(s=r.offsetLeft,f=r.offsetTop)}return{width:c,height:l,x:s,y:f}}(e,r);else if(\"document\"===i)s=function(t){const e=S(t),n=E(t),i=t.ownerDocument.body,r=g(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),c=g(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let l=-n.scrollLeft+C(t);const s=-n.scrollTop;return\"rtl\"===o(i).direction&&(l+=g(e.clientWidth,i.clientWidth)-r),{width:r,height:c,x:l,y:s}}(S(e));else if(l(i))s=function(t,e){const n=T(t,!0,\"fixed\"===e),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=c(t)?b(t):w(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:i*r.x,y:o*r.y}}(i,r);else{const t=R(e);s={...i,x:i.x-t.x,y:i.y-t.y}}return t(s)}function O(t,e){const n=F(t);return!(n===e||!l(n)||h(n))&&(\"fixed\"===o(n).position||O(n,e))}function M(t,e){return c(t)&&\"fixed\"!==o(t).position?e?e(t):t.offsetParent:null}function P(t,e){const i=n(t);if(!c(t))return i;let l=M(t,e);for(;l&&u(l)&&\"static\"===o(l).position;)l=M(l,e);return l&&(\"html\"===r(l)||\"body\"===r(l)&&\"static\"===o(l).position&&!d(l))?i:l||function(t){let e=F(t);for(;c(e)&&!h(e);){if(d(e))return e;e=F(e)}return null}(t)||i}function z(t,e,n){const o=c(e),i=S(e),l=\"fixed\"===n,s=T(t,!0,l,e);let u={scrollLeft:0,scrollTop:0};const d=w(0);if(o||!o&&!l)if((\"body\"!==r(e)||f(i))&&(u=E(e)),c(e)){const t=T(e,!0,l,e);d.x=t.x+e.clientLeft,d.y=t.y+e.clientTop}else i&&(d.x=C(i));return{x:s.left+u.scrollLeft-d.x,y:s.top+u.scrollTop-d.y,width:s.width,height:s.height}}const V={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:i,strategy:c}=t;const s=\"clippingAncestors\"===n?function(t,e){const n=e.get(t);if(n)return n;let i=D(t).filter((t=>l(t)&&\"body\"!==r(t))),c=null;const s=\"fixed\"===o(t).position;let u=s?F(t):t;for(;l(u)&&!h(u);){const e=o(u),n=d(u);n||\"fixed\"!==e.position||(c=null),(s?!n&&!c:!n&&\"static\"===e.position&&c&&[\"absolute\",\"fixed\"].includes(c.position)||f(u)&&!n&&O(t,u))?i=i.filter((t=>t!==u)):c=e,u=F(u)}return e.set(t,i),i}(e,this._c):[].concat(n),u=[...s,i],a=u[0],m=u.reduce(((t,n)=>{const o=H(e,n,c);return t.top=g(o.top,t.top),t.right=p(o.right,t.right),t.bottom=p(o.bottom,t.bottom),t.left=g(o.left,t.left),t}),H(e,a,c));return{width:m.right-m.left,height:m.bottom-m.top,x:m.left,y:m.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:o}=t;const i=c(n),l=S(n);if(n===l)return e;let s={scrollLeft:0,scrollTop:0},u=w(1);const d=w(0);if((i||!i&&\"fixed\"!==o)&&((\"body\"!==r(n)||f(l))&&(s=E(n)),c(n))){const t=T(n);u=b(n),d.x=t.x+n.clientLeft,d.y=t.y+n.clientTop}return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+d.x,y:e.y*u.y-s.scrollTop*u.y+d.y}},isElement:l,getDimensions:function(t){return x(t)},getOffsetParent:P,getDocumentElement:S,getScale:b,async getElementRects(t){let{reference:e,floating:n,strategy:o}=t;const i=this.getOffsetParent||P,r=this.getDimensions;return{reference:z(e,await i(n),o),floating:{x:0,y:0,...await r(n)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>\"rtl\"===o(t).direction};function B(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:c=!0,layoutShift:l=\"function\"==typeof IntersectionObserver,animationFrame:s=!1}=o,f=v(t),u=i||r?[...f?D(f):[],...D(e)]:[];u.forEach((t=>{i&&t.addEventListener(\"scroll\",n,{passive:!0}),r&&t.addEventListener(\"resize\",n)}));const d=f&&l?function(t,e){let n,o=null;const i=S(t);function r(){clearTimeout(n),o&&o.disconnect(),o=null}return function c(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),r();const{left:f,top:u,width:d,height:a}=t.getBoundingClientRect();if(l||e(),!d||!a)return;const h=y(u),m=y(i.clientWidth-(f+d)),w=y(i.clientHeight-(u+a)),x=y(f);let v=!0;o=new IntersectionObserver((t=>{const e=t[0].intersectionRatio;if(e!==s){if(!v)return c();e?c(!1,e):n=setTimeout((()=>{c(!1,1e-7)}),100)}v=!1}),{rootMargin:-h+\"px \"+-m+\"px \"+-w+\"px \"+-x+\"px\",threshold:g(0,p(1,s))||1}),o.observe(t)}(!0),r}(f,n):null;let a,h=null;c&&(h=new ResizeObserver(n),f&&!s&&h.observe(f),h.observe(e));let m=s?T(t):null;return s&&function e(){const o=T(t);!m||o.x===m.x&&o.y===m.y&&o.width===m.width&&o.height===m.height||n();m=o,a=requestAnimationFrame(e)}(),n(),()=>{u.forEach((t=>{i&&t.removeEventListener(\"scroll\",n),r&&t.removeEventListener(\"resize\",n)})),d&&d(),h&&h.disconnect(),h=null,s&&cancelAnimationFrame(a)}}const N=(t,n,o)=>{const i=new Map,r={platform:V,...o},c={...r.platform,_c:i};return e(t,n,{...r,platform:c})};export{B as autoUpdate,N as computePosition,D as getOverflowAncestors,V as platform};\n","// This file was generated by lezer-generator. You probably shouldn't edit it.\nimport {LRParser, LocalTokenGroup} from \"@lezer/lr\"\nexport const parser = LRParser.deserialize({\n version: 14,\n states: \"#YQ]QPOOPkOPOOOpQPO'#CeOOQO'#Co'#CoOOQO'#Cg'#CgQ]QPOOP!ROQO'#C^POOO)C>_)C>_OOQO,59P,59PO!^QPO,59POOQO-E6e-E6ePOOO'#Cf'#CfP!oOQO,58xPOOO,58x,58xOOQO1G.k1G.kPOOO-E6d-E6dPOOO1G.d1G.d\",\n stateData: \"!z~O^OSPOS_PQ~OSROTROUROWQO~O_UO~OSROTROUROVWOWQO~O`ZOaZOb]O~OSROTROUROV^OWQO~O`ZOaZOb`O~O\",\n goto: \"!UdPPePPPPPPhntPPPPPPP!ORVPXROQTXQ[UR_[QTOQXQTYTXXSOQTX\",\n nodeNames: \"⚠ LineComment BlockComment Program Identifier String Boolean ) ( Application\",\n maxTerm: 19,\n nodeProps: [\n [\"openedBy\", 7,\"(\"],\n [\"closedBy\", 8,\")\"]\n ],\n skippedNodes: [0,1,2,10],\n repeatNodeCount: 2,\n tokenData: \"%q~R^XY}YZ}]^}pq}rs!`st#|xy$[yz$a}!O$f!P!Q$z!Q![$f!c!}$f#R#S$f#T#o$f~!SS^~XY}YZ}]^}pq}~!cVOr!`rs!xs#O!`#O#P!}#P;'S!`;'S;=`#v<%lO!`~!}OT~~#QRO;'S!`;'S;=`#Z;=`O!`~#^WOr!`rs!xs#O!`#O#P!}#P;'S!`;'S;=`#v;=`<%l!`<%lO!`~#yP;=`<%l!`~$PQ#Y#Z$V#h#i$V~$[OU~~$aOW~~$fOV~~$kTS~}!O$f!Q![$f!c!}$f#R#S$f#T#o$f~$}Qz{%T!P!Q%Y~%YO_~~%_SP~OY%YZ;'S%Y;'S;=`%k<%lO%Y~%nP;=`<%l%Y\",\n tokenizers: [1, new LocalTokenGroup(\"j~RQYZXz{^~^Oa~~aP!P!Qd~iOb~~\", 25, 16)],\n topRules: {\"Program\":[0,3]},\n tokenPrec: 0\n})\n"],"names":["t","e","n","o","i","r","a","l","c","f","m","u","g","d","p","s","h","y","x","w","v","A","R","b","P","E","T","D","L","k","O","B","C","H","S","F","W","M","z","V","N","parser","LRParser","LocalTokenGroup"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8wmBAAA,SAASA,GAAEA,EAAE,CAAC,OAAOA,EAAE,MAAM,GAAG,EAAE,CAAC,CAAC,CAAC,SAASC,GAAED,EAAE,CAAC,OAAYA,IAAN,IAAQ,SAAS,OAAO,CAAC,SAASE,GAAEF,EAAE,CAAC,OAAOA,EAAE,MAAM,GAAG,EAAE,CAAC,CAAC,CAAC,SAASG,GAAEH,EAAE,CAAC,MAAM,CAAC,MAAM,QAAQ,EAAE,SAASE,GAAEF,CAAC,CAAC,EAAE,IAAI,GAAG,CAAC,SAASI,GAAEA,EAAEC,EAAEC,EAAE,CAAC,GAAG,CAAC,UAAUC,EAAE,SAAS,CAAC,EAAEH,EAAE,MAAMI,EAAED,EAAE,EAAEA,EAAE,MAAM,EAAE,EAAE,MAAM,EAAEE,EAAEF,EAAE,EAAEA,EAAE,OAAO,EAAE,EAAE,OAAO,EAAEG,EAAEP,GAAEE,CAAC,EAAEM,EAAEV,GAAES,CAAC,EAAEE,EAAEL,EAAEI,CAAC,EAAE,EAAE,EAAEA,CAAC,EAAE,EAAEE,EAAQH,IAAN,IAAQ,IAAII,EAAE,OAAOZ,GAAEG,CAAC,EAAC,CAAE,IAAI,MAAMS,EAAE,CAAC,EAAEN,EAAE,EAAED,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,IAAI,SAASO,EAAE,CAAC,EAAEN,EAAE,EAAED,EAAE,EAAEA,EAAE,MAAM,EAAE,MAAM,IAAI,QAAQO,EAAE,CAAC,EAAEP,EAAE,EAAEA,EAAE,MAAM,EAAEE,CAAC,EAAE,MAAM,IAAI,OAAOK,EAAE,CAAC,EAAEP,EAAE,EAAE,EAAE,MAAM,EAAEE,CAAC,EAAE,MAAM,QAAQK,EAAE,CAAC,EAAEP,EAAE,EAAE,EAAEA,EAAE,CAAC,CAAC,CAAC,OAAOP,GAAEK,CAAC,EAAC,CAAE,IAAI,QAAQS,EAAEJ,CAAC,GAAGE,GAAGN,GAAGO,EAAE,GAAG,GAAG,MAAM,IAAI,MAAMC,EAAEJ,CAAC,GAAGE,GAAGN,GAAGO,EAAE,GAAG,EAAE,CAAC,OAAOC,CAAC,CAAC,MAAMT,GAAE,MAAML,EAAE,EAAEE,IAAI,CAAC,KAAK,CAAC,UAAUC,EAAE,SAAS,SAASE,EAAE,WAAW,WAAWC,EAAE,GAAG,SAASC,CAAC,EAAEL,EAAEa,EAAET,EAAE,OAAO,OAAO,EAAEE,EAAE,MAAYD,EAAE,OAAR,KAAc,OAAOA,EAAE,MAAM,CAAC,GAAG,IAAIE,EAAE,MAAMF,EAAE,gBAAgB,CAAC,UAAUP,EAAE,SAAS,EAAE,SAASK,CAAC,CAAC,EAAE,CAAC,EAAEK,EAAE,EAAEC,CAAC,EAAEP,GAAEK,EAAEN,EAAEK,CAAC,EAAEI,EAAET,EAAE,EAAE,GAAG,EAAE,EAAE,QAAQD,EAAE,EAAEA,EAAEa,EAAE,OAAOb,IAAI,CAAC,KAAK,CAAC,KAAKI,EAAE,GAAGU,CAAC,EAAED,EAAEb,CAAC,EAAE,CAAC,EAAEe,EAAEC,EAAI,KAAKC,EAAE,MAAMC,CAAC,EAAE,MAAMJ,EAAE,CAAC,EAAEN,EAAE,EAAEC,EAAE,iBAAiBR,EAAE,UAAUS,EAAE,SAASP,EAAE,eAAe,EAAE,MAAMI,EAAE,SAASF,EAAE,SAAS,CAAC,UAAUP,EAAE,SAAS,CAAC,CAAC,CAAC,EAAEU,EAAQO,GAAIP,EAAEC,EAAQO,GAAIP,EAAE,EAAE,CAAC,GAAG,EAAE,CAACL,CAAC,EAAE,CAAC,GAAG,EAAEA,CAAC,EAAE,GAAGa,CAAC,CAAC,EAAEC,GAAG,GAAG,KAAK,IAAc,OAAOA,GAAjB,WAAqBA,EAAE,YAAYR,EAAEQ,EAAE,WAAWA,EAAE,QAAQX,EAAOW,EAAE,QAAP,GAAa,MAAMb,EAAE,gBAAgB,CAAC,UAAUP,EAAE,SAAS,EAAE,SAASK,CAAC,CAAC,EAAEe,EAAE,OAAQ,CAAC,EAAEV,EAAE,EAAEC,CAAC,EAAEP,GAAEK,EAAEG,EAAEJ,CAAC,GAAIN,EAAE,IAAI,MAAM,CAAC,EAAEQ,EAAE,EAAEC,EAAE,UAAUC,EAAE,SAASP,EAAE,eAAe,CAAC,CAAC,EAAE,SAASC,GAAEN,EAAE,EAAE,CAAC,OAAkB,OAAOA,GAAnB,WAAqBA,EAAE,CAAC,EAAEA,CAAC,CAAC,SAASO,GAAEP,EAAE,CAAC,OAAgB,OAAOA,GAAjB,SAAmB,SAASA,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,GAAGA,CAAC,CAAC,EAAEA,CAAC,EAAE,CAAC,IAAIA,EAAE,MAAMA,EAAE,OAAOA,EAAE,KAAKA,CAAC,CAAC,CAAC,SAASe,GAAEf,EAAE,CAAC,MAAM,CAAC,GAAGA,EAAE,IAAIA,EAAE,EAAE,KAAKA,EAAE,EAAE,MAAMA,EAAE,EAAEA,EAAE,MAAM,OAAOA,EAAE,EAAEA,EAAE,MAAM,CAAC,CAAC,eAAeQ,GAAER,EAAE,EAAE,CAAC,IAAIE,EAAW,IAAT,SAAa,EAAE,CAAE,GAAE,KAAK,CAAC,EAAEC,EAAE,EAAEC,EAAE,SAAS,EAAE,MAAMI,EAAE,SAASC,EAAE,SAASC,CAAC,EAAEV,EAAE,CAAC,SAAS,EAAE,oBAAoB,aAAaY,EAAE,WAAW,eAAeC,EAAE,WAAW,YAAYC,EAAE,GAAG,QAAQE,EAAE,CAAC,EAAEV,GAAE,EAAEN,CAAC,EAAEiB,EAAEV,GAAES,CAAC,EAAEE,EAAET,EAAEK,EAAeD,IAAb,WAAe,YAAY,WAAWA,CAAC,EAAEM,EAAEJ,GAAE,MAAM,EAAE,gBAAgB,CAAC,SAAeb,EAAE,MAAY,EAAE,WAAR,KAAkB,OAAO,EAAE,UAAUgB,CAAC,KAArD,MAA0DhB,EAAEgB,EAAEA,EAAE,gBAAgB,MAAY,EAAE,oBAAR,KAA2B,OAAO,EAAE,mBAAmBT,EAAE,QAAQ,GAAG,SAAS,EAAE,aAAaG,EAAE,SAASF,CAAC,CAAC,CAAC,EAAEU,EAAeP,IAAb,WAAe,CAAC,GAAGL,EAAE,SAAS,EAAEL,EAAE,EAAEC,CAAC,EAAEI,EAAE,UAAU,EAAE,MAAY,EAAE,iBAAR,KAAwB,OAAO,EAAE,gBAAgBC,EAAE,QAAQ,GAAGY,EAAE,MAAY,EAAE,WAAR,KAAkB,OAAO,EAAE,UAAU,CAAC,IAAI,MAAY,EAAE,UAAR,KAAiB,OAAO,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,EAAEC,EAAEP,GAAE,EAAE,sDAAsD,MAAM,EAAE,sDAAsD,CAAC,KAAKK,EAAE,aAAa,EAAE,SAASV,CAAC,CAAC,EAAEU,CAAC,EAAE,MAAM,CAAC,KAAKD,EAAE,IAAIG,EAAE,IAAIL,EAAE,KAAKI,EAAE,EAAE,QAAQC,EAAE,OAAOH,EAAE,OAAOF,EAAE,QAAQI,EAAE,EAAE,MAAMF,EAAE,KAAKG,EAAE,KAAKL,EAAE,MAAMI,EAAE,EAAE,OAAOC,EAAE,MAAMH,EAAE,MAAMF,EAAE,OAAOI,EAAE,CAAC,CAAC,CAAC,MAAMZ,GAAE,KAAK,IAAIC,GAAE,KAAK,IAAI,SAASC,GAAEX,EAAE,EAAEE,EAAE,CAAC,OAAOQ,GAAEV,EAAES,GAAE,EAAEP,CAAC,CAAC,CAAC,CAAM,MAAqvBW,GAAE,CAAC,MAAM,QAAQ,SAAS,MAAM,EAAIA,GAAE,OAAQ,CAACb,EAAE,IAAIA,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,MAAM,EAAG,EAAE,EAAC,MAACgB,GAAE,CAAC,KAAK,QAAQ,MAAM,OAAO,OAAO,MAAM,IAAI,QAAQ,EAAE,SAASC,GAAEjB,EAAE,CAAC,OAAOA,EAAE,QAAQ,yBAA0BA,GAAGgB,GAAEhB,CAAC,CAAC,CAAE,CAAC,SAASkB,GAAE,EAAEd,EAAEC,EAAE,CAAUA,IAAT,SAAaA,EAAE,IAAI,MAAMC,EAAEN,GAAE,CAAC,EAAEO,EAAEJ,GAAE,CAAC,EAAEY,EAAEd,GAAEM,CAAC,EAAE,IAAIC,EAAQD,IAAN,IAAQD,KAAKD,EAAE,MAAM,SAAS,QAAQ,OAAiBC,IAAV,QAAY,SAAS,MAAM,OAAOF,EAAE,UAAUW,CAAC,EAAEX,EAAE,SAASW,CAAC,IAAIP,EAAES,GAAET,CAAC,GAAG,CAAC,KAAKA,EAAE,MAAMS,GAAET,CAAC,CAAC,CAAC,CAAC,MAAMW,GAAE,CAAC,MAAM,MAAM,IAAI,OAAO,EAAE,SAASC,GAAEpB,EAAE,CAAC,OAAOA,EAAE,QAAQ,aAAcA,GAAGmB,GAAEnB,CAAC,CAAG,CAAA,CAA2oC,MAACqB,GAAE,SAASpB,EAAE,CAAC,OAAgBA,IAAT,SAAaA,EAAE,CAAE,GAAE,CAAC,KAAK,OAAO,QAAQA,EAAE,MAAM,GAAGE,EAAE,CAAC,IAAIC,EAAE,KAAK,CAAC,UAAUC,EAAE,eAAeE,EAAE,MAAMQ,EAAE,iBAAiBN,EAAE,SAASC,EAAE,SAASC,CAAC,EAAER,EAAE,CAAC,SAASS,EAAE,GAAG,UAAUC,EAAE,GAAG,mBAAmBC,EAAE,iBAAiB,EAAE,UAAU,0BAA0BK,EAAE,OAAO,cAAcI,EAAE,GAAG,GAAGF,CAAC,EAAEf,GAAEL,EAAEE,CAAC,EAAEmB,EAAEpB,GAAEG,CAAC,EAAEmB,EAAEtB,GAAEO,CAAC,IAAIA,EAAEgB,EAAE,MAAYf,EAAE,OAAR,KAAc,OAAOA,EAAE,MAAMC,EAAE,QAAQ,GAAGe,EAAEZ,IAAIU,GAAG,CAACD,EAAE,CAACN,GAAER,CAAC,CAAC,EAAE,SAAST,EAAE,CAAC,MAAMC,EAAEgB,GAAEjB,CAAC,EAAE,MAAM,CAACoB,GAAEpB,CAAC,EAAEC,EAAEmB,GAAEnB,CAAC,CAAC,CAAC,EAAEQ,CAAC,GAAGK,GAAYK,IAAT,QAAYO,EAAE,KAAK,GAAG,SAASzB,EAAEE,EAAEC,EAAEC,EAAE,CAAC,MAAMC,EAAEN,GAAEC,CAAC,EAAE,IAAIM,EAAE,SAASP,EAAEC,EAAEC,EAAE,CAAC,MAAMC,GAAE,CAAC,OAAO,OAAO,EAAEC,GAAE,CAAC,QAAQ,MAAM,EAAEC,GAAE,CAAC,MAAM,QAAQ,EAAEC,GAAE,CAAC,SAAS,KAAK,EAAE,OAAON,GAAG,IAAI,MAAM,IAAI,SAAS,OAAOE,EAAED,EAAEG,GAAED,GAAEF,EAAEE,GAAEC,GAAE,IAAI,OAAO,IAAI,QAAQ,OAAOH,EAAEI,GAAEC,GAAE,QAAQ,MAAM,CAAE,CAAA,CAAC,EAAEJ,GAAED,CAAC,EAAYG,IAAV,QAAYC,CAAC,EAAE,OAAOC,IAAIC,EAAEA,EAAE,IAAKP,GAAGA,EAAE,IAAIM,CAAC,EAAGH,IAAII,EAAEA,EAAE,OAAOA,EAAE,IAAIa,EAAC,CAAC,IAAIb,CAAC,EAAEE,EAAEc,EAAEJ,EAAEM,CAAC,CAAC,EAAE,MAAME,EAAE,CAAClB,EAAE,GAAGiB,CAAC,EAAEE,EAAE,MAAMpB,GAAEL,EAAEkB,CAAC,EAAEQ,EAAE,CAAE,EAAC,IAAIC,IAAU1B,EAAEG,EAAE,OAAX,KAAiB,OAAOH,EAAE,YAAY,CAAE,EAAC,GAAGQ,GAAGiB,EAAE,KAAKD,EAAEN,CAAC,CAAC,EAAET,EAAE,CAAC,KAAK,CAAC,KAAKb,EAAE,MAAMC,CAAC,EAAEiB,GAAEb,EAAEU,EAAEU,CAAC,EAAEI,EAAE,KAAKD,EAAE5B,CAAC,EAAE4B,EAAE3B,CAAC,CAAC,EAAE,GAAG6B,EAAE,CAAC,GAAGA,EAAE,CAAC,UAAUzB,EAAE,UAAUwB,CAAC,CAAC,EAAE,CAACA,EAAE,MAAO7B,GAAGA,GAAG,CAAC,EAAG,CAAC,IAAI+B,EAAEC,EAAE,MAAMhC,KAAW+B,EAAExB,EAAE,OAAX,KAAiB,OAAOwB,EAAE,QAAQ,GAAG,EAAE9B,EAAE0B,EAAE3B,CAAC,EAAE,GAAGC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAMD,EAAE,UAAU8B,CAAC,EAAE,MAAM,CAAC,UAAU7B,CAAC,CAAC,EAAE,IAAIC,GAAS8B,EAAEF,EAAE,OAAQ9B,GAAGA,EAAE,UAAU,CAAC,GAAG,CAAC,EAAG,KAAM,CAACA,EAAEC,IAAID,EAAE,UAAU,CAAC,EAAEC,EAAE,UAAU,CAAC,CAAC,EAAG,CAAC,IAAxF,KAA2F,OAAO+B,EAAE,UAAU,GAAG,CAAC9B,EAAE,OAAO,EAAC,CAAE,IAAI,UAAU,CAAC,IAAI+B,EAAE,MAAMjC,GAASiC,EAAEH,EAAE,IAAK9B,GAAG,CAACA,EAAE,UAAUA,EAAE,UAAU,OAAQA,GAAGA,EAAE,CAAC,EAAG,OAAQ,CAACA,EAAEC,IAAID,EAAEC,EAAG,CAAC,CAAC,CAAC,EAAG,KAAM,CAACD,EAAEC,IAAID,EAAE,CAAC,EAAEC,EAAE,CAAC,CAAG,EAAC,CAAC,IAAjH,KAAoH,OAAOgC,EAAE,CAAC,EAAEjC,IAAIE,EAAEF,GAAG,KAAK,CAAC,IAAI,mBAAmBE,EAAEO,CAAC,CAAC,GAAGJ,IAAIH,EAAE,MAAM,CAAC,MAAM,CAAC,UAAUA,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAojE0B,GAAE,SAAS3B,EAAE,CAAC,OAAgBA,IAAT,SAAaA,EAAE,GAAG,CAAC,KAAK,SAAS,QAAQA,EAAE,MAAM,GAAGG,EAAE,CAAC,KAAK,CAAC,EAAEC,EAAE,EAAEE,CAAC,EAAEH,EAAE,EAAE,MAAM,eAAeH,EAAEG,EAAE,CAAC,KAAK,CAAC,UAAUC,EAAE,SAASE,EAAE,SAASQ,CAAC,EAAEd,EAAE,EAAE,MAAYM,EAAE,OAAR,KAAc,OAAOA,EAAE,MAAMQ,EAAE,QAAQ,GAAG,EAAEb,GAAEG,CAAC,EAAEK,EAAEV,GAAEK,CAAC,EAAEM,EAAQR,GAAEE,CAAC,IAAT,IAAWO,EAAE,CAAC,OAAO,KAAK,EAAE,SAAS,CAAC,EAAE,GAAG,EAAEC,EAAE,GAAGF,EAAE,GAAG,EAAEG,EAAER,GAAEF,EAAEH,CAAC,EAAE,GAAG,CAAC,SAASe,EAAE,UAAUC,EAAE,cAAcC,CAAC,EAAY,OAAOJ,GAAjB,SAAmB,CAAC,SAASA,EAAE,UAAU,EAAE,cAAc,IAAI,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,cAAc,KAAK,GAAGA,CAAC,EAAE,OAAOJ,GAAa,OAAOQ,GAAjB,WAAqBD,EAAUP,IAAR,MAAU,GAAGQ,EAAEA,GAAGP,EAAE,CAAC,EAAEM,EAAEJ,EAAE,EAAEG,EAAEJ,CAAC,EAAE,CAAC,EAAEI,EAAEJ,EAAE,EAAEK,EAAEJ,CAAC,CAAC,EAAET,EAAEH,CAAC,EAAE,MAAM,CAAC,EAAEI,EAAE,EAAE,EAAE,EAAEE,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,SAASsB,GAAE7B,EAAE,CAAC,OAAYA,IAAN,IAAQ,IAAI,GAAG,CAAM,MAAC8B,GAAE,SAAS9B,EAAE,CAAC,OAAgBA,IAAT,SAAaA,EAAE,CAAE,GAAE,CAAC,KAAK,QAAQ,QAAQA,EAAE,MAAM,GAAG,EAAE,CAAC,KAAK,CAAC,EAAEI,EAAE,EAAEC,EAAE,UAAUE,CAAC,EAAE,EAAE,CAAC,SAASQ,EAAE,GAAG,UAAUN,EAAE,GAAG,QAAQC,EAAE,CAAC,GAAGV,GAAG,CAAC,GAAG,CAAC,EAAEC,EAAE,EAAEC,CAAC,EAAEF,EAAE,MAAM,CAAC,EAAEC,EAAE,EAAEC,CAAC,CAAC,CAAC,EAAE,GAAGU,CAAC,EAAEN,GAAEN,EAAE,CAAC,EAAEa,EAAE,CAAC,EAAET,EAAE,EAAEC,CAAC,EAAES,EAAE,MAAMN,GAAE,EAAEI,CAAC,EAAEI,EAAEb,GAAED,GAAEK,CAAC,CAAC,EAAEU,EAAEY,GAAEb,CAAC,EAAE,IAAIE,EAAEL,EAAEG,CAAC,EAAEG,EAAEN,EAAEI,CAAC,EAAE,GAAGF,EAAE,CAAC,MAAMf,EAAQgB,IAAN,IAAQ,SAAS,QAAQE,EAAEP,GAAEO,EAAEJ,EAAQE,IAAN,IAAQ,MAAM,MAAM,EAAEE,EAAEA,EAAEJ,EAAEd,CAAC,CAAC,EAAE,GAAGS,EAAE,CAAC,MAAMT,EAAQiB,IAAN,IAAQ,SAAS,QAAQE,EAAER,GAAEQ,EAAEL,EAAQG,IAAN,IAAQ,MAAM,MAAM,EAAEE,EAAEA,EAAEL,EAAEd,CAAC,CAAC,EAAE,MAAMoB,EAAEV,EAAE,GAAG,CAAC,GAAG,EAAE,CAACM,CAAC,EAAEE,EAAE,CAACD,CAAC,EAAEE,CAAC,CAAC,EAAE,MAAM,CAAC,GAAGC,EAAE,KAAK,CAAC,EAAEA,EAAE,EAAEhB,EAAE,EAAEgB,EAAE,EAAEf,CAAC,CAAC,CAAC,CAAC,CAAC,ECArhT,SAASH,GAAEF,EAAE,CAAC,IAAI,EAAE,QAAc,EAAEA,EAAE,gBAAX,KAA0B,OAAO,EAAE,cAAc,MAAM,CAAC,SAASG,GAAEH,EAAE,CAAC,OAAOE,GAAEF,CAAC,EAAE,iBAAiBA,CAAC,CAAC,CAAC,SAASI,GAAEJ,EAAE,CAAC,OAAOA,aAAaE,GAAEF,CAAC,EAAE,IAAI,CAAC,SAASK,GAAEL,EAAE,CAAC,OAAOI,GAAEJ,CAAC,GAAGA,EAAE,UAAU,IAAI,YAAW,EAAG,WAAW,CAAC,SAASQ,GAAER,EAAE,CAAC,OAAOA,aAAaE,GAAEF,CAAC,EAAE,WAAW,CAAC,SAASO,GAAEP,EAAE,CAAC,OAAOA,aAAaE,GAAEF,CAAC,EAAE,OAAO,CAAC,SAASe,GAAEf,EAAE,CAAC,OAAmB,OAAO,WAApB,MAAiCA,aAAaE,GAAEF,CAAC,EAAE,YAAYA,aAAa,WAAW,CAAC,SAASS,GAAET,EAAE,CAAC,KAAK,CAAC,SAAS,EAAE,UAAUE,EAAE,UAAU,EAAE,QAAQG,CAAC,EAAEF,GAAEH,CAAC,EAAE,MAAM,kCAAkC,KAAK,EAAE,EAAEE,CAAC,GAAG,CAAC,CAAC,SAAS,UAAU,EAAE,SAASG,CAAC,CAAC,CAAC,SAASM,GAAEX,EAAE,CAAC,MAAM,CAAC,QAAQ,KAAK,IAAI,EAAE,SAASK,GAAEL,CAAC,CAAC,CAAC,CAAC,SAASa,GAAEb,EAAE,CAAC,MAAM,EAAEM,GAAG,EAACJ,EAAEC,GAAEH,CAAC,EAAE,OAAeE,EAAE,YAAX,QAA+BA,EAAE,cAAX,QAAwB,CAAC,GAAG,CAAC,CAACA,EAAE,gBAAyBA,EAAE,iBAAX,QAA2B,CAAC,GAAG,CAAC,CAACA,EAAE,QAAiBA,EAAE,SAAX,QAAmB,CAAC,YAAY,cAAc,QAAQ,EAAE,KAAMF,IAAIE,EAAE,YAAY,IAAI,SAASF,CAAC,CAAG,GAAE,CAAC,QAAQ,SAAS,SAAS,SAAS,EAAE,KAAMA,IAAIE,EAAE,SAAS,IAAI,SAASF,CAAC,CAAG,CAAA,CAAC,SAASM,IAAG,CAAC,MAAM,EAAe,OAAO,IAApB,KAAyB,CAAC,IAAI,WAAW,IAAI,SAAS,0BAA0B,MAAM,CAAC,CAAC,SAASU,GAAEhB,EAAE,CAAC,MAAM,CAAC,OAAO,OAAO,WAAW,EAAE,SAASK,GAAEL,CAAC,CAAC,CAAC,CAAC,MAAMc,GAAE,KAAK,IAAIF,GAAE,KAAK,IAAIF,GAAE,KAAK,MAAMO,GAAE,KAAK,MAAME,GAAEnB,IAAI,CAAC,EAAEA,EAAE,EAAEA,CAAC,GAAG,SAASkB,GAAElB,EAAE,CAAC,MAAM,EAAEG,GAAEH,CAAC,EAAE,IAAIE,EAAE,WAAW,EAAE,KAAK,GAAG,EAAE,EAAE,WAAW,EAAE,MAAM,GAAG,EAAE,MAAMG,EAAEG,GAAER,CAAC,EAAEO,EAAEF,EAAEL,EAAE,YAAYE,EAAEa,EAAEV,EAAEL,EAAE,aAAa,EAAES,EAAEC,GAAER,CAAC,IAAIK,GAAGG,GAAE,CAAC,IAAIK,EAAE,OAAON,IAAIP,EAAEK,EAAE,EAAEQ,GAAG,CAAC,MAAMb,EAAE,OAAO,EAAE,EAAEO,CAAC,CAAC,CAAC,SAASW,GAAEpB,EAAE,CAAC,OAAOO,GAAEP,CAAC,EAAEA,EAAEA,EAAE,cAAc,CAAC,SAASuB,GAAEvB,EAAE,CAAC,MAAM,EAAEoB,GAAEpB,CAAC,EAAE,GAAG,CAACQ,GAAE,CAAC,EAAE,OAAOW,GAAE,CAAC,EAAE,MAAMjB,EAAE,EAAE,sBAAqB,EAAG,CAAC,MAAMC,EAAE,OAAOC,EAAE,EAAE,CAAC,EAAEc,GAAE,CAAC,EAAE,IAAIX,GAAG,EAAEG,GAAER,EAAE,KAAK,EAAEA,EAAE,OAAOC,EAAEY,GAAG,EAAEL,GAAER,EAAE,MAAM,EAAEA,EAAE,QAAQE,EAAE,OAAOG,GAAG,OAAO,SAASA,CAAC,IAAIA,EAAE,GAAGQ,GAAG,OAAO,SAASA,CAAC,IAAIA,EAAE,GAAG,CAAC,EAAER,EAAE,EAAEQ,CAAC,CAAC,CAAC,MAAMa,GAAET,GAAE,CAAC,EAAE,SAASG,GAAEtB,EAAE,EAAEG,EAAE,CAAC,IAAI,EAAEE,EAAE,GAAY,IAAT,SAAa,EAAE,IAAI,CAACC,GAAG,EAAC,OAAOsB,GAAE,MAAMpB,EAAER,EAAEE,GAAEF,CAAC,EAAE,OAAO,MAAM,CAACG,GAAG,GAAGA,IAAIK,EAAEoB,GAAE,CAAC,IAAU,EAAEpB,EAAE,iBAAX,KAA2B,OAAO,EAAE,aAAa,EAAE,IAAUH,EAAEG,EAAE,iBAAX,KAA2B,OAAOH,EAAE,YAAY,CAAC,CAAC,CAAC,SAASqB,GAAEzB,EAAEE,EAAEC,EAAEC,EAAE,CAAUF,IAAT,SAAaA,EAAE,IAAaC,IAAT,SAAaA,EAAE,IAAI,MAAMI,EAAEP,EAAE,sBAAqB,EAAGc,EAAEK,GAAEnB,CAAC,EAAE,IAAIQ,EAAEU,GAAE,CAAC,EAAEhB,IAAIE,EAAEE,GAAEF,CAAC,IAAII,EAAEc,GAAElB,CAAC,GAAGI,EAAEc,GAAEtB,CAAC,GAAG,MAAMU,EAAEW,GAAEP,EAAEX,EAAEC,CAAC,EAAE,IAAIQ,GAAGL,EAAE,KAAKG,EAAE,GAAGF,EAAE,EAAEH,GAAGE,EAAE,IAAIG,EAAE,GAAGF,EAAE,EAAEO,EAAER,EAAE,MAAMC,EAAE,EAAEK,EAAEN,EAAE,OAAOC,EAAE,EAAE,GAAGM,EAAE,CAAC,MAAMf,EAAEE,GAAEa,CAAC,EAAEd,EAAEI,GAAGE,GAAEF,CAAC,EAAEH,GAAEG,CAAC,EAAEA,EAAE,IAAIF,EAAEH,EAAE,aAAa,KAAKG,GAAGE,GAAGJ,IAAID,GAAG,CAAC,MAAMA,EAAEuB,GAAEpB,CAAC,EAAEF,EAAEE,EAAE,sBAAuB,EAACC,EAAE,iBAAiBD,CAAC,EAAEE,EAAEJ,EAAE,MAAME,EAAE,WAAW,WAAWC,EAAE,WAAW,GAAGJ,EAAE,EAAEQ,EAAEP,EAAE,KAAKE,EAAE,UAAU,WAAWC,EAAE,UAAU,GAAGJ,EAAE,EAAEa,GAAGb,EAAE,EAAEM,GAAGN,EAAE,EAAEgB,GAAGhB,EAAE,EAAEc,GAAGd,EAAE,EAAEa,GAAGR,EAAEC,GAAGE,EAAEL,EAAED,GAAEC,CAAC,EAAE,cAAc,OAAOH,GAAE,CAAC,MAAMgB,EAAE,OAAOF,EAAE,EAAED,EAAE,EAAEP,CAAC,CAAC,CAAC,CAAC,SAAS4B,GAAElC,EAAE,CAAC,QAAQI,GAAEJ,CAAC,EAAEA,EAAE,cAAcA,EAAE,WAAW,OAAO,UAAU,eAAe,CAAC,SAASyB,GAAEzB,EAAE,CAAC,OAAOO,GAAEP,CAAC,EAAE,CAAC,WAAWA,EAAE,WAAW,UAAUA,EAAE,SAAS,EAAE,CAAC,WAAWA,EAAE,YAAY,UAAUA,EAAE,WAAW,CAAC,CAAC,SAASgC,GAAEhC,EAAE,CAAC,OAAO0B,GAAEQ,GAAElC,CAAC,CAAC,EAAE,KAAKyB,GAAEzB,CAAC,EAAE,UAAU,CAAC,SAASmC,GAAEnC,EAAE,CAAC,GAAYK,GAAEL,CAAC,IAAZ,OAAc,OAAOA,EAAE,MAAM,EAAEA,EAAE,cAAcA,EAAE,YAAYe,GAAEf,CAAC,GAAGA,EAAE,MAAMkC,GAAElC,CAAC,EAAE,OAAOe,GAAE,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC,SAASqB,GAAEpC,EAAE,CAAC,MAAM,EAAEmC,GAAEnC,CAAC,EAAE,OAAOgB,GAAE,CAAC,EAAEhB,EAAE,cAAcA,EAAE,cAAc,KAAKA,EAAE,KAAKQ,GAAE,CAAC,GAAGC,GAAE,CAAC,EAAE,EAAE2B,GAAE,CAAC,CAAC,CAAC,SAAST,GAAE3B,EAAE,EAAE,CAAC,IAAIG,EAAW,IAAT,SAAa,EAAE,CAAA,GAAI,MAAM,EAAEiC,GAAEpC,CAAC,EAAEK,EAAE,MAAYF,EAAEH,EAAE,gBAAX,KAA0B,OAAOG,EAAE,MAAMK,EAAEN,GAAE,CAAC,EAAE,OAAOG,EAAE,EAAE,OAAOG,EAAEA,EAAE,gBAAgB,CAAA,EAAGC,GAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAEkB,GAAE,CAAC,CAAC,CAAC,CAAC,SAASM,GAAEhC,EAAEG,EAAEC,EAAE,CAAC,IAAIU,EAAE,GAAgBX,IAAb,WAAeW,EAAE,SAASf,EAAEC,EAAE,CAAC,MAAM,EAAEC,GAAEF,CAAC,EAAEI,EAAE8B,GAAElC,CAAC,EAAEK,EAAE,EAAE,eAAe,IAAIG,EAAEJ,EAAE,YAAYG,EAAEH,EAAE,aAAaW,EAAE,EAAEN,EAAE,EAAE,GAAGJ,EAAE,CAACG,EAAEH,EAAE,MAAME,EAAEF,EAAE,OAAO,MAAML,EAAEM,GAAG,GAAE,CAACN,GAAGA,GAAaC,IAAV,WAAec,EAAEV,EAAE,WAAWI,EAAEJ,EAAE,WAAW,MAAM,CAAC,MAAMG,EAAE,OAAOD,EAAE,EAAEQ,EAAE,EAAEN,CAAC,CAAC,EAAER,EAAEI,CAAC,UAAuBD,IAAb,WAAeW,EAAE,SAASf,EAAE,CAAC,MAAMC,EAAEiC,GAAElC,CAAC,EAAEE,EAAEuB,GAAEzB,CAAC,EAAEI,EAAEJ,EAAE,cAAc,KAAKK,EAAEO,GAAEX,EAAE,YAAYA,EAAE,YAAYG,EAAE,YAAYA,EAAE,WAAW,EAAEI,EAAEI,GAAEX,EAAE,aAAaA,EAAE,aAAaG,EAAE,aAAaA,EAAE,YAAY,EAAE,IAAIG,EAAE,CAACL,EAAE,WAAW8B,GAAEhC,CAAC,EAAE,MAAMe,EAAE,CAACb,EAAE,UAAU,OAAcC,GAAEC,CAAC,EAAE,YAAb,QAAyBG,GAAGK,GAAEX,EAAE,YAAYG,EAAE,WAAW,EAAEC,GAAG,CAAC,MAAMA,EAAE,OAAOG,EAAE,EAAED,EAAE,EAAEQ,CAAC,CAAC,EAAEmB,GAAEjC,CAAC,CAAC,UAAUM,GAAEH,CAAC,EAAEW,EAAE,SAASf,EAAEC,EAAE,CAAC,MAAMC,EAAEwB,GAAE1B,EAAE,GAAaC,IAAV,OAAW,EAAEE,EAAED,EAAE,IAAIF,EAAE,UAAUI,EAAEF,EAAE,KAAKF,EAAE,WAAWK,EAAEG,GAAER,CAAC,EAAEuB,GAAEvB,CAAC,EAAEmB,GAAE,CAAC,EAAE,MAAM,CAAC,MAAMnB,EAAE,YAAYK,EAAE,EAAE,OAAOL,EAAE,aAAaK,EAAE,EAAE,EAAED,EAAEC,EAAE,EAAE,EAAEF,EAAEE,EAAE,CAAC,CAAC,EAAED,EAAEC,CAAC,MAAM,CAAC,MAAML,EAAEsB,GAAErB,CAAC,EAAEc,EAAE,CAAC,GAAGX,EAAE,EAAEA,EAAE,EAAEJ,EAAE,EAAE,EAAEI,EAAE,EAAEJ,EAAE,CAAC,EAAE,OAAOA,GAAEe,CAAC,CAAC,CAAC,SAASe,GAAE9B,EAAE,EAAE,CAAC,MAAME,EAAEiC,GAAEnC,CAAC,EAAE,MAAM,EAAEE,IAAI,GAAG,CAACK,GAAEL,CAAC,GAAGc,GAAEd,CAAC,KAAeC,GAAED,CAAC,EAAE,WAAf,SAAyB4B,GAAE5B,EAAE,CAAC,EAAE,CAAC,SAASmC,GAAErC,EAAE,EAAE,CAAC,OAAOQ,GAAER,CAAC,GAAaG,GAAEH,CAAC,EAAE,WAAf,QAAwB,EAAE,EAAEA,CAAC,EAAEA,EAAE,aAAa,IAAI,CAAC,SAASwB,GAAExB,EAAE,EAAE,CAAC,MAAMI,EAAEF,GAAEF,CAAC,EAAE,GAAG,CAACQ,GAAER,CAAC,EAAE,OAAOI,EAAE,IAAIG,EAAE8B,GAAErC,EAAE,CAAC,EAAE,KAAKO,GAAGI,GAAEJ,CAAC,GAAcJ,GAAEI,CAAC,EAAE,WAAhB,UAA0BA,EAAE8B,GAAE9B,EAAE,CAAC,EAAE,OAAOA,IAAaF,GAAEE,CAAC,IAAZ,QAAwBF,GAAEE,CAAC,IAAZ,QAA0BJ,GAAEI,CAAC,EAAE,WAAhB,UAA0B,CAACM,GAAEN,CAAC,GAAGH,EAAEG,GAAG,SAASP,EAAE,CAAC,IAAIC,EAAEkC,GAAEnC,CAAC,EAAE,KAAKQ,GAAEP,CAAC,GAAG,CAACe,GAAEf,CAAC,GAAG,CAAC,GAAGY,GAAEZ,CAAC,EAAE,OAAOA,EAAEA,EAAEkC,GAAElC,CAAC,EAAE,OAAO,IAAI,EAAED,CAAC,GAAGI,CAAC,CAAC,SAASkC,GAAEtC,EAAE,EAAEE,EAAE,CAAC,MAAMC,EAAEK,GAAE,CAAC,EAAEJ,EAAE8B,GAAE,CAAC,EAAE3B,EAAYL,IAAV,QAAYa,EAAEW,GAAE1B,EAAE,GAAGO,EAAE,CAAC,EAAE,IAAII,EAAE,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,MAAME,EAAEM,GAAE,CAAC,EAAE,GAAGhB,GAAG,CAACA,GAAG,CAACI,EAAE,IAAaF,GAAE,CAAC,IAAZ,QAAeI,GAAEL,CAAC,KAAKO,EAAEc,GAAE,CAAC,GAAGjB,GAAE,CAAC,EAAE,CAAC,MAAMR,EAAE0B,GAAE,EAAE,GAAGnB,EAAE,CAAC,EAAEM,EAAE,EAAEb,EAAE,EAAE,EAAE,WAAWa,EAAE,EAAEb,EAAE,EAAE,EAAE,eAAeI,IAAIS,EAAE,EAAEmB,GAAE5B,CAAC,GAAG,MAAM,CAAC,EAAEW,EAAE,KAAKJ,EAAE,WAAWE,EAAE,EAAE,EAAEE,EAAE,IAAIJ,EAAE,UAAUE,EAAE,EAAE,MAAME,EAAE,MAAM,OAAOA,EAAE,MAAM,CAAC,CAAC,MAAMwB,GAAE,CAAC,gBAAgB,SAASvC,EAAE,CAAC,GAAG,CAAC,QAAQ,EAAE,SAASE,EAAE,aAAa,EAAE,SAASM,CAAC,EAAER,EAAE,MAAMe,EAAwBb,IAAtB,oBAAwB,SAASF,EAAEC,EAAE,CAAC,MAAMC,EAAED,EAAE,IAAID,CAAC,EAAE,GAAGE,EAAE,OAAOA,EAAE,IAAIE,EAAEuB,GAAE3B,CAAC,EAAE,OAAQA,GAAGO,GAAEP,CAAC,GAAYK,GAAEL,CAAC,IAAZ,MAAa,EAAGQ,EAAE,KAAK,MAAMO,EAAYZ,GAAEH,CAAC,EAAE,WAAf,QAAwB,IAAIW,EAAEI,EAAEoB,GAAEnC,CAAC,EAAEA,EAAE,KAAKO,GAAEI,CAAC,GAAG,CAACK,GAAEL,CAAC,GAAG,CAAC,MAAMV,EAAEE,GAAEQ,CAAC,EAAET,EAAEW,GAAEF,CAAC,EAAET,GAAaD,EAAE,WAAZ,UAAuBO,EAAE,OAAOO,EAAE,CAACb,GAAG,CAACM,EAAE,CAACN,GAAcD,EAAE,WAAb,UAAuBO,GAAG,CAAC,WAAW,OAAO,EAAE,SAASA,EAAE,QAAQ,GAAGC,GAAEE,CAAC,GAAG,CAACT,GAAG4B,GAAE9B,EAAEW,CAAC,GAAGP,EAAEA,EAAE,OAAQJ,GAAGA,IAAIW,GAAIH,EAAEP,EAAEU,EAAEwB,GAAExB,CAAC,EAAE,OAAOV,EAAE,IAAID,EAAEI,CAAC,EAAEA,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE,CAAA,EAAG,OAAOF,CAAC,EAAES,EAAE,CAAC,GAAGI,EAAE,CAAC,EAAET,EAAEK,EAAE,CAAC,EAAED,EAAEC,EAAE,OAAQ,CAACX,EAAEE,IAAI,CAAC,MAAMC,EAAE8B,GAAE,EAAE/B,EAAEM,CAAC,EAAE,OAAOR,EAAE,IAAIY,GAAET,EAAE,IAAIH,EAAE,GAAG,EAAEA,EAAE,MAAMc,GAAEX,EAAE,MAAMH,EAAE,KAAK,EAAEA,EAAE,OAAOc,GAAEX,EAAE,OAAOH,EAAE,MAAM,EAAEA,EAAE,KAAKY,GAAET,EAAE,KAAKH,EAAE,IAAI,EAAEA,CAAC,EAAGiC,GAAE,EAAE3B,EAAEE,CAAC,CAAC,EAAE,MAAM,CAAC,MAAME,EAAE,MAAMA,EAAE,KAAK,OAAOA,EAAE,OAAOA,EAAE,IAAI,EAAEA,EAAE,KAAK,EAAEA,EAAE,GAAG,CAAC,EAAE,sDAAsD,SAASV,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,aAAaE,EAAE,SAASC,CAAC,EAAEH,EAAE,MAAMI,EAAEI,GAAEN,CAAC,EAAEK,EAAE2B,GAAEhC,CAAC,EAAE,GAAGA,IAAIK,EAAE,OAAO,EAAE,IAAIQ,EAAE,CAAC,WAAW,EAAE,UAAU,CAAC,EAAEJ,EAAEQ,GAAE,CAAC,EAAE,MAAMN,EAAEM,GAAE,CAAC,EAAE,IAAIf,GAAG,CAACA,GAAaD,IAAV,YAAyBE,GAAEH,CAAC,IAAZ,QAAeO,GAAEF,CAAC,KAAKQ,EAAEU,GAAEvB,CAAC,GAAGM,GAAEN,CAAC,GAAG,CAAC,MAAMF,EAAE0B,GAAExB,CAAC,EAAES,EAAEY,GAAErB,CAAC,EAAEW,EAAE,EAAEb,EAAE,EAAEE,EAAE,WAAWW,EAAE,EAAEb,EAAE,EAAEE,EAAE,UAAU,MAAM,CAAC,MAAM,EAAE,MAAMS,EAAE,EAAE,OAAO,EAAE,OAAOA,EAAE,EAAE,EAAE,EAAE,EAAEA,EAAE,EAAEI,EAAE,WAAWJ,EAAE,EAAEE,EAAE,EAAE,EAAE,EAAE,EAAEF,EAAE,EAAEI,EAAE,UAAUJ,EAAE,EAAEE,EAAE,CAAC,CAAC,EAAE,UAAUN,GAAE,cAAc,SAASP,EAAE,CAAC,OAAOkB,GAAElB,CAAC,CAAC,EAAE,gBAAgBwB,GAAE,mBAAmBU,GAAE,SAASX,GAAE,MAAM,gBAAgBvB,EAAE,CAAC,GAAG,CAAC,UAAU,EAAE,SAASE,EAAE,SAASC,CAAC,EAAEH,EAAE,MAAMI,EAAE,KAAK,iBAAiBoB,GAAE,EAAE,KAAK,cAAc,MAAM,CAAC,UAAUc,GAAE,EAAE,MAAMlC,EAAEF,CAAC,EAAEC,CAAC,EAAE,SAAS,CAAC,EAAE,EAAE,EAAE,EAAE,GAAG,MAAM,EAAED,CAAC,CAAC,CAAC,CAAC,EAAE,eAAeF,GAAG,MAAM,KAAKA,EAAE,eAAc,CAAE,EAAE,MAAMA,GAAWG,GAAEH,CAAC,EAAE,YAAb,KAAsB,EAAE,SAAS+B,GAAE/B,EAAE,EAAEE,EAAEC,EAAE,CAAUA,IAAT,SAAaA,EAAE,CAAE,GAAE,KAAK,CAAC,eAAeC,EAAE,GAAG,eAAe,EAAE,GAAG,cAAcI,EAAE,GAAG,YAAY,EAAc,OAAO,sBAAnB,WAAwC,eAAeO,EAAE,EAAE,EAAEZ,EAAEM,EAAEW,GAAEpB,CAAC,EAAEW,EAAEP,GAAG,EAAE,CAAC,GAAGK,EAAEkB,GAAElB,CAAC,EAAE,CAAE,EAAC,GAAGkB,GAAE,CAAC,CAAC,EAAE,CAAE,EAAChB,EAAE,QAASX,GAAG,CAACI,GAAGJ,EAAE,iBAAiB,SAASE,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,GAAGF,EAAE,iBAAiB,SAASE,CAAC,CAAC,CAAG,EAAC,MAAMW,EAAEJ,GAAG,EAAE,SAAST,EAAEC,EAAE,CAAC,IAAIC,EAAEC,EAAE,KAAK,MAAMC,EAAE8B,GAAElC,CAAC,EAAE,SAASK,GAAG,CAAC,aAAaH,CAAC,EAAEC,GAAGA,EAAE,WAAY,EAACA,EAAE,IAAI,CAAC,OAAO,SAASK,EAAED,EAAEQ,EAAE,CAAUR,IAAT,SAAaA,EAAE,IAAaQ,IAAT,SAAaA,EAAE,GAAGV,EAAC,EAAG,KAAK,CAAC,KAAKI,EAAE,IAAIE,EAAE,MAAME,EAAE,OAAOP,CAAC,EAAEN,EAAE,sBAAqB,EAAG,GAAGO,GAAGN,EAAG,EAAC,CAACY,GAAG,CAACP,EAAE,OAAO,MAAMU,EAAEC,GAAEN,CAAC,EAAED,EAAEO,GAAEb,EAAE,aAAaK,EAAEI,EAAE,EAAEM,EAAEF,GAAEb,EAAE,cAAcO,EAAEL,EAAE,EAAEY,EAAED,GAAER,CAAC,EAAE,IAAIW,EAAE,GAAGjB,EAAE,IAAI,qBAAsBH,GAAG,CAAC,MAAMC,EAAED,EAAE,CAAC,EAAE,kBAAkB,GAAGC,IAAIc,EAAE,CAAC,GAAG,CAACK,EAAE,OAAOZ,EAAC,EAAGP,EAAEO,EAAE,GAAGP,CAAC,EAAEC,EAAE,WAAY,IAAI,CAACM,EAAE,GAAG,IAAI,CAAC,EAAG,GAAG,EAAEY,EAAE,EAAE,EAAG,CAAC,WAAW,CAACJ,EAAE,MAAM,CAACN,EAAE,MAAM,CAACS,EAAE,MAAM,CAACD,EAAE,KAAK,UAAUN,GAAE,EAAEE,GAAE,EAAEC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAEZ,EAAE,QAAQH,CAAC,CAAC,EAAE,EAAE,EAAEK,CAAC,EAAEI,EAAEP,CAAC,EAAE,KAAK,IAAII,EAAEU,EAAE,KAAKR,IAAIQ,EAAE,IAAI,eAAed,CAAC,EAAEO,GAAG,CAACM,GAAGC,EAAE,QAAQP,CAAC,EAAEO,EAAE,QAAQ,CAAC,GAAG,IAAIN,EAAEK,EAAEW,GAAE1B,CAAC,EAAE,KAAK,OAAOe,GAAG,SAASd,GAAG,CAAC,MAAME,EAAEuB,GAAE1B,CAAC,EAAE,CAACU,GAAGP,EAAE,IAAIO,EAAE,GAAGP,EAAE,IAAIO,EAAE,GAAGP,EAAE,QAAQO,EAAE,OAAOP,EAAE,SAASO,EAAE,QAAQR,EAAG,EAACQ,EAAEP,EAAEG,EAAE,sBAAsBL,CAAC,CAAC,EAAG,EAACC,EAAC,EAAG,IAAI,CAACS,EAAE,QAASX,GAAG,CAACI,GAAGJ,EAAE,oBAAoB,SAASE,CAAC,EAAE,GAAGF,EAAE,oBAAoB,SAASE,CAAC,CAAC,CAAG,EAACW,GAAGA,EAAG,EAACG,GAAGA,EAAE,WAAY,EAACA,EAAE,KAAKD,GAAG,qBAAqBT,CAAC,CAAC,CAAC,CAAM,MAACkC,GAAE,CAACxC,EAAEE,EAAEC,IAAI,CAAC,MAAM,EAAE,IAAI,IAAIE,EAAE,CAAC,SAASkC,GAAE,GAAGpC,CAAC,EAAEK,EAAE,CAAC,GAAGH,EAAE,SAAS,GAAG,CAAC,EAAE,OAAOJ,GAAED,EAAEE,EAAE,CAAC,GAAGG,EAAE,SAASG,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;6v4BCE3zP,MAAMiC,GAASC,GAAS,YAAY,CACzC,QAAS,GACT,OAAQ,sLACR,UAAW,6FACX,KAAM,0DACN,UAAW,+EACX,QAAS,GACT,UAAW,CACT,CAAC,WAAY,EAAE,GAAG,EAClB,CAAC,WAAY,EAAE,GAAG,CACnB,EACD,aAAc,CAAC,EAAE,EAAE,EAAE,EAAE,EACvB,gBAAiB,EACjB,UAAW,sWACX,WAAY,CAAC,EAAG,IAAIC,GAAgB,gCAAiC,GAAI,EAAE,CAAC,EAC5E,SAAU,CAAC,QAAU,CAAC,EAAE,CAAC,CAAC,EAC1B,UAAW,CACb,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1]} \ No newline at end of file diff --git a/assets/index-44ea4a9b.css b/assets/index-44ea4a9b.css new file mode 100644 index 0000000..6cbe78e --- /dev/null +++ b/assets/index-44ea4a9b.css @@ -0,0 +1 @@ +#lightboxModal.svelte-1turali.svelte-1turali{display:none;position:fixed;z-index:var(--layer-top);left:0;top:0;width:100%;height:100%;overflow:auto;background-color:#141414f2;flex-direction:column}#modalImage.svelte-1turali.svelte-1turali{overflow:hidden;user-drag:none}.modalControls.svelte-1turali.svelte-1turali{display:flex;gap:1em;padding:1em;background-color:#0003}.modalClose.svelte-1turali.svelte-1turali{margin-left:auto}.modalControls.svelte-1turali span.svelte-1turali{color:#fff;font-size:35px;font-weight:700;cursor:pointer;width:1em}.modalControls.svelte-1turali span.svelte-1turali:hover,.modalControls.svelte-1turali span.svelte-1turali:focus{color:#999;text-decoration:none}#lightboxModal.svelte-1turali>img.svelte-1turali{display:block;margin:auto;width:auto}.modalPrev.svelte-1turali.svelte-1turali,.modalNext.svelte-1turali.svelte-1turali{cursor:pointer;position:absolute;top:50%;width:auto;padding:60px;margin-top:-50px;color:#fff;font-weight:700;font-size:40px;transition:.3s ease;border-radius:0 3px 3px 0;user-select:none;-webkit-user-select:none}.modalNext.svelte-1turali.svelte-1turali{right:0;border-radius:3px 0 0 3px}.modalPrev.svelte-1turali.svelte-1turali:hover,.modalNext.svelte-1turali.svelte-1turali:hover{background-color:#b4b4b4cc}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.dark.svelte-54q1f4.svelte-54q1f4{--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-100);--color-accent-soft:var(--neutral-700);--background-fill-primary:var(--neutral-950);--background-fill-secondary:var(--neutral-900);--border-color-accent:var(--neutral-600);--border-color-primary:var(--neutral-700);--link-text-color-active:var(--secondary-500);--link-text-color:var(--secondary-500);--link-text-color-hover:var(--secondary-400);--link-text-color-visited:var(--secondary-600);--body-text-color-subdued:var(--neutral-400);--shadow-spread:1px;--block-background-fill:var(--neutral-800);--block-border-color:var(--border-color-primary);--block_border_width:None;--block-info-text-color:var(--body-text-color-subdued);--block-label-background-fill:var(--background-fill-secondary);--block-label-border-color:var(--border-color-primary);--block_label_border_width:None;--block-label-text-color:var(--neutral-200);--block_shadow:None;--block_title_background_fill:None;--block_title_border_color:None;--block_title_border_width:None;--block-title-text-color:var(--neutral-200);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel_border_width:None;--checkbox-background-color:var(--neutral-800);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-700);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-600);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:var(--background-fill-primary);--error-border-color:var(--border-color-primary);--error_border_width:None;--error-text-color:#ef4444;--input-background-fill:var(--neutral-800);--input-background-fill-focus:var(--secondary-600);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--neutral-700);--input-border-color-hover:var(--input-border-color);--input_border_width:None;--input-placeholder-color:var(--neutral-500);--input_shadow:None;--input-shadow-focus:0 0 0 var(--shadow-spread) var(--neutral-700), var(--shadow-inset);--loader_color:None;--slider_color:None;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-600));--table-border-color:var(--neutral-700);--table-even-background-fill:var(--neutral-950);--table-odd-background-fill:var(--neutral-900);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #dc2626, #b91c1c);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #dc2626, #dc2626);--button-cancel-border-color:#dc2626;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:white;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-500), var(--primary-600));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-500), var(--primary-500));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-600), var(--primary-700));--button-primary-border-color:var(--primary-500);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:white;--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--neutral-300);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-700));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-600));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-700), var(--neutral-800));--button-secondary-border-color:var(--neutral-600);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:white;--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-300);--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--block-border-width:1px;--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-border-radius:var(--radius-sm);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--error-border-width:1px;--input-border-width:1px;--input-padding:var(--spacing-xl);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--table-radius:var(--radius-lg);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.litegraph.graphdialog.svelte-54q1f4.svelte-54q1f4{min-height:1em;background-color:var(--litegraph-comfy-menu-bg)}.litegraph.graphdialog.svelte-54q1f4 button.svelte-54q1f4{margin-top:unset;vertical-align:unset;height:1.6em;padding-right:8px}.litegraph.litesearchbox.svelte-54q1f4.svelte-54q1f4{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;overflow:hidden}.litegraph.lite-search-item.svelte-54q1f4.svelte-54q1f4{color:var(--litegraph-input-text);background-color:var(--litegraph-comfy-input-bg);filter:brightness(80%);padding-left:.2em}.litegraph.lite-search-item.generic_type.svelte-54q1f4.svelte-54q1f4{color:var(--litegraph-input-text);filter:brightness(50%)}.litemenu-entry.has_submenu.svelte-54q1f4.svelte-54q1f4:after{content:">";position:absolute;top:0;right:2px}.litegraph.litecontextmenu.svelte-54q1f4.svelte-54q1f4,.litegraph.litecontextmenu.dark.svelte-54q1f4.svelte-54q1f4{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;filter:brightness(95%)}.dark.svelte-54q1f4.svelte-54q1f4{color-scheme:dark;--input-border-color-focus:var(--neutral-500);--comfy-accent-soft:var(--neutral-600);--comfy-widget-selected-background-fill:var(--primary-500);--comfy-widget-hovered-background-fill:var(--neutral-600);--comfy-container-selected-background-fill:var(--primary-700);--comfy-container-hovered-background-fill:var(--neutral-500);--comfy-container-empty-background-fill:var(--color-grey-800);--comfy-container-empty-border-color:var(--color-grey-600);--comfy-disabled-label-color:var(--neutral-500);--comfy-disabled-textbox-background-fill:var(--neutral-800);--comfy-disabled-textbox-border-color:var(--neutral-700);--comfy-disabled-textbox-text-color:var(--neutral-500);--comfy-splitpanes-background-fill:var(--panel-border-color);--comfy-splitpanes-background-fill-hover:var(--secondary-500);--comfy-splitpanes-background-fill-active:var(--secondary-300);--comfy-dropdown-list-background:var(--neutral-800);--comfy-dropdown-item-color-hover:var(--neutral-400);--comfy-dropdown-item-background-hover:var(--neutral-600);--comfy-dropdown-item-background-active:var(--secondary-600);--comfy-dropdown-border-color:var(--neutral-600);--comfy-progress-bar-background:var(--neutral-500);--comfy-progress-bar-foreground:var(--secondary-400);--comfy-node-name-background:var(--neutral-700);--comfy-node-name-foreground:var(--body-text-color);--comfy-spinner-main-color:var(--neutral-600);--comfy-spinner-accent-color:var(--secondary-600);--f7-navbar-color:var(--body-text-color);--f7-navbar-bg-color:var(--neutral-800)}.container.svelte-54q1f4.svelte-54q1f4{background:var(--body-background-fill)!important}.container.selected.svelte-54q1f4.svelte-54q1f4{background:var(--ae-primary-color)!important}.sidebar.svelte-54q1f4.svelte-54q1f4{background:var(--neutral-900);width:100%;height:100%;display:flex;flex-direction:row;float:left;top:0px;padding:0}.hide.svelte-54q1f4.svelte-54q1f4{display:none}.sidebar-nav.svelte-54q1f4.svelte-54q1f4,.sidebar-rest.svelte-54q1f4.svelte-54q1f4{display:flex;position:relative;flex-wrap:wrap;white-space:nowrap;width:4rem;height:100%;background:var(--neutral-800)}.sidebar-nav.svelte-54q1f4>button.svelte-54q1f4{width:4rem;height:4rem;padding:.75rem;color:var(--neutral-600);border-right:3px solid transparent;display:flex;flex-direction:column;justify-content:center}.sidebar-nav.svelte-54q1f4>button.svelte-54q1f4:hover{background:var(--neutral-700);color:var(--neutral-500)}.sidebar-nav.svelte-54q1f4>button.selected.svelte-54q1f4{background:var(--neutral-700);color:var(--neutral-300);border-right-color:var(--primary-500)}.sidebar-rest.svelte-54q1f4.svelte-54q1f4{height:100%}.bar.svelte-54q1f4.svelte-54q1f4{display:block;position:absolute;bottom:-2px;left:0;z-index:999;background:var(--background-fill-primary);width:100%;height:2px;content:""}div.svelte-160dj62{position:relative}.sidebar-item.svelte-160dj62{width:calc(100% - 4rem);height:100%}div.splitpanes--horizontal.splitpanes--dragging{cursor:row-resize}div.splitpanes--vertical.splitpanes--dragging{cursor:col-resize}.splitpanes{display:flex;width:100%;height:100%}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging *{user-select:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical .splitpanes__pane{transition:width .2s ease-out}.splitpanes--horizontal .splitpanes__pane{transition:height .2s ease-out}.splitpanes--vertical>.splitpanes__pane{transition:width .2s ease-out}.splitpanes--horizontal>.splitpanes__pane{transition:height .2s ease-out}.splitpanes--dragging .splitpanes__pane{transition:none;pointer-events:none}.splitpanes--freeze .splitpanes__pane{transition:none}.splitpanes__splitter{touch-action:none}.splitpanes--vertical>.splitpanes__splitter{min-width:1px}.splitpanes--horizontal>.splitpanes__splitter{min-height:1px}.splitpanes.default-theme .splitpanes__pane{background-color:#f2f2f2}.splitpanes.default-theme .splitpanes__splitter{background-color:#fff;box-sizing:border-box;position:relative;flex-shrink:0}.splitpanes.default-theme .splitpanes__splitter:before,.splitpanes.default-theme .splitpanes__splitter:after{content:"";position:absolute;top:50%;left:50%;background-color:#00000026;transition:background-color .3s}.splitpanes.default-theme .splitpanes__splitter:hover:before,.splitpanes.default-theme .splitpanes__splitter:hover:after{background-color:#00000040}.splitpanes.default-theme .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{width:7px;border-left:1px solid #eee;cursor:col-resize}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{transform:translateY(-50%);width:1px;height:30px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{height:7px;border-top:1px solid #eee;cursor:row-resize}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{transform:translate(-50%);width:30px;height:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}.progress.svelte-14ema52{height:18px;margin:5px;text-align:center;color:var(--neutral-400);border:1px solid var(--neutral-500);padding:0;position:relative}.bar.svelte-14ema52{height:100%;background:var(--secondary-800)}.label.svelte-14ema52{font-size:8pt;position:absolute;margin:0;left:0;right:0;top:50%;transform:translateY(-50%)}.spacer.svelte-oqunb4{display:inline-block;width:0;height:0}.json-node.svelte-oqunb4{display:inline;color:var(--body-text-color);line-height:var(--line-sm);font-family:var(--font-mono)}.expand-array.svelte-oqunb4{border:1px solid var(--border-color-primary);border-radius:var(--radius-sm);background:var(--background-fill-secondary);padding:0 var(--size-1);color:var(--body-text-color)}.expand-array.svelte-oqunb4:hover{background:var(--background-fill-primary)}.children.svelte-oqunb4{padding-left:var(--size-4)}.json-item.svelte-oqunb4{display:inline}.null.svelte-oqunb4{color:var(--body-text-color-subdued)}.string.svelte-oqunb4{color:var(--color-green-500)}.number.svelte-oqunb4{color:var(--color-blue-500)}.bool.svelte-oqunb4{color:var(--color-red-500)}.json-holder.svelte-4lvb9m{padding:var(--size-2)}button.svelte-4lvb9m{display:flex;position:absolute;top:var(--block-label-margin);right:var(--block-label-margin);align-items:center;box-shadow:var(--shadow-drop);border:1px solid var(--border-color-primary);border-top:none;border-right:none;border-radius:var(--block-label-right-radius);background:var(--block-label-background-fill);padding:5px;width:22px;height:22px;overflow:hidden;color:var(--block-label-text-color);font:var(--font);font-size:var(--button-small-text-size)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.prompt-display.svelte-18ztfde.svelte-18ztfde{width:70vw;height:60vh;color:none;display:flex;flex-wrap:nowrap;overflow-y:auto;flex-direction:column}@media (min-width: 1600px){.prompt-display.svelte-18ztfde.svelte-18ztfde{flex-direction:row}}.prompt-and-sends.svelte-18ztfde.svelte-18ztfde{width:50%}.prompt-and-sends.svelte-18ztfde .scroll-container.svelte-18ztfde{position:relative;flex:1 1 0%}.prompt-and-sends.svelte-18ztfde .copy-button.svelte-18ztfde{display:flex;position:absolute;top:var(--block-label-margin);right:var(--block-label-margin);align-items:center;box-shadow:var(--shadow-drop);border:1px solid var(--border-color-primary);border-top:none;border-right:none;border-radius:var(--block-label-right-radius);background:var(--block-label-background-fill);padding:5px;width:30px;height:30px;overflow:hidden;color:var(--block-label-text-color);font:var(--font);font-size:var(--button-small-text-size)}@keyframes svelte-18ztfde--light-up{0%{color:var(--color-yellow-400)}to{color:none}}.prompt-and-sends.svelte-18ztfde .copied-icon.svelte-18ztfde,.prompt-and-sends.svelte-18ztfde .copied-icon.svelte-18ztfde .svelte-select{animation:light-up 1s ease-out}.prompt-and-sends.svelte-18ztfde>.block{background:var(--panel-background-fill)}.prompt-and-sends.svelte-18ztfde .accordion.svelte-18ztfde{background:var(--panel-background-fill)}.prompt-and-sends.svelte-18ztfde .accordion.svelte-18ztfde>.block .block{background:var(--panel-background-fill)}.outputs-message.svelte-18ztfde.svelte-18ztfde{padding:.5rem}.image-container.svelte-18ztfde.svelte-18ztfde{position:relative;flex:1 1 0%;width:50%}.image-container.svelte-18ztfde>.block{height:100%}.image-container.svelte-18ztfde>.block>.preview{height:100%;max-height:none!important}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}dialog.svelte-fuqno1.svelte-fuqno1{max-width:75vw;border-radius:.2em;border:none;padding:0;overflow:hidden}dialog.svelte-fuqno1.svelte-fuqno1::backdrop{background:rgba(0,0,0,.3)}dialog.svelte-fuqno1>div.svelte-fuqno1{padding:1em}dialog[open].svelte-fuqno1.svelte-fuqno1{animation:svelte-fuqno1-zoom .3s cubic-bezier(.34,1.56,.64,1)}@keyframes svelte-fuqno1-zoom{0%{transform:scale(.95)}to{transform:scale(1)}}dialog[open].svelte-fuqno1.svelte-fuqno1::backdrop{animation:svelte-fuqno1-fade .2s ease-out}@keyframes svelte-fuqno1-fade{0%{opacity:0}to{opacity:1}}.button-row.svelte-fuqno1.svelte-fuqno1{display:flex;flex-direction:row;padding-top:.5em;gap:var(--spacing-md)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.dark.svelte-1tt1dcm.svelte-1tt1dcm{--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-100);--color-accent-soft:var(--neutral-700);--background-fill-primary:var(--neutral-950);--background-fill-secondary:var(--neutral-900);--border-color-accent:var(--neutral-600);--border-color-primary:var(--neutral-700);--link-text-color-active:var(--secondary-500);--link-text-color:var(--secondary-500);--link-text-color-hover:var(--secondary-400);--link-text-color-visited:var(--secondary-600);--body-text-color-subdued:var(--neutral-400);--shadow-spread:1px;--block-background-fill:var(--neutral-800);--block-border-color:var(--border-color-primary);--block_border_width:None;--block-info-text-color:var(--body-text-color-subdued);--block-label-background-fill:var(--background-fill-secondary);--block-label-border-color:var(--border-color-primary);--block_label_border_width:None;--block-label-text-color:var(--neutral-200);--block_shadow:None;--block_title_background_fill:None;--block_title_border_color:None;--block_title_border_width:None;--block-title-text-color:var(--neutral-200);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel_border_width:None;--checkbox-background-color:var(--neutral-800);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-700);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-600);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:var(--background-fill-primary);--error-border-color:var(--border-color-primary);--error_border_width:None;--error-text-color:#ef4444;--input-background-fill:var(--neutral-800);--input-background-fill-focus:var(--secondary-600);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--neutral-700);--input-border-color-hover:var(--input-border-color);--input_border_width:None;--input-placeholder-color:var(--neutral-500);--input_shadow:None;--input-shadow-focus:0 0 0 var(--shadow-spread) var(--neutral-700), var(--shadow-inset);--loader_color:None;--slider_color:None;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-600));--table-border-color:var(--neutral-700);--table-even-background-fill:var(--neutral-950);--table-odd-background-fill:var(--neutral-900);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #dc2626, #b91c1c);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #dc2626, #dc2626);--button-cancel-border-color:#dc2626;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:white;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-500), var(--primary-600));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-500), var(--primary-500));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-600), var(--primary-700));--button-primary-border-color:var(--primary-500);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:white;--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--neutral-300);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-700));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-600));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-700), var(--neutral-800));--button-secondary-border-color:var(--neutral-600);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:white;--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-300);--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--block-border-width:1px;--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-border-radius:var(--radius-sm);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--error-border-width:1px;--input-border-width:1px;--input-padding:var(--spacing-xl);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--table-radius:var(--radius-lg);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.litegraph.graphdialog.svelte-1tt1dcm.svelte-1tt1dcm{min-height:1em;background-color:var(--litegraph-comfy-menu-bg)}.litegraph.graphdialog.svelte-1tt1dcm .name.svelte-1tt1dcm{font-size:14px;font-family:sans-serif;color:var(--litegraph-descrip-text)}.litegraph.graphdialog.svelte-1tt1dcm button.svelte-1tt1dcm{margin-top:unset;vertical-align:unset;height:1.6em;padding-right:8px}.litegraph.svelte-1tt1dcm .graphdialog input.svelte-1tt1dcm{background-color:var(--litegraph-comfy-input-bg);border:2px solid;border-color:var(--litegraph-border-color);color:var(--litegraph-input-text);border-radius:12px 0 0 12px}.litegraph.svelte-1tt1dcm .litemenu-entry.has_submenu.svelte-1tt1dcm{position:relative;padding-right:20px}.litegraph.litecontextmenu.svelte-1tt1dcm .litemenu-entry.svelte-1tt1dcm:hover:not(.disabled):not(.separator){background-color:var(--litegraph-comfy-menu-bg)!important;filter:brightness(155%);color:var(--litegraph-input-text)}.litegraph.litecontextmenu.svelte-1tt1dcm input.svelte-1tt1dcm{background-color:var(--litegraph-comfy-input-bg)!important;color:var(--litegraph-input-text)!important}.litegraph.litesearchbox.svelte-1tt1dcm.svelte-1tt1dcm{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;overflow:hidden}.litegraph.lite-search-item.svelte-1tt1dcm.svelte-1tt1dcm{color:var(--litegraph-input-text);background-color:var(--litegraph-comfy-input-bg);filter:brightness(80%);padding-left:.2em}.litegraph.lite-search-item.generic_type.svelte-1tt1dcm.svelte-1tt1dcm{color:var(--litegraph-input-text);filter:brightness(50%)}.litemenu-entry.has_submenu.svelte-1tt1dcm.svelte-1tt1dcm:after{content:">";position:absolute;top:0;right:2px}.litegraph.litecontextmenu.svelte-1tt1dcm.svelte-1tt1dcm,.litegraph.litecontextmenu.dark.svelte-1tt1dcm.svelte-1tt1dcm{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;filter:brightness(95%)}.litegraph.litecontextmenu.svelte-1tt1dcm .litemenu-entry.submenu.svelte-1tt1dcm,.litegraph.litecontextmenu.dark.svelte-1tt1dcm .litemenu-entry.submenu.svelte-1tt1dcm{background-color:var(--litegraph-comfy-menu-bg)!important;color:var(--litegraph-input-text)}.litegraph.litesearchbox.svelte-1tt1dcm input.svelte-1tt1dcm{background-color:var(--litegraph-comfy-input-bg)!important;color:var(--litegraph-input-text)}.dark.svelte-1tt1dcm.svelte-1tt1dcm{color-scheme:dark;--input-border-color-focus:var(--neutral-500);--comfy-accent-soft:var(--neutral-600);--comfy-widget-selected-background-fill:var(--primary-500);--comfy-widget-hovered-background-fill:var(--neutral-600);--comfy-container-selected-background-fill:var(--primary-700);--comfy-container-hovered-background-fill:var(--neutral-500);--comfy-container-empty-background-fill:var(--color-grey-800);--comfy-container-empty-border-color:var(--color-grey-600);--comfy-disabled-label-color:var(--neutral-500);--comfy-disabled-textbox-background-fill:var(--neutral-800);--comfy-disabled-textbox-border-color:var(--neutral-700);--comfy-disabled-textbox-text-color:var(--neutral-500);--comfy-splitpanes-background-fill:var(--panel-border-color);--comfy-splitpanes-background-fill-hover:var(--secondary-500);--comfy-splitpanes-background-fill-active:var(--secondary-300);--comfy-dropdown-list-background:var(--neutral-800);--comfy-dropdown-item-color-hover:var(--neutral-400);--comfy-dropdown-item-background-hover:var(--neutral-600);--comfy-dropdown-item-background-active:var(--secondary-600);--comfy-dropdown-border-color:var(--neutral-600);--comfy-progress-bar-background:var(--neutral-500);--comfy-progress-bar-foreground:var(--secondary-400);--comfy-node-name-background:var(--neutral-700);--comfy-node-name-foreground:var(--body-text-color);--comfy-spinner-main-color:var(--neutral-600);--comfy-spinner-accent-color:var(--secondary-600);--f7-navbar-color:var(--body-text-color);--f7-navbar-bg-color:var(--neutral-800)}input.svelte-1tt1dcm.svelte-1tt1dcm{color:var(--body-text-color);background:var(--input-background-fill);border:var(--input-border-width) solid var(--input-border-color)}input.svelte-1tt1dcm.svelte-1tt1dcm:not(input[type=radio]){border-radius:0!important}.container.svelte-1tt1dcm.svelte-1tt1dcm{background:var(--body-background-fill)!important}.container.selected.svelte-1tt1dcm.svelte-1tt1dcm{background:var(--ae-primary-color)!important}.container.selected.svelte-1tt1dcm>.block.padded.svelte-1tt1dcm{background:var(--ae-primary-color)!important}.container.svelte-1tt1dcm>.block.svelte-1tt1dcm{background:var(--body-background-fill)!important}.container.z-index0.svelte-1tt1dcm>.block.svelte-1tt1dcm{background:var(--panel-background-fill)!important}button.secondary.svelte-1tt1dcm.svelte-1tt1dcm:active{border-color:var(--button-secondary-border-color-active)!important;background:var(--button-secondary-background-fill-active)!important;color:var(--button-secondary-text-color-active)!important}.widget.svelte-1tt1dcm .block.svelte-1tt1dcm{background:var(--block-background-fill)!important}.list-wrapper.svelte-1tt1dcm.svelte-1tt1dcm{height:100%}.list-wrapper.queue-mode.svelte-1tt1dcm .list-entries.svelte-1tt1dcm>:first-child{margin-top:auto!important}.list-entries.svelte-1tt1dcm.svelte-1tt1dcm{--imageSize:40;height:100%;overflow-y:auto;display:flex;flex-flow:column nowrap}.list-entries.history-mode.svelte-1tt1dcm.svelte-1tt1dcm{height:calc(100% - 3.5rem)}.list-controls.svelte-1tt1dcm.svelte-1tt1dcm{height:3rem;position:relative;display:flex;flex-direction:column;margin:.25rem 1rem}.list-controls.svelte-1tt1dcm>div.svelte-1tt1dcm{width:100%;height:100%;display:flex;flex-direction:row;justify-content:center}.list-controls.svelte-1tt1dcm>div input.svelte-1tt1dcm{width:100%;margin:auto}.list-controls.svelte-1tt1dcm>div .button-wrapper.svelte-1tt1dcm{padding:.25rem}.list-controls.svelte-1tt1dcm>div .button-wrapper .clear-queue-button.svelte-1tt1dcm{border:1px solid var(--panel-border-color);font-weight:700;text-align:center;margin:auto;aspect-ratio:1/1;height:100%;padding:.25rem}.list-controls.svelte-1tt1dcm>div .button-wrapper .clear-queue-button.primary.svelte-1tt1dcm{background:var(--button-primary-background-fill)}.list-controls.svelte-1tt1dcm>div .button-wrapper .clear-queue-button.primary.svelte-1tt1dcm:hover:not(:disabled){background:var(--button-primary-background-fill-hover)}.list-controls.svelte-1tt1dcm>div .button-wrapper .clear-queue-button.secondary.svelte-1tt1dcm{background:var(--button-secondary-background-fill)}.list-controls.svelte-1tt1dcm>div .button-wrapper .clear-queue-button.secondary.svelte-1tt1dcm:hover:not(:disabled){background:var(--button-secondary-background-fill-hover)}.list-controls.svelte-1tt1dcm>div .button-wrapper .clear-queue-button.ternary.svelte-1tt1dcm{background:var(--panel-background-fill)}.list-controls.svelte-1tt1dcm>div .button-wrapper .clear-queue-button.ternary.svelte-1tt1dcm:hover:not(:disabled){background:var(--block-background-fill)}.list-controls.svelte-1tt1dcm>div .button-wrapper .clear-queue-button.ternary.selected.svelte-1tt1dcm{background:var(--panel-background-fill)}.list-controls.svelte-1tt1dcm>div .button-wrapper .clear-queue-button.svelte-1tt1dcm:hover:not(:disabled){filter:brightness(85%)}.list-controls.svelte-1tt1dcm>div .button-wrapper .clear-queue-button.svelte-1tt1dcm:active:not(:disabled){filter:brightness(50%)}.list-controls.svelte-1tt1dcm>div .button-wrapper .clear-queue-button.selected.svelte-1tt1dcm{color:var(--body-text-color);filter:none}.list-controls.svelte-1tt1dcm>div .button-wrapper .clear-queue-button.svelte-1tt1dcm:disabled:not(.selected){background:var(--neutral-700);color:var(--neutral-400);opacity:50%}.list-entry.svelte-1tt1dcm.svelte-1tt1dcm{padding:1rem;display:flex;flex-direction:row;border-bottom:1px solid var(--block-border-color);border-top:1px solid var(--table-border-color);background:var(--panel-background-fill);max-height:14rem;position:relative}.list-entry.svelte-1tt1dcm.svelte-1tt1dcm:hover:not(:has(img:hover)):not(:has(button:hover)){cursor:pointer;background:var(--block-background-fill)}.list-entry:hover:not(:has(img:hover)):not(:has(button:hover)).running.svelte-1tt1dcm.svelte-1tt1dcm{background:var(--comfy-accent-soft)}.list-entry.validation_failed.svelte-1tt1dcm.svelte-1tt1dcm{background:#551a1a}.list-entry.error.svelte-1tt1dcm.svelte-1tt1dcm{background:#401a40}.list-entry.all_cached.svelte-1tt1dcm.svelte-1tt1dcm,.list-entry.interrupted.svelte-1tt1dcm.svelte-1tt1dcm{filter:brightness(80%);background:var(--comfy-disabled-textbox-background-fill);color:var(--comfy-disable-textbox-text-color)}.list-entry.running.svelte-1tt1dcm.svelte-1tt1dcm{background:var(--block-background-fill);border:3px dashed var(--neutral-500)}.list-entry-delete-button.svelte-1tt1dcm.svelte-1tt1dcm{border:1px solid var(--panel-border-color);font-weight:700;margin:auto;display:flex;position:absolute;width:1.4rem;height:1.4rem;align-items:center;font-size:10pt;justify-content:center;text-align:center;top:0;right:.5rem;margin:.5rem;z-index:var(--layer-1);opacity:70%;background:var(--neutral-700);color:var(--neutral-300)}.list-entry-delete-button.primary.svelte-1tt1dcm.svelte-1tt1dcm{background:var(--button-primary-background-fill)}.list-entry-delete-button.primary.svelte-1tt1dcm.svelte-1tt1dcm:hover:not(:disabled){background:var(--button-primary-background-fill-hover)}.list-entry-delete-button.secondary.svelte-1tt1dcm.svelte-1tt1dcm{background:var(--button-secondary-background-fill)}.list-entry-delete-button.secondary.svelte-1tt1dcm.svelte-1tt1dcm:hover:not(:disabled){background:var(--button-secondary-background-fill-hover)}.list-entry-delete-button.ternary.svelte-1tt1dcm.svelte-1tt1dcm{background:var(--panel-background-fill)}.list-entry-delete-button.ternary.svelte-1tt1dcm.svelte-1tt1dcm:hover:not(:disabled){background:var(--block-background-fill)}.list-entry-delete-button.ternary.selected.svelte-1tt1dcm.svelte-1tt1dcm{background:var(--panel-background-fill)}.list-entry-delete-button.svelte-1tt1dcm.svelte-1tt1dcm:hover:not(:disabled){filter:brightness(85%)}.list-entry-delete-button.svelte-1tt1dcm.svelte-1tt1dcm:active:not(:disabled){filter:brightness(50%)}.list-entry-delete-button.selected.svelte-1tt1dcm.svelte-1tt1dcm{color:var(--body-text-color);filter:none}.list-entry-delete-button.svelte-1tt1dcm.svelte-1tt1dcm:disabled:not(.selected){background:var(--neutral-700);color:var(--neutral-400);opacity:50%}.list-entry-delete-button.svelte-1tt1dcm.svelte-1tt1dcm:hover{opacity:100%;color:var(--neutral-100)}.list-entry-rest.svelte-1tt1dcm.svelte-1tt1dcm{width:100%;position:relative}.list-entry-rest.all_cached.svelte-1tt1dcm.svelte-1tt1dcm,.list-entry-rest.interrupted.svelte-1tt1dcm.svelte-1tt1dcm{filter:brightness(80%);color:var(--comfy-accent-soft)}.list-entry-images.svelte-1tt1dcm.svelte-1tt1dcm{--cols:1;margin:auto;width:24rem;display:grid;display:inline-grid;grid-template-columns:repeat(var(--cols),1fr);grid-template-rows:repeat(var(--cols),1fr);column-gap:1px;row-gap:1px;vertical-align:top;flex-grow:1;flex-shrink:1;flex-basis:calc(var(--imageSize) * 1%)}.list-entry-images.svelte-1tt1dcm img.svelte-1tt1dcm{aspect-ratio:1/1;object-fit:cover}.list-entry-images.svelte-1tt1dcm img.svelte-1tt1dcm:hover{cursor:pointer;filter:brightness(120%) contrast(120%)}.list-entry-details.svelte-1tt1dcm.svelte-1tt1dcm{position:relative;padding:1rem;width:100%;display:flex;flex-direction:column;justify-content:center;white-space:nowrap}.list-entry-message.svelte-1tt1dcm.svelte-1tt1dcm{font-size:15px}.list-entry-submessage.svelte-1tt1dcm.svelte-1tt1dcm{font-size:12px}.list-entry-queued-at.svelte-1tt1dcm.svelte-1tt1dcm{width:auto;font-size:12px;position:absolute;right:0px;bottom:0px;padding:.4rem .6rem;color:var(--body-text-color)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.dark.svelte-tn15mb.svelte-tn15mb{--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-100);--color-accent-soft:var(--neutral-700);--background-fill-primary:var(--neutral-950);--background-fill-secondary:var(--neutral-900);--border-color-accent:var(--neutral-600);--border-color-primary:var(--neutral-700);--link-text-color-active:var(--secondary-500);--link-text-color:var(--secondary-500);--link-text-color-hover:var(--secondary-400);--link-text-color-visited:var(--secondary-600);--body-text-color-subdued:var(--neutral-400);--shadow-spread:1px;--block-background-fill:var(--neutral-800);--block-border-color:var(--border-color-primary);--block_border_width:None;--block-info-text-color:var(--body-text-color-subdued);--block-label-background-fill:var(--background-fill-secondary);--block-label-border-color:var(--border-color-primary);--block_label_border_width:None;--block-label-text-color:var(--neutral-200);--block_shadow:None;--block_title_background_fill:None;--block_title_border_color:None;--block_title_border_width:None;--block-title-text-color:var(--neutral-200);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel_border_width:None;--checkbox-background-color:var(--neutral-800);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-700);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-600);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:var(--background-fill-primary);--error-border-color:var(--border-color-primary);--error_border_width:None;--error-text-color:#ef4444;--input-background-fill:var(--neutral-800);--input-background-fill-focus:var(--secondary-600);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--neutral-700);--input-border-color-hover:var(--input-border-color);--input_border_width:None;--input-placeholder-color:var(--neutral-500);--input_shadow:None;--input-shadow-focus:0 0 0 var(--shadow-spread) var(--neutral-700), var(--shadow-inset);--loader_color:None;--slider_color:None;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-600));--table-border-color:var(--neutral-700);--table-even-background-fill:var(--neutral-950);--table-odd-background-fill:var(--neutral-900);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #dc2626, #b91c1c);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #dc2626, #dc2626);--button-cancel-border-color:#dc2626;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:white;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-500), var(--primary-600));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-500), var(--primary-500));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-600), var(--primary-700));--button-primary-border-color:var(--primary-500);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:white;--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--neutral-300);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-700));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-600));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-700), var(--neutral-800));--button-secondary-border-color:var(--neutral-600);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:white;--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-300);--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--block-border-width:1px;--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-border-radius:var(--radius-sm);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--error-border-width:1px;--input-border-width:1px;--input-padding:var(--spacing-xl);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--table-radius:var(--radius-lg);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.litegraph.graphdialog.svelte-tn15mb.svelte-tn15mb{min-height:1em;background-color:var(--litegraph-comfy-menu-bg)}.litegraph.graphdialog.svelte-tn15mb button.svelte-tn15mb{margin-top:unset;vertical-align:unset;height:1.6em;padding-right:8px}.litegraph.svelte-tn15mb .graphdialog input.svelte-tn15mb{background-color:var(--litegraph-comfy-input-bg);border:2px solid;border-color:var(--litegraph-border-color);color:var(--litegraph-input-text);border-radius:12px 0 0 12px}.litegraph.litecontextmenu.svelte-tn15mb input.svelte-tn15mb{background-color:var(--litegraph-comfy-input-bg)!important;color:var(--litegraph-input-text)!important}.litegraph.litesearchbox.svelte-tn15mb.svelte-tn15mb{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;overflow:hidden}.litegraph.lite-search-item.svelte-tn15mb.svelte-tn15mb{color:var(--litegraph-input-text);background-color:var(--litegraph-comfy-input-bg);filter:brightness(80%);padding-left:.2em}.litegraph.lite-search-item.generic_type.svelte-tn15mb.svelte-tn15mb{color:var(--litegraph-input-text);filter:brightness(50%)}.litemenu-entry.has_submenu.svelte-tn15mb.svelte-tn15mb:after{content:">";position:absolute;top:0;right:2px}.litegraph.litecontextmenu.svelte-tn15mb.svelte-tn15mb,.litegraph.litecontextmenu.dark.svelte-tn15mb.svelte-tn15mb{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;filter:brightness(95%)}.litegraph.litesearchbox.svelte-tn15mb input.svelte-tn15mb{background-color:var(--litegraph-comfy-input-bg)!important;color:var(--litegraph-input-text)}.dark.svelte-tn15mb.svelte-tn15mb{color-scheme:dark;--input-border-color-focus:var(--neutral-500);--comfy-accent-soft:var(--neutral-600);--comfy-widget-selected-background-fill:var(--primary-500);--comfy-widget-hovered-background-fill:var(--neutral-600);--comfy-container-selected-background-fill:var(--primary-700);--comfy-container-hovered-background-fill:var(--neutral-500);--comfy-container-empty-background-fill:var(--color-grey-800);--comfy-container-empty-border-color:var(--color-grey-600);--comfy-disabled-label-color:var(--neutral-500);--comfy-disabled-textbox-background-fill:var(--neutral-800);--comfy-disabled-textbox-border-color:var(--neutral-700);--comfy-disabled-textbox-text-color:var(--neutral-500);--comfy-splitpanes-background-fill:var(--panel-border-color);--comfy-splitpanes-background-fill-hover:var(--secondary-500);--comfy-splitpanes-background-fill-active:var(--secondary-300);--comfy-dropdown-list-background:var(--neutral-800);--comfy-dropdown-item-color-hover:var(--neutral-400);--comfy-dropdown-item-background-hover:var(--neutral-600);--comfy-dropdown-item-background-active:var(--secondary-600);--comfy-dropdown-border-color:var(--neutral-600);--comfy-progress-bar-background:var(--neutral-500);--comfy-progress-bar-foreground:var(--secondary-400);--comfy-node-name-background:var(--neutral-700);--comfy-node-name-foreground:var(--body-text-color);--comfy-spinner-main-color:var(--neutral-600);--comfy-spinner-accent-color:var(--secondary-600);--f7-navbar-color:var(--body-text-color);--f7-navbar-bg-color:var(--neutral-800)}input.svelte-tn15mb.svelte-tn15mb{color:var(--body-text-color);background:var(--input-background-fill);border:var(--input-border-width) solid var(--input-border-color)}input.svelte-tn15mb.svelte-tn15mb:not(input[type=radio]){border-radius:0!important}.container.svelte-tn15mb.svelte-tn15mb{background:var(--body-background-fill)!important}.container.selected.svelte-tn15mb.svelte-tn15mb{background:var(--ae-primary-color)!important}button.secondary.svelte-tn15mb.svelte-tn15mb:active{border-color:var(--button-secondary-border-color-active)!important;background:var(--button-secondary-background-fill-active)!important;color:var(--button-secondary-text-color-active)!important}.grid-wrapper.svelte-tn15mb.svelte-tn15mb{height:100%}.grid-controls.svelte-tn15mb.svelte-tn15mb{height:3rem;position:relative;display:flex;flex-direction:column;margin:.25rem 1rem}.grid-controls.svelte-tn15mb>div.svelte-tn15mb{width:100%;height:100%;display:flex;flex-direction:row}.grid-controls.svelte-tn15mb>div input.svelte-tn15mb{width:100%;margin:auto}.grid-controls.svelte-tn15mb>div .button-wrapper.svelte-tn15mb{padding:.25rem}.grid-controls.svelte-tn15mb>div .button-wrapper .clear-queue-button.svelte-tn15mb{border:1px solid var(--panel-border-color);font-weight:700;text-align:center;margin:auto;aspect-ratio:1/1;height:100%;padding:.25rem}.grid-controls.svelte-tn15mb>div .button-wrapper .clear-queue-button.secondary.svelte-tn15mb{background:var(--button-secondary-background-fill)}.grid-controls.svelte-tn15mb>div .button-wrapper .clear-queue-button.secondary.svelte-tn15mb:hover:not(:disabled){background:var(--button-secondary-background-fill-hover)}.grid-controls.svelte-tn15mb>div .button-wrapper .clear-queue-button.svelte-tn15mb:hover:not(:disabled){filter:brightness(85%)}.grid-controls.svelte-tn15mb>div .button-wrapper .clear-queue-button.svelte-tn15mb:active:not(:disabled){filter:brightness(50%)}.grid-controls.svelte-tn15mb>div .button-wrapper .clear-queue-button.svelte-tn15mb:disabled:not(.selected){background:var(--neutral-700);color:var(--neutral-400);opacity:50%}.grid-entries.svelte-tn15mb.svelte-tn15mb{height:calc(100% - 3.5rem);padding:0 var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);overflow-y:auto}.grid.svelte-tn15mb.svelte-tn15mb{--cols:3;width:100%;display:grid;position:relative;top:0px;grid-template-columns:repeat(var(--cols),minmax(0,1fr));grid-auto-rows:1fr;gap:var(--spacing-lg)}.grid-entry.svelte-tn15mb.svelte-tn15mb{display:flex;justify-content:center;align-items:center;aspect-ratio:1/1;object-fit:cover}.grid-entry-image.svelte-tn15mb.svelte-tn15mb{aspect-ratio:1/1;object-fit:cover;width:100%;max-width:unset}.grid-entry-image.svelte-tn15mb.svelte-tn15mb:hover{cursor:pointer;filter:brightness(120%) contrast(120%)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.dark.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-100);--color-accent-soft:var(--neutral-700);--background-fill-primary:var(--neutral-950);--background-fill-secondary:var(--neutral-900);--border-color-accent:var(--neutral-600);--border-color-primary:var(--neutral-700);--link-text-color-active:var(--secondary-500);--link-text-color:var(--secondary-500);--link-text-color-hover:var(--secondary-400);--link-text-color-visited:var(--secondary-600);--body-text-color-subdued:var(--neutral-400);--shadow-spread:1px;--block-background-fill:var(--neutral-800);--block-border-color:var(--border-color-primary);--block_border_width:None;--block-info-text-color:var(--body-text-color-subdued);--block-label-background-fill:var(--background-fill-secondary);--block-label-border-color:var(--border-color-primary);--block_label_border_width:None;--block-label-text-color:var(--neutral-200);--block_shadow:None;--block_title_background_fill:None;--block_title_border_color:None;--block_title_border_width:None;--block-title-text-color:var(--neutral-200);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel_border_width:None;--checkbox-background-color:var(--neutral-800);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-700);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-600);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:var(--background-fill-primary);--error-border-color:var(--border-color-primary);--error_border_width:None;--error-text-color:#ef4444;--input-background-fill:var(--neutral-800);--input-background-fill-focus:var(--secondary-600);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--neutral-700);--input-border-color-hover:var(--input-border-color);--input_border_width:None;--input-placeholder-color:var(--neutral-500);--input_shadow:None;--input-shadow-focus:0 0 0 var(--shadow-spread) var(--neutral-700), var(--shadow-inset);--loader_color:None;--slider_color:None;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-600));--table-border-color:var(--neutral-700);--table-even-background-fill:var(--neutral-950);--table-odd-background-fill:var(--neutral-900);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #dc2626, #b91c1c);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #dc2626, #dc2626);--button-cancel-border-color:#dc2626;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:white;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-500), var(--primary-600));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-500), var(--primary-500));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-600), var(--primary-700));--button-primary-border-color:var(--primary-500);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:white;--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--neutral-300);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-700));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-600));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-700), var(--neutral-800));--button-secondary-border-color:var(--neutral-600);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:white;--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-300);--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--block-border-width:1px;--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-border-radius:var(--radius-sm);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--error-border-width:1px;--input-border-width:1px;--input-padding:var(--spacing-xl);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--table-radius:var(--radius-lg);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.litegraph.graphdialog.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{min-height:1em;background-color:var(--litegraph-comfy-menu-bg)}.litegraph.litesearchbox.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;overflow:hidden}.litegraph.lite-search-item.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{color:var(--litegraph-input-text);background-color:var(--litegraph-comfy-input-bg);filter:brightness(80%);padding-left:.2em}.litegraph.lite-search-item.generic_type.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{color:var(--litegraph-input-text);filter:brightness(50%)}.litemenu-entry.has_submenu.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488:after{content:">";position:absolute;top:0;right:2px}.litegraph.litecontextmenu.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488,.litegraph.litecontextmenu.dark.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;filter:brightness(95%)}.dark.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{color-scheme:dark;--input-border-color-focus:var(--neutral-500);--comfy-accent-soft:var(--neutral-600);--comfy-widget-selected-background-fill:var(--primary-500);--comfy-widget-hovered-background-fill:var(--neutral-600);--comfy-container-selected-background-fill:var(--primary-700);--comfy-container-hovered-background-fill:var(--neutral-500);--comfy-container-empty-background-fill:var(--color-grey-800);--comfy-container-empty-border-color:var(--color-grey-600);--comfy-disabled-label-color:var(--neutral-500);--comfy-disabled-textbox-background-fill:var(--neutral-800);--comfy-disabled-textbox-border-color:var(--neutral-700);--comfy-disabled-textbox-text-color:var(--neutral-500);--comfy-splitpanes-background-fill:var(--panel-border-color);--comfy-splitpanes-background-fill-hover:var(--secondary-500);--comfy-splitpanes-background-fill-active:var(--secondary-300);--comfy-dropdown-list-background:var(--neutral-800);--comfy-dropdown-item-color-hover:var(--neutral-400);--comfy-dropdown-item-background-hover:var(--neutral-600);--comfy-dropdown-item-background-active:var(--secondary-600);--comfy-dropdown-border-color:var(--neutral-600);--comfy-progress-bar-background:var(--neutral-500);--comfy-progress-bar-foreground:var(--secondary-400);--comfy-node-name-background:var(--neutral-700);--comfy-node-name-foreground:var(--body-text-color);--comfy-spinner-main-color:var(--neutral-600);--comfy-spinner-accent-color:var(--secondary-600);--f7-navbar-color:var(--body-text-color);--f7-navbar-bg-color:var(--neutral-800)}.container.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{background:var(--body-background-fill)!important}.container.selected.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{background:var(--ae-primary-color)!important}.prompt-modal-header.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{padding-left:.2rem}.prompt-modal-header.svelte-18jx488 h1.svelte-18jx488.svelte-18jx488.svelte-18jx488{font-size:large}.queue.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{color:var(--body-text-color)}.queue.queue-mode.svelte-18jx488>.queue-entries.svelte-18jx488.svelte-18jx488.svelte-18jx488{height:calc(100vh - 324px - 5.9rem);max-height:calc(100vh - 324px - 5.9rem)}.queue.history-mode.svelte-18jx488>.queue-entries.svelte-18jx488.svelte-18jx488.svelte-18jx488{height:calc(100vh - 324px - 7.9rem);max-height:calc(100vh - 324px - 7.9rem)}.queue-entries.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{display:flex;flex-flow:column nowrap;height:calc(100vh - 324px - 5.9rem)}.queue-entries.svelte-18jx488>.queue-empty.svelte-18jx488.svelte-18jx488.svelte-18jx488{display:flex;color:var(--comfy-accent-soft);flex-direction:row;margin:auto;height:100%}.queue-entries.svelte-18jx488>.queue-empty.svelte-18jx488>.queue-empty-container.svelte-18jx488.svelte-18jx488{margin:auto;display:flex;flex-direction:column}.queue-entries.svelte-18jx488>.queue-empty.svelte-18jx488>.queue-empty-container.svelte-18jx488>.queue-empty-icon.svelte-18jx488{margin:auto}.queue-entries.svelte-18jx488>.queue-empty.svelte-18jx488>.queue-empty-container.svelte-18jx488>.queue-empty-message.svelte-18jx488{margin:auto;font-size:32px;font-weight:bolder}.display-mode-buttons.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{display:flex;flex-direction:row;top:0px;height:2rem;margin-bottom:auto}.display-mode-buttons.svelte-18jx488>.mode-button.svelte-18jx488.svelte-18jx488.svelte-18jx488{width:100%;color:var(--neutral-500)}.display-mode-buttons.svelte-18jx488>.mode-button.selected.svelte-18jx488.svelte-18jx488.svelte-18jx488{color:var(--body-text-color)}.mode-buttons.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{display:flex;flex-direction:row;justify-content:center;height:100%}.mode-buttons.svelte-18jx488>.mode-button.svelte-18jx488.svelte-18jx488.svelte-18jx488{width:100%}.mode-button.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{height:30px;padding:.2rem;border:1px solid var(--panel-border-color);font-weight:700;text-align:center;margin:auto}.mode-button.primary.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{background:var(--button-primary-background-fill)}.mode-button.primary.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488:hover:not(:disabled){background:var(--button-primary-background-fill-hover)}.mode-button.secondary.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{background:var(--button-secondary-background-fill)}.mode-button.secondary.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488:hover:not(:disabled){background:var(--button-secondary-background-fill-hover)}.mode-button.ternary.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{background:var(--panel-background-fill)}.mode-button.ternary.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488:hover:not(:disabled){background:var(--block-background-fill)}.mode-button.ternary.selected.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{background:var(--panel-background-fill)}.mode-button.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488:hover:not(:disabled){filter:brightness(85%)}.mode-button.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488:active:not(:disabled){filter:brightness(50%)}.mode-button.selected.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{color:var(--body-text-color);filter:none}.mode-button.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488:disabled:not(.selected){background:var(--neutral-700);color:var(--neutral-400);opacity:50%}.dark .mode-button.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{filter:none}.dark .mode-button.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488:hover{filter:brightness(120%)}.dark .mode-button.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488:active{filter:brightness(50%)}.dark .mode-button.selected.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{filter:brightness(150%)}.bottom.svelte-18jx488.svelte-18jx488.svelte-18jx488.svelte-18jx488{width:100%;height:200px;position:absolute}.bottom.svelte-18jx488 .node-name.svelte-18jx488.svelte-18jx488.svelte-18jx488{background-color:var(--comfy-node-name-background);color:var(--comfy-node-name-foreground);padding:.2em;margin:5px;display:flex;justify-content:center;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bottom.svelte-18jx488 .queue-remaining.svelte-18jx488.svelte-18jx488.svelte-18jx488{height:80px;width:100%;text-align:center;position:relative;display:flex;justify-content:space-evenly;align-items:center;background:var(--panel-background-fill)}.bottom.svelte-18jx488 .queue-remaining.queued.svelte-18jx488.svelte-18jx488.svelte-18jx488{height:84px}.bottom.svelte-18jx488 .queue-action-buttons.svelte-18jx488.svelte-18jx488.svelte-18jx488{margin:5px;height:20px}.bottom.svelte-18jx488 .queue-action-buttons.svelte-18jx488 button{border-radius:0!important}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.comfy-toggle-button.svelte-48q4pc{display:inline-flex;width:var(--size-12);height:var(--size-12)}.comfy-toggle-button.svelte-48q4pc>.secondary.lg{border:var(--button-border-width) solid var(--neutral-400)}.comfy-toggle-button.svelte-48q4pc>.primary.lg{border:var(--button-border-width) solid var(--primary-400)}.comfy-toggle-button.toggled.svelte-48q4pc svg{color:var(--button-primary-text-color)}.comfy-toggle-button.svelte-48q4pc svg{color:var(--button-secondary-text-color)}.menu.svelte-1gt2uth{z-index:var(--layer-top);position:absolute;display:grid;border:1px solid #0003;box-shadow:2px 2px 5px #0002;background:white}div.svelte-1seb56m{padding:4px 15px;cursor:default;font-size:14px;display:flex;align-items:center;grid-gap:5px}div.svelte-1seb56m:hover{background:#0002}div.disabled.svelte-1seb56m{color:#0006}div.disabled.svelte-1seb56m:hover{background:white}hr.svelte-gwcs5a{border-top:1px solid #0003;width:100%;margin:2px 0}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.comfy-workflow-view.svelte-1rvklz4.svelte-1rvklz4{width:100%;height:100%;overflow:auto}.no-workflows.svelte-1rvklz4.svelte-1rvklz4{width:100%;height:100%;justify-content:center;align-items:center;display:flex;position:relative;color:var(--body-text-color)}.no-workflows.svelte-1rvklz4>span.svelte-1rvklz4{margin:auto}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.dropzone.svelte-3evzto{box-sizing:border-box;display:none;position:absolute;width:100%;height:100%;left:0;top:0;z-index:99999;background:rgba(96,167,220,.5019607843);border:4px dashed #60a7dc}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.error-list.svelte-1f1oabo.svelte-1f1oabo{width:30%;height:70%;margin:1rem;position:absolute;right:0;bottom:0;border:1px solid #aaa;color:#ddd;background:#444;font-size:12pt}.error-list-header.svelte-1f1oabo.svelte-1f1oabo{width:100%;height:24px;margin:auto;border-bottom:1px solid #ccc;background:#282828;justify-content:center;text-align:center}.error-list-header.svelte-1f1oabo .error-list-close.svelte-1f1oabo{margin:auto;padding-right:6px;position:absolute;top:0;right:0}.error-list-scroll-container.svelte-1f1oabo.svelte-1f1oabo{height:calc(100% - 24px);overflow-y:auto}.error-node-details.svelte-1f1oabo.svelte-1f1oabo{font-size:14pt;color:#ddd;font-weight:700;padding:.7rem 1rem;background:#333}.error-node-parent.svelte-1f1oabo.svelte-1f1oabo{color:#aaa;font-size:12pt;font-weight:initial}.error-entries.svelte-1f1oabo.svelte-1f1oabo:not(.last):last-child{border-bottom:1px solid #ccc}.error-entry.svelte-1f1oabo.svelte-1f1oabo{opacity:100%;border-top:1px solid #ccc;padding:1rem}.error-details.svelte-1f1oabo.svelte-1f1oabo{width:100%;display:flex;flex-direction:row;gap:var(--spacing-md);vertical-align:bottom;position:relative}.error-details-wrapper.svelte-1f1oabo.svelte-1f1oabo{flex:5 1 0%}.error-message.svelte-1f1oabo.svelte-1f1oabo{color:#f66;text-decoration:underline}.error-message.execution-error.svelte-1f1oabo.svelte-1f1oabo{color:#e6e}.error-input.svelte-1f1oabo.svelte-1f1oabo{font-size:12pt}.jump-to-error.svelte-1f1oabo.svelte-1f1oabo{border:1px solid #ccc;background:#844;width:32px;height:32px;font-size:14pt;text-align:center;display:flex;position:relative;justify-content:center;margin-right:.3rem}.jump-to-error.execution-error.svelte-1f1oabo.svelte-1f1oabo{background:#848}.jump-to-error.locate.svelte-1f1oabo.svelte-1f1oabo{background:#488}.jump-to-error.svelte-1f1oabo>span.svelte-1f1oabo{margin:auto}.jump-to-error.svelte-1f1oabo.svelte-1f1oabo:hover{filter:brightness(120%)}.jump-to-error.svelte-1f1oabo.svelte-1f1oabo:active{filter:brightness(80%)}.error-traceback-wrapper.svelte-1f1oabo.svelte-1f1oabo{width:100%;margin-top:1rem;padding:.5rem;border:1px solid #888}.error-traceback-wrapper.svelte-1f1oabo .error-traceback.svelte-1f1oabo{font-size:10pt;overflow:auto;white-space:nowrap;background:#333}.error-traceback-wrapper.svelte-1f1oabo .error-traceback .error-traceback-contents.svelte-1f1oabo{width:100%;font-family:monospace!important;padding:1rem}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.wrapper.svelte-g3ewxz.svelte-g3ewxz{width:100%;height:100%}.canvas-wrapper.svelte-g3ewxz.svelte-g3ewxz{width:100%;height:calc(100% - 3em);background-color:#333}.bar.svelte-g3ewxz.svelte-g3ewxz{padding:.2em .5em;display:flex;align-items:center;width:100%;height:3em;background-color:#3a3a3a;border:2px solid #2A2A2A;gap:var(--layout-gap);margin-top:auto;overflow-x:auto}.bar.svelte-g3ewxz>.left.svelte-g3ewxz{flex-shrink:0}.bar.svelte-g3ewxz button.svelte-g3ewxz{color:#eee;border:1px solid #888;padding:2px 5px;background-color:#666}.bar.svelte-g3ewxz button.svelte-g3ewxz:hover{background-color:#999;border-color:#aaa}.bar.svelte-g3ewxz button.svelte-g3ewxz:active{background-color:#555;border-color:#777}.bar.svelte-g3ewxz button.svelte-g3ewxz:disabled{opacity:50%}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}input.svelte-1xg4716.svelte-1xg4716:not(input[type=radio]){border-radius:0!important}.number-wrapper.svelte-1xg4716.svelte-1xg4716,.number-wrapper.svelte-1xg4716 .number.svelte-1xg4716,.number-wrapper.svelte-1xg4716 .number input.svelte-1xg4716{width:100%}input.svelte-1xg4716.svelte-1xg4716{color:var(--body-text-color);background:var(--input-background-fill);border:var(--input-border-width) solid var(--input-border-color)}input[disabled].svelte-1xg4716.svelte-1xg4716{cursor:not-allowed}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.svelte-rpnjx9:not(.litegraph) select.svelte-rpnjx9{color:var(--body-text-color);background:var(--input-background-fill);border:var(--input-border-width) solid var(--input-border-color)}.select-wrapper.svelte-rpnjx9.svelte-rpnjx9,.select-wrapper.svelte-rpnjx9 .select.svelte-rpnjx9,.select-wrapper.svelte-rpnjx9 .select select.svelte-rpnjx9{width:100%}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.props.svelte-1y2pwge.svelte-1y2pwge.svelte-1y2pwge{width:100%;height:100%}.props-scroller.svelte-1y2pwge.svelte-1y2pwge.svelte-1y2pwge{width:100%;height:calc(100% - 2.5rem);overflow-x:hidden;overflow-y:auto}.props-entry.svelte-1y2pwge.svelte-1y2pwge.svelte-1y2pwge{padding-bottom:.5rem;padding-left:.5rem;padding-right:.5rem;display:flex;flex-direction:row}.target-name.svelte-1y2pwge.svelte-1y2pwge.svelte-1y2pwge{background:var(--input-background-fill);border-color:var(--input-border-color);white-space:nowrap;width:100%;display:flex;flex-direction:row}.target-name.svelte-1y2pwge .title.svelte-1y2pwge.svelte-1y2pwge{font-weight:700}.target-name.svelte-1y2pwge .title .type.svelte-1y2pwge.svelte-1y2pwge{padding-left:.25rem;font-weight:400}.target-name.svelte-1y2pwge>.target-title-wrapper.svelte-1y2pwge.svelte-1y2pwge{padding:.8rem 0 .8rem 1rem;display:flex;flex-direction:row;width:100%;text-align:center}.target-name.svelte-1y2pwge>.target-title-wrapper.svelte-1y2pwge>span.svelte-1y2pwge{display:flex;flex-direction:column;justify-content:center}.target-name.svelte-1y2pwge>.target-name-button.svelte-1y2pwge.svelte-1y2pwge{padding:.5rem}.target-name.svelte-1y2pwge>.target-name-button .mode-button.svelte-1y2pwge.svelte-1y2pwge{color:var(--comfy-accent-soft);width:2.5rem;height:2.5rem;margin:1rem;padding:.5rem;border:1px solid var(--panel-border-color);font-weight:700;text-align:center;margin:auto;color:var(--neutral-300)}.target-name.svelte-1y2pwge>.target-name-button .mode-button.ternary.svelte-1y2pwge.svelte-1y2pwge{background:var(--panel-background-fill)}.target-name.svelte-1y2pwge>.target-name-button .mode-button.ternary.svelte-1y2pwge.svelte-1y2pwge:hover:not(:disabled){background:var(--block-background-fill)}.target-name.svelte-1y2pwge>.target-name-button .mode-button.svelte-1y2pwge.svelte-1y2pwge:hover:not(:disabled){filter:brightness(85%)}.target-name.svelte-1y2pwge>.target-name-button .mode-button.svelte-1y2pwge.svelte-1y2pwge:active:not(:disabled){filter:brightness(50%)}.target-name.svelte-1y2pwge>.target-name-button .mode-button.svelte-1y2pwge.svelte-1y2pwge:disabled:not(.selected){background:var(--neutral-700);color:var(--neutral-400);opacity:50%}.target-name.svelte-1y2pwge>.target-name-button .mode-button.svelte-1y2pwge.svelte-1y2pwge:hover:not(:disabled){filter:brightness(120%)!important}.target-name.svelte-1y2pwge>.target-name-button .mode-button.svelte-1y2pwge.svelte-1y2pwge:active:not(:disabled){filter:brightness(50%)!important}.category-name.svelte-1y2pwge.svelte-1y2pwge.svelte-1y2pwge{background:var(--panel-background-fill);border-color:var(--panel-border-color);padding:.4rem 1rem}.target-name.svelte-1y2pwge.svelte-1y2pwge.svelte-1y2pwge,.category-name.svelte-1y2pwge.svelte-1y2pwge.svelte-1y2pwge{border-width:var(--block-border-width);color:var(--body-text-color)}.target-name.svelte-1y2pwge .type.svelte-1y2pwge.svelte-1y2pwge{color:var(--neutral-500)}input[type=text]:disabled{-webkit-text-fill-color:var(--comfy-disabled-textbox-text-color);background-color:var(--comfy-disabled-textbox-background-fill);border-color:var(--comfy-disabled-textbox-border-color);box-shadow:0 0 0 var(--shadow-spread) transparent,#00000014 0 2px 4px inset;cursor:not-allowed;color:var(--comfy-disabled-label-color)}textarea:disabled{-webkit-text-fill-color:var(--comfy-disabled-textbox-text-color);background-color:var(--comfy-disabled-textbox-background-fill);border-color:var(--comfy-disabled-textbox-border-color);box-shadow:0 0 0 var(--shadow-spread) transparent,#00000014 0 2px 4px inset;cursor:not-allowed;color:var(--comfy-disabled-label-color)}label:has(input:disabled)>span{color:var(--comfy-disabled-label-color)}label:has(textarea:disabled)>span{color:var(--comfy-disabled-label-color)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.template-list.svelte-8g5ifn.svelte-8g5ifn{height:100%}.template-entries.svelte-8g5ifn.svelte-8g5ifn{height:100%;display:flex;flex-flow:column nowrap;margin:auto}.template-list.svelte-8g5ifn.svelte-8g5ifn{overflow-y:auto}.template-category-header.svelte-8g5ifn.svelte-8g5ifn{color:var(--body-text-color);background:var(--block-background-fill);border-color:var(--panel-border-color);padding:.8rem 1rem;font-weight:700}.template-entry.svelte-8g5ifn.svelte-8g5ifn{min-width:12rem;padding:1rem;display:flex;flex-direction:column;border-bottom:1px solid var(--block-border-color);border-top:1px solid var(--table-border-color);color:var(--body-text-color);background:var(--panel-background-fill);max-height:14rem;position:relative;user-select:none;text-overflow:ellipsis;overflow:hidden;font-size:13pt}.template-entry.built-in.svelte-8g5ifn.svelte-8g5ifn{background:repeating-linear-gradient(45deg,var(--neutral-800),var(--neutral-800) 15px,rgba(31,41,55,.5019607843) 15px,rgba(31,41,55,.5019607843) 30px)}.template-entry.svelte-8g5ifn .template-desc.svelte-8g5ifn{opacity:65%;font-size:11pt}.template-entry.draggable.svelte-8g5ifn.svelte-8g5ifn{border:5px dashed var(--secondary-500);margin:.2em}.template-entry.svelte-8g5ifn.svelte-8g5ifn:hover:not(:has(img:hover)):not(:has(button:hover)){cursor:pointer;background:var(--block-background-fill)}.template-entry:hover:not(:has(img:hover)):not(:has(button:hover)).draggable.svelte-8g5ifn.svelte-8g5ifn{cursor:grab;background:var(--secondary-700)}.no-templates-container.svelte-8g5ifn.svelte-8g5ifn{display:flex;flex-direction:column;margin:auto;color:var(--comfy-accent-soft)}.no-templates-container.svelte-8g5ifn .no-templates-icon.svelte-8g5ifn{margin:auto;margin-bottom:1rem}.no-templates-container.svelte-8g5ifn .no-templates-message.svelte-8g5ifn{margin:auto;font-size:32px;font-weight:bolder}.template-drag-item-shadow.svelte-8g5ifn.svelte-8g5ifn{position:absolute;top:0;left:0;right:0;bottom:0;visibility:visible;border:1px dashed grey;background:lightblue;opacity:.5;margin:0}.storage-used.svelte-8g5ifn.svelte-8g5ifn{height:2.5rem;margin:5px;text-align:center;position:relative;padding:.1rem .5rem;display:flex;flex-direction:row;gap:var(--spacing-lg)}.storage-used.svelte-8g5ifn .storage-used-icon.svelte-8g5ifn{color:var(--neutral-500);margin:auto}.storage-used.svelte-8g5ifn .storage-used-bar-wrapper.svelte-8g5ifn{width:100%;background:var(--panel-background-fill);border:1px solid var(--neutral-700);position:relative}.storage-used.svelte-8g5ifn .storage-used-bar-wrapper .storage-used-bar.svelte-8g5ifn{height:100%;background:var(--neutral-700)}.storage-used.svelte-8g5ifn .storage-used-bar-wrapper .storage-used-bar .storage-used-label.svelte-8g5ifn{width:100%;color:var(--neutral-200);font-size:12pt;position:absolute;margin:0;left:0;right:0;top:50%;transform:translateY(-50%)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.pane.svelte-1kdb6m0.svelte-1kdb6m0{width:100%;height:100%}.pane.svelte-1kdb6m0 .pane-wrapper.svelte-1kdb6m0{width:100%;height:100%;overflow-x:hidden;overflow-y:auto}.pane.svelte-1kdb6m0 .pane-wrapper.has-switcher.svelte-1kdb6m0{height:calc(100% - 2.5rem)}.pane.svelte-1kdb6m0 .switcher.svelte-1kdb6m0{height:2.5rem;display:flex;flex-direction:row;color:var(--comfy-accent-soft)}.pane.svelte-1kdb6m0 .switcher .mode-button.svelte-1kdb6m0{height:100%;width:100%;padding:.5rem;border:1px solid var(--panel-border-color);font-weight:700;text-align:center;margin:auto}.pane.svelte-1kdb6m0 .switcher .mode-button.ternary.svelte-1kdb6m0{background:var(--panel-background-fill)}.pane.svelte-1kdb6m0 .switcher .mode-button.ternary.svelte-1kdb6m0:hover:not(:disabled){background:var(--block-background-fill)}.pane.svelte-1kdb6m0 .switcher .mode-button.ternary.selected.svelte-1kdb6m0{background:var(--panel-background-fill)}.pane.svelte-1kdb6m0 .switcher .mode-button.svelte-1kdb6m0:hover:not(:disabled){filter:brightness(85%)}.pane.svelte-1kdb6m0 .switcher .mode-button.svelte-1kdb6m0:active:not(:disabled){filter:brightness(50%)}.pane.svelte-1kdb6m0 .switcher .mode-button.selected.svelte-1kdb6m0{color:var(--body-text-color);filter:none}.pane.svelte-1kdb6m0 .switcher .mode-button.svelte-1kdb6m0:disabled:not(.selected){background:var(--neutral-700);color:var(--neutral-400);opacity:50%}.pane.svelte-1kdb6m0 .switcher .mode-button.svelte-1kdb6m0:hover{color:var(--body-text-color)}.pane.svelte-1kdb6m0 .switcher .mode-button.selected.svelte-1kdb6m0{background-color:var(--panel-background-fill)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}input.svelte-ajxsor.svelte-ajxsor.svelte-ajxsor{color:var(--body-text-color);background:var(--input-background-fill);border:var(--input-border-width) solid var(--input-border-color)}input.svelte-ajxsor.svelte-ajxsor.svelte-ajxsor:not(input[type=radio]){border-radius:0!important}.comfy-app-loading.svelte-ajxsor.svelte-ajxsor.svelte-ajxsor,.comfy-loading-error.svelte-ajxsor.svelte-ajxsor.svelte-ajxsor{font-size:40px;color:var(--body-text-color);justify-content:center;margin:auto;width:100%;height:100%;text-align:center;flex-direction:column;display:flex;position:absolute;z-index:100000000;background:rgba(0,0,0,.5);pointer-events:none;user-select:none;top:0px}.comfy-app-loading.svelte-ajxsor>span.svelte-ajxsor.svelte-ajxsor{display:flex;flex-direction:row;justify-content:center}#comfy-content.svelte-ajxsor.svelte-ajxsor.svelte-ajxsor{grid-area:content;height:calc(100vh - 7.5rem)}#comfy-content.loading.svelte-ajxsor.svelte-ajxsor.svelte-ajxsor{pointer-events:none;user-select:none}#workflow-tabs.svelte-ajxsor.svelte-ajxsor.svelte-ajxsor,.workflow-tab-items.svelte-ajxsor.svelte-ajxsor.svelte-ajxsor{display:flex;overflow-x:auto}#workflow-tabs.svelte-ajxsor.svelte-ajxsor.svelte-ajxsor{background:var(--neutral-800);padding-right:1em;height:3rem}#workflow-tabs.svelte-ajxsor .workflow-tab.svelte-ajxsor.svelte-ajxsor{background:var(--neutral-800);color:var(--neutral-500);padding:.5rem 1rem;border-top:3px solid var(--neutral-600);border-left:1px solid var(--neutral-600);height:100%;display:flex;flex-direction:row;justify-content:center;text-align:center;gap:var(--size-4);cursor:pointer!important}#workflow-tabs.svelte-ajxsor .workflow-tab.svelte-ajxsor>span.svelte-ajxsor{margin:auto}#workflow-tabs.svelte-ajxsor .workflow-tab.svelte-ajxsor.svelte-ajxsor:hover:not(:has(.workflow-close-button:hover)){background:var(--neutral-700);color:var(--neutral-300)}#workflow-tabs.svelte-ajxsor .workflow-tab.selected.svelte-ajxsor.svelte-ajxsor{background:var(--neutral-700);color:var(--neutral-300);border-top-color:var(--primary-500);font-weight:700}#workflow-tabs.svelte-ajxsor .workflow-tab.svelte-ajxsor>.workflow-close-button.svelte-ajxsor{display:block;width:1.2rem;height:1.2rem;font-size:13px;margin:auto;border-radius:50%;opacity:50%;background:var(--neutral-500);color:var(--neutral-300)}#workflow-tabs.svelte-ajxsor .workflow-tab.svelte-ajxsor>.workflow-close-button.svelte-ajxsor:hover{opacity:100%;color:var(--neutral-100)}#workflow-tabs.svelte-ajxsor .workflow-add-new-button.svelte-ajxsor.svelte-ajxsor{background:var(--neutral-700);color:var(--neutral-400);opacity:50%;padding:.5rem;border-top:3px solid var(--neutral-600);aspect-ratio:1/1;height:100%;display:flex;flex-direction:row;justify-content:center;gap:var(--size-4)}#workflow-tabs.svelte-ajxsor .workflow-add-new-button.svelte-ajxsor.svelte-ajxsor:hover{filter:brightness(100%);opacity:100%;border-top-color:var(--neutral-600)}#bottombar.svelte-ajxsor.svelte-ajxsor.svelte-ajxsor{background:var(--neutral-900);border-left:2px solid var(--neutral-700);display:flex;width:100%;gap:var(--layout-gap);overflow-x:hidden;flex-wrap:nowrap;height:5rem}#bottombar.svelte-ajxsor>.bottombar-content.svelte-ajxsor.svelte-ajxsor{display:flex;flex-wrap:nowrap;width:100%;overflow-x:auto;margin:auto 0;padding-left:1rem}#bottombar.svelte-ajxsor>.bottombar-content.svelte-ajxsor>.left.svelte-ajxsor{flex-shrink:0}#bottombar.svelte-ajxsor>.bottombar-content.svelte-ajxsor>.right.svelte-ajxsor{margin-left:auto;margin-right:1rem;padding-left:1rem}.splitpanes.comfy>.splitpanes__splitter{background:var(--comfy-splitpanes-background-fill)}.splitpanes.comfy>.splitpanes__splitter:hover:not([disabled]){background:var(--comfy-splitpanes-background-fill-hover)}.splitpanes.comfy>.splitpanes__splitter:active:not([disabled]){background:var(--comfy-splitpanes-background-fill-active)}.splitpanes.comfy.splitpanes--horizontal>.splitpanes__splitter{min-height:1rem;cursor:row-resize}.splitpanes.comfy.splitpanes--vertical>.splitpanes__splitter{min-width:1rem;cursor:col-resize}.splitpanes.comfy{max-height:calc(100vh - 5rem);max-width:100vw}.splitpanes__pane{box-shadow:0 0 3px #0003 inset;justify-content:center;align-items:center;display:flex;position:relative}#comfy-file-input.svelte-ajxsor.svelte-ajxsor.svelte-ajxsor{display:none}.drag-item-shadow.svelte-ajxsor.svelte-ajxsor.svelte-ajxsor{visibility:visible;border:1px dashed grey;background:lightblue;opacity:.5;margin:0}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.buttons.svelte-19hxz9n{display:flex;flex-direction:row;gap:var(--spacing-md)}.modal-body.svelte-19hxz9n{overflow:auto}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}input.svelte-1sgq6sv.svelte-1sgq6sv{color:var(--body-text-color);background:var(--input-background-fill);border:var(--input-border-width) solid var(--input-border-color)}input.svelte-1sgq6sv.svelte-1sgq6sv:not(input[type=radio]){border-radius:0!important}.wrap.svelte-1sgq6sv.svelte-1sgq6sv{display:flex;flex-direction:column;width:100%;height:100%}.head.svelte-1sgq6sv.svelte-1sgq6sv{display:flex}.head.svelte-1sgq6sv>label.svelte-1sgq6sv{padding:.5rem 1rem}input[type=number].svelte-1sgq6sv.svelte-1sgq6sv{display:block;width:100%;position:relative;outline:none!important;box-shadow:var(--input-shadow);border:var(--input-border-width) solid var(--input-border-color);border-radius:var(--input-radius);background:var(--input-background-fill);padding:var(--input-padding);color:var(--body-text-color);font-size:var(--input-text-size);line-height:var(--line-sm)}input.svelte-1sgq6sv.svelte-1sgq6sv:disabled{-webkit-text-fill-color:var(--body-text-color);-webkit-opacity:1;opacity:1}input[type=number].svelte-1sgq6sv.svelte-1sgq6sv:focus{box-shadow:var(--input-shadow-focus);border-color:var(--input-border-color-focus)}input[type=number].svelte-1sgq6sv.svelte-1sgq6sv::-webkit-inner-spin-button,input[type=number].svelte-1sgq6sv.svelte-1sgq6sv::-webkit-outer-spin-button{opacity:100%}input.svelte-1sgq6sv.svelte-1sgq6sv::placeholder{color:var(--input-placeholder-color)}input[disabled].svelte-1sgq6sv.svelte-1sgq6sv{cursor:not-allowed}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.svelte-1r3delf:not(.litegraph) select.svelte-1r3delf{color:var(--body-text-color);background:var(--input-background-fill);border:var(--input-border-width) solid var(--input-border-color)}.comfy-settings.svelte-1r3delf.svelte-1r3delf{color:var(--body-text-color);display:flex;flex-direction:row;width:100%;height:100%}.comfy-settings-categories.svelte-1r3delf.svelte-1r3delf{width:20rem;height:100%;color:var(--neutral-500);background:var(--neutral-800);border-left:2px solid var(--comfy-splitpanes-background-fill)}.comfy-settings-category.svelte-1r3delf.svelte-1r3delf{padding:2rem 3rem;font-size:14pt;border-bottom:1px solid grey;cursor:pointer}.comfy-settings-category.selected.svelte-1r3delf.svelte-1r3delf{color:var(--body-text-color);background:var(--neutral-700)}.comfy-settings-main.svelte-1r3delf.svelte-1r3delf{width:100%;height:calc(100% - 5rem)}.comfy-settings-entries.svelte-1r3delf.svelte-1r3delf{padding:3rem;height:100%}.comfy-settings-entry.svelte-1r3delf.svelte-1r3delf{padding:1rem 3rem}.comfy-settings-entry.svelte-1r3delf .name.svelte-1r3delf{font-weight:700;font-size:13pt}.comfy-settings-entry.svelte-1r3delf .description.svelte-1r3delf{font-size:11pt;color:var(--neutral-400)}.comfy-settings-entry.svelte-1r3delf .ctrl.svelte-1r3delf{margin-top:.5rem;min-width:5rem;display:block}.comfy-settings-entry.svelte-1r3delf .ctrl.svelte-1r3delf:not(.checkbox){width:20rem}.comfy-settings-entry.svelte-1r3delf .ctrl.textbox.svelte-1r3delf span{display:block!important}.comfy-settings-entry.svelte-1r3delf .ctrl.checkbox.svelte-1r3delf{display:inline-flex!important;padding:0 .75rem}.comfy-settings-entry.svelte-1r3delf .ctrl.checkbox.svelte-1r3delf label{color:var(--neutral-400);font-size:11pt}.comfy-settings-entry.svelte-1r3delf .ctrl.enum select.svelte-1r3delf{-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml;utf8,");background-repeat:no-repeat;background-position-x:100%;background-position-y:8px}.comfy-settings-bottom-bar.svelte-1r3delf.svelte-1r3delf{background:var(--neutral-900);width:100%;border-top:2px solid var(--neutral-800);gap:var(--layout-gap);overflow-x:hidden;height:5rem;justify-content:center;padding:0 2rem;margin:auto;position:relative;flex-direction:column;display:flex}.comfy-settings-bottom-bar.svelte-1r3delf>div.svelte-1r3delf{width:100%;display:flex;gap:var(--layout-gap);margin:auto;flex-wrap:nowrap}.comfy-settings-bottom-bar.svelte-1r3delf .left.svelte-1r3delf{left:0}.comfy-settings-bottom-bar.svelte-1r3delf .right.svelte-1r3delf{margin-left:auto}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.dark.svelte-x6ngdp{--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-100);--color-accent-soft:var(--neutral-700);--background-fill-primary:var(--neutral-950);--background-fill-secondary:var(--neutral-900);--border-color-accent:var(--neutral-600);--border-color-primary:var(--neutral-700);--link-text-color-active:var(--secondary-500);--link-text-color:var(--secondary-500);--link-text-color-hover:var(--secondary-400);--link-text-color-visited:var(--secondary-600);--body-text-color-subdued:var(--neutral-400);--shadow-spread:1px;--block-background-fill:var(--neutral-800);--block-border-color:var(--border-color-primary);--block_border_width:None;--block-info-text-color:var(--body-text-color-subdued);--block-label-background-fill:var(--background-fill-secondary);--block-label-border-color:var(--border-color-primary);--block_label_border_width:None;--block-label-text-color:var(--neutral-200);--block_shadow:None;--block_title_background_fill:None;--block_title_border_color:None;--block_title_border_width:None;--block-title-text-color:var(--neutral-200);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel_border_width:None;--checkbox-background-color:var(--neutral-800);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-700);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-600);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:var(--background-fill-primary);--error-border-color:var(--border-color-primary);--error_border_width:None;--error-text-color:#ef4444;--input-background-fill:var(--neutral-800);--input-background-fill-focus:var(--secondary-600);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--neutral-700);--input-border-color-hover:var(--input-border-color);--input_border_width:None;--input-placeholder-color:var(--neutral-500);--input_shadow:None;--input-shadow-focus:0 0 0 var(--shadow-spread) var(--neutral-700), var(--shadow-inset);--loader_color:None;--slider_color:None;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-600));--table-border-color:var(--neutral-700);--table-even-background-fill:var(--neutral-950);--table-odd-background-fill:var(--neutral-900);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #dc2626, #b91c1c);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #dc2626, #dc2626);--button-cancel-border-color:#dc2626;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:white;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-500), var(--primary-600));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-500), var(--primary-500));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-600), var(--primary-700));--button-primary-border-color:var(--primary-500);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:white;--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--neutral-300);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-700));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-600));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-700), var(--neutral-800));--button-secondary-border-color:var(--neutral-600);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:white;--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-300);--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--block-border-width:1px;--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-border-radius:var(--radius-sm);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--error-border-width:1px;--input-border-width:1px;--input-padding:var(--spacing-xl);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--table-radius:var(--radius-lg);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}:root{--litegraph-fg-color:#000;--litegraph-bg-color:#fff;--litegraph-comfy-menu-bg:#353535;--litegraph-comfy-input-bg:#222;--litegraph-input-text:#ddd;--litegraph-descrip-text:#999;--litegraph-drag-text:#ccc;--litegraph-error-text:#ff4444;--litegraph-border-color:#4e4e4e}:root{--color-blue-500:#3985f5;--input-border-color-focus:var(--neutral-400);--comfy-accent-soft:var(--neutral-300);--comfy-widget-selected-background-fill:var(--color-yellow-100);--comfy-widget-hovered-background-fill:var(--secondary-200);--comfy-container-selected-background-fill:var(--color-yellow-300);--comfy-container-hovered-background-fill:var(--secondary-300);--comfy-container-empty-background-fill:var(--color-grey-300);--comfy-container-empty-border-color:var(--color-grey-400);--comfy-disabled-label-color:var(--neutral-400);--comfy-disabled-textbox-background-fill:var(--neutral-200);--comfy-disabled-textbox-border-color:var(--neutral-300);--comfy-disabled-textbox-text-color:var(--neutral-500);--comfy-splitpanes-background-fill:var(--secondary-100);--comfy-splitpanes-background-fill-hover:var(--secondary-300);--comfy-splitpanes-background-fill-active:var(--secondary-400);--comfy-dropdown-list-background:white;--comfy-dropdown-item-color-hover:white;--comfy-dropdown-item-background-hover:var(--neutral-400);--comfy-dropdown-item-color-active:var(--neutral-100);--comfy-dropdown-item-background-active:var(--secondary-600);--comfy-progress-bar-background:var(--neutral-300);--comfy-progress-bar-foreground:var(--secondary-300);--comfy-node-name-background:var(--color-blue-200);--comfy-node-name-foreground:var(--body-text-color);--comfy-spinner-main-color:var(--neutral-400);--comfy-spinner-accent-color:var(--secondary-500)}.dark.svelte-x6ngdp{color-scheme:dark;--input-border-color-focus:var(--neutral-500);--comfy-accent-soft:var(--neutral-600);--comfy-widget-selected-background-fill:var(--primary-500);--comfy-widget-hovered-background-fill:var(--neutral-600);--comfy-container-selected-background-fill:var(--primary-700);--comfy-container-hovered-background-fill:var(--neutral-500);--comfy-container-empty-background-fill:var(--color-grey-800);--comfy-container-empty-border-color:var(--color-grey-600);--comfy-disabled-label-color:var(--neutral-500);--comfy-disabled-textbox-background-fill:var(--neutral-800);--comfy-disabled-textbox-border-color:var(--neutral-700);--comfy-disabled-textbox-text-color:var(--neutral-500);--comfy-splitpanes-background-fill:var(--panel-border-color);--comfy-splitpanes-background-fill-hover:var(--secondary-500);--comfy-splitpanes-background-fill-active:var(--secondary-300);--comfy-dropdown-list-background:var(--neutral-800);--comfy-dropdown-item-color-hover:var(--neutral-400);--comfy-dropdown-item-background-hover:var(--neutral-600);--comfy-dropdown-item-background-active:var(--secondary-600);--comfy-dropdown-border-color:var(--neutral-600);--comfy-progress-bar-background:var(--neutral-500);--comfy-progress-bar-foreground:var(--secondary-400);--comfy-node-name-background:var(--neutral-700);--comfy-node-name-foreground:var(--body-text-color);--comfy-spinner-main-color:var(--neutral-600);--comfy-spinner-accent-color:var(--secondary-600);--f7-navbar-color:var(--body-text-color);--f7-navbar-bg-color:var(--neutral-800)}[data-is-dnd-shadow-item]{min-height:5rem}.dark .photo-browser-popup,.dark .photo-browser-popup-{background:var(--neutral-700)}.photo-browser-exposed .toolbar~.toolbar.photo-browser-thumbs{transform:translate3d(0,calc(var(--f7-toolbar-height) * 2),0)}#container.svelte-x6ngdp{height:100vh;max-width:100vw;display:relative;width:100%}.lgraphcanvas{user-select:none;-moz-user-select:none;-webkit-user-select:none;outline:none;font-family:Tahoma,sans-serif}.lgraphcanvas *{box-sizing:border-box}.litegraph.litecontextmenu{font-family:Tahoma,sans-serif;position:fixed;top:100px;left:100px;min-width:100px;color:#aaf;padding:0;box-shadow:0 0 10px #000!important;background-color:#2e2e2e!important;z-index:10}.litegraph.litecontextmenu.dark{background-color:#000!important}.litegraph.litecontextmenu .litemenu-title img{margin-top:2px;margin-left:2px;margin-right:4px}.litegraph.litecontextmenu .litemenu-entry{margin:2px;padding:2px}.litegraph.litecontextmenu .litemenu-entry.submenu{background-color:#2e2e2e!important}.litegraph.litecontextmenu.dark .litemenu-entry.submenu{background-color:#000!important}.litegraph .litemenubar ul{font-family:Tahoma,sans-serif;margin:0;padding:0}.litegraph .litemenubar li{font-size:14px;color:#999;display:inline-block;min-width:50px;padding-left:10px;padding-right:10px;user-select:none;-moz-user-select:none;-webkit-user-select:none;cursor:pointer}.litegraph .litemenubar li:hover{background-color:#777;color:#eee}.litegraph .litegraph .litemenubar-panel{position:absolute;top:5px;left:5px;min-width:100px;background-color:#444;box-shadow:0 0 3px #000;padding:4px;border-bottom:2px solid #aaf;z-index:10}.litegraph .litemenu-entry,.litemenu-title{font-size:12px;color:#aaa;margin:2px;padding:0 0 0 2px;-moz-user-select:none;-webkit-user-select:none;user-select:none;cursor:pointer}.litegraph .litemenu-entry .icon{display:inline-block;width:12px;height:12px;margin:2px;vertical-align:top}.litegraph .litemenu-entry.checked .icon{background-color:#aaf}.litegraph .litemenu-entry .more{float:right;padding-right:5px}.litegraph .litemenu-entry.disabled{opacity:.5;cursor:default}.litegraph .litemenu-entry.separator{display:block;border-top:1px solid #333;border-bottom:1px solid #666;width:100%;height:0px;margin:3px 0 2px;background-color:transparent;padding:0!important;cursor:default!important}.litegraph .litemenu-entry.has_submenu{border-right:2px solid cyan}.litegraph .litemenu-title{color:#dde;background-color:#111;margin:0;padding:2px;cursor:default}.litegraph .litemenu-entry:hover:not(.disabled):not(.separator){background-color:#444!important;color:#eee;transition:all .2s}.litegraph .litemenu-entry .property_name{display:inline-block;text-align:left;min-width:80px;min-height:1.2em}.litegraph .litemenu-entry .property_value{display:inline-block;background-color:#00000080;text-align:right;min-width:80px;min-height:1.2em;vertical-align:middle;padding-right:10px}.litegraph.litesearchbox{font-family:Tahoma,sans-serif;position:absolute;background-color:#00000080;padding-top:4px}.litegraph.litesearchbox input,.litegraph.litesearchbox select{margin-top:3px;min-width:60px;min-height:1.5em;background-color:#000;border:0;color:#fff;padding-left:10px;margin-right:5px}.litegraph.litesearchbox .name{display:inline-block;min-width:60px;min-height:1.5em;padding-left:10px}.litegraph.litesearchbox .helper{overflow:auto;max-height:200px;margin-top:2px}.litegraph.lite-search-item{font-family:Tahoma,sans-serif;background-color:#00000080;color:#fff;padding-top:2px}.litegraph.lite-search-item.not_in_filter{color:#b99;font-style:italic}.litegraph.lite-search-item.generic_type{color:#999;font-style:italic}.litegraph.lite-search-item:hover,.litegraph.lite-search-item.selected{cursor:pointer;background-color:#fff;color:#000}.litegraph .dialog{position:absolute;top:50%;left:50%;margin-top:-150px;margin-left:-200px;background-color:#2a2a2a;min-width:400px;min-height:200px;box-shadow:0 0 4px #111;border-radius:6px}.litegraph .dialog.settings{left:10px;top:10px;height:calc(100% - 20px);margin:auto;max-width:50%}.litegraph .dialog.centered{top:50px;left:50%;position:absolute;transform:translate(-50%);min-width:600px;min-height:300px;height:calc(100% - 100px);margin:auto}.litegraph .dialog .close{float:right;margin:4px 10px 4px 4px;cursor:pointer;font-size:1.4em}.litegraph .dialog .close:hover{color:#fff}.litegraph .dialog .dialog-header{color:#aaa;border-bottom:1px solid #161616}.litegraph .dialog .dialog-header{height:40px}.litegraph .dialog .dialog-footer{height:50px;padding:10px;border-top:1px solid #1a1a1a}.litegraph .dialog .dialog-header .dialog-title{font:20px Arial;margin:4px;padding:4px 10px;display:inline-block}.litegraph .dialog .dialog-content,.litegraph .dialog .dialog-alt-content{height:calc(100% - 90px);width:100%;min-height:100px;display:inline-block;color:#aaa;overflow:auto}.litegraph .dialog .dialog-content h3{margin:10px}.litegraph .dialog .dialog-content .connections{flex-direction:row}.litegraph .dialog .dialog-content .connections .connections_side{width:calc(50% - 5px);min-height:100px;background-color:#000;display:flex}.litegraph .dialog .node_type{font-size:1.2em;display:block;margin:10px}.litegraph .dialog .node_desc{opacity:.5;display:block;margin:10px}.litegraph .dialog .separator{display:block;width:calc(100% - 4px);height:1px;border-top:1px solid #000;border-bottom:1px solid #333;margin:10px 2px;padding:0}.litegraph .dialog .property{margin-bottom:2px;padding:4px}.litegraph .dialog .property:hover{background:#545454}.litegraph .dialog .property_name{color:#737373;display:inline-block;text-align:left;vertical-align:top;width:160px;padding-left:4px;overflow:hidden;margin-right:6px}.litegraph .dialog .property:hover .property_name{color:#fff}.litegraph .dialog .property_value{display:inline-block;text-align:right;color:#aaa;background-color:#1a1a1a;max-width:calc(100% - 162px);min-width:200px;max-height:300px;min-height:20px;padding:4px 12px 4px 4px;overflow:hidden;cursor:pointer;border-radius:3px}.litegraph .dialog .property_value:hover{color:#fff}.litegraph .dialog .property.boolean .property_value{padding-right:30px;color:#a88}.litegraph .dialog .property.boolean.bool-on .property_name,.litegraph .dialog .property.boolean.bool-on .property_value{color:#8a8}.litegraph .dialog .btn{border:0;border-radius:4px;padding:4px 20px;margin-left:0;background-color:#060606;color:#8e8e8e}.litegraph .dialog .btn:hover{background-color:#111;color:#fff}.litegraph .dialog .btn.delete:hover{background-color:#f33;color:#000}.litegraph .subgraph_property{padding:4px}.litegraph .subgraph_property:hover{background-color:#333}.litegraph .subgraph_property :disabled{opacity:.5;cursor:default}.litegraph .subgraph_property.extra{margin-top:8px}.litegraph .subgraph_property span.name{font-size:1.3em;padding-left:4px}.litegraph .subgraph_property span.type{opacity:.5;margin-right:20px;padding-left:4px}.litegraph .subgraph_property>select.type{margin-right:20px;padding-left:4px;background-color:#000;border:0}.litegraph .subgraph_property span.label{display:inline-block;width:60px;padding:0 10px}.litegraph .subgraph_property input,.litegraph .subgraph_property select{width:140px;color:#ccc;background-color:#1a1a1a;border:0;margin-right:10px;padding:4px 4px 4px 10px}.litegraph .subgraph_property button{background-color:#1c1c1c;color:#aaa;border:0;border-radius:2px;padding:4px 10px;cursor:pointer}.litegraph .subgraph_property.extra{color:#ccc}.litegraph .subgraph_property.extra input,.litegraph .subgraph_property.extra select{background-color:#111}.litegraph .bullet_icon{margin-left:10px;border-radius:10px;width:12px;height:12px;background-color:#666;display:inline-block;margin-top:2px;margin-right:4px;transition:background-color .1s ease 0s;-moz-transition:background-color .1s ease 0s}.litegraph .bullet_icon:hover{background-color:#698;cursor:pointer}.litegraph textarea{resize:both}.graphcontextmenu{padding:4px;min-width:100px}.graphcontextmenu-title{color:#dde;background-color:#222;margin:0;padding:2px;cursor:default}.graphmenu-entry{box-sizing:border-box;margin:2px;padding-left:20px;user-select:none;-moz-user-select:none;-webkit-user-select:none;transition:all linear .3s}.graphmenu-entry.event,.litemenu-entry.event{border-left:8px solid orange;padding-left:12px}.graphmenu-entry.disabled{opacity:.3}.graphmenu-entry.submenu{border-right:2px solid #eee}.graphmenu-entry:hover{background-color:#555}.graphmenu-entry.separator{background-color:#111;border-bottom:1px solid #666;height:1px;width:calc(100% - 20px);-moz-width:calc(100% - 20px);-webkit-width:calc(100% - 20px)}.graphmenu-entry .property_name{display:inline-block;text-align:left;min-width:80px;min-height:1.2em}.graphmenu-entry .property_value,.litemenu-entry .property_value{display:inline-block;background-color:#00000080;text-align:right;min-width:80px;min-height:1.2em;vertical-align:middle;padding-right:10px}.graphdialog{position:absolute;top:10px;left:10px;min-height:2em;background-color:#333;font-size:1.2em;box-shadow:0 0 10px #000!important;z-index:10}.graphdialog.rounded{border-radius:12px;padding-right:2px}.graphdialog .name{color:#888;display:inline-block;min-width:60px;min-height:1.5em;padding-left:10px}.graphdialog input,.graphdialog textarea,.graphdialog select{margin:3px;min-width:60px;min-height:1.5em;background-color:#000;border:0;color:#fff;padding-left:10px;outline:none}.graphdialog textarea{min-height:150px;resize:both}.graphdialog button{margin-top:3px;vertical-align:top;background-color:#999;border:0}.graphdialog button.rounded,.graphdialog input.rounded{border-radius:0 12px 12px 0}.graphdialog .helper{overflow:auto;max-height:200px}.graphdialog .help-item{padding-left:10px}.graphdialog .help-item:hover,.graphdialog .help-item.selected{cursor:pointer;background-color:#fff;color:#000}.litegraph .dialog{min-height:0}.litegraph .dialog .dialog-content{display:block}.litegraph .dialog .dialog-content .subgraph_property{padding:5px}.litegraph .dialog .dialog-footer{margin:0}.litegraph .dialog .dialog-footer .subgraph_property{margin-top:0;display:flex;align-items:center;padding:5px}.litegraph .dialog .dialog-footer .subgraph_property .name{flex:1}.litegraph .graphdialog{display:flex;align-items:center;border-radius:20px;padding:4px 10px;position:fixed}.litegraph .graphdialog .name{padding:0;min-height:0;font-size:16px;vertical-align:middle}.litegraph .graphdialog .value{font-size:16px;min-height:0;margin:0 10px;padding:2px 5px}.litegraph .graphdialog input[type=checkbox]{width:16px;height:16px}.litegraph .graphdialog button{padding:4px 18px;border-radius:20px;cursor:pointer}.litegraph .draggable .noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none} diff --git a/assets/index-693ac17f.css b/assets/index-693ac17f.css new file mode 100644 index 0000000..9565b4e --- /dev/null +++ b/assets/index-693ac17f.css @@ -0,0 +1 @@ +:root{--f7-safe-area-left: 0px;--f7-safe-area-right: 0px;--f7-safe-area-top: 0px;--f7-safe-area-bottom: 0px;--f7-safe-area-outer-left: 0px;--f7-safe-area-outer-right: 0px;--f7-device-pixel-ratio: 1}@supports (left: env(safe-area-inset-left)){:root{--f7-safe-area-top: env(safe-area-inset-top);--f7-safe-area-bottom: env(safe-area-inset-bottom)}:root .ios-left-edge,:root .ios-edges,:root .safe-area-left,:root .safe-areas,:root .popup,:root .sheet-modal,:root .panel-left{--f7-safe-area-left: env(safe-area-inset-left);--f7-safe-area-outer-left: env(safe-area-inset-left)}:root .ios-right-edge,:root .ios-edges,:root .safe-area-right,:root .safe-areas,:root .popup,:root .sheet-modal,:root .panel-right{--f7-safe-area-right: env(safe-area-inset-right);--f7-safe-area-outer-right: env(safe-area-inset-right)}:root .no-safe-areas,:root .no-safe-area-left,:root .no-ios-edges,:root .no-ios-left-edge{--f7-safe-area-left: 0px;--f7-safe-area-outer-left: 0px}:root .no-safe-areas,:root .no-safe-area-right,:root .no-ios-edges,:root .no-ios-right-edge{--f7-safe-area-right: 0px;--f7-safe-area-outer-right: 0px}}@media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 2dppx){:root{--f7-device-pixel-ratio: 2}}@media (-webkit-min-device-pixel-ratio: 3),(min-resolution: 3dppx){:root{--f7-device-pixel-ratio: 3}}:root{--f7-font-size: 14px;--f7-bars-translucent-opacity: .8;--f7-bars-translucent-blur: 20px}.ios{--f7-font-family: -apple-system, SF Pro Text, SF UI Text, system-ui, Helvetica Neue, Helvetica, Arial, sans-serif;--f7-line-height: 1.4;--f7-bars-text-color: #000;--f7-text-color: #000;--f7-bars-bg-color: #f7f7f8;--f7-bars-bg-color-rgb: 247, 247, 248;--f7-bars-border-color: rgba(0, 0, 0, .25)}.ios .dark,.ios.dark{--f7-bars-text-color: #fff;--f7-text-color: #fff;--f7-bars-bg-color: #121212;--f7-bars-bg-color-rgb: 22, 22, 22;--f7-bars-border-color: rgba(255, 255, 255, .16)}.md{--f7-font-family: Roboto, system-ui, Noto, Helvetica, Arial, sans-serif;--f7-line-height: 1.5;--f7-bars-border-color: transparent;--f7-text-color: #212121}.md .dark,.md.dark{--f7-text-color: rgba(255, 255, 255, .87)}.md,.md .dark,.md [class*=color-]{--f7-bars-link-color: var(--f7-md-on-surface);--f7-bars-bg-color: var(--f7-md-surface-2);--f7-bars-bg-color-rgb: var(--f7-md-surface-2-rgb)}.text-color-primary{--f7-theme-color-text-color: var(--f7-theme-color)}.bg-color-primary{--f7-theme-color-bg-color: var(--f7-theme-color)}.border-color-primary{--f7-theme-color-border-color: var(--f7-theme-color)}.ripple-color-primary{--f7-theme-color-ripple-color: rgba(var(--f7-theme-color-rgb), .3)}@font-face{font-family:framework7-core-icons;src:url(data:application/font-woff;charset=utf-8;base64,\ d09GRgABAAAAAA0sABAAAAAAGLwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABbAAAABoAAAAcmrEdT0dERUYAAAGIAAAAIwAAACQAewBXR1BPUwAAAawAAAAuAAAANuAY7+xHU1VCAAAB3AAAAZ4AAAP6ALYH7k9TLzIAAAN8AAAASgAAAGBRKF+WY21hcAAAA8gAAACJAAABYt6F0cBjdnQgAAAEVAAAAAQAAAAEABEBRGdhc3AAAARYAAAACAAAAAj//wADZ2x5ZgAABGAAAATOAAAKDJkUuoRoZWFkAAAJMAAAADAAAAA2IlX292hoZWEAAAlgAAAAIAAAACQHgQM7aG10eAAACYAAAABgAAABHCxp//lsb2NhAAAJ4AAAAJAAAACQQrpFRm1heHAAAApwAAAAHwAAACAAjQBPbmFtZQAACpAAAAFVAAAC3EU7ispwb3N0AAAL6AAAAUIAAAJaVPgZiHicY2BgYGQAgts30q6A6Ps50bYwGgBRFwa1AAB4nGNgZGBg4AFiGSBmAkJmBk0GRgYtBjcgmwUsxgAADWAA0wB4nGNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB4nHVTW07CQBQ9Q2vAJwhVGwW0UJEgvt+Kb+XDT3dAYjQmxA9DXIDLMC7CLz9dg3EJfrkLPDMF+pg0TTPTe84998ydWwgAIyiiDtFudZ6QgskIul1IRLQfH1qMwfsiZqo1BWF8IAkLL4lO4scwDddowGC8iia2kYbDp4gKd5Ncy3yKyPMrjxyuMBHAHdiYxgwZHrqK8QA6xxpTAyyNBdzgGW/4wq8wRUU0xb14Fe/iU3yLP9a2qGRhUeUXIuoZuCrucHdGtTDTrxTk7Wq8nHJWiPCOeM4wz8V8hLOscYLubMZKWCcvzpfHuNAY0Q6ucI3TkPh+D89iVt3OUsTnBm8grsI5xrRcz9dmD9GrNjSk38M1jGpq0uEBZ1LvppyvGu//kh4tpV7mm1Ycl6zcwMsxd3EMqX+C4RAuY3K6t3hKOa02fdt0lVF7z0GWfKltDarIjFP2qkx92UF/an18h5UyVJeRfnyI/ajSwy3ucMh8S+VmeeLwPdTYhSDmZdeVdz8qvV+zMzLHn5I9/p39iHe6JHOy3BXYSQelf3GmQG8AAHicY2Bh/MI4gYGVgYHRhzGNgYHBHUp/ZZBkaGFgYGJgZWaAAUYGJBCQ5prC0MCgwFDFeOD/AQY9ps+MxTA1jAfAShQYxABDtQxkAAB4nGNgYGBmgGAZBkYGEIgB8hjBfBYGByDNw8DBwARkKzDoMlgyxDNU/f8PFAXxDIC8xP///z/+f/3/1f8b/q+HmgAHjGwMcCFGJiDBxICmAGI1HLAwMLCysXNwcnHz8PIxEAP4GQQEhYRFRMXEJSSlpGVk5eQVFJWUVVTV1DU0iTKA1gAAxH4T6AAAAAARAUQAAAAB//8AAnic7VXPTxtHFJ63xh6DY++uf+yq0FJs1l6ktk7x2l4aDEaFEMkCUlXQUi5A6nAprYoqu1IVbG6gKNRVBUJBuUVqpeYSfGirHID2QhrVrWQ1UlXlRA+VWnri0EYK677ZtRMg/0EVaWZn3puZN2++9723hCMiIeQ6TBAboSS6BeRsqkybyN+xLYf9Qaps43BKtmxMbWfqMnXAo1QZmF4TNVHVxE5x5eO5OZgwbomgoTXAtmt2nIndbP5M90z3v9dxx3Q21L7GmWrShL0Z3oApzDCe+EiAEG/I4ZdiyXgkJvkdoUgcdJXK6lfjqdR46sZ8JjOfgUTbQltxAQZS4319429lmNJ4+PyHbe8uEOv+2neg4QVeQsIhnmNW0qBG4snYiyCBCgC/uzok186OSwq69vkyx+27pA7X9g7T7vOWv7U/YBe+wBrwHFqRqZpQHZ0hZkMK+KkcYh6ipzCwFFmi0fT52dmrl7ro1zNDQzODq0uRYoB2zV6dnT3fH6WDM4ODM6ZfJEK28a12QnwUTerb+byyuQlJc2j4fgibsEqceGsgyDbJFDaNuyWlUlFKv8Wtsb6XuOF7yDJ7Osig6iXgFaNSUibqI4HaQ8TiJcQCa5meTAO67+dBZtCehYgd8OX45u1t9v59/mew7TNMULaQYHf4yZ7ls47OqPreTaVYVL7BbyF8cj2Brsq0vhwuFBUTR2O1aY47JC4i44swlFTWZTSjch0KJ3iVjiavwHEDe8m9Rus1fjKONjbABjGwbWz8uac3lvRHDx6rjSO27WnMGGBYe3XYZDhpn+2yAXoQwAZmGeiBJBFQsMAwkTC5AW7qF5zfOv3OUeqRaC9EnYIfZRQlD+2tn5+H1yHCzpOTp/UkxD10hUrYPZIzl3NCxMMEpvPQXI6aeJApqOB59k8hfRAM2BPBAFQMDSqHmnZd0zBm/5J3yC/wCvEQghGTJR48gLfoSTkz0yIILe/bfY5zbg9/5trnfIuL/9IJdIA/4/ZY/k3DMNpnHEP2UPWmGRCImAOxuE0kGMKYuVm+YdCOMdtR5/XBpG9SeVUfG/tgbGuyv3+yf+lt32Q7SmN697k005zEgjELk8ukFWUJdwIIybPRgCGfR91JP5ENyAnLz+mbSqGgsBpR+wtuwTqiJJIXsCrUq4GP+dfJSkQaGNtUk5NXyouL5Sv3L2SzF4az2eHR9lFsI+0jI+2wvnh7cfG2cXT52uXsp9kfrCWzPcmhOfgI+UngsT1Zh7lSSWk0uHhMwPjUjB3ugNslrYTYRRM3Ue9nSUXBoYZUiCIXYjL0KPHwj964z+s17gVaW33GPS/4vAnve9xBazjceuSvMDnOVjkfJL0a7qz71E7uwCWGa9Li15PEvXOSUlHBuYJ8XXEKksUwYvKnB5yQYud9SB6MrskeiXH0H9G17HC10Itu3iHa05+4oNsl3G+m07zbzjlGdsVTdYpVIBWrk5LLwRQO+XydQ7UprsJFSDPjUFxIajFJwIt8xzK8urZera6vrRWSBWxF9n0ZuqpV49cq3CjqhYJeNL+nc9i8M5gIqhWWu8Zd6CnBKpvGzRy2Mf84Df1jOYRxExNWFrHOaUcVqyNq8SWzncZUsKjKctf6MSBJlylddlr0hDefwvQ/M6nleQAAeJxjYGRgYADis2XfmeP5bb4ycDMxgMD9nGhbGP3/x79eljSmz0AuBwNYGgBQ5wydeJxjYGRgYPr8r5dBjyXt/w8GBpY0BqAICnAHAJFTBcN4nGPYzSDIAAKrGAY1YAwAYh0gPgDk7APSs4D4EEjs/0+G40AxIGZJg4pbALETEJ8Fip/9/4PRDch2gYqB2KuBGKiW6c3//wy7gWyG/z9AZjKdhehnMgbqA4oDAJFZGHgAAAAqACoAKgA0AD4ASABSAFwAZgBwAHoAhACOAJgAogCsALYAwADKANQA3gDoAPIA/AEGARABGgEkAS4BOAFCAUwBVgFgAWoBdAF+AYgBkgGcAaYBsgHcAf4CKAI6AlACYgKCApICogLUAuoDCgMqAzwDWgNsA5ADrgO+A/IEDAQ8BFwEfASOBLYEzATmBQZ4nGNgZGBgcGeQY2BhAAEmIGZkAIk5MOiBBAAN5gDdAHicrZC9asMwFIWP8gftUDo00FFjEmIjawlkTcmSpXTwbhw3EYmtoARC6ON06Na9Q5+iY6FP0IfosaJChwwdYri6n6/Olc4VgCu8QuD49fAQWKCLl8ANXOIjcBNa3AVuoSueA7dxLT4Dd9Bt3FIpWhf8u/ddNQsM8BS4gRu8B25ijq/ALQzEPnAbUrwF7rD+jQksNjjAwWCBJXaQ9Jyjz6yhGBpDcoo1Mp5qUDIcKzOqM1JdL3mG8buY2M3BmcVyJ3t5X2ql9VCm62xuSuPkbJm5dVZuzJzKRzbXrQX2NOGwwggRr665IBnPFbaUuqws9tatRlFuXRGZ3FYsn9T+FUx9ceez43yFnyrmXBJjxv8tHPUJuyOuiuvv62Bqq93UukUhdazkWJ40y3qio0RF9YucY/aUOsd943WSZhSNxT7X4yEt3NbYSiqVxEopeYZLfwCb64ZqAAAAeJxtUIlOwkAUnAGVW4rch36M8b7v2zSlLdIIXbJdxL/HhbaBJm6yyb6ZebPzHlJYnvkcxH/nWF8ihTQMVFFDHQ000UIbHXTRwz4OcIgjrTvBKc5wjgtc4grXuMEt7nCPBzziCc94wSve8I4PfDLFNDe4yS1mmGWOeRZYZInbLNNghTusssY6G2yyxTY77LLHXe7lA9eS9tD0RFCxh+6PFL4pva+hWiC5iBw75ZgbuQOl65IlpZjFVUGz9ndf/Oq3kVBqk1LCtrhON3yhvIFnW8rTiD0SgbvoKIfmfaGUGGvLnLQcTyyYatztiJlvWlMppJUJhFRRxDBEiOdj7XRSiuYIicqKiJDium3ZcUeuck0ppr6z+D2q9dATJc0w23qW5aArozCDFhjJferVJJy1Yjs0i/nschKN15Kdofcf+xC0ZgAA) format("woff");font-weight:400;font-style:normal}html{overscroll-behavior:none}html,body,.framework7-root{position:relative;height:100%;width:100%;overflow-x:hidden}body{margin:0;padding:0;width:100%;background:#fff;overflow:hidden;overflow-y:scroll;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;font-family:var(--f7-font-family);font-size:var(--f7-font-size);line-height:var(--f7-line-height);color:var(--f7-text-color);scrollbar-width:none;scrollbar-color:transparent}body::-webkit-scrollbar{-webkit-appearance:none;appearance:none;width:0px;display:none;opacity:0;background:transparent}body::-webkit-scrollbar-track{box-shadow:none;background:transparent}body::-webkit-scrollbar-thumb{background-color:transparent;outline:none;border-radius:9999px;position:relative}.dark body,body.dark{background:#000}.dark{color:var(--f7-text-color)}.framework7-root{overflow:hidden;box-sizing:border-box}.framework7-initializing *,.framework7-initializing *:before,.framework7-initializing *:after{transition-duration:0ms!important}.device-ios,.device-android{cursor:pointer}.device-ios{touch-action:manipulation}@media (width: 1024px) and (height: 691px) and (orientation: landscape){html,body,.framework7-root{height:671px}}@media (width: 1024px) and (height: 692px) and (orientation: landscape){html,body,.framework7-root{height:672px}}*{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none}a,input,textarea,select{outline:0}a{cursor:pointer;text-decoration:none;color:var(--f7-theme-color)}.link,.item-link{cursor:pointer}p{margin:1em 0}.disabled{opacity:.55!important;pointer-events:none!important}html.device-full-viewport,html.device-full-viewport body{height:100vh}.ios .md-only,.ios .if-md,.ios .if-not-ios,.ios .not-ios{display:none!important}@media (width: 1024px) and (height: 691px) and (orientation: landscape){.ios,.ios body,.ios .framework7-root{height:671px}}@media (width: 1024px) and (height: 692px) and (orientation: landscape){.ios,.ios body,.ios .framework7-root{height:672px}}.md .ios-only,.md .if-ios,.md .if-not-md,.md .not-md{display:none!important}.views,.view{position:relative;height:100%;z-index:5000;overflow:hidden;box-sizing:border-box}.framework7-root>.view,.framework7-root>.views{height:100%}.view-resize-handler{width:6px;height:100%;position:absolute;left:var(--f7-page-master-width);margin-left:-3px;top:0;cursor:col-resize;z-index:1000;display:none}.view-master-detail .view-resize-handler{display:block}:root{--f7-page-master-width: 320px;--f7-page-master-border-color: rgba(0, 0, 0, .1);--f7-page-master-border-width: 1px;--f7-page-swipeback-transition-duration: .3s;--f7-page-parallax-transition-duration: .5s;--f7-page-cover-transition-duration: .45s;--f7-page-dive-transition-duration: .5s;--f7-page-fade-transition-duration: .5s;--f7-page-flip-transition-duration: .7s;--f7-page-push-transition-duration: .5s;--f7-page-title-line-height: 1.2;--f7-page-title-text-color: inherit;--f7-page-title-padding-left: 16px;--f7-page-title-padding-right: 16px}.ios{--f7-page-transition-duration: .4s;--f7-page-title-font-size: 34px;--f7-page-title-font-weight: 700;--f7-page-title-letter-spacing: -.03em;--f7-page-title-padding-vertical: 6px;--f7-page-bg-color: #efeff4}.ios .dark,.ios.dark{--f7-page-bg-color: #000}.md{--f7-page-transition-duration: .4s;--f7-page-title-font-size: 34px;--f7-page-title-font-weight: 500;--f7-page-title-letter-spacing: 0;--f7-page-title-padding-vertical: 8px}.md,.md .dark,.md [class*=color-]{--f7-page-bg-color: var(--f7-md-surface)}.dark{--f7-page-master-border-color: rgba(255, 255, 255, .2)}.pages{position:relative;width:100%;height:100%;overflow:hidden}.page{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;transform:none;background-color:var(--f7-page-bg-color);z-index:1}.page-with-navbar-large-collapsed{--f7-navbar-large-collapse-progress: 1}.page-previous{pointer-events:none}.page-content{overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;height:100%;position:relative;z-index:1;padding-top:calc(var(--f7-page-navbar-offset, 0px) + var(--f7-page-toolbar-top-offset, 0px) + var(--f7-page-subnavbar-offset, 0px) + var(--f7-page-searchbar-offset, 0px) + var(--f7-page-content-extra-padding-top, 0px));padding-bottom:calc(var(--f7-page-toolbar-bottom-offset, 0px) + var(--f7-safe-area-bottom) + var(--f7-page-content-extra-padding-bottom, 0px))}.page-transitioning,.page-transitioning .page-shadow-effect,.page-transitioning .page-opacity-effect{transition-duration:var(--f7-page-transition-duration)}.page-transitioning-swipeback,.page-transitioning-swipeback .page-shadow-effect,.page-transitioning-swipeback .page-opacity-effect{transition-duration:var(--f7-page-swipeback-transition-duration)}.router-transition-forward .page-next,.router-transition-backward .page-next,.router-transition-forward .page-current,.router-transition-backward .page-current{pointer-events:none}.page-shadow-effect{position:absolute;top:0;width:16px;bottom:0;z-index:-1;content:"";opacity:0;right:100%;background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,0) 10%,rgba(0,0,0,.01) 50%,rgba(0,0,0,.2) 100%)}.page-opacity-effect{position:absolute;left:0;top:0;background:rgba(0,0,0,.1);width:100%;bottom:0;content:"";opacity:0;z-index:10000}.ios .page-previous{transform:translate3d(-20%,0,0)}.ios .page-next{transform:translate3d(100%,0,0)}.ios .page-previous .page-opacity-effect{opacity:1}.ios .page-previous:after{opacity:1}.ios .page-current .page-shadow-effect{opacity:1}.ios .router-transition-forward .page-next{animation:ios-page-next-to-current var(--f7-page-transition-duration) forwards}.ios .router-transition-forward .page-next:before{position:absolute;top:0;width:16px;bottom:0;z-index:-1;content:"";opacity:0;right:100%;background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,0) 10%,rgba(0,0,0,.01) 50%,rgba(0,0,0,.2) 100%);animation:ios-page-element-fade-in var(--f7-page-transition-duration) forwards}.ios .router-transition-forward .page-current{animation:ios-page-current-to-previous var(--f7-page-transition-duration) forwards}.ios .router-transition-forward .page-current:after{position:absolute;left:0;top:0;background:rgba(0,0,0,.1);width:100%;bottom:0;content:"";opacity:0;z-index:10000;animation:ios-page-element-fade-in var(--f7-page-transition-duration) forwards}.ios .router-transition-backward .page-previous{animation:ios-page-previous-to-current var(--f7-page-transition-duration) forwards}.ios .router-transition-backward .page-previous:after{position:absolute;left:0;top:0;background:rgba(0,0,0,.1);width:100%;bottom:0;content:"";opacity:0;z-index:10000;animation:ios-page-element-fade-out var(--f7-page-transition-duration) forwards}.ios .router-transition-backward .page-current{animation:ios-page-current-to-next var(--f7-page-transition-duration) forwards}.ios .router-transition-backward .page-current:before{position:absolute;top:0;width:16px;bottom:0;z-index:-1;content:"";opacity:0;right:100%;background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,0) 10%,rgba(0,0,0,.01) 50%,rgba(0,0,0,.2) 100%);animation:ios-page-element-fade-out var(--f7-page-transition-duration) forwards}@keyframes ios-page-next-to-current{0%{transform:translate3d(100%,0,0)}to{transform:translateZ(0)}}@keyframes ios-page-previous-to-current{0%{transform:translate3d(-20%,0,0)}to{transform:translateZ(0)}}@keyframes ios-page-current-to-previous{0%{transform:translateZ(0)}to{transform:translate3d(-20%,0,0)}}@keyframes ios-page-current-to-next{0%{transform:translateZ(0)}to{transform:translate3d(100%,0,0)}}@keyframes ios-page-element-fade-in{0%{opacity:0}to{opacity:1}}@keyframes ios-page-element-fade-out{0%{opacity:1}to{opacity:0}}.md .page-previous{transform:translate3d(0,-20px,0)}.md .page-next{pointer-events:none;transform:translate3d(0,128px,0);opacity:0}.md .page-next.page-next-on-right{transform:translate3d(100%,0,0);opacity:1}.md .router-transition-forward .page-next{opacity:1;animation:md-page-next-to-current var(--f7-page-transition-duration) forwards cubic-bezier(0,.8,.3,1)}.md .router-transition-forward .page-current{animation:md-page-current-to-previous var(--f7-page-transition-duration) forwards cubic-bezier(0,.8,.3,1)}.md .router-transition-backward .page-current{animation:md-page-current-to-next calc(var(--f7-page-transition-duration) / 4) forwards cubic-bezier(.8,0,1,.3),md-page-current-to-next-opacity 0ms calc(var(--f7-page-transition-duration) / 4) forwards}.md .router-transition-backward .page-previous{animation:md-page-previous-to-current var(--f7-page-transition-duration) forwards}@keyframes md-page-next-to-current{0%{transform:translate3d(0,128px,0)}to{transform:translateZ(0)}}@keyframes md-page-current-to-next{0%{transform:translateZ(0)}to{transform:translate3d(0,128px,0)}}@keyframes md-page-current-to-next-opacity{0%{opacity:1}to{opacity:0}}@keyframes md-page-current-to-previous{0%{transform:translateZ(0)}to{transform:translate3d(0,-20px,0)}}@keyframes md-page-previous-to-current{0%{transform:translate3d(0,-20px,0)}to{transform:translateZ(0)}}.view:not(.view-master-detail) .page-master-stacked{display:none}.view:not(.view-master-detail) .navbar-master-stacked{display:none}.view-master-detail .page-master,.view-master-detail .navbar-master{width:var(--f7-page-master-width);--f7-safe-area-right: 0px;--f7-safe-area-outer-right: 0px;border-right:var(--f7-page-master-border-width) solid var(--f7-page-master-border-color)}.view-master-detail .page-master-detail,.view-master-detail .navbar-master-detail{width:calc(100% - var(--f7-page-master-width));--f7-safe-area-left: 0px;--f7-safe-area-outer-left: 0px;left:var(--f7-page-master-width)}.view-master-detail .page-master-detail>.navbar-master-detail{left:0;right:0;width:100%}.view-master-detail .page-master{z-index:2;transform:none;pointer-events:auto}.view-master-detail .page-master:before,.view-master-detail .page-master:after{display:none}.view-master-detail.router-transition .page-master{animation:none}.md .router-transition-custom .page-previous,.ios .router-transition-custom .page-previous,.md .router-transition-custom .page-next,.ios .router-transition-custom .page-next{opacity:1;transform:none}.md .router-transition-custom.view-master-detail .page-master,.ios .router-transition-custom.view-master-detail .page-master{animation:none}.page-title{position:relative;z-index:10;text-overflow:ellipsis;white-space:nowrap;color:var(--f7-page-title-text-color);letter-spacing:var(--f7-page-title-letter-spacing);font-size:var(--f7-page-title-font-size);font-weight:var(--f7-page-title-font-weight);line-height:var(--f7-page-title-line-height);padding-left:calc(var(--f7-page-title-padding-left) + var(--f7-safe-area-left));padding-right:calc(var(--f7-page-title-padding-right) + var(--f7-safe-area-right));padding-top:var(--f7-page-title-padding-vertical);padding-bottom:var(--f7-page-title-padding-vertical);box-sizing:border-box;overflow:hidden;width:100%}.router-transition-f7-circle-forward:after,.router-transition-f7-circle-backward:after{content:"";position:absolute;left:50%;top:50%;width:100vmax;height:100vmax;margin-left:-50vmax;margin-top:-50vmax;background:var(--f7-page-bg-color);z-index:100}.router-transition-f7-circle-forward .page,.router-transition-f7-circle-backward .page{pointer-events:none}.router-transition-f7-circle-forward:after{transform:scale(0);border-radius:50%;animation:f7-circle-circle-in .4s forwards}.ios .router-transition-f7-circle-forward .page-next,.md .router-transition-f7-circle-forward .page-next{opacity:0;transform:scale(.9);animation:f7-circle-next-to-current .3s forwards;animation-delay:.3s;z-index:150}.router-transition-f7-circle-backward:after{animation:f7-circle-circle-out .3s forwards;animation-delay:.35s}.ios .router-transition-f7-circle-backward .page-current,.md .router-transition-f7-circle-backward .page-current{animation:f7-circle-current-to-next .7s forwards;z-index:150}@keyframes f7-circle-circle-in{0%{transform:scale(0);border-radius:50%}50%{border-radius:50%}to{transform:scale(1);border-radius:0%}}@keyframes f7-circle-circle-out{0%{transform:scale(1);border-radius:0%}50%{border-radius:50%}to{transform:scale(0);border-radius:50%}}@keyframes f7-circle-next-to-current{0%{transform:scale(.9);opacity:0}40%{transform:scale(1.035);opacity:1}to{transform:scale(1);opacity:1}}@keyframes f7-circle-current-to-next{0%{transform:scale(1);opacity:1}34%{transform:scale(1.035);opacity:1}57%{transform:scale(.9);opacity:0}to{transform:scale(.9);opacity:0}}.router-transition-f7-cover-v-forward,.router-transition-f7-cover-v-backward{background:#000;perspective:1200px}.router-transition-f7-cover-v-forward .page,.router-transition-f7-cover-v-backward .page{pointer-events:none}.router-transition-f7-cover-v-forward .page-next{animation:f7-cover-v-next-to-current var(--f7-page-cover-transition-duration) forwards}.router-transition-f7-cover-v-forward .page-current{animation:f7-cover-v-current-to-prev var(--f7-page-cover-transition-duration) forwards}.router-transition-f7-cover-v-backward .page-current{animation:f7-cover-v-current-to-next var(--f7-page-cover-transition-duration) forwards}.router-transition-f7-cover-v-backward .page-previous{animation:f7-cover-v-prev-to-current var(--f7-page-cover-transition-duration) forwards}@keyframes f7-cover-v-next-to-current{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes f7-cover-v-current-to-next{0%{transform:translateY(0)}to{transform:translateY(100%)}}@keyframes f7-cover-v-current-to-prev{0%{transform:translateZ(0);opacity:1}to{transform:translateZ(-300px);opacity:.5}}@keyframes f7-cover-v-prev-to-current{0%{transform:translateZ(-300px);opacity:.5}to{transform:translateZ(0);opacity:1}}.router-transition-f7-cover-forward,.router-transition-f7-cover-backward{background:#000;perspective:1200px}.router-transition-f7-cover-forward .page,.router-transition-f7-cover-backward .page{pointer-events:none}.router-transition-f7-cover-forward .page-next{animation:f7-cover-next-to-current var(--f7-page-cover-transition-duration) forwards}.router-transition-f7-cover-forward .page-current{animation:f7-cover-current-to-prev var(--f7-page-cover-transition-duration) forwards}.router-transition-f7-cover-backward .page-current{animation:f7-cover-current-to-next var(--f7-page-cover-transition-duration) forwards}.router-transition-f7-cover-backward .page-previous{animation:f7-cover-prev-to-current var(--f7-page-cover-transition-duration) forwards}@keyframes f7-cover-next-to-current{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes f7-cover-current-to-next{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes f7-cover-current-to-prev{0%{transform:translateZ(0);opacity:1}to{transform:translateZ(-300px);opacity:.5}}@keyframes f7-cover-prev-to-current{0%{transform:translateZ(-300px);opacity:.5}to{transform:translateZ(0);opacity:1}}.router-transition-f7-dive-forward,.router-transition-f7-dive-backward{background:var(--f7-page-bg-color);perspective:1200px}.router-transition-f7-dive-forward .page,.router-transition-f7-dive-backward .page{pointer-events:none}.router-transition-f7-dive-forward .page-next{animation:f7-dive-next-to-current var(--f7-page-dive-transition-duration) forwards}.router-transition-f7-dive-forward .page-current{animation:f7-dive-current-to-prev var(--f7-page-dive-transition-duration) forwards}.router-transition-f7-dive-backward .page-current{animation:f7-dive-current-to-next var(--f7-page-dive-transition-duration) forwards}.router-transition-f7-dive-backward .page-previous{animation:f7-dive-prev-to-current var(--f7-page-dive-transition-duration) forwards}@keyframes f7-dive-next-to-current{0%{opacity:0;transform:translateZ(-150px)}50%{opacity:0}to{opacity:1;transform:translateZ(0)}}@keyframes f7-dive-current-to-next{0%{opacity:1;transform:translateZ(0)}50%{opacity:0}to{opacity:0;transform:translateZ(-150px)}}@keyframes f7-dive-current-to-prev{0%{transform:translateZ(0);opacity:1}50%{opacity:0}to{opacity:0;transform:translateZ(150px)}}@keyframes f7-dive-prev-to-current{0%{opacity:0;transform:translateZ(150px)}50%{opacity:0}to{opacity:1;transform:translateZ(0)}}.router-transition-f7-fade-forward,.router-transition-f7-fade-backward{background:var(--f7-page-bg-color)}.router-transition-f7-fade-forward .page,.router-transition-f7-fade-backward .page{pointer-events:none}.ios .router-transition-f7-fade-forward .page-next,.md .router-transition-f7-fade-forward .page-next{opacity:0;animation:f7-fade-in var(--f7-page-fade-transition-duration) forwards}.ios .router-transition-f7-fade-forward .page-current,.md .router-transition-f7-fade-forward .page-current,.ios .router-transition-f7-fade-backward .page-current,.md .router-transition-f7-fade-backward .page-current{animation:f7-fade-out var(--f7-page-fade-transition-duration) forwards}.ios .router-transition-f7-fade-backward .page-previous,.md .router-transition-f7-fade-backward .page-previous{animation:f7-fade-in var(--f7-page-fade-transition-duration) forwards}@keyframes f7-fade-in{0%{opacity:0}50%{opacity:0}to{opacity:1}}@keyframes f7-fade-out{0%{opacity:1}50%{opacity:0}to{opacity:0}}.router-transition-f7-flip-forward,.router-transition-f7-flip-backward{background:#000;perspective:1200px}.router-transition-f7-flip-forward .page,.router-transition-f7-flip-backward .page{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;pointer-events:none}.router-transition-f7-flip-forward .page-next{transform-style:preserve-3d;animation:f7-flip-next-to-current var(--f7-page-flip-transition-duration) forwards}.router-transition-f7-flip-forward .page-current{transform-style:preserve-3d;animation:f7-flip-current-to-prev var(--f7-page-flip-transition-duration) forwards}.router-transition-f7-flip-backward .page-current{transform-style:preserve-3d;animation:f7-flip-current-to-next var(--f7-page-flip-transition-duration) forwards}.router-transition-f7-flip-backward .page-previous{transform-style:preserve-3d;animation:f7-flip-prev-to-current var(--f7-page-flip-transition-duration) forwards}@keyframes f7-flip-next-to-current{0%{border-radius:32px;transform:translateZ(-100vmax) rotateY(180deg)}to{border-radius:0;transform:translateZ(0) rotateY(0)}}@keyframes f7-flip-current-to-next{0%{border-radius:0;transform:translateZ(0) rotateY(0)}to{border-radius:32px;transform:translateZ(-100vmax) rotateY(180deg)}}@keyframes f7-flip-current-to-prev{0%{border-radius:0;transform:translateZ(0) rotateY(0)}to{border-radius:32px;transform:translateZ(-100vmax) rotateY(-180deg)}}@keyframes f7-flip-prev-to-current{0%{border-radius:32px;transform:translateZ(-100vmax) rotateY(-180deg)}to{border-radius:0;transform:translateZ(0) rotateY(0)}}.router-transition-f7-parallax-forward .page{pointer-events:none}.router-transition-f7-parallax-forward .page-next{animation:f7-parallax-next-to-current var(--f7-page-parallax-transition-duration) forwards}.router-transition-f7-parallax-forward .page-current{animation:f7-parallax-current-to-prev var(--f7-page-parallax-transition-duration) forwards}.router-transition-f7-parallax-backward .page{pointer-events:none}.router-transition-f7-parallax-backward .page-current{animation:f7-parallax-current-to-next var(--f7-page-parallax-transition-duration) forwards}.router-transition-f7-parallax-backward .page-previous{animation:f7-parallax-prev-to-current var(--f7-page-parallax-transition-duration) forwards}@keyframes f7-parallax-next-to-current{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes f7-parallax-current-to-next{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes f7-parallax-current-to-prev{0%{transform:translate(0)}to{transform:translate(-20%)}}@keyframes f7-parallax-prev-to-current{0%{transform:translate(-20%)}to{transform:translate(0)}}.router-transition-f7-push-forward .page{pointer-events:none}.router-transition-f7-push-forward .page-next{animation:f7-push-next-to-current var(--f7-page-push-transition-duration) forwards}.router-transition-f7-push-forward .page-current{animation:f7-push-current-to-prev var(--f7-page-push-transition-duration) forwards}.router-transition-f7-push-backward .page{pointer-events:none}.router-transition-f7-push-backward .page-current{animation:f7-push-current-to-next var(--f7-page-push-transition-duration) forwards}.router-transition-f7-push-backward .page-previous{animation:f7-push-prev-to-current var(--f7-page-push-transition-duration) forwards}@keyframes f7-push-next-to-current{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes f7-push-current-to-next{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes f7-push-current-to-prev{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes f7-push-prev-to-current{0%{transform:translate(-100%)}to{transform:translate(0)}}:root{--f7-link-highlight-black: rgba(0, 0, 0, .1);--f7-link-highlight-white: rgba(255, 255, 255, .15);--f7-link-highlight-color: rgba(var(--f7-theme-color-rgb), .15)}.ios{--f7-link-pressed-opacity: .3}.link,.tab-link{display:inline-flex;align-items:center;align-content:center;justify-content:center;position:relative;box-sizing:border-box;z-index:1;--f7-touch-ripple-color: var(--f7-link-touch-ripple-color, rgba(var(--f7-theme-color-rgb), .25))}.link i+span,.link i+i,.link span+i,.link span+span{margin-left:4px}.link[class*=color-]{color:var(--f7-theme-color)}.ios .link{transition:opacity .3s}.ios .link.active-state{opacity:var(--f7-link-pressed-opacity);transition-duration:0ms}:root{--f7-navbar-hide-show-transition-duration: .4s;--f7-navbar-title-line-height: 1.2;--f7-navbar-subtitle-text-align: inherit;--f7-navbar-large-title-line-height: 1.2;--f7-navbar-large-title-text-color: inherit;--f7-navbar-large-title-padding-left: 16px;--f7-navbar-large-title-padding-right: 16px}.ios{--f7-navbar-height: 44px;--f7-navbar-font-size: 17px;--f7-navbar-title-font-size: inherit;--f7-navbar-inner-padding-left: 8px;--f7-navbar-inner-padding-right: 8px;--f7-navbar-title-font-weight: 600;--f7-navbar-title-margin-left: 0;--f7-navbar-title-margin-right: 0;--f7-navbar-title-text-align: center;--f7-navbar-subtitle-font-size: 10px;--f7-navbar-subtitle-line-height: 1;--f7-navbar-large-title-height: 52px;--f7-navbar-large-title-font-size: 34px;--f7-navbar-large-title-font-weight: 700;--f7-navbar-large-title-letter-spacing: -.03em;--f7-navbar-large-title-padding-vertical: 6px;--f7-navbar-subtitle-text-color: rgba(0, 0, 0, .55)}.ios .dark,.ios.dark{--f7-navbar-subtitle-text-color: rgba(255, 255, 255, .55)}.md{--f7-navbar-height: 64px;--f7-navbar-font-size: 16px;--f7-navbar-title-font-size: 22px;--f7-navbar-inner-padding-left: 0px;--f7-navbar-inner-padding-right: 0px;--f7-navbar-title-font-weight: 400;--f7-navbar-title-margin-left: 0px;--f7-navbar-title-margin-right: 16px;--f7-navbar-title-text-align: left;--f7-navbar-subtitle-font-size: 14px;--f7-navbar-subtitle-line-height: 1.2;--f7-navbar-large-title-font-size: 28px;--f7-navbar-large-title-height: 88px;--f7-navbar-large-title-font-weight: 400;--f7-navbar-large-title-letter-spacing: 0;--f7-navbar-large-title-padding-vertical: 8px;--f7-navbar-link-height: 48px;--f7-navbar-link-line-height: 48px}.md,.md .dark,.md [class*=color-]{--f7-navbar-link-color: var(--f7-md-on-surface);--f7-navbar-text-color: var(--f7-md-on-surface);--f7-navbar-subtitle-text-color: var(--f7-md-on-surface-variant)}.navbars,.navbar{z-index:500;left:0;top:0;width:100%}.navbars{position:absolute}.navbars .navbar{z-index:auto}.navbars .navbar-transitioning{z-index:500}.navbar{--f7-navbar-large-collapse-progress: 0;position:relative;-webkit-backface-visibility:hidden;backface-visibility:hidden;box-sizing:border-box;margin:0;height:calc(var(--f7-navbar-height) + var(--f7-safe-area-top));color:var(--f7-navbar-text-color, var(--f7-bars-text-color));font-size:var(--f7-navbar-font-size)}.navbar b{font-weight:500}.navbar a{color:var(--f7-navbar-link-color, var(--f7-bars-link-color, var(--f7-theme-color)))}.navbar a.link{display:flex;justify-content:flex-start;line-height:var(--f7-navbar-link-line-height, var(--f7-navbar-height));height:var(--f7-navbar-link-height, var(--f7-navbar-height))}.navbar .title,.navbar .left,.navbar .right{position:relative;z-index:10}.navbar .title{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:10;font-weight:var(--f7-navbar-title-font-weight);display:inline-block;line-height:var(--f7-navbar-title-line-height);text-align:var(--f7-navbar-title-text-align);font-size:var(--f7-navbar-title-font-size);margin-left:var(--f7-navbar-title-margin-left);margin-right:var(--f7-navbar-title-margin-left)}.navbar .subtitle{display:block;color:var(--f7-navbar-subtitle-text-color);font-weight:400;font-size:var(--f7-navbar-subtitle-font-size);line-height:var(--f7-navbar-subtitle-line-height);text-align:var(--f7-navbar-subtitle-text-align)}.navbar .left,.navbar .right{flex-shrink:0;display:flex;justify-content:flex-start;align-items:center}.navbar .right:first-child{position:absolute;height:100%}.navbar.no-outline .navbar-bg:after,.navbar .no-outline .navbar-bg:after{display:none!important}.navbar.no-outline .title-large:after,.navbar .no-outline .title-large:after{display:none!important}.navbar.navbar-hidden .navbar-bg:before,.navbar-hidden .navbar .navbar-bg:before{opacity:0!important}.navbar-bg{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:0;background:var(--f7-navbar-bg-color);background-color:var(--f7-navbar-bg-color, var(--f7-bars-bg-color));transition-property:transform}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-bars .navbar-bg{background-color:rgba(var(--f7-navbar-bg-color-rgb, var(--f7-bars-bg-color-rgb)),var(--f7-bars-translucent-opacity));-webkit-backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur));backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur))}}.navbar-bg:after,.navbar-bg:before{-webkit-backface-visibility:hidden;backface-visibility:hidden}.navbar-bg:after{content:"";position:absolute;background-color:var(--f7-navbar-border-color, var(--f7-bars-border-color));display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.navbar-bg:after{z-index:1}.navbar-transitioning,.navbar-transitioning .left,.navbar-transitioning .title,.navbar-transitioning .right,.navbar-transitioning .title-large-text,.navbar-transitioning .navbar-bg,.navbar-transitioning .subnavbar,.navbar-transitioning .navbar-bg:before{transition-duration:var(--f7-navbar-hide-show-transition-duration)}.navbar-page-transitioning,.navbar-page-transitioning .title-large-text,.navbar-page-transitioning .navbar-bg{transition-duration:var(--f7-page-swipeback-transition-duration)!important}.navbar-hidden{transform:translate3d(0,calc(-1 * var(--f7-navbar-height)),0)}.navbar-hidden .navbar-inner{pointer-events:none}.navbar-hidden .navbar-inner>.left,.navbar-hidden .navbar-inner>.title,.navbar-hidden .navbar-inner>.right{opacity:0!important}.navbar-hidden .subnavbar{pointer-events:auto}.navbar-hidden-statusbar{transform:translate3d(0,calc(-1 * var(--f7-navbar-height) - var(--f7-safe-area-top)),0)}.navbar-large-hidden .navbar-large{--f7-navbar-large-collapse-progress: 1}.navbar-inner{position:absolute;left:0;bottom:0;width:100%;height:100%;display:flex;align-items:center;box-sizing:border-box;padding:var(--f7-safe-area-top) calc(var(--f7-navbar-inner-padding-right) + var(--f7-safe-area-right)) 0 calc(var(--f7-navbar-inner-padding-left) + var(--f7-safe-area-left));transform:translateZ(0);z-index:10}.views>.navbar,.view>.navbar,.page>.navbar,.navbars>.navbar{position:absolute}.navbar-transparent:not(.navbar-large):not(.navbar-transparent-visible):not(.with-searchbar-expandable-enabled) .navbar-bg,.navbar-transparent:not(.navbar-large):not(.navbar-transparent-visible):not(.with-searchbar-expandable-enabled) .title{opacity:0}.navbar-large .navbar-bg{height:calc(100% + var(--f7-navbar-large-title-height));transform:translate3d(0,calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)),0)}.navbar-large-transparent .navbar-bg,.navbar-large.navbar-transparent .navbar-bg{opacity:var(--f7-navbar-large-collapse-progress)}.ios .router-navbar-transition-to-large .navbar-bg,.ios .router-navbar-transition-from-large .navbar-bg,.navbar-bg.ios-swipeback-navbar-bg-large,.navbar-large-transparent .navbar-bg.ios-swipeback-navbar-bg-large,.navbar-large.navbar-transparent .navbar-bg.ios-swipeback-navbar-bg-large{height:calc(100% + var(--f7-navbar-large-title-height));transform:translate3d(0,calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)),0)}.ios .navbar:not(.navbar-large) .navbar-bg{--f7-navbar-large-collapse-progress: 1}.navbar-large .title{opacity:var(--f7-navbar-large-collapse-progress)}.navbar-large-collapsed{--f7-navbar-large-collapse-progress: 1}.navbar-large-collapsed .title-large{pointer-events:none}.navbar .title-large{box-sizing:border-box;position:absolute;left:0;right:0;top:100%;display:flex;white-space:nowrap;overflow:hidden;height:var(--f7-navbar-large-title-height);z-index:5}.navbar .title-large-text{text-overflow:ellipsis;white-space:nowrap;color:var(--f7-navbar-large-title-text-color);letter-spacing:var(--f7-navbar-large-title-letter-spacing);font-size:var(--f7-navbar-large-title-font-size);font-weight:var(--f7-navbar-large-title-font-weight);line-height:var(--f7-navbar-large-title-line-height);padding-left:calc(var(--f7-navbar-large-title-padding-left) + var(--f7-safe-area-left));padding-right:calc(var(--f7-navbar-large-title-padding-right) + var(--f7-safe-area-right));padding-top:var(--f7-navbar-large-title-padding-vertical);padding-bottom:var(--f7-navbar-large-title-padding-vertical);box-sizing:border-box;overflow:hidden;width:100%;transform:translate3d(0,calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)),0);transform-origin:calc(var(--f7-navbar-large-title-padding-left) + var(--f7-safe-area-left)) center}.navbar-no-title-large-transition .title-large-text{transition-duration:0ms}.navbar~*,.navbars~*{--f7-page-navbar-offset: calc(var(--f7-navbar-height) + var(--f7-safe-area-top))}.navbar~* .page-with-navbar-large,.navbar~.page-with-navbar-large,.navbars~* .page-with-navbar-large,.navbars~.page-with-navbar-large,.page-with-navbar-large .navbar~*{--f7-page-navbar-offset: calc(var(--f7-navbar-height) + var(--f7-navbar-large-title-height) + var(--f7-safe-area-top))}.page.no-navbar,.page.no-navbar .navbar~*{--f7-page-navbar-offset: var(--f7-safe-area-top)}.ios{--f7-navbarLeftTextOffset: calc(4px + 12px + var(--f7-navbar-inner-padding-left));--f7-navbarTitleLargeOffset: var(--f7-navbar-large-title-padding-left);--f7-navbar-large-bg-center-top: translateX(0) translateY(calc(-1 * var(--f7-navbar-large-title-height)));--f7-navbar-large-bg-center-bottom: translateX(0) translateY(0);--f7-navbar-large-bg-left-top: translateX(-100%) translateY(calc(-1 * var(--f7-navbar-large-title-height)));--f7-navbar-large-bg-left-bottom: translateX(-100%) translateY(0);--f7-navbar-large-bg-right-top: translateX(100%) translateY(calc(-1 * var(--f7-navbar-large-title-height)));--f7-navbar-large-bg-right-bottom: translateX(100%) translateY(0)}.ios .navbar .title-large{align-items:flex-end}.ios .navbar a.icon-only{width:44px;margin:0;justify-content:center}.ios .navbar .left a+a,.ios .navbar .right a+a{margin-left:16px}.ios .navbar b{font-weight:600}.ios .navbar .left{margin-right:10px}.ios .navbar .right{margin-left:10px}.ios .navbar .right:first-child{right:calc(8px + var(--f7-safe-area-right))}.ios .navbar-inner{justify-content:space-between}.ios .navbar-inner-left-title{justify-content:flex-start}.ios .navbar-inner-left-title .right{margin-left:auto}.ios .navbar-inner-left-title .title{text-align:left;margin-right:10px}.ios .view-master-detail .navbar-previous:not(.navbar-master) .left,.ios .view:not(.view-master-detail) .navbar-previous .left,.ios .navbar-next .left,.ios .view-master-detail .navbar-previous:not(.navbar-master) .title,.ios .view:not(.view-master-detail) .navbar-previous .title,.ios .navbar-next .title,.ios .view-master-detail .navbar-previous:not(.navbar-master) .right,.ios .view:not(.view-master-detail) .navbar-previous .right,.ios .navbar-next .right,.ios .view-master-detail .navbar-previous:not(.navbar-master) .subnavbar,.ios .view:not(.view-master-detail) .navbar-previous .subnavbar,.ios .navbar-next .subnavbar,.ios .view-master-detail .navbar-previous:not(.navbar-master) .fading,.ios .view:not(.view-master-detail) .navbar-previous .fading,.ios .navbar-next .fading{opacity:0}.ios .view-master-detail .navbar-previous:not(.navbar-master),.ios .view:not(.view-master-detail) .navbar-previous{pointer-events:none}.ios .view-master-detail .navbar-previous:not(.navbar-master) .title-large,.ios .view:not(.view-master-detail) .navbar-previous .title-large{opacity:0;transition-duration:0ms}.ios .view-master-detail .navbar-previous:not(.navbar-master) .title-large .title-large-text,.ios .view:not(.view-master-detail) .navbar-previous .title-large .title-large-text{transform:scale(.5);transition-duration:0ms}.ios .view-master-detail .navbar-previous:not(.navbar-master) .subnavbar.sliding,.ios .view:not(.view-master-detail) .navbar-previous .subnavbar.sliding,.ios .view-master-detail .navbar-previous:not(.navbar-master) .sliding .subnavbar,.ios .view:not(.view-master-detail) .navbar-previous .sliding .subnavbar{opacity:1;transform:translate3d(-100%,0,0)}.ios .view:not(.view-master-detail) .navbar-previous .navbar-bg,.ios .view-master-detail .navbar-previous:not(.navbar-master) .navbar-bg{transform:translate(-100%)}.ios .navbar-next{pointer-events:none}.ios .navbar-next .navbar-bg{transform:translate(100%)}.ios .navbar-next .title-large .title-large-text{transition-duration:0ms;transform:translate(100%) translateY(calc(-1 * var(--f7-navbar-large-title-height)))}.ios .navbar-next .subnavbar.sliding,.ios .navbar-next .sliding .subnavbar{opacity:1;transform:translate3d(100%,0,0)}.ios .router-transition .navbar,.ios .router-transition .navbar-bg{transition-duration:var(--f7-page-transition-duration)}.ios .router-transition .navbar-bg{animation-duration:var(--f7-page-transition-duration);animation-fill-mode:forwards}.ios .router-transition .title-large,.ios .router-transition .title-large-text{transition-duration:0ms}.ios .router-transition .navbar-current .left,.ios .router-transition .navbar-current .title,.ios .router-transition .navbar-current .right,.ios .router-transition .navbar-current .subnavbar{animation:ios-navbar-element-fade-out var(--f7-page-transition-duration) forwards}.ios .router-transition .navbar-current .sliding.left,.ios .router-transition .navbar-current .sliding.left .icon+span,.ios .router-transition .navbar-current .sliding.title,.ios .router-transition .navbar-current .sliding.right,.ios .router-transition .navbar-current .sliding .left,.ios .router-transition .navbar-current .sliding .left .icon+span,.ios .router-transition .navbar-current .sliding .title,.ios .router-transition .navbar-current .sliding .right{transition-duration:var(--f7-page-transition-duration);opacity:0!important;animation:none}.ios .router-transition .navbar-current .sliding .subnavbar,.ios .router-transition .navbar-current .sliding.subnavbar{transition-duration:var(--f7-page-transition-duration);animation:none;opacity:1}.ios .router-transition-forward .navbar-next .left,.ios .router-transition-backward .navbar-previous .left,.ios .router-transition-forward .navbar-next .title,.ios .router-transition-backward .navbar-previous .title,.ios .router-transition-forward .navbar-next .right,.ios .router-transition-backward .navbar-previous .right,.ios .router-transition-forward .navbar-next .subnavbar,.ios .router-transition-backward .navbar-previous .subnavbar{animation:ios-navbar-element-fade-in var(--f7-page-transition-duration) forwards}.ios .router-transition-forward .navbar-next .sliding.left,.ios .router-transition-backward .navbar-previous .sliding.left,.ios .router-transition-forward .navbar-next .sliding.left .icon+span,.ios .router-transition-backward .navbar-previous .sliding.left .icon+span,.ios .router-transition-forward .navbar-next .sliding.title,.ios .router-transition-backward .navbar-previous .sliding.title,.ios .router-transition-forward .navbar-next .sliding.right,.ios .router-transition-backward .navbar-previous .sliding.right,.ios .router-transition-forward .navbar-next .sliding .left,.ios .router-transition-backward .navbar-previous .sliding .left,.ios .router-transition-forward .navbar-next .sliding .left .icon+span,.ios .router-transition-backward .navbar-previous .sliding .left .icon+span,.ios .router-transition-forward .navbar-next .sliding .title,.ios .router-transition-backward .navbar-previous .sliding .title,.ios .router-transition-forward .navbar-next .sliding .right,.ios .router-transition-backward .navbar-previous .sliding .right,.ios .router-transition-forward .navbar-next .sliding .subnavbar,.ios .router-transition-backward .navbar-previous .sliding .subnavbar{transition-duration:var(--f7-page-transition-duration);animation:none;transform:translateZ(0)!important;opacity:1!important}.ios .router-transition-forward .navbar-next.navbar-transparent:not(.navbar-large):not(.navbar-transparent-visible) .title,.ios .router-transition-backward .navbar-previous.navbar-transparent:not(.navbar-large):not(.navbar-transparent-visible) .title{animation:none}.ios .router-transition-forward .navbar-next.navbar-transparent:not(.navbar-large):not(.navbar-transparent-visible) .sliding.title,.ios .router-transition-backward .navbar-previous.navbar-transparent:not(.navbar-large):not(.navbar-transparent-visible) .sliding.title,.ios .router-transition-forward .navbar-next.navbar-transparent:not(.navbar-large):not(.navbar-transparent-visible) .sliding .title,.ios .router-transition-backward .navbar-previous.navbar-transparent:not(.navbar-large):not(.navbar-transparent-visible) .sliding .title{opacity:0!important}.ios .router-transition-backward .navbar-previous.with-searchbar-expandable-enabled-no-transition .left,.ios .router-transition-backward .navbar-previous.with-searchbar-expandable-enabled .left,.ios .router-transition-backward .navbar-previous.with-searchbar-expandable-enabled-no-transition .title,.ios .router-transition-backward .navbar-previous.with-searchbar-expandable-enabled .title,.ios .router-transition-backward .navbar-previous.with-searchbar-expandable-enabled-no-transition .right,.ios .router-transition-backward .navbar-previous.with-searchbar-expandable-enabled .right,.ios .router-transition-backward .navbar-previous.with-searchbar-expandable-enabled-no-transition .subnavbar,.ios .router-transition-backward .navbar-previous.with-searchbar-expandable-enabled .subnavbar{animation:none}.ios .router-transition-forward .navbar-current.router-navbar-transition-from-large.router-navbar-transition-to-large .title-large,.ios .router-transition-forward .navbar-current.router-navbar-transition-from-large:not(.router-navbar-transition-to-large) .title-large{overflow:visible}.ios .router-transition-forward .navbar-current.router-navbar-transition-from-large.router-navbar-transition-to-large .title-large .title-large-text,.ios .router-transition-forward .navbar-current.router-navbar-transition-from-large:not(.router-navbar-transition-to-large) .title-large .title-large-text{animation:ios-navbar-large-title-text-slide-up var(--f7-page-transition-duration) forwards,ios-navbar-large-title-text-fade-out var(--f7-page-transition-duration) forwards}.ios .router-transition-forward .navbar-next.router-navbar-transition-from-large .left .back span{animation:ios-navbar-back-text-next-to-current var(--f7-page-transition-duration) forwards;transition:none;transform-origin:left center}.ios .router-transition-forward .navbar-next.router-navbar-transition-from-large.router-navbar-transition-to-large .title-large{overflow:visible}.ios .router-transition-forward .navbar-next.router-navbar-transition-from-large.router-navbar-transition-to-large .title-large .title-large-text{animation:ios-navbar-large-title-text-slide-left var(--f7-page-transition-duration) forwards}.ios .router-transition-forward .navbar-next.router-navbar-transition-to-large:not(.router-navbar-transition-from-large) .title-large .title-large-text{animation:ios-navbar-large-title-text-slide-left var(--f7-page-transition-duration) forwards}.ios .router-transition-forward .navbar-next.navbar-large:not(.navbar-large-collapsed) .title,.ios .router-transition-forward .navbar-current.navbar-large:not(.navbar-large-collapsed) .title{animation:none;opacity:0!important;transition-duration:0}.ios .router-transition-backward .navbar-current.router-navbar-transition-to-large .left .back span{animation:ios-navbar-back-text-current-to-previous var(--f7-page-transition-duration) forwards;transition:none;transform-origin:left center}.ios .router-transition-backward .navbar-current.router-navbar-transition-from-large.router-navbar-transition-to-large .title-large{overflow:visible}.ios .router-transition-backward .navbar-current.router-navbar-transition-from-large.router-navbar-transition-to-large .title-large .title-large-text{animation:ios-navbar-large-title-text-slide-right var(--f7-page-transition-duration) forwards}.ios .router-transition-backward .navbar-current.router-navbar-transition-from-large:not(.router-navbar-transition-to-large) .title-large .title-large-text{animation:ios-navbar-large-title-text-slide-right var(--f7-page-transition-duration) forwards}.ios .router-transition-backward .navbar-current.router-navbar-transition-to-large:not(.router-navbar-transition-from-large) .title-large{opacity:0}.ios .router-transition-backward .navbar-previous.router-navbar-transition-from-large.router-navbar-transition-to-large .title-large,.ios .router-transition-backward .navbar-previous.router-navbar-transition-to-large:not(.router-navbar-transition-from-large) .title-large{overflow:visible;opacity:1}.ios .router-transition-backward .navbar-previous.router-navbar-transition-from-large.router-navbar-transition-to-large .title-large .title-large-text,.ios .router-transition-backward .navbar-previous.router-navbar-transition-to-large:not(.router-navbar-transition-from-large) .title-large .title-large-text{animation:ios-navbar-large-title-text-slide-down var(--f7-page-transition-duration) forwards,ios-navbar-large-title-text-fade-in var(--f7-page-transition-duration) forwards}.ios .router-transition-backward .navbar-current.navbar-large:not(.navbar-large-collapsed) .title,.ios .router-transition-backward .navbar-previous.navbar-large:not(.navbar-large-collapsed) .title{animation:none;opacity:0!important;transition-duration:0}.ios .router-transition-forward .navbar-current .navbar-bg,.ios .router-transition-forward .navbar-current.router-navbar-transition-from-large.router-navbar-transition-to-large .navbar-bg{animation-name:ios-navbar-bg-from-cb-to-lb}.ios .router-transition-forward .navbar-current.router-navbar-transition-from-large:not(.router-navbar-transition-to-large) .navbar-bg{animation-name:ios-navbar-bg-from-cb-to-lt}.ios .router-transition-forward .navbar-current:not(.router-navbar-transition-from-large).router-navbar-transition-to-large .navbar-bg{animation-name:ios-navbar-bg-from-ct-to-lb}.ios .router-transition-forward .navbar-current.navbar-large-collapsed:not(.router-navbar-transition-to-large) .navbar-bg{animation-name:ios-navbar-bg-from-ct-to-lt}.ios .router-transition-forward .navbar-next .navbar-bg,.ios .router-transition-forward .navbar-next.router-navbar-transition-from-large.router-navbar-transition-to-large .navbar-bg{animation-name:ios-navbar-bg-from-rb-to-cb}.ios .router-transition-forward .navbar-next.router-navbar-transition-from-large:not(.router-navbar-transition-to-large) .navbar-bg{animation-name:ios-navbar-bg-from-rb-to-ct}.ios .router-transition-forward .navbar-next:not(.router-navbar-transition-from-large).router-navbar-transition-to-large .navbar-bg{animation-name:ios-navbar-bg-from-rt-to-cb}.ios .router-transition-backward .navbar-current .navbar-bg{animation-name:ios-navbar-bg-from-cb-to-rb}.ios .router-transition-backward .navbar-current:not(.router-navbar-transition-from-large).router-navbar-transition-to-large .navbar-bg{animation-name:ios-navbar-bg-from-ct-to-rb}.ios .router-transition-backward .navbar-current.router-navbar-transition-from-large:not(.router-navbar-transition-to-large) .navbar-bg{animation-name:ios-navbar-bg-from-cb-to-rt}.ios .router-transition-backward .navbar-current.navbar-large-collapsed .navbar-bg{animation-name:ios-navbar-bg-from-ct-to-rt}.ios .router-transition-backward .navbar-current.navbar-large-collapsed.router-navbar-transition-to-large .navbar-bg{animation-name:ios-navbar-bg-from-ct-to-rb}.ios .router-transition-backward .navbar-previous .navbar-bg{animation-name:ios-navbar-bg-from-lb-to-cb}.ios .router-transition-backward .navbar-previous:not(.router-navbar-transition-from-large).router-navbar-transition-to-large .navbar-bg{animation-name:ios-navbar-bg-from-lt-to-cb}.ios .router-transition-backward .navbar-previous.router-navbar-transition-from-large:not(.router-navbar-transition-to-large) .navbar-bg{animation-name:ios-navbar-bg-from-lb-to-ct}.ios .router-transition-backward .navbar-previous.navbar-large-collapsed .navbar-bg{animation-name:ios-navbar-bg-from-lt-to-ct}.view-master-detail .navbars{z-index:auto}.view-master-detail .page-master{z-index:525}.view-master-detail .navbar-master .navbar-inner,.view-master-detail .navbar-master .navbar-bg{z-index:550}.view-master-detail .navbar-master-detail .navbar-inner,.view-master-detail .navbar-master-detail .navbar-bg{z-index:500}.view-master-detail .navbar-master.navbar-previous{pointer-events:auto}.view-master-detail .navbar-master.navbar-previous .left,.view-master-detail .navbar-master.navbar-previous:not(.navbar-large) .title,.view-master-detail .navbar-master.navbar-previous .right,.view-master-detail .navbar-master.navbar-previous .subnavbar{opacity:1}.view-master-detail.router-transition .navbar-master .left,.view-master-detail.router-transition .navbar-master .left .icon+span,.view-master-detail.router-transition .navbar-master:not(.navbar-large) .title,.view-master-detail.router-transition .navbar-master .right,.view-master-detail.router-transition .navbar-master .subnavbar,.view-master-detail.router-transition .navbar-master .fading{opacity:1!important;transition-duration:0ms;transform:none!important;animation:none!important}.view-master-detail.router-transition .navbar-master .navbar-bg{transition-duration:0ms;animation:none!important}.view-master-detail.router-transition .navbar-master.navbar-large .title{opacity:calc(-1 + 2 * var(--f7-navbar-large-collapse-progress))!important;transition-duration:0ms;transform:none!important;animation:none!important}.view-master-detail.router-transition .navbar-master.navbar-large .title-large,.view-master-detail.router-transition .navbar-master.navbar-large .title-large-text{transition-duration:0ms;animation:none!important}.view-master-detail.router-transition .navbar-master.navbar-large-transparent .navbar-bg,.view-master-detail.router-transition .navbar-master.navbar-large.navbar-transparent .navbar-bg{height:100%!important;opacity:var(--f7-navbar-large-collapse-progress)!important}@keyframes ios-navbar-element-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes ios-navbar-element-fade-out{0%{opacity:1}75%{opacity:0}to{opacity:0}}@keyframes ios-navbar-large-title-text-slide-up{0%{transform:translate(0) translateY(0) scale(1)}to{transform:translate(calc(var(--f7-navbarLeftTextOffset) - var(--f7-navbarTitleLargeOffset))) translateY(calc(-1 * var(--f7-navbar-large-title-height) + var(--f7-navbar-large-title-padding-vertical))) scale(.5)}}@keyframes ios-navbar-large-title-text-slide-down{0%{transform:translate(calc(var(--f7-navbarLeftTextOffset) - var(--f7-navbarTitleLargeOffset))) translateY(calc(-1 * var(--f7-navbar-large-title-height) + var(--f7-navbar-large-title-padding-vertical) / 2)) scale(.5)}to{transform:translate(0) translateY(0) scale(1)}}@keyframes ios-navbar-large-title-text-slide-left{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes ios-navbar-large-title-text-slide-right{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes ios-navbar-large-title-text-fade-out{0%{opacity:1}80%{opacity:0}to{opacity:0}}@keyframes ios-navbar-large-title-text-fade-in{0%{opacity:0}20%{opacity:0}to{opacity:1}}@keyframes ios-navbar-back-text-current-to-previous{0%{opacity:1;transform:translateY(0) translate(0) scale(1)}80%{opacity:0}to{opacity:0;transform:translate(calc(var(--f7-navbarTitleLargeOffset) - var(--f7-navbarLeftTextOffset))) translateY(calc(1 * var(--f7-navbar-large-title-height) - var(--f7-navbar-large-title-padding-vertical) / 2)) scale(2)}}@keyframes ios-navbar-back-text-next-to-current{0%{opacity:0;transform:translate(calc(var(--f7-navbarTitleLargeOffset) - var(--f7-navbarLeftTextOffset))) translateY(calc(1 * var(--f7-navbar-large-title-height) + var(--f7-navbar-large-title-padding-vertical) / 2)) scale(2)}20%{opacity:0}to{opacity:1;transform:translate(0) translateY(0) scale(1)}}@keyframes ios-navbar-bg-from-cb-to-lb{0%{transform:var(--f7-navbar-large-bg-center-bottom)}to{transform:var(--f7-navbar-large-bg-left-bottom)}}@keyframes ios-navbar-bg-from-cb-to-lt{0%{transform:var(--f7-navbar-large-bg-center-bottom)}to{transform:var(--f7-navbar-large-bg-left-top)}}@keyframes ios-navbar-bg-from-ct-to-lb{0%{transform:var(--f7-navbar-large-bg-center-top)}to{transform:var(--f7-navbar-large-bg-left-bottom)}}@keyframes ios-navbar-bg-from-ct-to-lt{0%{transform:var(--f7-navbar-large-bg-center-top)}to{transform:var(--f7-navbar-large-bg-left-top)}}@keyframes ios-navbar-bg-from-rb-to-cb{0%{transform:var(--f7-navbar-large-bg-right-bottom)}to{transform:var(--f7-navbar-large-bg-center-bottom)}}@keyframes ios-navbar-bg-from-rb-to-ct{0%{transform:var(--f7-navbar-large-bg-right-bottom)}to{transform:var(--f7-navbar-large-bg-center-top)}}@keyframes ios-navbar-bg-from-rt-to-cb{0%{transform:var(--f7-navbar-large-bg-right-top)}to{transform:var(--f7-navbar-large-bg-center-bottom)}}@keyframes ios-navbar-bg-from-cb-to-rb{0%{transform:var(--f7-navbar-large-bg-center-bottom)}to{transform:var(--f7-navbar-large-bg-right-bottom)}}@keyframes ios-navbar-bg-from-ct-to-rb{0%{transform:var(--f7-navbar-large-bg-center-top)}to{transform:var(--f7-navbar-large-bg-right-bottom)}}@keyframes ios-navbar-bg-from-cb-to-rt{0%{transform:var(--f7-navbar-large-bg-center-bottom)}to{transform:var(--f7-navbar-large-bg-right-top)}}@keyframes ios-navbar-bg-from-ct-to-rt{0%{transform:var(--f7-navbar-large-bg-center-top)}to{transform:var(--f7-navbar-large-bg-right-top)}}@keyframes ios-navbar-bg-from-lb-to-cb{0%{transform:var(--f7-navbar-large-bg-left-bottom)}to{transform:var(--f7-navbar-large-bg-center-bottom)}}@keyframes ios-navbar-bg-from-lt-to-cb{0%{transform:var(--f7-navbar-large-bg-left-top)}to{transform:var(--f7-navbar-large-bg-center-bottom)}}@keyframes ios-navbar-bg-from-lb-to-ct{0%{transform:var(--f7-navbar-large-bg-left-bottom)}to{transform:var(--f7-navbar-large-bg-center-top)}}@keyframes ios-navbar-bg-from-lt-to-ct{0%{transform:var(--f7-navbar-large-bg-left-top)}to{transform:var(--f7-navbar-large-bg-center-top)}}.md .navbar .title-large{align-items:center}.md .navbar .left{margin-left:4px;margin-right:4px}.md .navbar a.link{padding:0 12px;min-width:48px}.md .navbar a.icon-only{min-width:0;flex-shrink:0;width:48px}.md .navbar .right{margin-left:auto;margin-right:4px}.md .navbar .right:first-child{right:var(--f7-safe-area-right)}.md .navbar-inner{justify-content:flex-start;overflow:hidden}.md .navbar-large:not(.navbar-large-collapsed) .navbar-inner{overflow:visible}.md .page.page-with-subnavbar .navbar-inner{overflow:visible}.md .navbar-inner:not(.navbar-inner-centered-title) .title:first-child{margin-left:16px}.md .navbar-inner-centered-title{justify-content:space-between}.md .navbar-inner-centered-title .right{margin-left:0}.md .navbar-inner-centered-title .title{text-align:center}:root{--f7-tabbar-link-active-bg-color: transparent;--f7-tabbar-label-text-transform: none;--f7-toolbar-hide-show-transition-duration: .4s}.ios{--f7-toolbar-height: 44px;--f7-toolbar-font-size: 17px;--f7-toolbar-inner-padding-left: 8px;--f7-toolbar-inner-padding-right: 8px;--f7-toolbar-link-font-weight: 400;--f7-tabbar-icons-height: 50px;--f7-tabbar-icons-tablet-height: 50px;--f7-tabbar-icon-size: 28px;--f7-tabbar-link-text-transform: none;--f7-tabbar-link-font-weight: 400;--f7-tabbar-link-letter-spacing: 0;--f7-tabbar-label-font-size: 12px;--f7-tabbar-label-tablet-font-size: 14px;--f7-tabbar-label-font-weight: 500;--f7-tabbar-label-letter-spacing: .01;--f7-tabbar-link-inactive-color: rgba(0, 0, 0, .4)}.ios .dark,.ios.dark{--f7-tabbar-link-inactive-color: rgba(255, 255, 255, .54)}.md{--f7-toolbar-height: 56px;--f7-toolbar-font-size: 14px;--f7-toolbar-inner-padding-left: 0px;--f7-toolbar-inner-padding-right: 0px;--f7-tabbar-icons-height: 80px;--f7-tabbar-icons-tablet-height: 80px;--f7-tabbar-icon-size: 24px;--f7-tabbar-link-text-transform: none;--f7-tabbar-link-font-weight: 500;--f7-tabbar-link-letter-spacing: 0;--f7-toolbar-link-font-weight: 500;--f7-tabbar-label-font-size: 12px;--f7-tabbar-label-tablet-font-size: 12px;--f7-tabbar-label-font-weight: 500;--f7-tabbar-label-letter-spacing: 0}.md,.md .dark,.md [class*=color-]{--f7-tabbar-link-active-color: var(--f7-md-on-secondary-container);--f7-tabbar-link-active-border-color: var(--f7-md-primary);--f7-tabbar-link-inactive-color: var(--f7-md-on-surface-variant);--f7-tabbar-link-active-icon-bg-color: var(--f7-md-secondary-container)}.toolbar{width:100%;position:relative;margin:0;transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:600;box-sizing:border-box;left:0;height:var(--f7-toolbar-height);background-color:var(--f7-toolbar-bg-color, var(--f7-bars-bg-color));color:var(--f7-toolbar-text-color, var(--f7-bars-text-color));font-size:var(--f7-toolbar-font-size)}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-bars .toolbar{background-color:rgba(var(--f7-toolbar-bg-color-rgb, var(--f7-bars-bg-color-rgb)),var(--f7-bars-translucent-opacity));-webkit-backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur));backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur))}}.toolbar b{font-weight:600}.toolbar a{color:var(--f7-toolbar-link-color, var(--f7-bars-link-color, var(--f7-theme-color)));box-sizing:border-box;flex-shrink:1;position:relative;white-space:nowrap;text-overflow:ellipsis}.toolbar .link{display:flex;line-height:var(--f7-toolbar-link-line-height, var(--f7-toolbar-height));height:var(--f7-toolbar-link-height, var(--f7-toolbar-height));font-weight:var(--f7-toolbar-link-font-weight)}.toolbar i.icon{display:block}.toolbar:after,.toolbar:before{-webkit-backface-visibility:hidden;backface-visibility:hidden}.views>.toolbar,.view>.toolbar,.page>.toolbar{position:absolute}.toolbar-top,.ios .toolbar-top-ios,.md .toolbar-top-md{top:0}.toolbar-top .tab-link-highlight,.ios .toolbar-top-ios .tab-link-highlight,.md .toolbar-top-md .tab-link-highlight{bottom:0}.toolbar-top.no-outline:after,.ios .toolbar-top-ios.no-outline:after,.md .toolbar-top-md.no-outline:after{display:none!important}.toolbar-top.toolbar-hidden:before,.ios .toolbar-top-ios.toolbar-hidden:before,.md .toolbar-top-md.toolbar-hidden:before{display:none!important}.toolbar-top:after,.ios .toolbar-top-ios:after,.md .toolbar-top-md:after,.toolbar-top:before,.ios .toolbar-top-ios:before,.md .toolbar-top-md:before{-webkit-backface-visibility:hidden;backface-visibility:hidden}.toolbar-top:after,.ios .toolbar-top-ios:after,.md .toolbar-top-md:after{content:"";position:absolute;background-color:var(--f7-toolbar-border-color, var(--f7-bars-border-color));display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.toolbar-bottom,.ios .toolbar-bottom-ios,.md .toolbar-bottom-md{bottom:0;height:calc(var(--f7-toolbar-height) + var(--f7-safe-area-bottom))}.toolbar-bottom .tab-link-highlight,.ios .toolbar-bottom-ios .tab-link-highlight,.md .toolbar-bottom-md .tab-link-highlight{top:0}.toolbar-bottom .toolbar-inner,.ios .toolbar-bottom-ios .toolbar-inner,.md .toolbar-bottom-md .toolbar-inner{height:auto;top:0;bottom:var(--f7-safe-area-bottom)}.toolbar-bottom.no-outline:before,.ios .toolbar-bottom-ios.no-outline:before,.md .toolbar-bottom-md.no-outline:before{display:none!important}.toolbar-bottom.toolbar-hidden:after,.ios .toolbar-bottom-ios.toolbar-hidden:after,.md .toolbar-bottom-md.toolbar-hidden:after{display:none!important}.toolbar-bottom:before,.ios .toolbar-bottom-ios:before,.md .toolbar-bottom-md:before{content:"";position:absolute;background-color:var(--f7-toolbar-border-color, var(--f7-bars-border-color));display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.toolbar-inner{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;justify-content:space-between;box-sizing:border-box;align-items:center;align-content:center;overflow:hidden;padding:0 calc(var(--f7-toolbar-inner-padding-right) + var(--f7-safe-area-right)) 0 calc(var(--f7-toolbar-inner-padding-left) + var(--f7-safe-area-left))}.views>.tabbar,.views>.tabbar-icons{z-index:5001}.tabbar a,.tabbar-icons a{color:var(--f7-tabbar-link-inactive-color)}.tabbar .link,.tabbar-icons .link{line-height:1.4}.tabbar .tab-link,.tabbar-icons .tab-link,.tabbar .link,.tabbar-icons .link{height:100%;width:100%;box-sizing:border-box;display:flex;justify-content:center;align-items:center;flex-direction:column;text-transform:var(--f7-tabbar-link-text-transform);font-weight:var(--f7-tabbar-link-font-weight);letter-spacing:var(--f7-tabbar-link-letter-spacing);overflow:hidden}.tabbar .tab-link-active,.tabbar-icons .tab-link-active{color:var(--f7-tabbar-link-active-color, var(--f7-theme-color));background-color:var(--f7-tabbar-link-active-bg-color, transparent)}.tabbar i.icon,.tabbar-icons i.icon{font-size:var(--f7-tabbar-icon-size);height:var(--f7-tabbar-icon-size);line-height:var(--f7-tabbar-icon-size)}.md .tabbar.tabbar-icons .tab-link-highlight,.md .tabbar-icons.tabbar-icons .tab-link-highlight{display:none}.md .tabbar:not(.tabbar-icons) .tab-link-highlight,.md .tabbar-icons:not(.tabbar-icons) .tab-link-highlight{position:absolute;height:2px;background:var(--f7-tabbar-link-active-border-color, var(--f7-theme-color));transition-duration:.3s;left:0}.tabbar-icons{--f7-toolbar-height: var(--f7-tabbar-icons-height)}.tabbar-icons .tab-link,.tabbar-icons .link{height:100%;justify-content:center;align-items:center}.tabbar-icons .tabbar-label{display:block;line-height:1;margin:0;position:relative;text-overflow:ellipsis;white-space:nowrap;font-size:var(--f7-tabbar-label-font-size);text-transform:var(--f7-tabbar-label-text-transform);font-weight:var(--f7-tabbar-label-font-weight);letter-spacing:var(--f7-tabbar-label-letter-spacing)}@media (min-width: 768px) and (min-height: 600px){:root{--f7-tabbar-icons-height: var(--f7-tabbar-icons-tablet-height);--f7-tabbar-label-font-size: var(--f7-tabbar-label-tablet-font-size)}}.tabbar-scrollable .toolbar-inner{justify-content:flex-start;overflow:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;scrollbar-color:transparent}.tabbar-scrollable .toolbar-inner::-webkit-scrollbar{-webkit-appearance:none;appearance:none;width:0px;display:none;opacity:0;background:transparent}.tabbar-scrollable .toolbar-inner::-webkit-scrollbar-track{box-shadow:none;background:transparent}.tabbar-scrollable .toolbar-inner::-webkit-scrollbar-thumb{background-color:transparent;outline:none;border-radius:9999px;position:relative}.tabbar-scrollable .tab-link,.tabbar-scrollable .link{width:auto;flex-shrink:0}.toolbar-transitioning,.navbar-transitioning+.toolbar,.navbar-transitioning~* .toolbar{transition-duration:var(--f7-toolbar-hide-show-transition-duration)}.toolbar-bottom~*,.ios .toolbar-bottom-ios~*,.md .toolbar-bottom-md~*{--f7-page-toolbar-bottom-offset: var(--f7-toolbar-height)}.toolbar-bottom.tabbar-icons~*,.ios .toolbar-bottom-ios.tabbar-icons~*,.md .toolbar-bottom-md.tabbar-icons~*{--f7-page-toolbar-bottom-offset: var(--f7-tabbar-icons-height)}.toolbar-bottom.toolbar-hidden,.ios .toolbar-bottom-ios.toolbar-hidden,.md .toolbar-bottom-md.toolbar-hidden{transform:translate3d(0,100%,0)}.toolbar-top~*,.ios .toolbar-top-ios~*,.md .toolbar-top-md~*{--f7-page-toolbar-top-offset: var(--f7-toolbar-height)}.toolbar-top.tabbar-icons~*,.ios .toolbar-top-ios.tabbar-icons~*,.md .toolbar-top-md.tabbar-icons~*{--f7-page-toolbar-top-offset: var(--f7-tabbar-icons-height)}.toolbar-top.toolbar-hidden,.ios .toolbar-top-ios.toolbar-hidden,.md .toolbar-top-md.toolbar-hidden{transform:translate3d(0,-100%,0)}.navbar~.toolbar-top,.navbars~.toolbar-top,.ios .navbar~.toolbar-top-ios,.ios .navbars~.toolbar-top-ios,.md .navbar~.toolbar-top-md,.navbar~* .toolbar-top,.navbars~* .toolbar-top,.ios .navbar~* .toolbar-top-ios,.ios .navbars~* .toolbar-top-ios,.md .navbar~* .toolbar-top-md,.navbar~.page:not(.no-navbar) .toolbar-top,.navbars~.page:not(.no-navbar) .toolbar-top,.ios .navbar~.page:not(.no-navbar) .toolbar-top-ios,.ios .navbars~.page:not(.no-navbar) .toolbar-top-ios,.md .navbar~.page:not(.no-navbar) .toolbar-top-md{top:calc(var(--f7-navbar-height) + var(--f7-safe-area-top))}.navbar~.toolbar-top.toolbar-hidden,.navbars~.toolbar-top.toolbar-hidden,.ios .navbar~.toolbar-top-ios.toolbar-hidden,.ios .navbars~.toolbar-top-ios.toolbar-hidden,.md .navbar~.toolbar-top-md.toolbar-hidden,.navbar~* .toolbar-top.toolbar-hidden,.navbars~* .toolbar-top.toolbar-hidden,.ios .navbar~* .toolbar-top-ios.toolbar-hidden,.ios .navbars~* .toolbar-top-ios.toolbar-hidden,.md .navbar~* .toolbar-top-md.toolbar-hidden,.navbar~.page:not(.no-navbar) .toolbar-top.toolbar-hidden,.navbars~.page:not(.no-navbar) .toolbar-top.toolbar-hidden,.ios .navbar~.page:not(.no-navbar) .toolbar-top-ios.toolbar-hidden,.ios .navbars~.page:not(.no-navbar) .toolbar-top-ios.toolbar-hidden,.md .navbar~.page:not(.no-navbar) .toolbar-top-md.toolbar-hidden{transform:translate3d(0,calc(-1 * (var(--f7-navbar-height) + var(--f7-toolbar-height) + var(--f7-safe-area-top))),0)}.navbar~.toolbar-top.toolbar-hidden.tabbar-icons,.navbars~.toolbar-top.toolbar-hidden.tabbar-icons,.ios .navbar~.toolbar-top-ios.toolbar-hidden.tabbar-icons,.ios .navbars~.toolbar-top-ios.toolbar-hidden.tabbar-icons,.md .navbar~.toolbar-top-md.toolbar-hidden.tabbar-icons,.navbar~* .toolbar-top.toolbar-hidden.tabbar-icons,.navbars~* .toolbar-top.toolbar-hidden.tabbar-icons,.ios .navbar~* .toolbar-top-ios.toolbar-hidden.tabbar-icons,.ios .navbars~* .toolbar-top-ios.toolbar-hidden.tabbar-icons,.md .navbar~* .toolbar-top-md.toolbar-hidden.tabbar-icons,.navbar~.page:not(.no-navbar) .toolbar-top.toolbar-hidden.tabbar-icons,.navbars~.page:not(.no-navbar) .toolbar-top.toolbar-hidden.tabbar-icons,.ios .navbar~.page:not(.no-navbar) .toolbar-top-ios.toolbar-hidden.tabbar-icons,.ios .navbars~.page:not(.no-navbar) .toolbar-top-ios.toolbar-hidden.tabbar-icons,.md .navbar~.page:not(.no-navbar) .toolbar-top-md.toolbar-hidden.tabbar-icons{transform:translate3d(0,calc(-1 * (var(--f7-navbar-height) + var(--f7-tabbar-icons-height) + var(--f7-safe-area-top))),0)}.navbar-hidden+.toolbar-top:not(.toolbar-hidden),.ios .navbar-hidden+.toolbar-top-ios:not(.toolbar-hidden),.md .navbar-hidden+.toolbar-top-md:not(.toolbar-hidden),.navbar-hidden~* .toolbar-top:not(.toolbar-hidden),.ios .navbar-hidden~* .toolbar-top-ios:not(.toolbar-hidden),.md .navbar-hidden~* .toolbar-top-md:not(.toolbar-hidden){transform:translate3d(0,calc(0px - var(--f7-navbar-height)),0)}.navbar-large-hidden+.toolbar-top:not(.toolbar-hidden),.ios .navbar-large-hidden+.toolbar-top-ios:not(.toolbar-hidden),.md .navbar-large-hidden+.toolbar-top-md:not(.toolbar-hidden),.navbar-large-hidden~* .toolbar-top:not(.toolbar-hidden),.ios .navbar-large-hidden~* .toolbar-top-ios:not(.toolbar-hidden),.md .navbar-large-hidden~* .toolbar-top-md:not(.toolbar-hidden){transform:translate3d(0,calc(0px - var(--f7-navbar-height) - var(--f7-navbar-large-title-height)),0)}.ios .toolbar a.icon-only{min-height:var(--f7-toolbar-height);display:flex;justify-content:center;align-items:center;margin:0;min-width:44px}.ios .tabbar-icons .tab-link,.ios .tabbar-icons .link{padding-top:4px;padding-bottom:4px}.ios .tabbar-icons .tab-link i+span,.ios .tabbar-icons .link i+span{margin:4px 0 0}@media (min-width: 768px) and (min-height: 600px){.ios .tabbar .tab-link,.ios .tabbar-icons .tab-link,.ios .tabbar .link,.ios .tabbar-icons .link{justify-content:center;flex-direction:row}.ios .tabbar .tab-link i+span,.ios .tabbar-icons .tab-link i+span,.ios .tabbar .link i+span,.ios .tabbar-icons .link i+span{margin-left:5px}}.ios .tabbar-scrollable .toolbar-inner{justify-content:flex-start}.ios .tabbar-scrollable .tab-link,.ios .tabbar-scrollable .link{padding:0 8px}.md .toolbar .link{justify-content:center;padding:0 12px;min-width:48px}.md .toolbar a.icon-only{min-width:0;flex-shrink:0}.md .tabbar .tab-link,.md .tabbar-icons .tab-link,.md .tabbar .link,.md .tabbar-icons .link{padding-left:0;padding-right:0}.md .tabbar a.icon-only,.md .tabbar-icons a.icon-only{flex-shrink:initial}.md .tabbar .tab-link,.md .tabbar-icons .tab-link{transition-duration:.3s;overflow:hidden;position:relative}.md .tabbar i.icon,.md .tabbar-icons i.icon{position:relative}.md .tabbar i.icon:before,.md .tabbar-icons i.icon:before{content:"";width:64px;height:32px;border-radius:32px;position:absolute;left:50%;top:50%;transform:translate(-50%) translateY(-50%) scaleX(.5);background:var(--f7-tabbar-link-active-icon-bg-color);opacity:0;transition-duration:.2s;z-index:-1}.md .tabbar i.icon+.tabbar-label,.md .tabbar-icons i.icon+.tabbar-label{margin-top:8px}.md .tabbar .tab-link-active i.icon:before,.md .tabbar-icons .tab-link-active i.icon:before{opacity:1;transform:translate(-50%) translateY(-50%) scaleX(1)}.md .tabbar-icons .tab-link,.md .tabbar-icons .link{padding-top:8px;padding-bottom:8px}.md .tabbar-label{max-width:100%;overflow:hidden;line-height:1.2}.md .tabbar-scrollable .toolbar-inner{overflow:auto}.md .tabbar-scrollable .tab-link,.md .tabbar-scrollable .link{padding:0 12px}:root{--f7-subnavbar-title-line-height: 1.2}.ios{--f7-subnavbar-height: 44px;--f7-subnavbar-inner-padding-left: 8px;--f7-subnavbar-inner-padding-right: 8px;--f7-subnavbar-title-font-size: 34px;--f7-subnavbar-title-font-weight: 700;--f7-subnavbar-title-letter-spacing: -.03em;--f7-subnavbar-title-margin-left: 8px}.md{--f7-subnavbar-height: 64px;--f7-subnavbar-inner-padding-left: 16px;--f7-subnavbar-inner-padding-right: 16px;--f7-subnavbar-title-font-size: 22px;--f7-subnavbar-title-font-weight: 400;--f7-subnavbar-title-letter-spacing: 0;--f7-subnavbar-title-margin-left: 0px}.subnavbar{width:100%;position:absolute;left:0;top:0;z-index:600;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;background-color:var(--f7-subnavbar-bg-color, var(--f7-bars-bg-color));color:var(--f7-subnavbar-text-color, var(--f7-bars-text-color))}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-bars .subnavbar{background-color:rgba(var(--f7-subnavbar-bg-color-rgb, var(--f7-bars-bg-color-rgb)),var(--f7-bars-translucent-opacity));-webkit-backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur));backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur))}}.subnavbar .subnavbar-title{position:relative;overflow:hidden;text-overflow:ellpsis;white-space:nowrap;font-size:var(--f7-subnavbar-title-font-size);font-weight:var(--f7-subnavbar-title-font-weight);text-align:left;display:inline-block;line-height:var(--f7-subnavbar-title-line-height);letter-spacing:var(--f7-subnavbar-title-letter-spacing);margin-left:var(--f7-subnavbar-title-margin-left)}.subnavbar .left,.subnavbar .right{flex-shrink:0;display:flex;justify-content:flex-start;align-items:center}.subnavbar .right:first-child{position:absolute;height:100%}.subnavbar a{color:var(--f7-subnavbar-link-color, var(--f7-bars-link-color, var(--f7-theme-color)))}.subnavbar a.link{line-height:var(--f7-subnavbar-link-line-height, var(--f7-subnavbar-height));height:var(--f7-subnavbar-link-height, var(--f7-subnavbar-height))}.subnavbar a.icon-only{min-width:var(--f7-subnavbar-height)}.subnavbar.no-outline:after{display:none!important}.subnavbar.navbar-hidden:before{display:none!important}.subnavbar:after,.subnavbar:before{-webkit-backface-visibility:hidden;backface-visibility:hidden}.subnavbar:after{content:"";position:absolute;background-color:var(--f7-subnavbar-border-color, var(--f7-bars-border-color));display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.subnavbar-inner{width:100%;height:100%;display:flex;align-items:center;box-sizing:border-box;justify-content:space-between;overflow:hidden;padding:0 calc(var(--f7-subnavbar-inner-padding-left) + var(--f7-safe-area-right)) 0 calc(var(--f7-subnavbar-inner-padding-right) + var(--f7-safe-area-left))}.navbar .subnavbar{top:100%}.views>.subnavbar,.view>.subnavbar,.page>.subnavbar{position:absolute}.navbar~* .subnavbar,.navbars~* .subnavbar,.page-with-subnavbar .navbar~.subnavbar,.page-with-subnavbar .navbar~* .subnavbar,.navbar~.page-with-subnavbar:not(.no-navbar) .subnavbar,.navbar~.subnavbar,.navbars~.page-with-subnavbar:not(.no-navbar) .subnavbar,.navbars~.subnavbar{top:calc(var(--f7-navbar-height) + var(--f7-safe-area-top))}.navbar~.page-with-navbar-large:not(.no-navbar) .subnavbar,.navbars~.page-with-navbar-large:not(.no-navbar) .subnavbar,.page-with-subnavbar.page-with-navbar-large .navbar~.subnavbar,.page-with-subnavbar.page-with-navbar-large .navbar~* .subnavbar,.navbar .title-large~.subnavbar{top:calc(var(--f7-navbar-height) + var(--f7-navbar-large-title-height) + var(--f7-safe-area-top));transform:translate3d(0,calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)),0)}.page-with-subnavbar,.subnavbar~*{--f7-page-subnavbar-offset: var(--f7-subnavbar-height)}.ios .subnavbar{height:calc(var(--f7-subnavbar-height) + 1px);margin-top:-1px;padding-top:1px}.ios .subnavbar .title{align-self:flex-start;flex-shrink:10}.ios .subnavbar .left a+a,.ios .subnavbar .right a+a{margin-left:16px}.ios .subnavbar .left{margin-right:10px}.ios .subnavbar .right{margin-left:10px}.ios .subnavbar .right:first-child{right:8px}.ios .subnavbar a.link{justify-content:flex-start}.ios .subnavbar a.icon-only{justify-content:center;margin:0}.md .subnavbar{height:var(--f7-subnavbar-height)}.md .subnavbar .right{margin-left:auto}.md .subnavbar .right:first-child{right:16px}.md .subnavbar a.link{justify-content:center;padding:0 12px}.md .subnavbar a.icon-only{flex-shrink:0;padding:0 12px}.md .subnavbar-inner>a.link:first-child{margin-left:calc(-1 * var(--f7-subnavbar-inner-padding-left))}.md .subnavbar-inner>a.link:last-child{margin-right:calc(-1 * var(--f7-subnavbar-inner-padding-right))}:root{--f7-block-padding-horizontal: 16px;--f7-block-padding-vertical: 16px;--f7-block-font-size: inherit;--f7-block-header-margin: 10px;--f7-block-footer-margin: 10px;--f7-block-header-font-size: 14px;--f7-block-footer-font-size: 14px;--f7-block-title-text-transform: none;--f7-block-title-white-space: nowrap;--f7-block-title-medium-text-transform: none;--f7-block-title-large-text-transform: none;--f7-block-inset-side-margin: 16px}:root .dark,:root.dark{--f7-block-outline-border-color: rgba(255, 255, 255, .15)}.ios{--f7-block-text-color: inherit;--f7-block-margin-vertical: 35px;--f7-block-outline-border-color: rgba(0, 0, 0, .22);--f7-block-title-font-size: 16px;--f7-block-title-font-weight: 600;--f7-block-title-line-height: 20px;--f7-block-title-margin-bottom: 10px;--f7-block-title-medium-font-size: 22px;--f7-block-title-medium-font-weight: bold;--f7-block-title-medium-line-height: 1.4;--f7-block-title-large-font-size: 30px;--f7-block-title-large-font-weight: bold;--f7-block-title-large-line-height: 1.3;--f7-block-inset-border-radius: 8px;--f7-block-title-text-color: #000;--f7-block-strong-text-color: #000;--f7-block-header-text-color: rgba(0, 0, 0, .45);--f7-block-footer-text-color: rgba(0, 0, 0, .45);--f7-block-strong-bg-color: #fff;--f7-block-title-medium-text-color: #000;--f7-block-title-large-text-color: #000}.ios .dark,.ios.dark{--f7-block-title-text-color: #fff;--f7-block-header-text-color: rgba(255, 255, 255, .55);--f7-block-footer-text-color: rgba(255, 255, 255, .55);--f7-block-strong-text-color: #fff;--f7-block-strong-bg-color: #1c1c1d;--f7-block-title-medium-text-color: #fff;--f7-block-title-large-text-color: #fff}.md{--f7-block-margin-vertical: 32px;--f7-block-title-font-size: inherit;--f7-block-title-font-weight: 500;--f7-block-title-line-height: 16px;--f7-block-title-margin-bottom: 16px;--f7-block-title-medium-font-size: 16px;--f7-block-title-medium-font-weight: 500;--f7-block-title-medium-line-height: 1.3;--f7-block-title-large-font-size: 22px;--f7-block-title-large-font-weight: 500;--f7-block-title-large-line-height: 1.2;--f7-block-inset-border-radius: 16px}.md,.md .dark,.md [class*=color-]{--f7-block-text-color: var(--f7-md-on-surface);--f7-block-strong-text-color: var(--f7-md-on-surface);--f7-block-outline-border-color: var(--f7-md-outline);--f7-block-title-text-color: var(--f7-theme-color);--f7-block-title-medium-text-color: var(--f7-theme-color);--f7-block-title-large-text-color: var(--f7-theme-color);--f7-block-strong-bg-color: var(--f7-md-surface-1);--f7-block-header-text-color: var(--f7-md-on-surface-variant);--f7-block-footer-text-color: var(--f7-md-on-surface-variant)}.block{box-sizing:border-box;position:relative;z-index:1;color:var(--f7-block-text-color);margin:var(--f7-block-margin-vertical) 0;padding-top:0;padding-bottom:0;padding-left:calc(var(--f7-block-padding-horizontal) + var(--f7-safe-area-left));padding-right:calc(var(--f7-block-padding-horizontal) + var(--f7-safe-area-right));font-size:var(--f7-block-font-size)}.block>h1:first-child,.block>h2:first-child,.block>h3:first-child,.block>h4:first-child,.block>p:first-child{margin-top:0}.block>h1:last-child,.block>h2:last-child,.block>h3:last-child,.block>h4:last-child,.block>p:last-child{margin-bottom:0}.block-strong,.ios .block-strong-ios,.md .block-strong-md{color:var(--f7-block-strong-text-color);padding-top:var(--f7-block-padding-vertical);padding-bottom:var(--f7-block-padding-vertical);background-color:var(--f7-block-strong-bg-color)}.block-outline:not(.inset):before,.ios .block-outline-ios:not(.inset):not(.inset-ios):before,.md .block-outline-md:not(.inset):not(.inset-md):before{content:"";position:absolute;background-color:var(--f7-block-outline-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.block-outline:not(.inset):after,.ios .block-outline-ios:not(.inset):not(.inset-ios):after,.md .block-outline-md:not(.inset):not(.inset-md):after{content:"";position:absolute;background-color:var(--f7-block-outline-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.block-outline.inset,.ios .block-outline-ios.inset,.ios .block-outline-ios.inset-ios,.md .block-outline-md.inset,.md .block-outline-md.inset-md{border:1px solid var(--f7-block-outline-border-color)}.block-title{position:relative;overflow:hidden;margin:0;white-space:var(--f7-block-title-white-space);text-overflow:ellipsis;text-transform:var(--f7-block-title-text-transform);color:var(--f7-block-title-text-color);font-size:var(--f7-block-title-font-size, inherit);font-weight:var(--f7-block-title-font-weight);line-height:var(--f7-block-title-line-height);margin-top:var(--f7-block-margin-vertical);margin-bottom:var(--f7-block-title-margin-bottom);margin-left:calc(var(--f7-block-padding-horizontal) + var(--f7-safe-area-left));margin-right:calc(var(--f7-block-padding-horizontal) + var(--f7-safe-area-right))}.block-title+.list,.block-title+.block,.block-title+.card,.block-title+.timeline,.block-title+.block-header{margin-top:0}.block-title-medium{font-size:var(--f7-block-title-medium-font-size);text-transform:var(--f7-block-title-medium-text-transform);color:var(--f7-block-title-medium-text-color);font-weight:var(--f7-block-title-medium-font-weight);line-height:var(--f7-block-title-medium-line-height)}.block-title-large{font-size:var(--f7-block-title-large-font-size);text-transform:var(--f7-block-title-large-text-transform);color:var(--f7-block-title-large-text-color);font-weight:var(--f7-block-title-large-font-weight);line-height:var(--f7-block-title-large-line-height)}.block>.block-title:first-child,.list>.block-title:first-child{margin-top:0;margin-left:0;margin-right:0}.block-header{color:var(--f7-block-header-text-color);font-size:var(--f7-block-header-font-size);margin-bottom:var(--f7-block-header-margin);margin-top:var(--f7-block-margin-vertical)}.block-header+.list,.block-header+.block,.block-header+.card,.block-header+.timeline{margin-top:var(--f7-block-header-margin)}.block-footer{color:var(--f7-block-footer-text-color);font-size:var(--f7-block-footer-font-size);margin-top:var(--f7-block-footer-margin);margin-bottom:var(--f7-block-margin-vertical)}.block-footer,.block-header{padding-top:0;padding-bottom:0;padding-left:calc(var(--f7-block-padding-horizontal) + var(--f7-safe-area-left));padding-right:calc(var(--f7-block-padding-horizontal) + var(--f7-safe-area-right))}.block-footer ul:first-child,.block-header ul:first-child,.block-footer p:first-child,.block-header p:first-child,.block-footer h1:first-child,.block-header h1:first-child,.block-footer h2:first-child,.block-header h2:first-child,.block-footer h3:first-child,.block-header h3:first-child,.block-footer h4:first-child,.block-header h4:first-child{margin-top:0}.block-footer ul:last-child,.block-header ul:last-child,.block-footer p:last-child,.block-header p:last-child,.block-footer h1:last-child,.block-header h1:last-child,.block-footer h2:last-child,.block-header h2:last-child,.block-footer h3:last-child,.block-header h3:last-child,.block-footer h4:last-child,.block-header h4:last-child{margin-bottom:0}.block-footer ul:first-child:last-child,.block-header ul:first-child:last-child,.block-footer p:first-child:last-child,.block-header p:first-child:last-child,.block-footer h1:first-child:last-child,.block-header h1:first-child:last-child,.block-footer h2:first-child:last-child,.block-header h2:first-child:last-child,.block-footer h3:first-child:last-child,.block-header h3:first-child:last-child,.block-footer h4:first-child:last-child,.block-header h4:first-child:last-child{margin-top:0;margin-bottom:0}.list .block-header,.block .block-header,.card .block-header,.timeline .block-header{margin-top:0}.list .block-footer,.block .block-footer,.card .block-footer,.timeline .block-footer{margin-bottom:0}.list+.block-footer,.block+.block-footer,.card+.block-footer,.timeline+.block-footer{margin-top:calc(-1 * (var(--f7-block-margin-vertical) - var(--f7-block-footer-margin)))}.block+.block-footer{margin-top:calc(-1 * (var(--f7-block-margin-vertical) - var(--f7-block-footer-margin)));margin-bottom:var(--f7-block-margin-vertical)}.block .block-header,.block .block-footer{padding:0}.block.inset,.ios .block.inset-ios,.md .block.inset-md{border-radius:var(--f7-block-inset-border-radius);margin-left:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-right));--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.block-strong.inset:before,.ios .block-strong-ios.inset:before,.md .block-strong-md.inset:before,.ios .block-strong.inset-ios:before,.md .block-strong.inset-md:before,.ios .block-strong-ios.inset-ios:before,.md .block-strong-md.inset-md:before,.block-strong.inset:after,.ios .block-strong-ios.inset:after,.md .block-strong-md.inset:after,.ios .block-strong.inset-ios:after,.md .block-strong.inset-md:after,.ios .block-strong-ios.inset-ios:after,.md .block-strong-md.inset-md:after{display:none!important}@media (min-width: 480px){.block.xsmall-inset,.ios .block.xsmall-inset-ios,.md .block.xsmall-inset-md{border-radius:var(--f7-block-inset-border-radius);margin-left:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-right));--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.block.xsmall-inset:before,.ios .block.xsmall-inset-ios:before,.md .block.xsmall-inset-md:before,.block.xsmall-inset:after,.ios .block.xsmall-inset-ios:after,.md .block.xsmall-inset-md:after{display:none!important}.block.xsmall-inset.block-outline,.ios .block.xsmall-inset-ios.block-outline,.ios .block.xsmall-inset-ios.block-outline-ios,.md .block.xsmall-inset-md.block-outline,.md .block.xsmall-inset-md.block-outline-md{border:1px solid var(--f7-block-outline-border-color)}}@media (min-width: 568px){.block.small-inset,.ios .block.small-inset-ios,.md .block.small-inset-md{border-radius:var(--f7-block-inset-border-radius);margin-left:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-right));--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.block.small-inset:before,.ios .block.small-inset-ios:before,.md .block.small-inset-md:before,.block.small-inset:after,.ios .block.small-inset-ios:after,.md .block.small-inset-md:after{display:none!important}.block.small-inset.block-outline,.ios .block.small-inset-ios.block-outline,.ios .block.small-inset-ios.block-outline-ios,.md .block.small-inset-md.block-outline,.md .block.small-inset-md.block-outline-md{border:1px solid var(--f7-block-outline-border-color)}}@media (min-width: 768px){.block.medium-inset,.ios .block.medium-inset-ios,.md .block.medium-inset-md{border-radius:var(--f7-block-inset-border-radius);margin-left:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-right));--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.block.medium-inset:before,.ios .block.medium-inset-ios:before,.md .block.medium-inset-md:before,.block.medium-inset:after,.ios .block.medium-inset-ios:after,.md .block.medium-inset-md:after{display:none!important}.block.medium-inset.block-outline,.ios .block.medium-inset-ios.block-outline,.ios .block.medium-inset-ios.block-outline-ios,.md .block.medium-inset-md.block-outline,.md .block.medium-inset-md.block-outline-md{border:1px solid var(--f7-block-outline-border-color)}}@media (min-width: 1024px){.block.large-inset,.ios .block.large-inset-ios,.md .block.large-inset-md{border-radius:var(--f7-block-inset-border-radius);margin-left:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-right));--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.block.large-inset:before,.ios .block.large-inset-ios:before,.md .block.large-inset-md:before,.block.large-inset:after,.ios .block.large-inset-ios:after,.md .block.large-inset-md:after{display:none!important}.block.large-inset.block-outline,.ios .block.large-inset-ios.block-outline,.ios .block.large-inset-ios.block-outline-ios,.md .block.large-inset-md.block-outline,.md .block.large-inset-md.block-outline-md{border:1px solid var(--f7-block-outline-border-color)}}@media (min-width: 1200px){.block.xlarge-inset,.ios .block.xlarge-inset-ios,.md .block.xlarge-inset-md{border-radius:var(--f7-block-inset-border-radius);margin-left:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-right));--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.block.xlarge-inset:before,.ios .block.xlarge-inset-ios:before,.md .block.xlarge-inset-md:before,.block.xlarge-inset:after,.ios .block.xlarge-inset-ios:after,.md .block.xlarge-inset-md:after{display:none!important}.block.xlarge-inset.block-outline,.ios .block.xlarge-inset-ios.block-outline,.ios .block.xlarge-inset-ios.block-outline-ios,.md .block.xlarge-inset-md.block-outline,.md .block.xlarge-inset-md.block-outline-md{border:1px solid var(--f7-block-outline-border-color)}}:root{--f7-list-inset-side-margin: 16px;--f7-list-item-padding-horizontal: 16px;--f7-list-item-padding-vertical: 8px;--f7-list-media-item-padding-horizontal: 16px;--f7-list-item-text-max-lines: 2;--f7-list-chevron-icon-font-size: 20px;--f7-list-item-media-margin: 16px;--f7-list-item-title-font-size: inherit;--f7-list-item-title-font-weight: 400;--f7-list-item-title-line-height: inherit;--f7-list-item-title-white-space: nowrap;--f7-list-item-subtitle-font-weight: 400;--f7-list-item-subtitle-line-height: inherit;--f7-list-item-text-font-weight: 400;--f7-list-item-after-font-weight: 400;--f7-list-item-after-line-height: inherit;--f7-list-item-header-font-size: 12px;--f7-list-item-header-font-weight: 400;--f7-list-item-header-line-height: 1.2;--f7-list-item-footer-font-size: 12px;--f7-list-item-footer-font-weight: 400;--f7-list-item-footer-line-height: 1.2;--f7-list-button-font-size: inherit;--f7-list-button-font-weight: 400;--f7-list-button-text-align: center;--f7-list-group-title-line-height: inherit;--f7-menu-list-font-size: 14px;--f7-menu-list-item-title-font-size: 14px;--f7-menu-list-item-title-font-weight: 500;--f7-menu-list-item-subtitle-font-size: 14px;--f7-menu-list-item-text-font-size: 14px;--f7-menu-list-item-after-font-size: 14px;--f7-list-outline-border-color: rgba(0, 0, 0, .22);--f7-list-chevron-icon-color: rgba(0, 0, 0, .2)}:root .dark,:root.dark{--f7-list-button-border-color: rgba(255, 255, 255, .15);--f7-list-outline-border-color: rgba(255, 255, 255, .15);--f7-list-group-title-border-color: rgba(255, 255, 255, .15);--f7-list-chevron-icon-color: rgba(255, 255, 255, .3)}.ios{--f7-list-in-list-padding-left: 30px;--f7-list-inset-border-radius: 8px;--f7-list-margin-vertical: 35px;--f7-list-font-size: 17px;--f7-list-chevron-icon-area: 20px;--f7-list-item-title-text-color: inherit;--f7-list-item-subtitle-text-color: inherit;--f7-list-link-pressed-bg-color: rgba(0, 0, 0, .15);--f7-list-item-subtitle-font-size: 15px;--f7-list-item-text-font-size: 15px;--f7-list-item-text-line-height: 21px;--f7-list-item-after-font-size: inherit;--f7-list-item-after-padding: 5px;--f7-list-item-min-height: 44px;--f7-list-item-media-icons-margin: 5px;--f7-list-media-item-padding-vertical: 10px;--f7-list-media-item-title-font-weight: 600;--f7-list-button-border-color: rgba(0, 0, 0, .22);--f7-list-group-title-border-color: rgba(0, 0, 0, .22);--f7-list-group-title-height: 31px;--f7-list-group-title-font-size: inherit;--f7-list-group-title-font-weight: 400;--f7-menu-list-offset: 8px;--f7-menu-list-border-radius: 8px;--f7-menu-list-item-bg-color: transparent;--f7-menu-list-item-text-color: inherit;--f7-menu-list-item-min-height: 44px;--f7-list-item-border-color: rgba(0, 0, 0, .22);--f7-list-outline-inset-border-color: rgba(0, 0, 0, .22);--f7-list-strong-bg-color: #fff;--f7-list-item-after-text-color: rgba(0, 0, 0, .45);--f7-list-item-header-text-color: inherit;--f7-list-item-footer-text-color: rgba(0, 0, 0, .45);--f7-list-item-text-text-color: rgba(0, 0, 0, .45);--f7-list-group-title-text-color: rgba(0, 0, 0, .45);--f7-list-group-title-bg-color: #f7f7f7;--f7-menu-list-item-selected-text-color: var(--f7-theme-color);--f7-menu-list-item-selected-bg-color: rgba(var(--f7-theme-color-rgb), .15)}.ios .dark,.ios.dark{--f7-list-item-border-color: rgba(255, 255, 255, .15);--f7-list-outline-inset-color: rgba(255, 255, 255, .15);--f7-list-strong-bg-color: #1c1c1d;--f7-list-item-after-text-color: rgba(255, 255, 255, .55);--f7-list-item-header-text-color: rgba(255, 255, 255, .55);--f7-list-item-footer-text-color: rgba(255, 255, 255, .55);--f7-list-item-text-text-color: rgba(255, 255, 255, .55);--f7-list-group-title-text-color: rgba(255, 255, 255, .55);--f7-list-group-title-bg-color: #232323;--f7-list-link-pressed-bg-color: rgba(255, 255, 255, .08);--f7-menu-list-item-selected-text-color: inherit;--f7-menu-list-item-selected-bg-color: var(--f7-theme-color)}.md{--f7-list-in-list-padding-left: 24px;--f7-list-inset-border-radius: 16px;--f7-list-margin-vertical: 32px;--f7-list-font-size: 16px;--f7-list-chevron-icon-area: 26px;--f7-list-item-subtitle-font-size: 14px;--f7-list-item-text-font-size: 14px;--f7-list-item-text-line-height: 20px;--f7-list-item-after-font-size: 14px;--f7-list-item-after-padding: 8px;--f7-list-item-min-height: 48px;--f7-list-item-media-icons-margin: 8px;--f7-list-media-item-padding-vertical: 12px;--f7-list-media-item-title-font-weight: 500;--f7-list-button-border-color: transparent;--f7-list-group-title-border-color: transparent;--f7-list-group-title-height: 48px;--f7-list-group-title-font-size: 16px;--f7-list-group-title-font-weight: 400;--f7-menu-list-offset: 16px;--f7-menu-list-border-radius: 999px;--f7-menu-list-item-min-height: 56px;--f7-list-link-pressed-bg-color: transparent}.md,.md .dark,.md [class*=color-]{--f7-list-outline-inset-border-color: var(--f7-md-outline);--f7-list-item-border-color: var(--f7-md-outline);--f7-list-item-title-text-color: var(--f7-md-on-surface);--f7-list-item-subtitle-text-color: var(--f7-md-on-surface);--f7-list-group-title-bg-color: var(--f7-md-surface-2);--f7-list-group-title-text-color: var(--f7-md-on-surface-variant);--f7-list-strong-bg-color: var(--f7-md-surface-1);--f7-list-item-after-text-color: var(--f7-md-on-surface-variant);--f7-list-item-text-text-color: var(--f7-md-on-surface-variant);--f7-list-item-header-text-color: var(--f7-md-on-surface-variant);--f7-list-item-footer-text-color: var(--f7-md-on-surface-variant);--f7-menu-list-item-text-color: var(--f7-md-on-surface-variant);--f7-menu-list-item-bg-color: var(--f7-md-surface-1);--f7-menu-list-item-selected-text-color: var(--f7-md-on-secondary-container);--f7-menu-list-item-selected-bg-color: var(--f7-md-secondary-container)}:root{--f7-list-chevron-icon-left: "chevron_left";--f7-list-chevron-icon-right: "chevron_right"}.list{position:relative;z-index:1;font-size:var(--f7-list-font-size);margin:var(--f7-list-margin-vertical) 0}.list-strong ul,.ios .list-strong-ios ul,.md .list-strong-md ul{background:var(--f7-list-strong-bg-color)}.list-outline ul:before,.ios .list-outline-ios ul:before,.md .list-outline-md ul:before{content:"";position:absolute;background-color:var(--f7-list-outline-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.list-outline ul:after,.ios .list-outline-ios ul:after,.md .list-outline-md ul:after{content:"";position:absolute;background-color:var(--f7-list-outline-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.list-outline.inset,.ios .list-outline-ios.inset,.ios .list-outline-ios.inset-ios,.md .list-outline-md.inset,.md .list-outline-md.inset-md{border:1px solid var(--f7-list-outline-inset-border-color)}.list ul{list-style:none;margin:0;padding:0;position:relative}.list ul ul{padding-left:calc(var(--f7-list-item-padding-horizontal) + var(--f7-list-in-list-padding-left))}.list ul ul:before,.list ul ul:after{display:none!important}.list li{position:relative;box-sizing:border-box}.list .item-media{display:flex;flex-shrink:0;flex-wrap:nowrap;align-items:center;box-sizing:border-box;padding-bottom:var(--f7-list-item-padding-vertical);padding-top:var(--f7-list-item-padding-vertical);position:relative}.list .item-media+.item-inner{margin-left:var(--f7-list-item-media-margin)}.list .item-media i+i,.list .item-media i+img{margin-left:var(--f7-list-item-media-icons-margin)}.list .item-after{padding-left:var(--f7-list-item-after-padding)}.list .item-inner{position:relative;width:100%;min-width:0;display:flex;justify-content:space-between;box-sizing:border-box;align-items:center;align-self:stretch;padding-top:var(--f7-list-item-padding-vertical);padding-bottom:var(--f7-list-item-padding-vertical);min-height:calc(var(--f7-list-item-min-height));padding-right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.list .item-title{min-width:0;flex-shrink:1;white-space:var(--f7-list-item-title-white-space);position:relative;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-size:var(--f7-list-item-title-font-size);font-weight:var(--f7-list-item-title-font-weight);color:var(--f7-list-item-title-text-color);line-height:var(--f7-list-item-title-line-height)}.list .item-after{white-space:nowrap;flex-shrink:0;display:flex;font-size:var(--f7-list-item-after-font-size);font-weight:var(--f7-list-item-after-font-weight);color:var(--f7-list-item-after-text-color);line-height:var(--f7-list-item-after-line-height);margin-left:auto}.list .item-header,.list .item-footer{white-space:normal}.list .item-header{color:var(--f7-list-item-header-text-color);font-size:var(--f7-list-item-header-font-size);font-weight:var(--f7-list-item-header-font-weight);line-height:var(--f7-list-item-header-line-height)}.list .item-footer{color:var(--f7-list-item-footer-text-color);font-size:var(--f7-list-item-footer-font-size);font-weight:var(--f7-list-item-footer-font-weight);line-height:var(--f7-list-item-footer-line-height)}.list .item-link,.list label.item-content,.list .list-button{transition-duration:.3s;transition-property:background-color,color;position:relative;overflow:hidden;z-index:0;cursor:pointer}.list .item-link,.list .list-button{display:block}.list .item-link,.list label.item-content{color:inherit}.list .item-link.active-state,.list label.item-content.active-state{background-color:var(--f7-list-link-pressed-bg-color)}.list .item-link .item-inner{padding-right:calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.list .item-content{display:flex;justify-content:space-between;box-sizing:border-box;align-items:center;min-height:calc(var(--f7-list-item-min-height));padding-left:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left))}.list .item-subtitle{position:relative;overflow:hidden;white-space:nowrap;max-width:100%;text-overflow:ellipsis;font-size:var(--f7-list-item-subtitle-font-size);font-weight:var(--f7-list-item-subtitle-font-weight);color:var(--f7-list-item-subtitle-text-color);line-height:var(--f7-list-item-subtitle-line-height)}.list .item-text{position:relative;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:var(--f7-list-item-text-max-lines);-webkit-box-orient:vertical;display:-webkit-box;font-size:var(--f7-list-item-text-font-size);font-weight:var(--f7-list-item-text-font-weight);color:var(--f7-list-item-text-text-color);line-height:var(--f7-list-item-text-line-height);max-height:calc(var(--f7-list-item-text-line-height) * var(--f7-list-item-text-max-lines))}.list .item-title-row{position:relative;display:flex;justify-content:space-between;box-sizing:border-box}.list .item-title-row .item-after{align-self:center}.list li:last-child .list-button:after{display:none!important}.list li:last-child>.item-inner:after,.list li:last-child li:last-child>.item-inner:after,.list li:last-child>.item-content>.item-inner:after,.list li:last-child li:last-child>.item-content>.item-inner:after,.list li:last-child>.swipeout-content>.item-content>.item-inner:after,.list li:last-child li:last-child>.swipeout-content>.item-content>.item-inner:after,.list li:last-child>.item-link>.item-content>.item-inner:after,.list li:last-child li:last-child>.item-link>.item-content>.item-inner:after{display:none!important}.list li li:last-child .item-inner:after,.list li:last-child li .item-inner:after{content:"";position:absolute;background-color:var(--f7-list-item-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.list-button{--f7-touch-ripple-color: var(--f7-link-touch-ripple-color, rgba(var(--f7-theme-color-rgb), .25));padding:0 var(--f7-list-item-padding-horizontal);line-height:var(--f7-list-item-min-height);color:var(--f7-list-button-text-color, var(--f7-theme-color));font-size:var(--f7-list-button-font-size);font-weight:var(--f7-list-button-font-weight);text-align:var(--f7-list-button-text-align)}.ios .list-button.active-state{background-color:var(--f7-list-button-pressed-bg-color, rgba(var(--f7-theme-color-rgb), .15))}.md .list-button.active-state{background-color:var(--f7-list-button-pressed-bg-color, transparent)}.list-dividers .list-button:after,.ios .list-dividers-ios .list-button:after,.md .list-dividers-md .list-button:after{content:"";position:absolute;background-color:var(--f7-list-button-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.list-button[class*=color-]{--f7-list-button-text-color: var(--f7-theme-color)}.simple-list li{position:relative;white-space:nowrap;text-overflow:ellipsis;max-width:100%;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;align-content:center;line-height:var(--f7-list-item-min-height);height:var(--f7-list-item-min-height);padding-left:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));padding-right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.simple-list li:after{left:var(--f7-list-item-padding-horizontal);width:auto;left:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));right:0}.simple-list li:last-child:after{display:none!important}.links-list li{z-index:1}.links-list a{transition-duration:.3s;transition-property:background-color;display:block;position:relative;overflow:hidden;display:flex;align-items:center;align-content:center;justify-content:space-between;box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;max-width:100%;height:var(--f7-list-item-min-height);color:inherit}.links-list a .ripple-wave{z-index:0}.links-list a:after{width:auto}.links-list a.active-state{background-color:var(--f7-list-link-pressed-bg-color)}.links-list a{padding-left:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));padding-right:calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.links-list a:after{left:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));right:0}.links-list li:last-child a:after{display:none!important}.list-dividers.simple-list li:after,.ios .list-dividers-ios.simple-list li:after,.md .list-dividers-md.simple-list li:after,.list-dividers.links-list a:after,.ios .list-dividers-ios.links-list a:after,.md .list-dividers-md.links-list a:after,.list-dividers .item-inner:after,.ios .list-dividers-ios .item-inner:after,.md .list-dividers-md .item-inner:after{content:"";position:absolute;background-color:var(--f7-list-item-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.md .media-list:not(.inset):not(.inset-md):not(.menu-list) .item-content,.md .media-list:not(.inset):not(.inset-md):not(.menu-list) li>.item-link,.md .list:not(.inset):not(.inset-md):not(.menu-list) .media-item .item-content,.md .list:not(.inset):not(.inset-md):not(.menu-list) .media-item>.item-link{margin-left:calc(var(--f7-list-item-padding-horizontal) / 2);margin-right:calc(var(--f7-list-item-padding-horizontal) / 2);border-radius:16px}.md .media-list:not(.inset):not(.inset-md):not(.menu-list) li>.item-link>.item-content,.md .list:not(.inset):not(.inset-md):not(.menu-list) .media-item>.item-link>.item-content{margin-left:0;margin-right:0}.md .media-list:not(.inset):not(.inset-md):not(.menu-list) .item-content,.md .list:not(.inset):not(.inset-md):not(.menu-list) .media-item .item-content{padding-left:calc(var(--f7-list-item-padding-horizontal) / 2 + var(--f7-safe-area-left))}.media-list,li.media-item{--f7-list-item-padding-vertical: var(--f7-list-media-item-padding-vertical);--f7-list-item-padding-horizontal: var(--f7-list-media-item-padding-horizontal)}.media-list .item-title,li.media-item .item-title{font-weight:var(--f7-list-media-item-title-font-weight, var(--f7-list-item-title-font-weight, inherit))}.media-list .item-inner,li.media-item .item-inner{display:block;align-self:stretch}.media-list .item-media img,li.media-item .item-media img{display:block}.media-list .item-link .item-inner,li.media-item .item-link .item-inner{padding-right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.media-list .item-link .item-title-row,li.media-item .item-link .item-title-row{padding-right:calc(var(--f7-list-chevron-icon-area))}.media-list.chevron-center .item-link .item-inner,.media-list .chevron-center .item-link .item-inner,.media-list .item-link.chevron-center .item-inner,li.media-item.chevron-center .item-link .item-inner,li.media-item .item-link.chevron-center .item-inner,li.media-item .chevron-center .item-link .item-inner{padding-right:calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.media-list.chevron-center .item-title-row,.media-list .chevron-center .item-title-row,li.media-item.chevron-center .item-title-row,li.media-item .chevron-center .item-title-row{padding-right:0}.list .item-link .item-inner:before,.links-list a:before,.media-list .item-link .item-title-row:before,li.media-item .item-link .item-title-row:before,.media-list.chevron-center .item-link .item-inner:before,.media-list .chevron-center .item-link .item-inner:before,.media-list .item-link.chevron-center .item-inner:before,li.media-item.chevron-center .item-link .item-inner:before,li.media-item .chevron-center .item-link .item-inner:before,li.media-item .item-link.chevron-center .item-inner:before{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;position:absolute;top:50%;width:8px;height:14px;margin-top:-7px;font-size:var(--f7-list-chevron-icon-font-size);line-height:14px;color:var(--f7-list-chevron-icon-color);pointer-events:none;right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));content:var(--f7-list-chevron-icon-right)}.media-list.chevron-center .item-title-row:before,.media-list .chevron-center .item-title-row:before,li.media-item.chevron-center .item-title-row:before,li.media-item .chevron-center .item-title-row:before{display:none}.media-list .item-link .item-inner:before,li.media-item .item-link .item-inner:before{display:none}.media-list .item-link .item-title-row:before,li.media-item .item-link .item-title-row:before{right:0}.list-group ul:after,.list-group ul:before{z-index:25!important}.list-group+.list-group ul:before{display:none!important}li.list-group-title,.list-group-title{margin-top:-1px;white-space:nowrap;position:relative;max-width:100%;text-overflow:ellipsis;overflow:hidden;z-index:15;padding-top:0;padding-bottom:0;padding-left:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));padding-right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));box-sizing:border-box;display:flex;align-items:center;align-content:center;height:var(--f7-list-group-title-height);color:var(--f7-list-group-title-text-color);font-size:var(--f7-list-group-title-font-size);font-weight:var(--f7-list-group-title-font-weight);background-color:var(--f7-list-group-title-bg-color);line-height:var(--f7-list-group-title-line-height)}li.list-group-title:before,.list-group-title:before{content:"";position:absolute;background-color:var(--f7-list-group-title-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}li.list-group-title:after,.list-group-title:after{display:none!important}.list-group>.list-group-title,.list-group>ul>.list-group-title{top:0;margin-top:0;position:sticky;z-index:20}.page-with-navbar-large .list-group>.list-group-title,.page-with-navbar-large .list-group>ul>.list-group-title{top:calc(-1 * var(--f7-navbar-large-title-height))}.list.inset,.ios .list.inset-ios,.md .list.inset-md{margin-left:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right));border-radius:var(--f7-list-inset-border-radius);--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.list.inset .block-title,.ios .list.inset-ios .block-title,.md .list.inset-md .block-title{margin-left:0;margin-right:0}.list.inset ul,.ios .list.inset-ios ul,.md .list.inset-md ul{border-radius:var(--f7-list-inset-border-radius)}.list.inset ul:before,.ios .list.inset-ios ul:before,.md .list.inset-md ul:before,.list.inset ul:after,.ios .list.inset-ios ul:after,.md .list.inset-md ul:after{display:none!important}.list.inset li.swipeout:first-child,.ios .list.inset-ios li.swipeout:first-child,.md .list.inset-md li.swipeout:first-child,.list.inset li:first-child>a,.ios .list.inset-ios li:first-child>a,.md .list.inset-md li:first-child>a{border-radius:var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius) 0 0}.list.inset li.swipeout:last-child,.ios .list.inset-ios li.swipeout:last-child,.md .list.inset-md li.swipeout:last-child,.list.inset li:last-child>a,.ios .list.inset-ios li:last-child>a,.md .list.inset-md li:last-child>a{border-radius:0 0 var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius)}.list.inset li.swipeout:first-child:last-child,.ios .list.inset-ios li.swipeout:first-child:last-child,.md .list.inset-md li.swipeout:first-child:last-child,.list.inset li:first-child:last-child>a,.ios .list.inset-ios li:first-child:last-child>a,.md .list.inset-md li:first-child:last-child>a{border-radius:var(--f7-list-inset-border-radius)}@media (min-width: 480px){.list.xsmall-inset,.ios .list.xsmall-inset-ios,.md .list.xsmall-inset-md{margin-left:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right));border-radius:var(--f7-list-inset-border-radius);--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.list.xsmall-inset .block-title,.ios .list.xsmall-inset-ios .block-title,.md .list.xsmall-inset-md .block-title{margin-left:0;margin-right:0}.list.xsmall-inset ul,.ios .list.xsmall-inset-ios ul,.md .list.xsmall-inset-md ul{border-radius:var(--f7-list-inset-border-radius)}.list.xsmall-inset ul:before,.ios .list.xsmall-inset-ios ul:before,.md .list.xsmall-inset-md ul:before,.list.xsmall-inset ul:after,.ios .list.xsmall-inset-ios ul:after,.md .list.xsmall-inset-md ul:after{display:none!important}.list.xsmall-inset li:first-child>a,.ios .list.xsmall-inset-ios li:first-child>a,.md .list.xsmall-inset-md li:first-child>a{border-radius:var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius) 0 0}.list.xsmall-inset li:last-child>a,.ios .list.xsmall-inset-ios li:last-child>a,.md .list.xsmall-inset-md li:last-child>a{border-radius:0 0 var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius)}.list.xsmall-inset li:first-child:last-child>a,.ios .list.xsmall-inset-ios li:first-child:last-child>a,.md .list.xsmall-inset-md li:first-child:last-child>a{border-radius:var(--f7-list-inset-border-radius)}.list.xsmall-inset.list-outline ul,.ios .list.xsmall-inset-ios.list-outline ul,.ios .list.xsmall-inset-ios.list-outline-ios ul,.md .list.xsmall-inset-md.list-outline ul,.md .list.xsmall-inset-md.list-outline-md ul{border:1px solid var(--f7-list-outline-inset-border-color)}}@media (min-width: 568px){.list.small-inset,.ios .list.small-inset-ios,.md .list.small-inset-md{margin-left:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right));border-radius:var(--f7-list-inset-border-radius);--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.list.small-inset .block-title,.ios .list.small-inset-ios .block-title,.md .list.small-inset-md .block-title{margin-left:0;margin-right:0}.list.small-inset ul,.ios .list.small-inset-ios ul,.md .list.small-inset-md ul{border-radius:var(--f7-list-inset-border-radius)}.list.small-inset ul:before,.ios .list.small-inset-ios ul:before,.md .list.small-inset-md ul:before,.list.small-inset ul:after,.ios .list.small-inset-ios ul:after,.md .list.small-inset-md ul:after{display:none!important}.list.small-inset li:first-child>a,.ios .list.small-inset-ios li:first-child>a,.md .list.small-inset-md li:first-child>a{border-radius:var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius) 0 0}.list.small-inset li:last-child>a,.ios .list.small-inset-ios li:last-child>a,.md .list.small-inset-md li:last-child>a{border-radius:0 0 var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius)}.list.small-inset li:first-child:last-child>a,.ios .list.small-inset-ios li:first-child:last-child>a,.md .list.small-inset-md li:first-child:last-child>a{border-radius:var(--f7-list-inset-border-radius)}.list.small-inset.list-outline ul,.ios .list.small-inset-ios.list-outline ul,.ios .list.small-inset-ios.list-outline-ios ul,.md .list.small-inset-md.list-outline ul,.md .list.small-inset-md.list-outline-md ul{border:1px solid var(--f7-list-outline-inset-border-color)}}@media (min-width: 768px){.list.medium-inset,.ios .list.medium-inset-ios,.md .list.medium-inset-md{margin-left:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right));border-radius:var(--f7-list-inset-border-radius);--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.list.medium-inset .block-title,.ios .list.medium-inset-ios .block-title,.md .list.medium-inset-md .block-title{margin-left:0;margin-right:0}.list.medium-inset ul,.ios .list.medium-inset-ios ul,.md .list.medium-inset-md ul{border-radius:var(--f7-list-inset-border-radius)}.list.medium-inset ul:before,.ios .list.medium-inset-ios ul:before,.md .list.medium-inset-md ul:before,.list.medium-inset ul:after,.ios .list.medium-inset-ios ul:after,.md .list.medium-inset-md ul:after{display:none!important}.list.medium-inset li:first-child>a,.ios .list.medium-inset-ios li:first-child>a,.md .list.medium-inset-md li:first-child>a{border-radius:var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius) 0 0}.list.medium-inset li:last-child>a,.ios .list.medium-inset-ios li:last-child>a,.md .list.medium-inset-md li:last-child>a{border-radius:0 0 var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius)}.list.medium-inset li:first-child:last-child>a,.ios .list.medium-inset-ios li:first-child:last-child>a,.md .list.medium-inset-md li:first-child:last-child>a{border-radius:var(--f7-list-inset-border-radius)}.list.medium-inset.list-outline ul,.ios .list.medium-inset-ios.list-outline ul,.ios .list.medium-inset-ios.list-outline-ios ul,.md .list.medium-inset-md.list-outline ul,.md .list.medium-inset-md.list-outline-md ul{border:1px solid var(--f7-list-outline-inset-border-color)}}@media (min-width: 1024px){.list.large-inset,.ios .list.large-inset-ios,.md .list.large-inset-md{margin-left:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right));border-radius:var(--f7-list-inset-border-radius);--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.list.large-inset .block-title,.ios .list.large-inset-ios .block-title,.md .list.large-inset-md .block-title{margin-left:0;margin-right:0}.list.large-inset ul,.ios .list.large-inset-ios ul,.md .list.large-inset-md ul{border-radius:var(--f7-list-inset-border-radius)}.list.large-inset ul:before,.ios .list.large-inset-ios ul:before,.md .list.large-inset-md ul:before,.list.large-inset ul:after,.ios .list.large-inset-ios ul:after,.md .list.large-inset-md ul:after{display:none!important}.list.large-inset li:first-child>a,.ios .list.large-inset-ios li:first-child>a,.md .list.large-inset-md li:first-child>a{border-radius:var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius) 0 0}.list.large-inset li:last-child>a,.ios .list.large-inset-ios li:last-child>a,.md .list.large-inset-md li:last-child>a{border-radius:0 0 var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius)}.list.large-inset li:first-child:last-child>a,.ios .list.large-inset-ios li:first-child:last-child>a,.md .list.large-inset-md li:first-child:last-child>a{border-radius:var(--f7-list-inset-border-radius)}.list.large-inset.list-outline ul,.ios .list.large-inset-ios.list-outline ul,.ios .list.large-inset-ios.list-outline-ios ul,.md .list.large-inset-md.list-outline ul,.md .list.large-inset-md.list-outline-md ul{border:1px solid var(--f7-list-outline-inset-border-color)}}@media (min-width: 1200px){.list.xlarge-inset,.ios .list.xlarge-inset-ios,.md .list.xlarge-inset-md{margin-left:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right));border-radius:var(--f7-list-inset-border-radius);--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.list.xlarge-inset .block-title,.ios .list.xlarge-inset-ios .block-title,.md .list.xlarge-inset-md .block-title{margin-left:0;margin-right:0}.list.xlarge-inset ul,.ios .list.xlarge-inset-ios ul,.md .list.xlarge-inset-md ul{border-radius:var(--f7-list-inset-border-radius)}.list.xlarge-inset ul:before,.ios .list.xlarge-inset-ios ul:before,.md .list.xlarge-inset-md ul:before,.list.xlarge-inset ul:after,.ios .list.xlarge-inset-ios ul:after,.md .list.xlarge-inset-md ul:after{display:none!important}.list.xlarge-inset li:first-child>a,.ios .list.xlarge-inset-ios li:first-child>a,.md .list.xlarge-inset-md li:first-child>a{border-radius:var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius) 0 0}.list.xlarge-inset li:last-child>a,.ios .list.xlarge-inset-ios li:last-child>a,.md .list.xlarge-inset-md li:last-child>a{border-radius:0 0 var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius)}.list.xlarge-inset li:first-child:last-child>a,.ios .list.xlarge-inset-ios li:first-child:last-child>a,.md .list.xlarge-inset-md li:first-child:last-child>a{border-radius:var(--f7-list-inset-border-radius)}.list.xlarge-inset.list-outline ul,.ios .list.xlarge-inset-ios.list-outline ul,.ios .list.xlarge-inset-ios.list-outline-ios ul,.md .list.xlarge-inset-md.list-outline ul,.md .list.xlarge-inset-md.list-outline-md ul{border:1px solid var(--f7-list-outline-inset-border-color)}}.list.no-chevron,.list .no-chevron,.menu-list{--f7-list-chevron-icon-color: transparent;--f7-list-chevron-icon-area: 0px}.menu-list{--f7-list-font-size: var(--f7-menu-list-font-size);--f7-list-item-title-font-size: var(--f7-menu-list-item-title-font-size);--f7-list-item-title-font-weight: var(--f7-menu-list-item-title-font-weight);--f7-list-item-subtitle-font-size: var(--f7-menu-list-item-subtitle-font-size);--f7-list-item-text-font-size: var(--f7-menu-list-item-text-font-size);--f7-list-item-after-font-size: var(--f7-menu-list-item-after-font-size);--f7-list-item-min-height: var(--f7-menu-list-item-min-height)}.menu-list .item-header,.menu-list .item-footer,.menu-list .item-title,.menu-list .item-after,.menu-list .item-text,.menu-list .item-subtitle{transition-duration:.3s}.menu-list li:not(.list-group-title){padding-top:4px;padding-bottom:4px}.menu-list li:not(.list-group-title):first-child{padding-top:4px}.menu-list li:not(.list-group-title):last-child{padding-bottom:4px}.menu-list .item-link{margin-left:var(--f7-menu-list-offset);margin-right:var(--f7-menu-list-offset);border-radius:var(--f7-menu-list-border-radius)!important;color:var(--f7-menu-list-item-text-color);background-color:var(--f7-menu-list-item-bg-color)}.menu-list .item-inner:after{display:none}.menu-list .item-selected .item-link,.menu-list .item-selected.item-link,.menu-list .tab-link-active .item-link,.menu-list .tab-link-active.item-link{color:var(--f7-menu-list-item-selected-text-color);background-color:var(--f7-menu-list-item-selected-bg-color)}.menu-list .item-selected .item-header,.menu-list .item-selected .item-footer,.menu-list .item-selected .item-title,.menu-list .item-selected .item-after,.menu-list .item-selected .item-text,.menu-list .item-selected .item-subtitle{color:var(--f7-menu-list-item-selected-text-color)}.ios .item-link.active-state .item-inner:after,.ios .list-button.active-state:after,.ios .links-list a.active-state:after{background-color:transparent}.ios .links-list a.active-state,.ios .list .item-link.active-state,.ios .list .list-button.active-state{transition-duration:0ms}.md .menu-list .item-link.active-state{background-color:var(--f7-menu-list-item-bg-color)}:root{--f7-badge-text-color: #fff;--f7-badge-bg-color: #8e8e93;--f7-badge-in-icon-size: 16px;--f7-badge-in-icon-font-size: 10px;--f7-badge-font-weight: normal;--f7-badge-font-size: 12px}.ios{--f7-badge-padding: 0 4px;--f7-badge-size: 20px;--f7-badge-font-weight: 600}.md{--f7-badge-padding: 2px 6px;--f7-badge-size: 20px;--f7-badge-font-weight: 500}.badge{display:inline-flex;align-items:center;align-content:center;justify-content:center;color:var(--f7-badge-text-color);background:var(--f7-badge-bg-color);position:relative;box-sizing:border-box;text-align:center;vertical-align:middle;font-weight:var(--f7-badge-font-weight);font-size:var(--f7-badge-font-size);border-radius:var(--f7-badge-size);padding:var(--f7-badge-padding);height:var(--f7-badge-size);min-width:var(--f7-badge-size)}.icon .badge,.f7-icons .badge,.framework7-icons .badge,.material-icons .badge{position:absolute;left:100%;margin-left:-10px;top:-2px;font-family:var(--f7-font-family);--f7-badge-font-size: var(--f7-badge-in-icon-font-size);--f7-badge-size: var(--f7-badge-in-icon-size);--f7-badge-padding: 0px 2px}.badge[class*=color-]{--f7-badge-bg-color: var(--f7-theme-color)}:root{--f7-button-font-size: 14px;--f7-button-min-width: 32px;--f7-button-bg-color: transparent;--f7-button-border-width: 0px;--f7-button-raised-box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);--f7-button-raised-pressed-box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);--f7-segmented-raised-divider-color: rgba(0, 0, 0, .1);--f7-segmented-strong-padding: 2px;--f7-segmented-strong-between-buttons: 4px;--f7-segmented-strong-button-font-weight: 500;--f7-segmented-strong-button-active-box-shadow: 0px 2px 2px rgba(0, 0, 0, .25);--f7-segmented-strong-button-text-color: #000;--f7-segmented-strong-button-hover-bg-color: rgba(0, 0, 0, .04);--f7-segmented-strong-button-active-text-color: #000;--f7-segmented-strong-button-active-bg-color: #fff}:root .dark,:root.dark{--f7-segmented-strong-button-hover-bg-color: rgba(255, 255, 255, .02);--f7-segmented-strong-button-active-bg-color: rgba(255, 255, 255, .14);--f7-segmented-strong-button-text-color: #fff;--f7-segmented-strong-button-active-text-color: #fff}.ios{--f7-button-fill-text-color: #fff;--f7-button-text-transform: uppercase;--f7-button-height: 28px;--f7-button-padding-horizontal: 10px;--f7-button-border-radius: 4px;--f7-button-font-weight: 600;--f7-button-letter-spacing: 0;--f7-button-outline-border-width: 2px;--f7-button-large-text-transform: uppercase;--f7-button-large-height: 44px;--f7-button-large-font-size: 17px;--f7-button-large-font-weight: 500;--f7-button-small-outline-border-width: 2px;--f7-button-small-text-transform: uppercase;--f7-button-small-height: 26px;--f7-button-small-font-size: 13px;--f7-button-small-font-weight: 600;--f7-segmented-strong-button-text-transform: none;--f7-segmented-strong-button-active-font-weight: 600;--f7-button-tonal-bg-color: rgba(var(--f7-theme-color-rgb), .15);--f7-button-tonal-pressed-bg-color: rgba(var(--f7-theme-color-rgb), .25);--f7-button-tonal-text-color: var(--f7-theme-color);--f7-segmented-strong-bg-color: rgba(0, 0, 0, .07);--f7-segmented-strong-button-pressed-bg-color: rgba(0, 0, 0, .07)}.ios .dark,.ios.dark{--f7-segmented-strong-bg-color: rgba(255, 255, 255, .1);--f7-segmented-strong-button-pressed-bg-color: rgba(255, 255, 255, .04)}.md{--f7-button-text-transform: none;--f7-button-height: 40px;--f7-button-padding-horizontal: 16px;--f7-button-border-radius: 8px;--f7-button-font-weight: 500;--f7-button-letter-spacing: normal;--f7-button-outline-border-width: 1px;--f7-button-large-text-transform: none;--f7-button-large-height: 48px;--f7-button-large-font-size: 14px;--f7-button-large-font-weight: 500;--f7-button-small-text-transform: none;--f7-button-small-outline-border-width: 1px;--f7-button-small-height: 32px;--f7-button-small-font-size: 14px;--f7-button-small-font-weight: 500;--f7-segmented-strong-button-text-transform: none;--f7-segmented-strong-button-active-font-weight: 500;--f7-segmented-strong-button-pressed-bg-color: transparent}.md,.md .dark,.md [class*=color-]{--f7-button-fill-pressed-bg-color: transparent;--f7-button-fill-text-color: var(--f7-md-on-primary);--f7-button-outline-border-color: var(--f7-md-outline);--f7-segmented-strong-bg-color: var(--f7-md-surface-variant);--f7-button-tonal-bg-color: var(--f7-md-secondary-container);--f7-button-tonal-pressed-bg-color: transparent;--f7-button-tonal-text-color: var(--f7-md-on-secondary-container)}button{-webkit-appearance:none;appearance:none;width:100%}.button{--f7-touch-ripple-color: rgba(var(--f7-theme-color-rgb), .25);text-decoration:none;text-align:center;display:flex;-webkit-appearance:none;appearance:none;background:none;margin:0;white-space:nowrap;text-overflow:ellipsis;position:relative;overflow:hidden;font-family:inherit;cursor:pointer;outline:0;box-sizing:border-box;vertical-align:middle;justify-content:center;align-items:center;border:var(--f7-button-border-width, 0px) solid var(--f7-button-border-color, var(--f7-theme-color));font-size:var(--f7-button-font-size);color:var(--f7-button-text-color, var(--f7-theme-color));height:var(--f7-button-height);line-height:calc(var(--f7-button-height) - var(--f7-button-border-width, 0) * 2);padding:var(--f7-button-padding-vertical, 0px) var(--f7-button-padding-horizontal);border-radius:var(--f7-button-border-radius);min-width:var(--f7-button-min-width);font-weight:var(--f7-button-font-weight);letter-spacing:var(--f7-button-letter-spacing);text-transform:var(--f7-button-text-transform);background-color:var(--f7-button-bg-color);box-shadow:var(--f7-button-box-shadow)}.button.active-state{color:var(--f7-button-pressed-text-color, var(--f7-button-text-color, var(--f7-theme-color)))}input[type=submit].button,input[type=button].button,input[type=reset].button{width:100%}.button>i+span,.button>span+span,.button>span~i{margin-left:4px}.subnavbar .button,.navbar .button,.toolbar .button,.searchbar .button{color:var(--f7-button-text-color, var(--f7-theme-color))}.button-round,.ios .button-round-ios,.md .button-round-md{--f7-button-border-radius: var(--f7-button-height)}.button-fill,.ios .button-fill-ios,.md .button-fill-md,.button-active,.button.tab-link-active{--f7-button-bg-color: var(--f7-button-fill-bg-color, var(--f7-theme-color));--f7-button-text-color: var(--f7-button-fill-text-color, #fff);--f7-touch-ripple-color: var(--f7-touch-ripple-white)}.ios .color-white .button-fill,.ios .color-white .ios .button-fill-ios,.ios .color-white .md .button-fill-md,.ios .color-white .button-active,.ios .color-white .button.tab-link-active,.ios .button-fill.color-white,.ios .ios .button-fill-ios.color-white,.ios .md .button-fill-md.color-white,.ios .button-active.color-white,.ios .button.tab-link-active.color-white{--f7-button-text-color: #000}.button-fill,.ios .button-fill-ios,.md .button-fill-md{--f7-button-pressed-bg-color: var(--f7-button-fill-pressed-bg-color)}.button-active,.button.tab-link-active{--f7-button-pressed-bg-color: var(--f7-button-bg-color)}.button-outline,.ios .button-outline-ios,.md .button-outline-md{--f7-button-border-color: var(--f7-button-outline-border-color, var(--f7-theme-color));--f7-button-border-width: var(--f7-button-outline-border-width)}.button-tonal,.ios .button-tonal-ios,.md .button-tonal-md{--f7-button-bg-color: var(--f7-button-tonal-bg-color);--f7-button-text-color: var(--f7-button-tonal-text-color);--f7-button-pressed-bg-color: var(--f7-button-tonal-pressed-bg-color)}.button-large,.ios .button-large-ios,.md .button-large-md{--f7-button-height: var(--f7-button-large-height);--f7-button-font-size: var(--f7-button-large-font-size);--f7-button-font-weight: var(--f7-button-large-font-weight);--f7-button-text-transform: var(--f7-button-large-text-transform)}.button-small,.ios .button-small-ios,.md .button-small-md{--f7-button-outline-border-width: var(--f7-button-small-outline-border-width);--f7-button-height: var(--f7-button-small-height);--f7-button-font-size: var(--f7-button-small-font-size);--f7-button-font-weight: var(--f7-button-small-font-weight);--f7-button-text-transform: var(--f7-button-small-text-transform)}.ios .button-small.button-fill,.ios .button-small-ios.button-fill,.ios .button-small.button-fill-ios{--f7-button-border-width: var(--f7-button-small-outline-border-width);--f7-button-pressed-text-color: var(--f7-theme-color);--f7-button-pressed-bg-color: transparent}.segmented{align-self:center;display:flex;flex-wrap:nowrap;border-radius:var(--f7-button-border-radius);box-shadow:var(--f7-button-box-shadow);box-sizing:border-box}.segmented .button,.segmented button{width:100%;flex-shrink:1;min-width:0;border-radius:0}.segmented .button:first-child{border-radius:var(--f7-button-border-radius) 0 0 var(--f7-button-border-radius)}.segmented .button:not(.button-outline):first-child{border-left:none}.segmented .button.button-outline:nth-child(n + 2){border-left:none}.segmented .button:last-child{border-radius:0 var(--f7-button-border-radius) var(--f7-button-border-radius) 0}.segmented .button-round:first-child{border-radius:var(--f7-button-height) 0 0 var(--f7-button-height)}.segmented .button-round:last-child{border-radius:0 var(--f7-button-height) var(--f7-button-height) 0}.segmented .button:first-child:last-child{border-radius:var(--f7-button-border-radius)}.segmented-raised,.ios .segmented-raised-ios,.md .segmented-raised-md{box-shadow:var(--f7-button-raised-box-shadow)}.segmented-raised .button:not(.button-outline),.ios .segmented-raised-ios .button:not(.button-outline),.md .segmented-raised-md .button:not(.button-outline){border-left:1px solid var(--f7-segmented-raised-divider-color)}.button-raised,.ios .button-raised-ios,.md .button-raised-md{--f7-button-box-shadow: var(--f7-button-raised-box-shadow)}.button-raised.active-state,.ios .button-raised-ios.active-state,.md .button-raised-md.active-state{--f7-button-box-shadow: var(--f7-button-raised-pressed-box-shadow)}.segmented-strong,.ios .segmented-strong-ios,.md .segmented-strong-md{--f7-button-bg-color: transparent;--f7-button-hover-bg-color: var(--f7-segmented-strong-button-hover-bg-color);--f7-button-text-color: var(--f7-segmented-strong-button-text-color);--f7-button-font-weight: var(--f7-segmented-strong-button-font-weight);--f7-button-text-transform: var(--f7-segmented-strong-button-text-transform);--f7-button-pressed-bg-color: var(--f7-segmented-strong-button-pressed-bg-color);position:relative;background:var(--f7-segmented-strong-bg-color);border-radius:calc(var(--f7-button-border-radius) + 2px);box-shadow:none;padding:var(--f7-segmented-strong-padding);overflow:hidden}.segmented-strong .button,.ios .segmented-strong-ios .button,.md .segmented-strong-md .button{z-index:1;transform:translateZ(0)}.segmented-strong .button,.ios .segmented-strong-ios .button,.md .segmented-strong-md .button,.segmented-strong .button:first-child,.ios .segmented-strong-ios .button:first-child,.md .segmented-strong-md .button:first-child,.segmented-strong .button:last-child,.ios .segmented-strong-ios .button:last-child,.md .segmented-strong-md .button:last-child{border-radius:var(--f7-button-border-radius)}.segmented-strong .button+.button,.ios .segmented-strong-ios .button+.button,.md .segmented-strong-md .button+.button{margin-left:var(--f7-segmented-strong-between-buttons)}.segmented-strong .button.button-active,.ios .segmented-strong-ios .button.button-active,.md .segmented-strong-md .button.button-active,.segmented-strong .button.tab-link-active,.ios .segmented-strong-ios .button.tab-link-active,.md .segmented-strong-md .button.tab-link-active{--f7-button-hover-bg-color: transparent;--f7-button-bg-color: transparent;--f7-button-text-color: var(--f7-segmented-strong-button-active-text-color);--f7-button-font-weight: var(--f7-segmented-strong-button-active-font-weight)}.segmented-strong .segmented-highlight,.ios .segmented-strong-ios .segmented-highlight,.md .segmented-strong-md .segmented-highlight{--f7-segmented-highlight-num: 1;--f7-segmented-highlight-active: 0;--f7-segmented-highlight-padding: calc(var(--f7-segmented-strong-padding) * 2);--f7-segmented-highlight-between: var(--f7-segmented-strong-between-buttons);--f7-segmented-highlight-width: calc((100% - var(--f7-segmented-highlight-padding) - var(--f7-segmented-highlight-between) * (var(--f7-segmented-highlight-num) - 1)) / var(--f7-segmented-highlight-num));position:absolute;background-color:var(--f7-segmented-strong-button-active-bg-color);border-radius:var(--f7-button-border-radius);box-shadow:var(--f7-segmented-strong-button-active-box-shadow);left:var(--f7-segmented-strong-padding);top:var(--f7-segmented-strong-padding);height:calc(100% - var(--f7-segmented-strong-padding) * 2);width:var(--f7-segmented-highlight-width);z-index:0;transform:translate(calc(var(--f7-segmented-highlight-active) * 100% + var(--f7-segmented-highlight-active) * var(--f7-segmented-highlight-between)));transition:.2s}.button:nth-child(2)~.segmented-highlight{--f7-segmented-highlight-num: 2}.button:nth-child(3)~.segmented-highlight{--f7-segmented-highlight-num: 3}.button:nth-child(4)~.segmented-highlight{--f7-segmented-highlight-num: 4}.button:nth-child(5)~.segmented-highlight{--f7-segmented-highlight-num: 5}.button:nth-child(6)~.segmented-highlight{--f7-segmented-highlight-num: 6}.button:nth-child(7)~.segmented-highlight{--f7-segmented-highlight-num: 7}.button:nth-child(8)~.segmented-highlight{--f7-segmented-highlight-num: 8}.button:nth-child(9)~.segmented-highlight{--f7-segmented-highlight-num: 9}.button:nth-child(10)~.segmented-highlight{--f7-segmented-highlight-num: 10}.button-active:nth-child(2)~.segmented-highlight,.tab-link-active:nth-child(2)~.segmented-highlight{--f7-segmented-highlight-active: 1}.button-active:nth-child(3)~.segmented-highlight,.tab-link-active:nth-child(3)~.segmented-highlight{--f7-segmented-highlight-active: 2}.button-active:nth-child(4)~.segmented-highlight,.tab-link-active:nth-child(4)~.segmented-highlight{--f7-segmented-highlight-active: 3}.button-active:nth-child(5)~.segmented-highlight,.tab-link-active:nth-child(5)~.segmented-highlight{--f7-segmented-highlight-active: 4}.button-active:nth-child(6)~.segmented-highlight,.tab-link-active:nth-child(6)~.segmented-highlight{--f7-segmented-highlight-active: 5}.button-active:nth-child(7)~.segmented-highlight,.tab-link-active:nth-child(7)~.segmented-highlight{--f7-segmented-highlight-active: 6}.button-active:nth-child(8)~.segmented-highlight,.tab-link-active:nth-child(8)~.segmented-highlight{--f7-segmented-highlight-active: 7}.button-active:nth-child(9)~.segmented-highlight,.tab-link-active:nth-child(9)~.segmented-highlight{--f7-segmented-highlight-active: 8}.button-active:nth-child(10)~.segmented-highlight,.tab-link-active:nth-child(10)~.segmented-highlight{--f7-segmented-highlight-active: 9}.segmented-round,.ios .segmented-round-ios,.md .segmented-round-md,.segmented-round .segmented-highlight,.ios .segmented-round-ios .segmented-highlight,.md .segmented-round-md .segmented-highlight{border-radius:var(--f7-button-height)}.subnavbar .segmented{width:100%}.button-preloader{position:relative;--f7-preloader-color: var(--f7-button-text-color, var(--f7-theme-color))}.button-preloader:not(.button-large){--f7-preloader-size: calc(var(--f7-button-height) - 6px)}.button-preloader.button-fill{--f7-preloader-color: #fff}.button-preloader>span:not(.preloader){transition:.2s;display:inline-flex;align-items:center;align-content:center;justify-content:center;transform:scale(1)}.button-preloader>.preloader{position:absolute;left:50%;top:50%;transition:.2s;transition-property:opacity;opacity:0;visibility:hidden;margin-left:calc(-1 * var(--f7-preloader-size) / 2);margin-top:calc(-1 * var(--f7-preloader-size) / 2)}.button-preloader.button-loading>span:not(.preloader){opacity:0;transform:scale(0)}.button-preloader.button-loading>.preloader{opacity:1;visibility:visible}.ios .button{transition-duration:.1s}.ios .button.active-state{background-color:var(--f7-button-pressed-bg-color, rgba(var(--f7-theme-color-rgb), .15))}.ios .button-fill,.ios .button-fill-ios{--f7-button-pressed-bg-color: var(--f7-button-fill-pressed-bg-color, var(--f7-theme-color-tint))}.ios .button-small,.ios .button-small-ios{transition-duration:.2s}.md .button{transition-duration:.3s;transform:translateZ(0)}.md .button-fill,.md .button-fill-md{--f7-button-pressed-bg-color: var(--f7-button-fill-pressed-bg-color, transparent)}:root{--f7-touch-ripple-black: rgba(0, 0, 0, .1);--f7-touch-ripple-white: rgba(255, 255, 255, .15);--f7-touch-ripple-color: var(--f7-touch-ripple-black)}.dark{--f7-touch-ripple-color: var(--f7-touch-ripple-white)}.ripple,.fab a,.link,.item-link,.list-button,.button,.dialog-button,.tab-link,.radio,.checkbox,.actions-button,.speed-dial-buttons a{-webkit-user-select:none;user-select:none}.ripple-wave{left:0;top:0;position:absolute!important;border-radius:50%;pointer-events:none;z-index:-1;padding:0;margin:0;font-size:0;transform:translateZ(0) scale(0);background-color:var(--f7-touch-ripple-color);animation:touch-ripple-in .2s forwards}.ripple-wave.ripple-wave-inset{background-image:none;background-color:var(--f7-touch-ripple-color)}.ripple-wave.ripple-wave-out{transform:var(--f7-ripple-transform);animation:touch-ripple-out .25s forwards!important}.item-link .ripple-wave,.list label.item-content .ripple-wave,.list-button .ripple-wave,.links-list a .ripple-wave,.button .ripple-wave,button .ripple-wave,.dialog-button .ripple-wave,.tab-link .ripple-wave,.item-radio .ripple-wave,.item-checkbox .ripple-wave,.actions-button .ripple-wave,.fab a .ripple-wave,.stepper-button .ripple-wave,.stepper-button-minus .ripple-wave,.stepper-button-plus .ripple-wave,.list.accordion-list .accordion-item-toggle .ripple-wave,.photo-browser .toolbar .link .ripple-wave,.ripple-blur .ripple-wave{animation:touch-ripple-in-blurred .25s forwards;background-image:radial-gradient(closest-side circle at 50% 50%,var(--f7-touch-ripple-color) 50%,rgba(255,255,255,0));background-color:transparent}.checkbox .ripple-wave,.radio .ripple-wave,.data-table .sortable-cell .ripple-wave{z-index:0}[class*=ripple-color-]{--f7-touch-ripple-color: var(--f7-theme-color-ripple-color)}@keyframes touch-ripple-in-blurred{0%{transform:translateZ(0) scale(.5)}to{transform:var(--f7-ripple-transform)}}@keyframes touch-ripple-in{0%{transform:translateZ(0) scale(0)}to{transform:var(--f7-ripple-transform)}}@keyframes touch-ripple-out{0%{opacity:1}to{opacity:0}}.f7-icons,.material-icons{width:1em;height:1em}i.icon{display:inline-block;vertical-align:middle;background-size:100% auto;background-position:center;background-repeat:no-repeat;font-style:normal;position:relative}.icon-back:after,.icon-prev:after,.icon-forward:after,.icon-next:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px}.icon[class*=color-]{color:var(--f7-theme-color)}.ios .icon-back,.ios .icon-prev,.ios .icon-forward,.ios .icon-next{width:12px;height:20px;line-height:20px}.ios .icon-back:after,.ios .icon-prev:after,.ios .icon-forward:after,.ios .icon-next:after{line-height:inherit}.ios .icon-prev:after,.ios .icon-next:after{font-size:16px}.ios .icon-back:after,.ios .icon-prev:after{content:"chevron_left_ios"}.ios .icon-forward:after,.ios .icon-next:after{content:"chevron_right_ios"}.md .icon-back,.md .icon-forward,.md .icon-next,.md .icon-prev{width:24px;height:24px}.md .icon-back:after,.md .icon-forward:after,.md .icon-next:after,.md .icon-prev:after{line-height:1.2}.md .icon-back:after{content:"arrow_left_md"}.md .icon-forward:after{content:"arrow_right_md"}.md .icon-next:after{content:"chevron_right_md"}.md .icon-prev:after{content:"chevron_left_md"}.custom-modal-backdrop{z-index:10500}.custom-modal-backdrop,.actions-backdrop,.dialog-backdrop,.popover-backdrop,.popup-backdrop,.preloader-backdrop,.sheet-backdrop,.fab-backdrop{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.4);z-index:13000;visibility:hidden;opacity:0;transition-duration:.4s}.custom-modal-backdrop.not-animated,.actions-backdrop.not-animated,.dialog-backdrop.not-animated,.popover-backdrop.not-animated,.popup-backdrop.not-animated,.preloader-backdrop.not-animated,.sheet-backdrop.not-animated,.fab-backdrop.not-animated{transition-duration:0ms}.custom-modal-backdrop.backdrop-in,.actions-backdrop.backdrop-in,.dialog-backdrop.backdrop-in,.popover-backdrop.backdrop-in,.popup-backdrop.backdrop-in,.preloader-backdrop.backdrop-in,.sheet-backdrop.backdrop-in,.fab-backdrop.backdrop-in{visibility:visible;opacity:1}:root{--f7-dialog-button-text-color: var(--f7-theme-color);--f7-dialog-button-text-align: center}.ios{--f7-dialog-width: 270px;--f7-dialog-inner-padding: 16px;--f7-dialog-border-radius: 13px;--f7-dialog-text-align: center;--f7-dialog-font-size: 14px;--f7-dialog-title-text-color: inherit;--f7-dialog-title-font-size: 18px;--f7-dialog-title-font-weight: 600;--f7-dialog-title-line-height: inherit;--f7-dialog-button-font-size: 17px;--f7-dialog-button-height: 44px;--f7-dialog-button-letter-spacing: 0;--f7-dialog-button-font-weight: 400;--f7-dialog-button-text-transform: none;--f7-dialog-button-strong-bg-color: transparent;--f7-dialog-button-strong-text-color: var(--f7-theme-color);--f7-dialog-button-strong-font-weight: 500;--f7-dialog-input-border-radius: 4px;--f7-dialog-input-font-size: 14px;--f7-dialog-input-height: 32px;--f7-dialog-input-border-width: 1px;--f7-dialog-input-placeholder-color: #a9a9a9;--f7-dialog-preloader-size: 34px;--f7-dialog-input-bg-color: #fff;--f7-dialog-bg-color: rgba(255, 255, 255, .95);--f7-dialog-bg-color-rgb: 255, 255, 255;--f7-dialog-text-color: #000;--f7-dialog-button-pressed-bg-color: rgba(0, 0, 0, .1);--f7-dialog-button-strong-pressed-bg-color: rgba(0, 0, 0, .1);--f7-dialog-input-border-color: rgba(0, 0, 0, .3);--f7-dialog-border-divider-color: rgba(0, 0, 0, .2)}.ios .dark,.ios.dark{--f7-dialog-text-color: #fff;--f7-dialog-bg-color: rgba(45, 45, 45, .95);--f7-dialog-bg-color-rgb: 45, 45, 45;--f7-dialog-button-pressed-bg-color: rgba(0, 0, 0, .2);--f7-dialog-button-strong-pressed-bg-color: rgba(0, 0, 0, .2);--f7-dialog-border-divider-color: rgba(255, 255, 255, .15);--f7-dialog-input-border-color: rgba(255, 255, 255, .15);--f7-dialog-input-bg-color: rgba(0, 0, 0, .5)}.md{--f7-dialog-width: 280px;--f7-dialog-inner-padding: 24px;--f7-dialog-border-radius: 28px;--f7-dialog-text-align: left;--f7-dialog-font-size: 14px;--f7-dialog-title-font-size: 24px;--f7-dialog-title-font-weight: 400;--f7-dialog-title-line-height: 1.3;--f7-dialog-button-font-size: 14px;--f7-dialog-button-height: 40px;--f7-dialog-button-letter-spacing: normal;--f7-dialog-button-font-weight: 500;--f7-dialog-button-text-transform: none;--f7-dialog-button-strong-font-weight: 500;--f7-dialog-input-border-radius: 0px;--f7-dialog-input-font-size: 16px;--f7-dialog-input-height: 36px;--f7-dialog-input-border-color: transparent;--f7-dialog-input-border-width: 0px;--f7-dialog-preloader-size: 32px;--f7-dialog-input-bg-color: transparent}.md,.md .dark,.md [class*=color-]{--f7-dialog-button-pressed-bg-color: transparent;--f7-dialog-button-strong-bg-color: var(--f7-theme-color);--f7-dialog-button-strong-text-color: var(--f7-md-on-primary);--f7-dialog-button-strong-pressed-bg-color: transparent;--f7-dialog-bg-color: var(--f7-md-surface-3);--f7-dialog-input-placeholder-color: var(--f7-md-on-surface-variant);--f7-dialog-text-color: var(--f7-md-on-surface-variant);--f7-dialog-title-text-color: var(--f7-md-on-surface)}.dialog{position:absolute;z-index:13500;left:50%;margin-top:0;top:50%;overflow:hidden;opacity:0;transform:translate3d(0,-50%,0) scale(1.185);transition-property:transform,opacity;display:none;transition-duration:.4s;width:var(--f7-dialog-width);margin-left:calc(-1 * var(--f7-dialog-width) / 2);border-radius:var(--f7-dialog-border-radius);text-align:var(--f7-dialog-text-align);color:var(--f7-dialog-text-color);font-size:var(--f7-dialog-font-size);background:var(--f7-dialog-bg-color);will-change:transform,opacity}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-modals .dialog{background-color:rgba(var(--f7-dialog-bg-color-rgb),.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.dialog.modal-in{opacity:1;transform:translate3d(0,-50%,0) scale(1)}.dialog.modal-out{opacity:0;z-index:13499}.dialog.not-animated{transition-duration:0ms}.dialog-inner{position:relative;padding:var(--f7-dialog-inner-padding)}.dialog-title{color:var(--f7-dialog-title-text-color);font-size:var(--f7-dialog-title-font-size);font-weight:var(--f7-dialog-title-font-weight);line-height:var(--f7-dialog-title-line-height)}.dialog-buttons{position:relative;display:flex}.dialog-buttons-vertical .dialog-buttons{display:block;height:auto!important}.dialog-button{box-sizing:border-box;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis;color:var(--f7-dialog-button-text-color);font-size:var(--f7-dialog-button-font-size);height:var(--f7-dialog-button-height);line-height:var(--f7-dialog-button-height);letter-spacing:var(--f7-dialog-button-letter-spacing);text-align:var(--f7-dialog-button-text-align);font-weight:var(--f7-dialog-button-font-weight);text-transform:var(--f7-dialog-button-text-transform);display:block;cursor:pointer}.dialog-button.active-state{background-color:var(--f7-dialog-button-pressed-bg-color)}.dialog-button-strong{background-color:var(--f7-dialog-button-strong-bg-color);color:var(--f7-dialog-button-strong-text-color);font-weight:var(--f7-dialog-button-strong-font-weight)}.dialog-button-strong.active-state{background-color:var(--f7-dialog-button-strong-pressed-bg-color)}.dialog-no-buttons .dialog-buttons{display:none}.dialog-input-field{position:relative}input.dialog-input[type]{box-sizing:border-box;margin:15px 0 0;border-radius:var(--f7-dialog-input-border-radius);-webkit-appearance:none;appearance:none;width:100%;display:block;font-family:inherit;box-shadow:none;font-size:var(--f7-dialog-input-font-size);height:var(--f7-dialog-input-height);background-color:var(--f7-dialog-input-bg-color);border:var(--f7-dialog-input-border-width) solid var(--f7-dialog-input-border-color)}input.dialog-input[type]::placeholder{color:var(--f7-dialog-input-placeholder-color)}.dialog-input-double input.dialog-input{border-radius:var(--f7-dialog-input-border-radius) var(--f7-dialog-input-border-radius) 0 0}.dialog-input-double+.dialog-input-double input.dialog-input{border-radius:0 0 var(--f7-dialog-input-border-radius) var(--f7-dialog-input-border-radius)}.dialog-preloader .preloader{--f7-preloader-size: var(--f7-dialog-preloader-size)}html.with-modal-dialog .page-content{overflow:hidden;-webkit-overflow-scrolling:auto}.ios .dialog.modal-out{transform:translate3d(0,-50%,0) scale(1)}.ios .dialog-inner{border-radius:var(--f7-dialog-border-radius) var(--f7-dialog-border-radius) 0 0}.ios .dialog-inner:after{content:"";position:absolute;background-color:var(--f7-dialog-border-divider-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.ios .dialog-title+.dialog-text{margin-top:5px}.ios .dialog-buttons{height:44px;justify-content:center}.ios .dialog-button{width:100%;padding:0 5px;-webkit-box-flex:1;-ms-flex:1}.ios .dialog-button:after{content:"";position:absolute;background-color:var(--f7-dialog-border-divider-color);display:block;z-index:15;top:0;right:0;bottom:auto;left:auto;width:1px;height:100%;transform-origin:100% 50%;transform:scaleX(calc(1 / var(--f7-device-pixel-ratio)))}.ios .dialog-button:first-child{border-radius:0 0 0 var(--f7-dialog-border-radius)}.ios .dialog-button:last-child{border-radius:0 0 var(--f7-dialog-border-radius) 0}.ios .dialog-button:last-child:after{display:none!important}.ios .dialog-button:first-child:last-child{border-radius:0 0 var(--f7-dialog-border-radius) var(--f7-dialog-border-radius)}.ios .dialog-button[class*=color-]{--f7-dialog-button-text-color: var(--f7-theme-color)}.ios .dialog-buttons-vertical .dialog-buttons{height:auto}.ios .dialog-buttons-vertical .dialog-button{border-radius:0}.ios .dialog-buttons-vertical .dialog-button:after{content:"";position:absolute;background-color:var(--f7-dialog-border-divider-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.ios .dialog-buttons-vertical .dialog-button:last-child{border-radius:0 0 var(--f7-dialog-border-radius) var(--f7-dialog-border-radius)}.ios .dialog-buttons-vertical .dialog-button:last-child:after{display:none!important}.ios .dialog-no-buttons .dialog-inner{border-radius:var(--f7-dialog-border-radius)}.ios .dialog-no-buttons .dialog-inner:after{display:none!important}.ios .dialog-input-field{margin-top:15px}.ios .dialog-input{padding:0 5px}.ios .dialog-input+.dialog-input{margin-top:5px}.ios .dialog-input-double+.dialog-input-double{margin-top:0}.ios .dialog-input-double+.dialog-input-double .dialog-input{border-top:0;margin-top:0}.ios .dialog-preloader .dialog-title~.preloader,.ios .dialog-preloader .dialog-text~.preloader{margin-top:15px}.ios .dialog-progress .dialog-title~.progressbar,.ios .dialog-progress .dialog-text~.progressbar,.ios .dialog-progress .dialog-title~.progressbar-infinite,.ios .dialog-progress .dialog-text~.progressbar-infinite{margin-top:15px}.md .dialog.modal-out{transform:translate3d(0,-50%,0) scale(.815)}.md .dialog-title+.dialog-text{margin-top:20px}.md .dialog-text{line-height:1.5}.md .dialog-buttons{height:64px;padding:0 24px 24px;overflow:hidden;box-sizing:border-box;justify-content:flex-end}.md .dialog-button{--f7-touch-ripple-color: rgba(var(--f7-theme-color-rgb), .25);border-radius:99px;min-width:64px;padding:0 16px;border:none;transition-duration:.3s;transform:translateZ(0)}.md .dialog-button+.dialog-button{margin-left:8px}.md .dialog-button-strong{--f7-touch-ripple-color: var(--f7-touch-ripple-white)}.md .dialog-button[class*=color-]{--f7-dialog-button-text-color: var(--f7-theme-color)}.md .dialog-buttons-vertical .dialog-buttons{display:flex;flex-direction:column;align-items:flex-end}.md .dialog-buttons-vertical .dialog-button+.dialog-button{margin-top:8px;margin-left:0}.md .dialog-input{padding:0;transition-duration:.2s;position:relative}.md .dialog-input+.dialog-input{margin-top:16px}.md .dialog-preloader .dialog-title,.md .dialog-progress .dialog-title,.md .dialog-preloader .dialog-inner,.md .dialog-progress .dialog-inner{text-align:center}.md .dialog-preloader .dialog-title~.preloader,.md .dialog-preloader .dialog-text~.preloader{margin-top:20px}.md .dialog-progress .dialog-title~.progressbar,.md .dialog-progress .dialog-text~.progressbar,.md .dialog-progress .dialog-title~.progressbar-infinite,.md .dialog-progress .dialog-text~.progressbar-infinite{margin-top:16px}:root{--f7-popup-border-radius: 0px;--f7-popup-tablet-width: 630px;--f7-popup-tablet-height: 630px;--f7-popup-push-offset: var(--f7-safe-area-top)}.ios{--f7-popup-tablet-border-radius: 5px;--f7-popup-transition-duration: .4s;--f7-popup-transition-timing-function: initial;--f7-popup-push-border-radius: 10px}.md{--f7-popup-tablet-border-radius: 28px;--f7-popup-transition-duration: .6s;--f7-popup-transition-timing-function: cubic-bezier(0, 1, .2, 1);--f7-popup-push-border-radius: 28px}.popup-backdrop{z-index:10500}.popup-backdrop-unique{z-index:11000}.popup{position:absolute;left:0;top:0px;width:100%;height:100%;display:none;box-sizing:border-box;transition-property:transform;transition-timing-function:var(--f7-popup-transition-timing-function);transform:translate3d(0,100vh,0);background:#fff;z-index:11000;overflow:hidden;border-radius:var(--f7-popup-border-radius)}.dark .popup,.popup.dark{background:#000}.popup.modal-in,.popup.modal-out{transition-duration:var(--f7-popup-transition-duration)}.popup.not-animated{transition-duration:0ms}.popup.modal-in{display:block;transform:translateZ(0)}.popup.modal-out{transform:translate3d(0,100vh,0)}.popup.swipe-close-to-top.modal-out{transform:translate3d(0,-100vh,0)}@media (min-width: 630px) and (min-height: 630px){.popup:not(.popup-tablet-fullscreen){--f7-safe-area-top: 0px;--f7-safe-area-bottom: 0px;width:var(--f7-popup-tablet-width);height:var(--f7-popup-tablet-height);left:50%;top:50%;margin-left:calc(-1 * var(--f7-popup-tablet-width) / 2);margin-top:calc(-1 * var(--f7-popup-tablet-height) / 2);transform:translate3d(0,100vh,0);border-radius:var(--f7-popup-tablet-border-radius, var(--f7-popup-border-radius))}.popup:not(.popup-tablet-fullscreen).modal-in{transform:translateZ(0)}.popup:not(.popup-tablet-fullscreen).modal-out{transform:translate3d(0,100vh,0)}.popup:not(.popup-tablet-fullscreen).swipe-close-to-top.modal-out{transform:translate3d(0,-100vh,0)}.popup:not(.popup-tablet-fullscreen).popup-behind{transform:translateZ(0) scale(.9);pointer-events:none}.popup:not(.popup-tablet-fullscreen).popup-behind.modal-out{transform:translate3d(0,100vh,0) scale(.9)}}html.with-modal-popup .framework7-root>.views .page-content,html.with-modal-popup .framework7-root>.view .page-content,html.with-modal-popup .framework7-root>.panel .page-content{overflow:hidden;-webkit-overflow-scrolling:auto}html.with-modal-popup-push .popup-push,html.with-modal-popup-push-closing .popup-push{top:calc(var(--f7-popup-push-offset) + 10px);height:calc(100% - var(--f7-popup-push-offset) - 10px);border-radius:var(--f7-popup-push-border-radius) var(--f7-popup-push-border-radius) 0 0;--f7-safe-area-top: 0px}html.with-modal-popup-push .popup-push .view,html.with-modal-popup-push-closing .popup-push .view,html.with-modal-popup-push .popup-push .page,html.with-modal-popup-push-closing .popup-push .page{--f7-safe-area-top: 0px}html.with-modal-popup-push .framework7-root,html.with-modal-popup-push-closing .framework7-root{background:#000}html.with-modal-popup-push .framework7-root>.views,html.with-modal-popup-push-closing .framework7-root>.views,html.with-modal-popup-push .framework7-root>.view,html.with-modal-popup-push-closing .framework7-root>.view{transition-duration:var(--f7-popup-transition-duration);transition-timing-function:var(--f7-popup-transition-timing-function)}html.with-modal-popup-push.dark .framework7-root>.views:after,html.with-modal-popup-push-closing.dark .framework7-root>.views:after,html.with-modal-popup-push.dark .framework7-root>.view:after,html.with-modal-popup-push-closing.dark .framework7-root>.view:after,html.with-modal-popup-push .dark .framework7-root>.views:after,html.with-modal-popup-push-closing .dark .framework7-root>.views:after,html.with-modal-popup-push .dark .framework7-root>.view:after,html.with-modal-popup-push-closing .dark .framework7-root>.view:after,html.with-modal-popup-push .dark.framework7-root>.views:after,html.with-modal-popup-push-closing .dark.framework7-root>.views:after,html.with-modal-popup-push .dark.framework7-root>.view:after,html.with-modal-popup-push-closing .dark.framework7-root>.view:after,html.with-modal-popup-push .framework7-root>.views.dark:after,html.with-modal-popup-push-closing .framework7-root>.views.dark:after,html.with-modal-popup-push .framework7-root>.view.dark:after,html.with-modal-popup-push-closing .framework7-root>.view.dark:after{content:"";position:absolute;pointer-events:none;left:0;top:0;width:100%;height:100%;background:rgba(255,255,255,.1);z-index:13000;border-radius:var(--f7-popup-push-border-radius) var(--f7-popup-push-border-radius) 0 0;opacity:1;animation:popup-dark-push-overlay-fade-in var(--f7-popup-transition-duration) forwards}html.with-modal-popup-push .framework7-root>.views,html.with-modal-popup-push .framework7-root>.view{border-radius:var(--f7-popup-push-border-radius) var(--f7-popup-push-border-radius) 0 0;transform:translateZ(0) scale(var(--f7-popup-push-scale, 1))!important}html.with-modal-popup-push .popup:after{content:"";pointer-events:none;position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.4);z-index:13000;transition-duration:var(--f7-popup-transition-duration);transition-timing-function:var(--f7-popup-transition-timing-function);border-radius:var(--f7-popup-push-border-radius) var(--f7-popup-push-border-radius) 0 0;opacity:0}html.with-modal-popup-push.dark .popup:after,html.with-modal-popup-push .dark .popup:after,html.with-modal-popup-push .dark.popup:after{background:rgba(255,255,255,.05)}html.with-modal-popup-push .popup-behind{transform:translateZ(0) scale(var(--f7-popup-push-scale, 1))}html.with-modal-popup-push .popup-behind.modal-out{transform:translate3d(0,100vh,0) scale(var(--f7-popup-push-scale, 1))}html.with-modal-popup-push .popup-behind:not(.popup-push){border-radius:var(--f7-popup-push-border-radius) var(--f7-popup-push-border-radius) 0 0}html.with-modal-popup-push .popup-behind.popup-push{transform:translate3d(0,calc(0px - var(--f7-popup-push-offset) - 10px),0) scale(var(--f7-popup-push-scale, 1))}html.with-modal-popup-push .popup-behind.popup-push.modal-out{transform:translate3d(0,calc(0px - var(--f7-popup-push-offset) - 10px + 100vh),0) scale(var(--f7-popup-push-scale, 1))}html.with-modal-popup-push .popup-behind:after{opacity:1;pointer-events:auto}html.with-modal-popup-push-closing.dark .framework7-root>.views:after,html.with-modal-popup-push-closing.dark .framework7-root>.view:after,html.with-modal-popup-push-closing .dark .framework7-root>.views:after,html.with-modal-popup-push-closing .dark .framework7-root>.view:after,html.with-modal-popup-push-closing .dark.framework7-root>.views:after,html.with-modal-popup-push-closing .dark.framework7-root>.view:after,html.with-modal-popup-push-closing .framework7-root>.views.dark:after,html.with-modal-popup-push-closing .framework7-root>.view.dark:after{animation:popup-dark-push-overlay-fade-out var(--f7-popup-transition-duration) forwards;animation-timing-function:var(--f7-popup-transition-timing-function)}@keyframes popup-dark-push-overlay-fade-in{0%{opacity:0}to{opacity:1}}@keyframes popup-dark-push-overlay-fade-out{0%{opacity:1}to{opacity:0}}:root{--f7-login-screen-blocks-max-width: 480px;--f7-login-screen-title-text-align: center;--f7-login-screen-title-text-color: inherit;--f7-login-screen-title-letter-spacing: 0}.ios{--f7-login-screen-blocks-margin-vertical: 25px;--f7-login-screen-transition-timing-function: initial;--f7-login-screen-transition-duration: .4s;--f7-login-screen-title-font-weight: 600;--f7-login-screen-title-font-size: 28px;--f7-login-screen-content-bg-color: #fff;--f7-login-screen-bg-color: #fff}.ios .dark,.ios.dark{--f7-login-screen-bg-color: #000;--f7-login-screen-content-bg-color: #000}.md{--f7-login-screen-transition-duration: .6s;--f7-login-screen-transition-timing-function: cubic-bezier(0, 1, .2, 1);--f7-login-screen-blocks-margin-vertical: 24px;--f7-login-screen-title-font-weight: 400;--f7-login-screen-title-font-size: 28px}.md,.md .dark,.md [class*=color-]{--f7-login-screen-content-bg-color: var(--f7-md-surface);--f7-login-screen-bg-color: var(--f7-md-surface)}.login-screen{position:absolute;left:0;top:0;width:100%;height:100%;display:none;box-sizing:border-box;transition-property:transform;transform:translate3d(0,100vh,0);background:var(--f7-login-screen-bg-color);transition-timing-function:var(--f7-login-screen-transition-timing-function);z-index:11000}.login-screen.modal-in,.login-screen.modal-out{transition-duration:var(--f7-login-screen-transition-duration)}.login-screen.not-animated{transition-duration:0ms}.login-screen.modal-in{display:block;transform:translateZ(0)}.login-screen.modal-out{transform:translate3d(0,100%,0)}.login-screen-content,.login-screen-page,.login-screen .page{background:var(--f7-login-screen-content-bg-color)}.login-screen-content .login-screen-title,.login-screen-page .login-screen-title,.login-screen-content .list,.login-screen-page .list,.login-screen-content .block,.login-screen-page .block{margin:var(--f7-login-screen-blocks-margin-vertical) auto}.login-screen-content .login-screen-title,.login-screen-page .login-screen-title,.login-screen-content .list,.login-screen-page .list,.login-screen-content .block,.login-screen-page .block,.login-screen-content .block-footer,.login-screen-page .block-footer,.login-screen-content .block-header,.login-screen-page .block-header{max-width:var(--f7-login-screen-blocks-max-width)}.login-screen-content .list ul,.login-screen-page .list ul{background:none}.login-screen-content .list ul:before,.login-screen-page .list ul:before,.login-screen-content .list ul:after,.login-screen-page .list ul:after{display:none!important}.login-screen-content .block-footer,.login-screen-page .block-footer,.login-screen-content .block-header,.login-screen-page .block-header{text-align:center;margin-left:auto;margin-right:auto}.login-screen-title{text-align:var(--f7-login-screen-title-text-align);font-size:var(--f7-login-screen-title-font-size);font-weight:var(--f7-login-screen-title-font-weight);color:var(--f7-login-screen-title-text-color);letter-spacing:var(--f7-login-screen-title-letter-spacing)}.login-screen-page,.login-screen>.view>.page,.login-screen>.page{display:flex;flex-direction:column}.login-screen-page .page-content,.login-screen>.view>.page .page-content,.login-screen>.page .page-content,.login-screen-page .login-screen-content,.login-screen>.view>.page .login-screen-content,.login-screen>.page .login-screen-content{margin-top:auto;margin-bottom:auto;height:auto;max-height:100%;width:100%}.dark .login-screen-content .list ul,.dark .login-screen-content .block-strong,.dark .login-screen-page .list ul,.dark .login-screen-page .block-strong,.dark.login-screen-page .list ul,.dark.login-screen-page .block-strong{background-color:transparent}:root{--f7-popover-width: 260px}.ios{--f7-popover-border-radius: 13px;--f7-popover-actions-icon-size: 28px;--f7-popover-transition-timing-function: initial;--f7-popover-bg-color: rgba(255, 255, 255, .95);--f7-popover-actions-label-text-color: rgba(0, 0, 0, .45)}.ios .dark,.ios.dark{--f7-popover-bg-color: rgba(30, 30, 30, .95);--f7-popover-actions-label-text-color: rgba(255, 255, 255, .55)}.md{--f7-popover-transition-timing-function: cubic-bezier(0, .8, .34, 1);--f7-popover-border-radius: 28px;--f7-popover-actions-icon-size: 24px}.md,.md .dark,.md [class*=color-]{--f7-popover-bg-color: var(--f7-md-surface-3);--f7-popover-actions-label-text-color: var(--f7-md-on-surface-variant)}.popover-backdrop-unique{z-index:13500}.popover{width:var(--f7-popover-width);z-index:13500;margin:0;top:0;opacity:0;left:0;position:absolute;display:none;transition-duration:.3s;background-color:var(--f7-popover-bg-color);border-radius:var(--f7-popover-border-radius);will-change:transform,opacity;--f7-safe-area-top: 0px;--f7-safe-area-left: 0px;--f7-safe-area-right: 0px;--f7-safe-area-bottom: 0px}.popover .list{margin:0}.popover .list ul{background:none}.popover .list:first-child ul:before{display:none!important}.popover .list:last-child ul:after{display:none!important}.popover .list:first-child ul{border-radius:var(--f7-popover-border-radius) var(--f7-popover-border-radius) 0 0}.popover .list:first-child li:first-child,.popover .list:first-child li:first-child a,.popover .list:first-child li:first-child>label{border-radius:var(--f7-popover-border-radius) var(--f7-popover-border-radius) 0 0}.popover .list:last-child ul{border-radius:0 0 var(--f7-popover-border-radius) var(--f7-popover-border-radius)}.popover .list:last-child li:last-child,.popover .list:last-child li:last-child a,.popover .list:last-child li:last-child>label{border-radius:0 0 var(--f7-popover-border-radius) var(--f7-popover-border-radius)}.popover .list:first-child:last-child li:first-child:last-child,.popover .list:first-child:last-child li:first-child:last-child a,.popover .list:first-child:last-child li:first-child:last-child>label,.popover .list:first-child:last-child ul{border-radius:var(--f7-popover-border-radius)}.popover .list+.list{margin-top:var(--f7-list-margin-vertical)}.popover.modal-in{opacity:1}.popover.not-animated{transition-duration:0ms}.popover,.popover-backdrop{transition-timing-function:var(--f7-popover-transition-timing-function)}.popover-inner{overflow:auto;-webkit-overflow-scrolling:touch}.popover-from-actions .item-link i.icon{width:var(--f7-popover-actions-icon-size);height:var(--f7-popover-actions-icon-size);font-size:var(--f7-popover-actions-icon-size)}.ios .popover-from-actions-strong{font-weight:600}.md .popover-from-actions-strong{font-weight:500}.popover-from-actions-label{line-height:1.3;position:relative;display:flex;align-items:center;padding:var(--f7-actions-label-padding);color:var(--f7-popover-actions-label-text-color);font-size:var(--f7-actions-label-font-size);justify-content:var(--f7-actions-label-justify-content)}.popover-from-actions-label:after{content:"";position:absolute;background-color:var(--f7-list-item-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.popover-from-actions-label:last-child:after{display:none!important}.md .popover-from-actions-label{justify-content:center}.popover-arrow{width:26px;height:26px;position:absolute;left:-26px;top:0;z-index:100;overflow:hidden}.popover-arrow:after{content:"";background:var(--f7-popover-bg-color);width:26px;height:26px;position:absolute;left:0;top:0;border-radius:3px;transform:rotate(45deg)}.popover-arrow.on-left{left:-26px}.popover-arrow.on-left:after{left:19px;top:0}.popover-arrow.on-right{left:100%}.popover-arrow.on-right:after{left:-19px;top:0}.popover-arrow.on-top{left:0;top:-26px}.popover-arrow.on-top:after{left:0;top:19px}.popover-arrow.on-bottom{left:0;top:100%}.popover-arrow.on-bottom:after{left:0;top:-19px}.ios .popover{transform:none;transition-property:opacity}.md .popover{transform:scale(.85,.6);transition-property:opacity,transform}.md .popover.modal-in{opacity:1;transform:scale(1)}.md .popover.modal-out{opacity:0;transform:scale(1)}.md .popover-on-top{transform-origin:center bottom}.md .popover-on-top.popover-on-right{transform-origin:left bottom}.md .popover-on-top.popover-on-left{transform-origin:right bottom}.md .popover-on-middle{transform-origin:center center}.md .popover-on-middle.popover-on-right{transform-origin:left center}.md .popover-on-middle.popover-on-left{transform-origin:right center}.md .popover-on-bottom{transform-origin:center top}.md .popover-on-bottom.popover-on-right{transform-origin:left top}.md .popover-on-bottom.popover-on-left{transform-origin:right top}:root{--f7-actions-grid-button-font-size: 12px;--f7-actions-grid-button-icon-size: 48px}.ios{--f7-actions-transition-timing-function: initial;--f7-actions-border-radius: 13px;--f7-actions-grid-button-text-color: #757575;--f7-actions-button-padding: 0px;--f7-actions-button-text-align: center;--f7-actions-button-height: 57px;--f7-actions-button-height-landscape: 44px;--f7-actions-button-font-size: 20px;--f7-actions-button-icon-size: 28px;--f7-actions-button-justify-content: center;--f7-actions-label-padding: 8px 10px;--f7-actions-label-font-weight: 400;--f7-actions-label-font-size: 13px;--f7-actions-label-justify-content: center;--f7-actions-group-border-color: transparent;--f7-actions-group-margin: 8px;--f7-actions-bg-color: rgba(255, 255, 255, .95);--f7-actions-bg-color-rgb: 255, 255, 255;--f7-actions-button-border-color: rgba(0, 0, 0, .2);--f7-actions-button-pressed-bg-color: rgba(230, 230, 230, .9);--f7-actions-button-pressed-bg-color-rgb: 230, 230, 230;--f7-actions-label-text-color: #8a8a8a}.ios .dark,.ios.dark{--f7-actions-bg-color: rgba(45, 45, 45, .95);--f7-actions-bg-color-rgb: 45, 45, 45;--f7-actions-button-border-color: rgba(255, 255, 255, .15);--f7-actions-button-pressed-bg-color: rgba(50, 50, 50, .9);--f7-actions-button-pressed-bg-color-rgb: 50, 50, 50;--f7-actions-label-text-color: rgba(255, 255, 255, .55)}.md{--f7-actions-transition-timing-function: cubic-bezier(0, .8, .34, 1);--f7-actions-border-radius: 16px;--f7-actions-button-border-color: transparent;--f7-actions-button-padding: 0 16px;--f7-actions-button-text-align: left;--f7-actions-button-height: 48px;--f7-actions-button-height-landscape: 48px;--f7-actions-button-font-size: 16px;--f7-actions-button-icon-size: 24px;--f7-actions-button-justify-content: space-between;--f7-actions-label-padding: 12px 16px;--f7-actions-label-font-size: 14px;--f7-actions-label-font-weight: 500;--f7-actions-label-justify-content: flex-start;--f7-actions-group-margin: 0px;--f7-actions-button-pressed-bg-color: #e5e5e5}.md .dark,.md.dark{--f7-actions-button-pressed-bg-color: #2e2e2e}.md,.md .dark,.md [class*=color-]{--f7-actions-button-text-color: var(--f7-md-on-surface);--f7-actions-bg-color: var(--f7-md-surface-3);--f7-actions-group-border-color: var(--f7-md-outline);--f7-actions-label-text-color: var(--f7-theme-color);--f7-actions-grid-button-text-color: var(--f7-md-on-surface)}.actions-backdrop-unique{z-index:13500}.actions-modal{position:absolute;left:0;bottom:0;z-index:13500;width:100%;transform:translate3d(0,100%,0);display:none;max-height:100%;overflow:auto;-webkit-overflow-scrolling:touch;transition-property:transform;will-change:transform}.actions-modal.modal-in,.actions-modal.modal-out{transition-duration:.3s}.actions-modal.not-animated{transition-duration:0ms}.ios .actions-modal.modal-in{transform:translate3d(0,calc(-1 * var(--f7-safe-area-bottom)),0)}.md .actions-modal.modal-in{transform:translateZ(0)}.actions-modal.modal-out{z-index:13499;transform:translate3d(0,100%,0)}@media (min-width: 496px){.actions-modal{width:480px;left:50%;margin-left:-240px}}@media (orientation: landscape){.actions-modal{--f7-actions-button-height: var(--f7-actions-button-height-landscape)}}.actions-backdrop,.actions-modal{transition-timing-function:var(--f7-actions-transition-timing-function)}.actions-group{overflow:hidden;position:relative;margin:var(--f7-actions-group-margin);transform:translateZ(0)}.actions-group:after{content:"";position:absolute;background-color:var(--f7-actions-group-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.actions-group:last-child:after{display:none!important}.actions-button,.actions-label{width:100%;font-weight:400;margin:0;box-sizing:border-box;display:block;position:relative;overflow:hidden;text-align:var(--f7-actions-button-text-align)}.actions-button:after,.actions-label:after{content:"";position:absolute;background-color:var(--f7-actions-button-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.actions-button a,.actions-label a{text-decoration:none;color:inherit;display:block}.actions-button{cursor:pointer;display:flex;color:var(--f7-actions-button-text-color, var(--f7-theme-color));font-size:var(--f7-actions-button-font-size);height:var(--f7-actions-button-height);line-height:var(--f7-actions-button-height);padding:var(--f7-actions-button-padding);justify-content:var(--f7-actions-button-justify-content);z-index:10}.actions-button.active-state{background-color:var(--f7-actions-button-pressed-bg-color)!important}.actions-button[class*=color-]{color:var(--f7-theme-color)}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-modals .actions-button.active-state{background-color:rgba(var(--f7-actions-button-pressed-bg-color-rgb),.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.actions-button-media{flex-shrink:0;display:flex;align-items:center}.actions-button-media i.icon{width:var(--f7-actions-button-icon-size);height:var(--f7-actions-button-icon-size);font-size:var(--f7-actions-button-icon-size)}.actions-button a,.actions-button-text{position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.actions-button-text{width:100%;flex-shrink:1;text-align:var(--f7-actions-button-text-align)}.actions-label{line-height:1.3;display:flex;align-items:center;font-size:var(--f7-actions-label-font-size);font-weight:var(--f7-actions-label-font-weight);color:var(--f7-actions-label-text-color);padding:var(--f7-actions-label-padding);justify-content:var(--f7-actions-label-justify-content);min-height:var(--f7-actions-label-min-height, var(--f7-actions-button-height))}.actions-label[class*=" color-"]{--f7-actions-label-text-color: var(--f7-theme-color)}.actions-grid .actions-group{display:flex;flex-wrap:wrap;justify-content:flex-start;margin-top:0}.actions-grid .actions-group:not(:last-child){margin-bottom:0}.actions-grid .actions-button,.actions-grid .actions-label{background:none}.actions-grid .actions-button{width:33.33333333%;display:block;color:var(--f7-actions-grid-button-text-color);height:auto;line-height:1;padding:16px}.actions-grid .actions-button:after{display:none!important}.actions-grid .actions-button-media{margin-left:auto!important;margin-right:auto!important;width:var(--f7-actions-grid-button-icon-size);height:var(--f7-actions-grid-button-icon-size)}.actions-grid .actions-button-media i.icon{width:var(--f7-actions-grid-button-icon-size);height:var(--f7-actions-grid-button-icon-size);font-size:var(--f7-actions-grid-button-icon-size)}.actions-grid .actions-button-text{margin-left:0!important;text-align:center!important;margin-top:8px;line-height:1.33em;height:1.33em;font-size:var(--f7-actions-grid-button-font-size)}.ios .actions-group{border-radius:var(--f7-actions-border-radius)}.ios .actions-button,.ios .actions-label{background:var(--f7-actions-bg-color)}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-modals .ios .actions-button,.ios-translucent-modals .ios .actions-label{background-color:rgba(var(--f7-actions-bg-color-rgb),.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.ios .actions-button:first-child,.ios .actions-label:first-child{border-radius:var(--f7-actions-border-radius) var(--f7-actions-border-radius) 0 0}.ios .actions-button:last-child,.ios .actions-label:last-child{border-radius:0 0 var(--f7-actions-border-radius) var(--f7-actions-border-radius)}.ios .actions-button:last-child:after,.ios .actions-label:last-child:after{display:none!important}.ios .actions-button:first-child:last-child,.ios .actions-label:first-child:last-child{border-radius:var(--f7-actions-border-radius)}.ios .actions-button b,.ios .actions-label b,.ios .actions-button.actions-button-strong,.ios .actions-label.actions-button-strong{font-weight:600}.ios .actions-grid .actions-group{border-radius:0;background:var(--f7-actions-bg-color)}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-modals .ios .actions-grid .actions-group{background-color:rgba(var(--f7-actions-bg-color-rgb),.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.ios .actions-grid .actions-group:first-child{border-radius:var(--f7-actions-border-radius) var(--f7-actions-border-radius) 0 0}.ios .actions-grid .actions-group:last-child{border-radius:0 0 var(--f7-actions-border-radius) var(--f7-actions-border-radius)}.ios .actions-grid .actions-group:first-child:last-child{border-radius:var(--f7-actions-border-radius)}.ios .actions-grid .actions-button,.ios .actions-grid .actions-label{border-radius:0!important}.ios .actions-button-media{margin-left:16px}.ios .actions-button-media+.actions-button-text{text-align:left;margin-left:16px}.md .actions-modal{background-color:var(--f7-actions-bg-color);border-radius:var(--f7-actions-border-radius) var(--f7-actions-border-radius) 0 0;padding-bottom:var(--f7-safe-area-bottom)}.md .actions-button{transition-duration:.3s}.md .actions-button b,.md .actions-label b,.md .actions-button.actions-button-strong,.md .actions-label.actions-button-strong{font-weight:500}.md .actions-button-media{min-width:40px}.md .actions-button-media+.actions-button-text{margin-left:16px}:root{--f7-sheet-height: 260px;--f7-sheet-push-offset: var(--f7-safe-area-top)}.ios{--f7-sheet-border-radius: 0px;--f7-sheet-border-color: var(--f7-bars-border-color);--f7-sheet-transition-timing-function: initial;--f7-sheet-push-border-radius: 10px;--f7-sheet-transition-duration: .3s;--f7-sheet-bg-color: #fff}.ios .dark,.ios.dark{--f7-sheet-bg-color: #202020}.md{--f7-sheet-border-radius: 16px;--f7-sheet-push-border-radius: 16px;--f7-sheet-border-color: transparent;--f7-sheet-transition-timing-function: cubic-bezier(0, .8, .34, 1);--f7-sheet-transition-duration: .4s}.md,.md .dark,.md [class*=color-]{--f7-sheet-bg-color: var(--f7-md-surface)}.sheet-backdrop{z-index:11000}.sheet-backdrop-unique{z-index:12500}.sheet-modal{overflow:hidden;position:absolute;left:0;bottom:0;width:100%;height:var(--f7-sheet-height);display:none;box-sizing:border-box;transition-property:transform;transform:translate3d(0,100%,0);background:var(--f7-sheet-bg-color);z-index:12500;will-change:transform,opacity}.sheet-modal.modal-in,.sheet-modal.modal-out{transition-duration:var(--f7-sheet-transition-duration)}.sheet-modal.not-animated{transition-duration:0ms}.sheet-modal.modal-in{display:block;transform:translateZ(0)}.sheet-modal.modal-in-swipe-step{display:block;transform:translate3d(0,var(--f7-sheet-swipe-step, 0),0)}.sheet-modal.modal-out{transform:translate3d(0,100%,0)}.sheet-modal .sheet-modal-inner{height:100%;position:relative;overflow:hidden}.sheet-modal .toolbar{--f7-safe-area-bottom: 0px;position:relative;width:100%}.sheet-modal .toolbar:after,.sheet-modal .toolbar:before{display:none}.sheet-modal .toolbar+.sheet-modal-inner{height:calc(100% - var(--f7-toolbar-height))}.sheet-modal .toolbar+.sheet-modal-inner .page-content{--f7-page-toolbar-top-offset: 0px;--f7-page-toolbar-bottom-offset: 0px}.sheet-backdrop,.sheet-modal{transition-timing-function:var(--f7-sheet-transition-timing-function)}.sheet-modal-top{border-radius:0 0 var(--f7-sheet-border-radius) var(--f7-sheet-border-radius)}.sheet-modal-top:after{content:"";position:absolute;background-color:var(--f7-sheet-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.sheet-modal-top:after{z-index:700;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-style:preserve-3d}.sheet-modal-bottom,.sheet-modal:not(.sheet-modal-top){--f7-safe-area-top: 0px;border-radius:var(--f7-sheet-border-radius) var(--f7-sheet-border-radius) 0 0}.sheet-modal-bottom:before,.sheet-modal:not(.sheet-modal-top):before{content:"";position:absolute;background-color:var(--f7-sheet-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.sheet-modal-bottom:before,.sheet-modal:not(.sheet-modal-top):before{z-index:700;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-style:preserve-3d}.sheet-modal-top{--f7-safe-area-bottom: 0px;bottom:auto;top:0;transform:translate3d(0,-100%,0)}.sheet-modal-top.modal-out{transform:translate3d(0,-100%,0)}.sheet-modal-top .toolbar-bottom{position:absolute}.sheet-modal-top .page-content{padding-top:var(--f7-safe-area-top)}html.with-modal-sheet-push .sheet-modal-push,html.with-modal-sheet-push-closing .sheet-modal-push{--f7-sheet-border-color: transparent;border-radius:var(--f7-sheet-push-border-radius) var(--f7-sheet-push-border-radius) 0 0;overflow:hidden}html.with-modal-sheet-push .sheet-modal-push .view,html.with-modal-sheet-push-closing .sheet-modal-push .view,html.with-modal-sheet-push .sheet-modal-push .page,html.with-modal-sheet-push-closing .sheet-modal-push .page{--f7-safe-area-top: 0px}html.with-modal-sheet-push .sheet-modal-push.sheet-modal-top,html.with-modal-sheet-push-closing .sheet-modal-push.sheet-modal-top{border-radius:0 0 var(--f7-sheet-push-border-radius) var(--f7-sheet-push-border-radius)}html.with-modal-sheet-push .framework7-root,html.with-modal-sheet-push-closing .framework7-root{background:#000}html.with-modal-sheet-push .framework7-root>.views,html.with-modal-sheet-push-closing .framework7-root>.views,html.with-modal-sheet-push .framework7-root>.view,html.with-modal-sheet-push-closing .framework7-root>.view{transition-duration:var(--f7-sheet-transition-duration);transition-timing-function:var(--f7-sheet-transition-timing-function)}html.with-modal-sheet-push.dark .framework7-root>.views:after,html.with-modal-sheet-push-closing.dark .framework7-root>.views:after,html.with-modal-sheet-push.dark .framework7-root>.view:after,html.with-modal-sheet-push-closing.dark .framework7-root>.view:after,html.with-modal-sheet-push .dark .framework7-root>.views:after,html.with-modal-sheet-push-closing .dark .framework7-root>.views:after,html.with-modal-sheet-push .dark .framework7-root>.view:after,html.with-modal-sheet-push-closing .dark .framework7-root>.view:after,html.with-modal-sheet-push .dark.framework7-root>.views:after,html.with-modal-sheet-push-closing .dark.framework7-root>.views:after,html.with-modal-sheet-push .dark.framework7-root>.view:after,html.with-modal-sheet-push-closing .dark.framework7-root>.view:after,html.with-modal-sheet-push .framework7-root>.views.dark:after,html.with-modal-sheet-push-closing .framework7-root>.views.dark:after,html.with-modal-sheet-push .framework7-root>.view.dark:after,html.with-modal-sheet-push-closing .framework7-root>.view.dark:after{content:"";position:absolute;pointer-events:none;left:0;top:0;width:100%;height:100%;background:rgba(255,255,255,.1);z-index:13000;border-radius:var(--f7-sheet-push-border-radius) var(--f7-sheet-push-border-radius) 0 0;opacity:1;animation:sheet-dark-push-overlay-fade-in var(--f7-sheet-transition-duration) forwards;animation-timing-function:var(--f7-sheet-transition-timing-function)}html.with-modal-sheet-push .framework7-root>.views,html.with-modal-sheet-push .framework7-root>.view{border-radius:var(--f7-sheet-push-border-radius);transform:translateZ(0) scale(var(--f7-sheet-push-scale, 1))!important}html.with-modal-sheet-push-closing.dark .framework7-root>.views:after,html.with-modal-sheet-push-closing.dark .framework7-root>.view:after,html.with-modal-sheet-push-closing .dark .framework7-root>.views:after,html.with-modal-sheet-push-closing .dark .framework7-root>.view:after,html.with-modal-sheet-push-closing .dark.framework7-root>.views:after,html.with-modal-sheet-push-closing .dark.framework7-root>.view:after,html.with-modal-sheet-push-closing .framework7-root>.views.dark:after,html.with-modal-sheet-push-closing .framework7-root>.view.dark:after{animation:sheet-dark-push-overlay-fade-out var(--f7-sheet-transition-duration) forwards;animation-timing-function:var(--f7-sheet-transition-timing-function)}@keyframes sheet-dark-push-overlay-fade-in{0%{opacity:0}to{opacity:1}}@keyframes sheet-dark-push-overlay-fade-out{0%{opacity:1}to{opacity:0}}.md .sheet-modal .toolbar a.link:not(.tab-link){flex-shrink:0}:root{--f7-toast-font-size: 14px;--f7-toast-icon-size: 48px;--f7-toast-max-width: 568px}.ios{--f7-toast-text-color: #fff;--f7-toast-bg-color: rgba(0, 0, 0, .75);--f7-toast-bg-color-rgb: 0, 0, 0;--f7-toast-padding-horizontal: 16px;--f7-toast-padding-vertical: 12px;--f7-toast-border-radius: 8px;--f7-toast-button-min-width: 64px}.md{--f7-toast-padding-horizontal: 24px;--f7-toast-padding-vertical: 14px;--f7-toast-border-radius: 16px;--f7-toast-button-min-width: 64px}.md,.md .dark,.md [class*=color-]{--f7-toast-text-color: var(--f7-md-on-surface);--f7-toast-bg-color: var(--f7-md-surface-5)}.toast{transition-property:transform,opacity;position:absolute;max-width:var(--f7-toast-max-width);z-index:20000;color:var(--f7-toast-text-color);font-size:var(--f7-toast-font-size);box-sizing:border-box;background-color:var(--f7-toast-bg-color);opacity:0}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-modals .toast{background-color:rgba(var(--f7-toast-bg-color-rgb),.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.toast.modal-in{opacity:1}.toast .toast-content{display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;padding:var(--f7-toast-padding-vertical) var(--f7-toast-padding-horizontal)}.toast .toast-text{line-height:20px;flex-shrink:1;min-width:0}.toast .toast-button{flex-shrink:0;min-width:var(--f7-toast-button-min-width);margin-top:-8px;margin-bottom:-8px}.toast.toast-with-icon .toast-content{display:block;text-align:center}.toast.toast-with-icon .toast-text{text-align:center}.toast.toast-with-icon .toast-icon .f7-icons,.toast.toast-with-icon .toast-icon .material-icons{font-size:var(--f7-toast-icon-size)}.toast.toast-center{top:50%}.toast.toast-top{margin-top:var(--f7-safe-area-top)}.ios .toast{transition-duration:.3s;width:100%;left:0}.ios .toast.toast-top{top:0;transform:translate3d(0,-100%,0)}.ios .toast.toast-top.modal-in{transform:translateZ(0)}.ios .toast.toast-center{width:auto;left:50%;border-radius:var(--f7-toast-border-radius);transform:translate3d(-50%,-50%,0)}.ios .toast.toast-center.modal-in{transform:translate3d(-50%,-50%,0)}.ios .toast.toast-bottom{bottom:0;transform:translate3d(0,100%,0)}.ios .toast.toast-bottom.modal-in{transform:translateZ(0)}@media (max-width: 568px){.ios .toast.toast-top{margin-top:0}.ios .toast.toast-top .toast-content{padding-top:calc(var(--f7-toast-padding-vertical) + var(--f7-safe-area-top))}.ios .toast.toast-bottom .toast-content{padding-bottom:calc(var(--f7-toast-padding-vertical) + var(--f7-safe-area-bottom))}}@media (min-width: 569px){.ios .toast{left:50%;margin-left:calc(-1 * var(--f7-toast-max-width) / 2);border-radius:var(--f7-toast-border-radius)}.ios .toast.toast-top{top:16px}.ios .toast.toast-center{margin-left:0}.ios .toast.toast-bottom{margin-bottom:calc(16px + var(--f7-safe-area-bottom))}}@media (min-width: 1024px){.ios .toast{margin-left:0;width:auto}.ios .toast.toast-horizontal-left{left:16px}.ios .toast.toast-horizontal-right{left:auto;right:16px}.ios .toast.toast-horizontal-center{left:50%;width:var(--f7-toast-max-width);margin-left:calc(-1 * var(--f7-toast-max-width) / 2)}}.ios .toast-button{margin-left:16px;margin-right:calc(-1 * var(--f7-button-padding-horizontal))}.md .toast{transition-duration:.2s;border-radius:var(--f7-toast-border-radius);width:calc(100% - 16px);transform:scale(.9);left:8px}.md .toast.modal-in,.md .toast.modal-out{transform:scale(1)}.md .toast.toast-top{top:8px}.md .toast.toast-center{left:50%;width:auto;transform:scale(.9) translate3d(-55%,-55%,0)}.md .toast.toast-center.modal-in,.md .toast.toast-center.modal-out{transform:scale(1) translate3d(-50%,-50%,0)}.md .toast.toast-bottom{bottom:calc(8px + var(--f7-safe-area-bottom))}@media (min-width: 584px){.md .toast{left:50%;margin-left:calc(-1 * var(--f7-toast-max-width) / 2)}.md .toast.toast-center{margin-left:0}}@media (min-width: 1024px){.md .toast{margin-left:0;width:auto}.md .toast.toast-horizontal-left{left:24px}.md .toast.toast-horizontal-right{left:auto;right:24px}.md .toast.toast-horizontal-center{left:50%;width:var(--f7-toast-max-width);margin-left:calc(-1 * var(--f7-toast-max-width) / 2)}.md .toast.toast-bottom{bottom:calc(24px + var(--f7-safe-area-bottom))}.md .toast.toast-top{top:24px}}.md .toast-button{margin-left:16px;margin-right:-8px}:root{--f7-preloader-modal-padding: 8px;--f7-preloader-modal-bg-color: rgba(0, 0, 0, .8)}.ios{--f7-preloader-color: #6c6c6c;--f7-preloader-size: 20px;--f7-preloader-modal-preloader-size: 34px;--f7-preloader-modal-border-radius: 5px}.md{--f7-preloader-color: #757575;--f7-preloader-size: 32px;--f7-preloader-modal-preloader-size: 32px;--f7-preloader-modal-border-radius: 4px}.preloader{display:inline-block;vertical-align:middle;width:var(--f7-preloader-size);height:var(--f7-preloader-size);font-size:0;position:relative}.preloader .preloader-inner{width:100%;height:100%;display:block;position:relative}.preloader-backdrop{visibility:visible;opacity:0;background:none;z-index:14000}.preloader-modal{position:absolute;left:50%;top:50%;padding:var(--f7-preloader-modal-padding);background:var(--f7-preloader-modal-bg-color);z-index:14500;transform:translate(-50%) translateY(-50%);border-radius:var(--f7-preloader-modal-border-radius)}.preloader-modal .preloader{--f7-preloader-size: var(--f7-preloader-modal-preloader-size);display:block!important}html.with-modal-preloader .page-content,.with-modal-preloader .page-content,.with-modal-preloader.page-content{overflow:hidden;-webkit-overflow-scrolling:auto}.preloader[class*=color-]{--f7-preloader-color: var(--f7-theme-color)}.preloader.color-white{--f7-preloader-color: #fff}.preloader.color-black{--f7-preloader-color: #000}.ios .preloader{color:var(--f7-preloader-color)}.ios .preloader-inner{animation:ios-preloader-spin 1s steps(8,end) infinite}.ios .preloader-inner-line{display:block;width:11.6%;height:33.33%;border-radius:100px;background:currentColor;position:absolute;left:50%;top:50%;transform-origin:center 150%}.ios .preloader-multi-color .preloader-inner-line,.ios .preloader.color-multi .preloader-inner-line{animation:ios-preloader-multicolor 3s linear infinite}.ios .preloader-inner-line:nth-child(1){transform:translate(-50%,-150%) rotate(0);opacity:.27}.ios .preloader-inner-line:nth-child(2){transform:translate(-50%,-150%) rotate(45deg);opacity:.35285714}.ios .preloader-inner-line:nth-child(3){transform:translate(-50%,-150%) rotate(90deg);opacity:.43571429}.ios .preloader-inner-line:nth-child(4){transform:translate(-50%,-150%) rotate(135deg);opacity:.51857143}.ios .preloader-inner-line:nth-child(5){transform:translate(-50%,-150%) rotate(180deg);opacity:.60142857}.ios .preloader-inner-line:nth-child(6){transform:translate(-50%,-150%) rotate(225deg);opacity:.68428571}.ios .preloader-inner-line:nth-child(7){transform:translate(-50%,-150%) rotate(270deg);opacity:.76714286}.ios .preloader-inner-line:nth-child(8){transform:translate(-50%,-150%) rotate(315deg);opacity:.85}@keyframes ios-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes ios-preloader-multicolor{0%,to{background-color:#2196f3}25%{background-color:#ff3b30}50%{background-color:#4cd964}75%{background-color:#ff9500}}.md .preloader{color:var(--f7-preloader-color)}.md .preloader-inner{animation:md-preloader-rotate 1.4s linear infinite}.md .preloader-inner circle{fill:none;stroke:currentColor;animation:md-preloader-circle-rotate 5.6s ease-in-out infinite;stroke-dasharray:100px;stroke-dashoffset:80px;stroke-width:4;transform:rotate(-90deg);transform-origin:18px 18px}.md .preloader-multi-color circle,.md .preloader.color-multi circle{animation:md-preloader-circle-rotate 5.6s ease-in-out infinite,md-preloader-multicolor 5.6s ease-in-out infinite}@keyframes md-preloader-multicolor{0%,to{stroke:#4285f4}75%{stroke:#1b9a59}50%{stroke:#f7c223}25%{stroke:#de3e35}}@keyframes md-preloader-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes md-preloader-circle-rotate{0%{transform:rotate(-90deg);stroke-dashoffset:100px}12.5%{transform:rotate(-90deg);stroke-dashoffset:25px}25%{stroke-dashoffset:100px;transform:rotate(180deg)}25.1%{transform:rotate(-180deg);stroke-dashoffset:100px}37.5%{transform:rotate(-180deg);stroke-dashoffset:25px}50%{stroke-dashoffset:100px;transform:rotate(90deg)}50.1%{transform:rotate(90deg);stroke-dashoffset:100px}62.5%{transform:rotate(90deg);stroke-dashoffset:25px}75%{stroke-dashoffset:100px;transform:rotate(360deg)}75.1%{transform:rotate(0);stroke-dashoffset:100px}87.5%{transform:rotate(0);stroke-dashoffset:25px}to{stroke-dashoffset:100px;transform:rotate(270deg)}}.ios{--f7-progressbar-height: 4px;--f7-progressbar-border-radius: 4px;--f7-progressbar-bg-color: rgba(0, 0, 0, .3)}.ios .dark,.ios.dark{--f7-progressbar-bg-color: rgba(255, 255, 255, .3)}.md{--f7-progressbar-height: 4px;--f7-progressbar-border-radius: 0px}.md,.md .dark,.md [class*=color-]{--f7-progressbar-bg-color: rgba(var(--f7-theme-color-rgb), .5)}.progressbar,.progressbar-infinite{width:100%;overflow:hidden;position:relative;display:block;transform-style:preserve-3d;background:var(--f7-progressbar-bg-color, rgba(var(--f7-theme-color-rgb), .5));transform-origin:center top;height:var(--f7-progressbar-height);border-radius:var(--f7-progressbar-border-radius)}.progressbar{vertical-align:middle}.progressbar span{background-color:var(--f7-progressbar-progress-color, var(--f7-theme-color));width:100%;height:100%;position:absolute;top:0;transition-duration:.15s;left:0;transform:translate3d(-100%,0,0)}.progressbar-infinite{z-index:15000}.progressbar-infinite:before,.progressbar-infinite:after{content:"";position:absolute;top:0;width:100%;height:100%;transform:translateZ(0);display:block;background-color:var(--f7-progressbar-progress-color, var(--f7-theme-color));left:0;transform-origin:left center}.progressbar-infinite.color-multi{background:none!important}.progressbar-in{animation:progressbar-in .15s forwards}.progressbar-out{animation:progressbar-out .15s forwards}body>.progressbar,.view>.progressbar,.views>.progressbar,.page>.progressbar,.panel>.progressbar,.popup>.progressbar,.framework7-root>.progressbar,body>.progressbar-infinite,.view>.progressbar-infinite,.views>.progressbar-infinite,.page>.progressbar-infinite,.panel>.progressbar-infinite,.popup>.progressbar-infinite,.framework7-root>.progressbar-infinite{position:absolute;left:0;top:0;z-index:15000;border-radius:0!important;transform-origin:center top!important}@keyframes progressbar-in{0%{opacity:0;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}@keyframes progressbar-out{0%{opacity:1;transform:scaleY(1)}to{opacity:0;transform:scaleY(0)}}.ios .progressbar-infinite:before{animation:ios-progressbar-infinite 1s linear infinite}.ios .progressbar-infinite:after{display:none}.ios .progressbar-infinite.color-multi:before{width:400%;background-image:linear-gradient(to right,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55,#5856d6,#34aadc,#007aff,#5ac8fa,#4cd964);background-size:25% 100%;background-repeat:repeat-x;animation:ios-progressbar-infinite-multicolor 3s linear infinite}@keyframes ios-progressbar-infinite{0%{transform:translate3d(-100%,0,0)}to{transform:translate3d(100%,0,0)}}@keyframes ios-progressbar-infinite-multicolor{0%{transform:translateZ(0)}to{transform:translate3d(-50%,0,0)}}.md .progressbar-infinite:before{animation:md-progressbar-infinite-1 2s linear infinite}.md .progressbar-infinite:after{animation:md-progressbar-infinite-2 2s linear infinite}.md .progressbar-infinite.color-multi:before{background:none;animation:md-progressbar-infinite-multicolor-bg 3s step-end infinite}.md .progressbar-infinite.color-multi:after{background:none;animation:md-progressbar-infinite-multicolor-fill 3s linear infinite;transform-origin:center center}@keyframes md-progressbar-infinite-1{0%{transform:translate(-10%) scaleX(.1)}25%{transform:translate(30%) scaleX(.6)}50%{transform:translate(100%) scaleX(1)}to{transform:translate(100%) scaleX(1)}}@keyframes md-progressbar-infinite-2{0%{transform:translate(-100%) scaleX(1)}40%{transform:translate(-100%) scaleX(1)}75%{transform:translate(60%) scaleX(.35)}90%{transform:translate(100%) scaleX(.1)}to{transform:translate(100%) scaleX(.1)}}@keyframes md-progressbar-infinite-multicolor-bg{0%{background-color:#4caf50}25%{background-color:#f44336}50%{background-color:#2196f3}75%{background-color:#ffeb3b}}@keyframes md-progressbar-infinite-multicolor-fill{0%{transform:scaleX(0);background-color:#f44336}24.9%{transform:scaleX(1);background-color:#f44336}25%{transform:scaleX(0);background-color:#2196f3}49.9%{transform:scaleX(1);background-color:#2196f3}50%{transform:scaleX(0);background-color:#ffeb3b}74.9%{transform:scaleX(1);background-color:#ffeb3b}75%{transform:scaleX(0);background-color:#4caf50}to{transform:scaleX(1);background-color:#4caf50}}.ios{--f7-sortable-handler-width: 36px;--f7-sortable-sorting-item-box-shadow: 0px 2px 8px rgba(0, 0, 0, .6);--f7-sortable-handler-color: rgba(0, 0, 0, .22);--f7-sortable-sorting-item-bg-color: rgba(255, 255, 255, .8)}.ios .dark,.ios.dark{--f7-sortable-sorting-item-bg-color: rgba(50, 50, 50, .8);--f7-sortable-handler-color: rgba(255, 255, 255, .55)}.md{--f7-sortable-handler-width: 42px;--f7-sortable-sorting-item-box-shadow: none}.md,.md .dark,.md [class*=color-]{--f7-sortable-handler-color: var(--f7-md-on-surface-variant);--f7-sortable-sorting-item-bg-color: var(--f7-md-surface-3)}.sortable .sortable-handler{width:var(--f7-sortable-handler-width);height:100%;position:absolute;top:0;z-index:10;opacity:0;pointer-events:none;cursor:move;transition-duration:.3s;display:flex;align-items:center;justify-content:center;overflow:hidden;right:var(--f7-safe-area-right)}.sortable .sortable-handler:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;transition-duration:.3s;transform:translate(10px);color:var(--f7-sortable-handler-color);overflow:hidden;height:20px;width:18px}.sortable li.sorting{z-index:50;background:var(--f7-sortable-sorting-item-bg-color);transition-duration:0ms;box-shadow:var(--f7-sortable-sorting-item-box-shadow)}.sortable li.sorting .item-inner:after{display:none!important}.sortable-opposite .sortable-handler{left:var(--f7-safe-area-right);right:auto}.sortable-opposite .sortable-handler:after{transform:translate(-10px)}.sortable:not(.sortable-opposite) .item-inner,.sortable-opposite .item-content,.sortable.simple-list li,.sortable-opposite.links-list li a{transition-duration:.3s;transition-property:all}.sortable-sorting li{transition-duration:.3s}.sortable-enabled li:not(.no-sorting):not(.disallow-sorting) .sortable-handler{pointer-events:auto;opacity:1}.sortable-enabled li:not(.no-sorting):not(.disallow-sorting) .sortable-handler:after{transform:translate(0)}.sortable-enabled:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting) .item-link .item-inner:before,.sortable-enabled:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting) .item-link .item-title-row:before,.sortable-enabled:not(.sortable-opposite).links-list li:not(.no-sorting):not(.disallow-sorting)>a:before{display:none}.sortable-enabled:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting) .item-inner,.sortable-enabled:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting) .item-link .item-inner,.sortable-enabled:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting) .item-link.no-chevron .item-inner,.sortable-enabled.no-chevron:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting) .item-link .item-inner,.sortable-enabled :not(.sortable-opposite).no-chevron .item-link .item-inner,.no-chevron .sortable-enabled:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting) .item-link .item-inner,.simple-list.sortable-enabled:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting),.links-list.sortable-enabled:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting) a{padding-right:calc(var(--f7-sortable-handler-width) + var(--f7-safe-area-right))}.sortable-opposite.sortable-enabled li:not(.no-sorting):not(.disallow-sorting) .item-content,.simple-list.sortable-opposite.sortable-enabled li:not(.no-sorting):not(.disallow-sorting),.links-list.sortable-opposite.sortable-enabled li:not(.no-sorting):not(.disallow-sorting) a{padding-left:calc(var(--f7-sortable-handler-width) + var(--f7-safe-area-right))}.ios .sortable-handler:after{content:"sort_ios"}.md .sortable-handler:after{content:"sort_md"}:root{--f7-swipeout-delete-button-bg-color: #ff3b30;--f7-swipeout-button-text-color: #fff;--f7-swipeout-button-padding-vertical: 0px;--f7-swipeout-button-bg-color: rgba(0, 0, 0, .22)}:root .dark,:root.dark{--f7-swipeout-button-bg-color: rgba(255, 255, 255, .55)}.ios{--f7-swipeout-button-padding-horizontal: 30px;--f7-swipeout-button-font-size: inherit;--f7-swipeout-button-font-weight: inherit}.md{--f7-swipeout-button-padding-horizontal: 24px;--f7-swipeout-button-font-size: 14px;--f7-swipeout-button-font-weight: 500}.md .dark,.md.dark{--f7-swipeout-button-text-color: #000}.swipeout{overflow:hidden;transform-style:preserve-3d}.swipeout-deleting{transition-duration:.3s}.swipeout-deleting .swipeout-content{transform:translate(-100%)}.swipeout-transitioning .swipeout-content,.swipeout-transitioning .swipeout-actions-right a,.swipeout-transitioning .swipeout-actions-left a,.swipeout-transitioning .swipeout-overswipe{transition-duration:.3s;transition-property:transform,left}.swipeout-content{position:relative;z-index:10}.swipeout-overswipe{transition-duration:.2s;transition-property:left}.swipeout-actions-left,.swipeout-actions-right{position:absolute;top:0;height:100%;display:flex;direction:ltr}.swipeout-actions-left>a,.swipeout-actions-right>a,.swipeout-actions-left>button,.swipeout-actions-right>button,.swipeout-actions-left>span,.swipeout-actions-right>span,.swipeout-actions-left>div,.swipeout-actions-right>div{color:var(--f7-swipeout-button-text-color);background:var(--f7-swipeout-button-bg-color);padding:var(--f7-swipeout-button-padding-vertical) var(--f7-swipeout-button-padding-horizontal);display:flex;align-items:center;position:relative;left:0;font-size:var(--f7-swipeout-button-font-size);font-weight:var(--f7-swipeout-button-font-weight)}.swipeout-actions-left>a:after,.swipeout-actions-right>a:after,.swipeout-actions-left>button:after,.swipeout-actions-right>button:after,.swipeout-actions-left>span:after,.swipeout-actions-right>span:after,.swipeout-actions-left>div:after,.swipeout-actions-right>div:after{content:"";position:absolute;top:0;width:600%;height:100%;background:inherit;z-index:-1;transform:translateZ(0);pointer-events:none}.swipeout-actions-left .swipeout-delete,.swipeout-actions-right .swipeout-delete{background:var(--f7-swipeout-delete-button-bg-color)}.swipeout-actions-right{right:0%;transform:translate(calc(100% + 1px))}.swipeout-actions-right>a:after,.swipeout-actions-right>button:after,.swipeout-actions-right>span:after,.swipeout-actions-right>div:after{left:100%}.swipeout-actions-right>a:last-child,.swipeout-actions-right>button:last-child,.swipeout-actions-right>span:last-child,.swipeout-actions-right>div:last-child{padding-right:calc(var(--f7-swipeout-button-padding-horizontal) + var(--f7-safe-area-right))}.swipeout-actions-left{left:0%;transform:translate(calc(-100% - 1px))}.swipeout-actions-left>a:after,.swipeout-actions-left>button:after,.swipeout-actions-left>span:after,.swipeout-actions-left>div:after{right:100%}.swipeout-actions-left>a:first-child,.swipeout-actions-left>button:first-child,.swipeout-actions-left>span:first-child,.swipeout-actions-left>div:first-child{padding-left:calc(var(--f7-swipeout-button-padding-horizontal) + var(--f7-safe-area-left))}.swipeout-actions-left [class*=color-],.swipeout-actions-right [class*=color-]{--f7-swipeout-button-bg-color: var(--f7-theme-color)}:root{--f7-accordion-chevron-icon-down: "chevron_down";--f7-accordion-chevron-icon-up: "chevron_up"}.accordion-item-toggle{cursor:pointer}.list.accordion-list .accordion-item-toggle{transition-duration:.3s;position:relative;overflow:hidden}.list.accordion-list .accordion-item-toggle.active-state{transition-duration:.3s;background-color:var(--f7-list-link-pressed-bg-color)}.list.accordion-list .accordion-item-toggle.active-state>.item-inner:after{background-color:transparent}.list.accordion-list .accordion-item-toggle .item-inner{transition-duration:.3s;transition-property:background-color}.list.accordion-list .accordion-item-toggle .item-inner:after{transition-duration:.3s}.list.accordion-list .accordion-item-toggle .ripple-wave{z-index:0}.accordion-item .item-link .item-inner:after{transition-duration:.3s}.accordion-item .list,.accordion-item .block{margin-top:0;margin-bottom:0}.accordion-item .block>h1:first-child,.accordion-item .block>h2:first-child,.accordion-item .block>h3:first-child,.accordion-item .block>h4:first-child,.accordion-item .block>p:first-child{margin-top:10px}.accordion-item .block>h1:last-child,.accordion-item .block>h2:last-child,.accordion-item .block>h3:last-child,.accordion-item .block>h4:last-child,.accordion-item .block>p:last-child{margin-bottom:10px}.accordion-item-opened .accordion-item-toggle .item-inner:after,.accordion-item-opened>.item-link .item-inner:after{background-color:transparent}.list li.accordion-item ul{padding-left:0}.accordion-item-content{position:relative;overflow:hidden;height:0;font-size:14px;transition-duration:.3s}.accordion-item-opened>.accordion-item-content{height:auto}html.device-android-4 .accordion-item-content{transform:none}.list .accordion-item-toggle .item-inner:before{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;position:absolute;top:50%;font-size:var(--f7-list-chevron-icon-font-size);color:var(--f7-list-chevron-icon-color);pointer-events:none;right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.list:not(.accordion-opposite) .accordion-item-toggle .item-inner{padding-right:calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.accordion-opposite .accordion-item-toggle.item-link .item-inner,.accordion-opposite .accordion-item-toggle .item-inner,.accordion-opposite .accordion-item>.item-link>.item-inner,.accordion-opposite .accordion-item>.item-link>.item-content>.item-inner{padding-right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.accordion-opposite .accordion-item>.item-link>.item-title-row{padding-right:0}.accordion-opposite .accordion-item-toggle.item-link .item-inner:before,.accordion-opposite .accordion-item-toggle .item-inner:before,.accordion-opposite .accordion-item>.item-link>.item-inner:before,.accordion-opposite .accordion-item>.item-link>.item-content>.item-inner:before,.accordion-opposite .accordion-item>.item-link .item-title-row:before{display:none}.accordion-opposite .accordion-item-toggle>.item-content,.accordion-opposite .accordion-item-toggle.item-content,.accordion-opposite .accordion-item>.item-content,.accordion-opposite .accordion-item>.item-link>.item-content,.accordion-opposite.links-list .accordion-item>a{position:relative;padding-left:calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left))}.accordion-opposite .accordion-item-toggle>.item-content:before,.accordion-opposite .accordion-item-toggle.item-content:before,.accordion-opposite .accordion-item>.item-content:before,.accordion-opposite .accordion-item>.item-link>.item-content:before,.accordion-opposite.links-list .accordion-item>a:before{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;position:absolute;top:50%;font-size:var(--f7-list-chevron-icon-font-size);color:var(--f7-list-chevron-icon-color);pointer-events:none;content:var(--f7-accordion-chevron-icon-down);width:14px;height:8px;margin-top:-4px;line-height:8px;transform:translate(-50%);left:calc((var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal)) / 2 + var(--f7-safe-area-left))}.list .accordion-item-toggle.active-state{background-color:var(--f7-list-link-pressed-bg-color)}.list .accordion-item-toggle .item-inner:before,.list:not(.media-list) .accordion-item:not(.media-item) .accordion-item-toggle .item-inner:before,.list:not(.media-list) .accordion-item:not(.media-item)>.item-link .item-inner:before,.media-list .accordion-item .accordion-item-toggle .item-title-row:before,.media-list .accordion-item>.item-link .item-title-row:before,.accordion-item.media-item .accordion-item-toggle .item-title-row:before,.accordion-item.media-item>.item-link .item-title-row:before,.links-list .accordion-item>a:before{content:var(--f7-accordion-chevron-icon-down);width:14px;height:8px;margin-top:-4px;line-height:8px}.list .accordion-item-toggle.accordion-item-opened .item-inner:before,.list:not(.media-list) .accordion-item-opened:not(.media-item) .accordion-item-toggle .item-inner:before,.list:not(.media-list) .accordion-item-opened:not(.media-item)>.item-link .item-inner:before,.media-list .accordion-item-opened .accordion-item-toggle .item-title-row:before,.media-list .accordion-item-opened>.item-link .item-title-row:before,.accordion-item-opened.media-item .accordion-item-toggle .item-title-row:before,.accordion-item-opened.media-item>.item-link .item-title-row:before,.links-list .accordion-item-opened>a:before,.accordion-opposite .accordion-item-opened .accordion-item-toggle>.item-content:before,.accordion-opposite .accordion-item-opened .accordion-item-toggle.item-content:before,.accordion-opposite .accordion-item-opened>.item-content:before,.accordion-opposite .accordion-item-opened>.item-link>.item-content:before,.accordion-opposite .links-list .accordion-item-opened>a:before{content:var(--f7-accordion-chevron-icon-up);width:14px;height:8px;margin-top:-4px;line-height:8px}.ios{--f7-contacts-list-title-font-size: inherit;--f7-contacts-list-title-font-weight: 600;--f7-contacts-list-title-height: 22px;--f7-contacts-list-title-text-color: #000;--f7-contacts-list-title-bg-color: #f7f7f7}.ios .dark,.ios.dark{--f7-contacts-list-title-text-color: #fff;--f7-contacts-list-title-bg-color: #323234}.md{--f7-contacts-list-title-font-size: 20px;--f7-contacts-list-title-font-weight: 500;--f7-contacts-list-title-height: 48px;--f7-contacts-list-title-bg-color: transparent}.md,.md .dark,.md [class*=color-]{--f7-contacts-list-title-text-color: var(--f7-theme-color)}.contacts-list{--f7-list-margin-vertical: 0px}.contacts-list .list-group-title,.contacts-list li.list-group-title{background-color:var(--f7-contacts-list-title-bg-color, var(--f7-list-group-title-bg-color));font-weight:var(--f7-contacts-list-title-font-weight, var(--f7-list-group-title-font-weight));font-size:var(--f7-contacts-list-title-font-size, var(--f7-list-group-title-font-size));color:var(--f7-contacts-list-title-text-color, var(--f7-theme-color));line-height:var(--f7-contacts-list-title-height, var(--f7-list-group-title-height));height:var(--f7-contacts-list-title-height, var(--f7-list-group-title-height))}.contacts-list .list-group:first-child ul:before{display:none!important}.contacts-list .list-group:last-child ul:after{display:none!important}.md .contacts-list .list-group-title{pointer-events:none;overflow:visible;width:40px}.md .contacts-list .list-group-title+li{margin-top:calc(var(--f7-contacts-list-title-height) * -1)}.md .contacts-list .list-group-title:before{display:none!important}.md .contacts-list li:not(.list-group-title){padding-left:40px}:root{--f7-list-index-width: 16px;--f7-list-index-font-size: 11px;--f7-list-index-font-weight: 600;--f7-list-index-item-height: 14px;--f7-list-index-label-font-weight: 500}.ios{--f7-list-index-label-text-color: #fff;--f7-list-index-label-size: 44px;--f7-list-index-label-font-size: 17px;--f7-list-index-skip-dot-size: 6px}.md{--f7-list-index-label-size: 56px;--f7-list-index-label-font-size: 20px;--f7-list-index-skip-dot-size: 4px}.md,.md .dark,.md [class*=color-]{--f7-list-index-label-bg-color: var(--f7-md-primary);--f7-list-index-label-text-color: var(--f7-md-on-primary)}.list-index{position:absolute;top:0;bottom:0;text-align:center;z-index:10;width:var(--f7-list-index-width);cursor:pointer;-webkit-user-select:none;user-select:none;right:var(--f7-safe-area-right)}.list-index:before{content:"";position:absolute;width:20px;top:0;right:100%;height:100%}.list-index ul{color:var(--f7-list-index-text-color, var(--f7-theme-color));font-size:var(--f7-list-index-font-size);font-weight:var(--f7-list-index-font-weight);list-style:none;margin:0;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0;height:100%;width:100%;position:relative}.list-index li{margin:0;padding:0;list-style:none;position:relative;height:var(--f7-list-index-item-height);line-height:var(--f7-list-index-item-height);flex-shrink:0;display:block;width:100%}.list-index .list-index-skip-placeholder:after{content:"";position:absolute;left:50%;top:50%;border-radius:50%;width:var(--f7-list-index-skip-dot-size);height:var(--f7-list-index-skip-dot-size);margin-left:calc(-1 * var(--f7-list-index-skip-dot-size) / 2);margin-top:calc(-1 * var(--f7-list-index-skip-dot-size) / 2);background:var(--f7-list-index-text-color, var(--f7-theme-color))}.list-index .list-index-label{position:absolute;bottom:0;right:100%;text-align:center;background-color:var(--f7-list-index-label-bg-color, var(--f7-theme-color));color:var(--f7-list-index-label-text-color);width:var(--f7-list-index-label-size);height:var(--f7-list-index-label-size);line-height:var(--f7-list-index-label-size);font-size:var(--f7-list-index-label-font-size);font-weight:var(--f7-list-index-label-font-weight)}.navbar~.page>.list-index,.navbars~.page>.list-index,.navbar~.list-index{top:var(--f7-navbar-height)}.navbar~.toolbar-top~.list-index,.navbars~.toolbar-top~.list-index,.ios .navbar~.toolbar-top-ios~.list-index,.ios .navbars~.toolbar-top-ios .md .navbar~.toolbar-top-md~.list-index{top:calc(var(--f7-navbar-height) + var(--f7-toolbar-height))}.navbar~.toolbar-top.tabbar-icons~.list-index,.navbars~.toolbar-top.tabbar-icons~.list-index,.ios .navbar~.toolbar-top-ios.tabbar-icons~.list-index,.ios .navbars~.toolbar-top-ios .md .navbar~.toolbar-top-md.tabbar-icons~.list-index{top:calc(var(--f7-navbar-height) + var(--f7-tabbar-icons-height))}.navbar~.subnavbar~.list-index,.navbars~.subnavbar~.list-index,.page-with-subnavbar .navbar~.list-index{top:calc(var(--f7-navbar-height) + var(--f7-subnavbar-height))}.toolbar-bottom~.page>.list-index,.ios .toolbar-bottom-ios~.page>.list-index,.md .toolbar-bottom-md~.page>.list-index,.toolbar-bottom~* .page>.list-index,.ios .toolbar-bottom-ios~* .page>.list-index,.md .toolbar-bottom-md~* .page>.list-index,.toolbar-bottom~.list-index,.ios .toolbar-bottom-ios~.list-index,.md .toolbar-bottom-md~.list-index{bottom:calc(var(--f7-toolbar-height) + var(--f7-safe-area-bottom))}.toolbar-bottom.tabbar-icons~.page>.list-index,.ios .toolbar-bottom-ios.tabbar-icons~.page>.list-index,.md .toolbar-bottom-md.tabbar-icons~.page>.list-index,.toolbar-bottom.tabbar-icons~* .page>.list-index,.ios .toolbar-bottom-ios.tabbar-icons~* .page>.list-index,.md .toolbar-bottom-md.tabbar-icons~* .page>.list-index,.toolbar-bottom.tabbar-icons~.list-index,.ios .toolbar-bottom-ios.tabbar-icons~.list-index,.md .toolbar-bottom-md.tabbar-icons~.list-index{bottom:calc(var(--f7-tabbar-icons-height) + var(--f7-safe-area-bottom))}.ios .list-index .list-index-label{margin-bottom:calc(-1 * var(--f7-list-index-label-size) / 2);margin-right:calc(var(--f7-list-index-width) - 1px);border-radius:50%}.ios .list-index .list-index-label:before{position:absolute;width:100%;height:100%;border-radius:50% 0% 50% 50%;content:"";background-color:inherit;left:0;top:0;transform:rotate(45deg);z-index:-1}.md .list-index .list-index-label{border-radius:50% 50% 0}:root{--f7-timeline-inner-block-margin-vertical: 16px;--f7-timeline-divider-margin-horizontal: 16px;--f7-timeline-horizontal-date-height: 34px;--f7-timeline-year-height: 24px;--f7-timeline-year-font-weight: inherit;--f7-timeline-month-height: 24px;--f7-timeline-month-font-size: inherit;--f7-timeline-month-font-weight: inherit;--f7-timeline-item-text-font-weight: inherit;--f7-timeline-item-subtitle-font-weight: inherit}.ios{--f7-timeline-divider-color: #bbb;--f7-timeline-padding-horizontal: 16px;--f7-timeline-margin-vertical: 35px;--f7-timeline-item-inner-border-radius: 7px;--f7-timeline-item-time-font-size: 13px;--f7-timeline-item-title-font-size: 17px;--f7-timeline-item-title-line-height: inherit;--f7-timeline-item-title-font-weight: 600;--f7-timeline-item-subtitle-font-size: 15px;--f7-timeline-item-subtitle-line-height: inherit;--f7-timeline-item-text-font-size: inherit;--f7-timeline-item-text-color: inherit;--f7-timeline-item-text-line-height: inherit;--f7-timeline-year-font-size: 16px;--f7-timeline-horizontal-item-padding: 10px;--f7-timeline-item-inner-bg-color: #fff;--f7-timeline-item-time-text-color: rgba(0, 0, 0, .45);--f7-timeline-horizontal-item-border-color: rgba(0, 0, 0, .22);--f7-timeline-horizontal-item-date-border-color: rgba(0, 0, 0, .22)}.ios .dark,.ios.dark{--f7-timeline-horizontal-item-border-color: rgba(255, 255, 255, .15);--f7-timeline-horizontal-item-date-border-color: rgba(255, 255, 255, .15);--f7-timeline-item-inner-bg-color: #1c1c1d;--f7-timeline-item-time-text-color: rgba(255, 255, 255, .55)}.md{--f7-timeline-padding-horizontal: 16px;--f7-timeline-margin-vertical: 32px;--f7-timeline-item-inner-border-radius: 16px;--f7-timeline-item-time-font-size: 13px;--f7-timeline-item-title-font-size: 16px;--f7-timeline-item-title-line-height: inherit;--f7-timeline-item-title-font-weight: 400;--f7-timeline-item-subtitle-font-size: inherit;--f7-timeline-item-subtitle-line-height: inherit;--f7-timeline-item-text-font-size: inherit;--f7-timeline-item-text-line-height: inherit;--f7-timeline-year-font-size: 16px;--f7-timeline-horizontal-item-padding: 12px;--f7-timeline-horizontal-item-date-border-color: transparent}.md,.md .dark,.md [class*=color-]{--f7-timeline-divider-color: var(--f7-md-outline);--f7-timeline-item-text-color: var(--f7-md-on-surface);--f7-timeline-horizontal-item-border-color: var(--f7-md-outline);--f7-timeline-item-inner-bg-color: var(--f7-md-surface-1);--f7-timeline-item-time-text-color: var(--f7-md-on-surface-variant)}.timeline{box-sizing:border-box;margin:var(--f7-timeline-margin-vertical) 0;padding:0 var(--f7-timeline-padding-horizontal);padding-top:0;padding-bottom:0;padding-left:calc(var(--f7-timeline-padding-horizontal) + var(--f7-safe-area-left));padding-right:calc(var(--f7-timeline-padding-horizontal) + var(--f7-safe-area-right))}.block-strong .timeline{padding:0;margin:0}.timeline-item{display:flex;justify-content:flex-start;overflow:hidden;box-sizing:border-box;position:relative;padding:2px 0px var(--f7-timeline-padding-horizontal)}.timeline-item:last-child{padding-bottom:2px}.timeline-item-date{flex-shrink:0;width:50px;text-align:right;box-sizing:border-box}.timeline-item-date small{font-size:10px}.timeline-item-content{margin:2px;min-width:0;position:relative;flex-shrink:10}.timeline-item-content .card,.timeline-item-content.card,.timeline-item-content .list,.timeline-item-content.list,.timeline-item-content .block,.timeline-item-content.block{margin:0;width:100%}.timeline-item-content .card+.card,.timeline-item-content .list+.card,.timeline-item-content .block+.card,.timeline-item-content .card+.list,.timeline-item-content .list+.list,.timeline-item-content .block+.list,.timeline-item-content .card+.block,.timeline-item-content .list+.block,.timeline-item-content .block+.block{margin:var(--f7-timeline-inner-block-margin-vertical) 0 0}.timeline-item-content p:first-child,.timeline-item-content ul:first-child,.timeline-item-content ol:first-child,.timeline-item-content h1:first-child,.timeline-item-content h2:first-child,.timeline-item-content h3:first-child,.timeline-item-content h4:first-child{margin-top:0}.timeline-item-content p:last-child,.timeline-item-content ul:last-child,.timeline-item-content ol:last-child,.timeline-item-content h1:last-child,.timeline-item-content h2:last-child,.timeline-item-content h3:last-child,.timeline-item-content h4:last-child{margin-bottom:0}.timeline-item-inner{background:var(--f7-timeline-item-inner-bg-color);box-sizing:border-box;border-radius:var(--f7-timeline-item-inner-border-radius);padding:8px var(--f7-timeline-padding-horizontal)}.timeline-item-inner+.timeline-item-inner{margin-top:var(--f7-timeline-inner-block-margin-vertical)}.timeline-item-inner .block{padding:0;color:inherit}.timeline-item-inner .block-strong{padding-left:0;padding-right:0;margin:0}.timeline-item-inner .block-strong:before,.timeline-item-inner .block-strong:after{display:none!important}.timeline-item-inner .list ul:before,.timeline-item-inner .list ul:after{display:none!important}.timeline-item-divider{width:1px;position:relative;width:10px;height:10px;background:var(--f7-timeline-divider-color);border-radius:50%;flex-shrink:0;margin:3px var(--f7-timeline-divider-margin-horizontal) 0}.timeline-item-divider:after,.timeline-item-divider:before{content:" ";width:1px;height:100vh;position:absolute;left:50%;background:inherit;transform:translate3d(-50%,0,0)}.timeline-item-divider:after{top:100%}.timeline-item-divider:before{bottom:100%}.timeline-item:last-child .timeline-item-divider:after{display:none}.timeline-item:first-child .timeline-item-divider:before{display:none}.timeline-item-time{font-size:var(--f7-timeline-item-time-font-size);margin-top:var(--f7-timeline-inner-block-margin-vertical);color:var(--f7-timeline-item-time-text-color)}.timeline-item-time:first-child,.timeline-item-time:last-child{margin-top:0}.timeline-item-title+.timeline-item-time{margin-top:0}.timeline-item-title{font-size:var(--f7-timeline-item-title-font-size);font-weight:var(--f7-timeline-item-title-font-weight);line-height:var(--f7-timeline-item-title-line-height)}.timeline-item-subtitle{font-size:var(--f7-timeline-item-subtitle-font-size);font-weight:var(--f7-timeline-item-subtitle-font-weight);line-height:var(--f7-timeline-item-subtitle-line-height)}.timeline-item-text{color:var(--f7-timeline-item-text-color);font-size:var(--f7-timeline-item-text-font-size);font-weight:var(--f7-timeline-item-text-font-weight);line-height:var(--f7-timeline-item-text-line-height)}.timeline-sides .timeline-item-right,.timeline-sides .timeline-item{margin-left:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-right:0}.timeline-sides .timeline-item-right .timeline-item-date,.timeline-sides .timeline-item .timeline-item-date{text-align:right}.timeline-sides .timeline-item-left,.timeline-sides .timeline-item:not(.timeline-item-right):nth-child(2n){flex-direction:row-reverse;margin-right:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-left:0}.timeline-sides .timeline-item-left .timeline-item-date,.timeline-sides .timeline-item:not(.timeline-item-right):nth-child(2n) .timeline-item-date{text-align:left}@media (min-width: 480px){.xsmall-sides .timeline-item-right,.xsmall-sides .timeline-item{margin-left:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-right:0}.xsmall-sides .timeline-item-right .timeline-item-date,.xsmall-sides .timeline-item .timeline-item-date{text-align:right}.xsmall-sides .timeline-item-left,.xsmall-sides .timeline-item:not(.timeline-item-right):nth-child(2n){flex-direction:row-reverse;margin-right:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-left:0}.xsmall-sides .timeline-item-left .timeline-item-date,.xsmall-sides .timeline-item:not(.timeline-item-right):nth-child(2n) .timeline-item-date{text-align:left}}@media (min-width: 568px){.small-sides .timeline-item-right,.small-sides .timeline-item{margin-left:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-right:0}.small-sides .timeline-item-right .timeline-item-date,.small-sides .timeline-item .timeline-item-date{text-align:right}.small-sides .timeline-item-left,.small-sides .timeline-item:not(.timeline-item-right):nth-child(2n){flex-direction:row-reverse;margin-right:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-left:0}.small-sides .timeline-item-left .timeline-item-date,.small-sides .timeline-item:not(.timeline-item-right):nth-child(2n) .timeline-item-date{text-align:left}}@media (min-width: 768px){.medium-sides .timeline-item-right,.medium-sides .timeline-item{margin-left:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-right:0}.medium-sides .timeline-item-right .timeline-item-date,.medium-sides .timeline-item .timeline-item-date{text-align:right}.medium-sides .timeline-item-left,.medium-sides .timeline-item:not(.timeline-item-right):nth-child(2n){flex-direction:row-reverse;margin-right:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-left:0}.medium-sides .timeline-item-left .timeline-item-date,.medium-sides .timeline-item:not(.timeline-item-right):nth-child(2n) .timeline-item-date{text-align:left}}@media (min-width: 1024px){.large-sides .timeline-item-right,.large-sides .timeline-item{margin-left:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-right:0}.large-sides .timeline-item-right .timeline-item-date,.large-sides .timeline-item .timeline-item-date{text-align:right}.large-sides .timeline-item-left,.large-sides .timeline-item:not(.timeline-item-right):nth-child(2n){flex-direction:row-reverse;margin-right:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-left:0}.large-sides .timeline-item-left .timeline-item-date,.large-sides .timeline-item:not(.timeline-item-right):nth-child(2n) .timeline-item-date{text-align:left}}@media (min-width: 1200px){.xlarge-sides .timeline-item-right,.xlarge-sides .timeline-item{margin-left:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-right:0}.xlarge-sides .timeline-item-right .timeline-item-date,.xlarge-sides .timeline-item .timeline-item-date{text-align:right}.xlarge-sides .timeline-item-left,.xlarge-sides .timeline-item:not(.timeline-item-right):nth-child(2n){flex-direction:row-reverse;margin-right:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-left:0}.xlarge-sides .timeline-item-left .timeline-item-date,.xlarge-sides .timeline-item:not(.timeline-item-right):nth-child(2n) .timeline-item-date{text-align:left}}.timeline-horizontal{height:100%;display:flex;padding:0;margin:0;position:relative;padding-left:var(--f7-safe-area-left);padding-right:0}.timeline-horizontal .timeline-item{display:block;width:100/3vw;margin:0;padding:0;flex-shrink:0;position:relative;height:100%;padding-top:var(--f7-timeline-horizontal-date-height)!important;padding-bottom:var(--f7-timeline-horizontal-item-padding)}.timeline-horizontal .timeline-item:after{content:"";position:absolute;background-color:var(--f7-timeline-horizontal-item-border-color);display:block;z-index:15;top:0;right:0;bottom:auto;left:auto;width:1px;height:100%;transform-origin:100% 50%;transform:scaleX(calc(1 / var(--f7-device-pixel-ratio)))}.timeline-horizontal .timeline-item-date{padding:0px var(--f7-timeline-horizontal-item-padding);width:auto;line-height:var(--f7-timeline-horizontal-date-height);position:absolute;left:0;top:0;width:100%;height:var(--f7-timeline-horizontal-date-height);background-color:var(--f7-bars-bg-color);color:var(--f7-bars-text-color);text-align:left}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-bars .timeline-horizontal .timeline-item-date{background-color:rgba(var(--f7-bars-bg-color-rgb),var(--f7-bars-translucent-opacity));-webkit-backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur));backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur))}}.timeline-horizontal .timeline-item-date:after{content:"";position:absolute;background-color:var(--f7-timeline-horizontal-item-date-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.timeline-horizontal .timeline-item-content{padding:var(--f7-timeline-horizontal-item-padding);height:calc(100vw - var(--f7-timeline-horizontal-item-padding));overflow:auto;-webkit-overflow-scrolling:touch;margin:0}.timeline-horizontal .timeline-item-divider{display:none}.timeline-horizontal>.timeline-item:last-child:after,.timeline-horizontal .timeline-month:last-child .timeline-item:last-child:after{display:none!important}.timeline-horizontal.timeline-cols-1 .timeline-item{width:100vw}.timeline-horizontal.timeline-cols-2 .timeline-item{width:50vw}.timeline-horizontal.timeline-cols-3 .timeline-item{width:calc(100vw / 3)}.timeline-horizontal.timeline-cols-4 .timeline-item{width:25vw}.timeline-horizontal.timeline-cols-5 .timeline-item{width:20vw}.timeline-horizontal.timeline-cols-6 .timeline-item{width:calc(100vw / 6)}.timeline-horizontal.timeline-cols-7 .timeline-item{width:calc(100vw / 7)}.timeline-horizontal.timeline-cols-8 .timeline-item{width:12.5vw}.timeline-horizontal.timeline-cols-9 .timeline-item{width:calc(100vw / 9)}.timeline-horizontal.timeline-cols-10 .timeline-item{width:10vw}.timeline-horizontal.timeline-cols-11 .timeline-item{width:calc(100vw / 11)}.timeline-horizontal.timeline-cols-12 .timeline-item{width:calc(100vw / 12)}.timeline-horizontal.timeline-cols-13 .timeline-item{width:calc(100vw / 13)}.timeline-horizontal.timeline-cols-14 .timeline-item{width:calc(100vw / 14)}.timeline-horizontal.timeline-cols-15 .timeline-item{width:calc(100vw / 15)}.timeline-horizontal.timeline-cols-16 .timeline-item{width:6.25vw}.timeline-horizontal.timeline-cols-17 .timeline-item{width:calc(100vw / 17)}.timeline-horizontal.timeline-cols-18 .timeline-item{width:calc(100vw / 18)}.timeline-horizontal.timeline-cols-19 .timeline-item{width:calc(100vw / 19)}.timeline-horizontal.timeline-cols-20 .timeline-item{width:5vw}@media (min-width: 480px){.timeline-horizontal.xsmall-timeline-cols-1 .timeline-item{width:100vw}.timeline-horizontal.xsmall-timeline-cols-2 .timeline-item{width:50vw}.timeline-horizontal.xsmall-timeline-cols-3 .timeline-item{width:calc(100vw / 3)}.timeline-horizontal.xsmall-timeline-cols-4 .timeline-item{width:25vw}.timeline-horizontal.xsmall-timeline-cols-5 .timeline-item{width:20vw}.timeline-horizontal.xsmall-timeline-cols-6 .timeline-item{width:calc(100vw / 6)}.timeline-horizontal.xsmall-timeline-cols-7 .timeline-item{width:calc(100vw / 7)}.timeline-horizontal.xsmall-timeline-cols-8 .timeline-item{width:12.5vw}.timeline-horizontal.xsmall-timeline-cols-9 .timeline-item{width:calc(100vw / 9)}.timeline-horizontal.xsmall-timeline-cols-10 .timeline-item{width:10vw}.timeline-horizontal.xsmall-timeline-cols-11 .timeline-item{width:calc(100vw / 11)}.timeline-horizontal.xsmall-timeline-cols-12 .timeline-item{width:calc(100vw / 12)}.timeline-horizontal.xsmall-timeline-cols-13 .timeline-item{width:calc(100vw / 13)}.timeline-horizontal.xsmall-timeline-cols-14 .timeline-item{width:calc(100vw / 14)}.timeline-horizontal.xsmall-timeline-cols-15 .timeline-item{width:calc(100vw / 15)}.timeline-horizontal.xsmall-timeline-cols-16 .timeline-item{width:6.25vw}.timeline-horizontal.xsmall-timeline-cols-17 .timeline-item{width:calc(100vw / 17)}.timeline-horizontal.xsmall-timeline-cols-18 .timeline-item{width:calc(100vw / 18)}.timeline-horizontal.xsmall-timeline-cols-19 .timeline-item{width:calc(100vw / 19)}.timeline-horizontal.xsmall-timeline-cols-20 .timeline-item{width:5vw}}@media (min-width: 568px){.timeline-horizontal.small-timeline-cols-1 .timeline-item{width:100vw}.timeline-horizontal.small-timeline-cols-2 .timeline-item{width:50vw}.timeline-horizontal.small-timeline-cols-3 .timeline-item{width:calc(100vw / 3)}.timeline-horizontal.small-timeline-cols-4 .timeline-item{width:25vw}.timeline-horizontal.small-timeline-cols-5 .timeline-item{width:20vw}.timeline-horizontal.small-timeline-cols-6 .timeline-item{width:calc(100vw / 6)}.timeline-horizontal.small-timeline-cols-7 .timeline-item{width:calc(100vw / 7)}.timeline-horizontal.small-timeline-cols-8 .timeline-item{width:12.5vw}.timeline-horizontal.small-timeline-cols-9 .timeline-item{width:calc(100vw / 9)}.timeline-horizontal.small-timeline-cols-10 .timeline-item{width:10vw}.timeline-horizontal.small-timeline-cols-11 .timeline-item{width:calc(100vw / 11)}.timeline-horizontal.small-timeline-cols-12 .timeline-item{width:calc(100vw / 12)}.timeline-horizontal.small-timeline-cols-13 .timeline-item{width:calc(100vw / 13)}.timeline-horizontal.small-timeline-cols-14 .timeline-item{width:calc(100vw / 14)}.timeline-horizontal.small-timeline-cols-15 .timeline-item{width:calc(100vw / 15)}.timeline-horizontal.small-timeline-cols-16 .timeline-item{width:6.25vw}.timeline-horizontal.small-timeline-cols-17 .timeline-item{width:calc(100vw / 17)}.timeline-horizontal.small-timeline-cols-18 .timeline-item{width:calc(100vw / 18)}.timeline-horizontal.small-timeline-cols-19 .timeline-item{width:calc(100vw / 19)}.timeline-horizontal.small-timeline-cols-20 .timeline-item{width:5vw}}@media (min-width: 768px){.timeline-horizontal.medium-timeline-cols-1 .timeline-item{width:100vw}.timeline-horizontal.medium-timeline-cols-2 .timeline-item{width:50vw}.timeline-horizontal.medium-timeline-cols-3 .timeline-item{width:calc(100vw / 3)}.timeline-horizontal.medium-timeline-cols-4 .timeline-item{width:25vw}.timeline-horizontal.medium-timeline-cols-5 .timeline-item{width:20vw}.timeline-horizontal.medium-timeline-cols-6 .timeline-item{width:calc(100vw / 6)}.timeline-horizontal.medium-timeline-cols-7 .timeline-item{width:calc(100vw / 7)}.timeline-horizontal.medium-timeline-cols-8 .timeline-item{width:12.5vw}.timeline-horizontal.medium-timeline-cols-9 .timeline-item{width:calc(100vw / 9)}.timeline-horizontal.medium-timeline-cols-10 .timeline-item{width:10vw}.timeline-horizontal.medium-timeline-cols-11 .timeline-item{width:calc(100vw / 11)}.timeline-horizontal.medium-timeline-cols-12 .timeline-item{width:calc(100vw / 12)}.timeline-horizontal.medium-timeline-cols-13 .timeline-item{width:calc(100vw / 13)}.timeline-horizontal.medium-timeline-cols-14 .timeline-item{width:calc(100vw / 14)}.timeline-horizontal.medium-timeline-cols-15 .timeline-item{width:calc(100vw / 15)}.timeline-horizontal.medium-timeline-cols-16 .timeline-item{width:6.25vw}.timeline-horizontal.medium-timeline-cols-17 .timeline-item{width:calc(100vw / 17)}.timeline-horizontal.medium-timeline-cols-18 .timeline-item{width:calc(100vw / 18)}.timeline-horizontal.medium-timeline-cols-19 .timeline-item{width:calc(100vw / 19)}.timeline-horizontal.medium-timeline-cols-20 .timeline-item{width:5vw}}@media (min-width: 1024px){.timeline-horizontal.large-timeline-cols-1 .timeline-item{width:100vw}.timeline-horizontal.large-timeline-cols-2 .timeline-item{width:50vw}.timeline-horizontal.large-timeline-cols-3 .timeline-item{width:calc(100vw / 3)}.timeline-horizontal.large-timeline-cols-4 .timeline-item{width:25vw}.timeline-horizontal.large-timeline-cols-5 .timeline-item{width:20vw}.timeline-horizontal.large-timeline-cols-6 .timeline-item{width:calc(100vw / 6)}.timeline-horizontal.large-timeline-cols-7 .timeline-item{width:calc(100vw / 7)}.timeline-horizontal.large-timeline-cols-8 .timeline-item{width:12.5vw}.timeline-horizontal.large-timeline-cols-9 .timeline-item{width:calc(100vw / 9)}.timeline-horizontal.large-timeline-cols-10 .timeline-item{width:10vw}.timeline-horizontal.large-timeline-cols-11 .timeline-item{width:calc(100vw / 11)}.timeline-horizontal.large-timeline-cols-12 .timeline-item{width:calc(100vw / 12)}.timeline-horizontal.large-timeline-cols-13 .timeline-item{width:calc(100vw / 13)}.timeline-horizontal.large-timeline-cols-14 .timeline-item{width:calc(100vw / 14)}.timeline-horizontal.large-timeline-cols-15 .timeline-item{width:calc(100vw / 15)}.timeline-horizontal.large-timeline-cols-16 .timeline-item{width:6.25vw}.timeline-horizontal.large-timeline-cols-17 .timeline-item{width:calc(100vw / 17)}.timeline-horizontal.large-timeline-cols-18 .timeline-item{width:calc(100vw / 18)}.timeline-horizontal.large-timeline-cols-19 .timeline-item{width:calc(100vw / 19)}.timeline-horizontal.large-timeline-cols-20 .timeline-item{width:5vw}}@media (min-width: 1200px){.timeline-horizontal.xlarge-timeline-cols-1 .timeline-item{width:100vw}.timeline-horizontal.xlarge-timeline-cols-2 .timeline-item{width:50vw}.timeline-horizontal.xlarge-timeline-cols-3 .timeline-item{width:calc(100vw / 3)}.timeline-horizontal.xlarge-timeline-cols-4 .timeline-item{width:25vw}.timeline-horizontal.xlarge-timeline-cols-5 .timeline-item{width:20vw}.timeline-horizontal.xlarge-timeline-cols-6 .timeline-item{width:calc(100vw / 6)}.timeline-horizontal.xlarge-timeline-cols-7 .timeline-item{width:calc(100vw / 7)}.timeline-horizontal.xlarge-timeline-cols-8 .timeline-item{width:12.5vw}.timeline-horizontal.xlarge-timeline-cols-9 .timeline-item{width:calc(100vw / 9)}.timeline-horizontal.xlarge-timeline-cols-10 .timeline-item{width:10vw}.timeline-horizontal.xlarge-timeline-cols-11 .timeline-item{width:calc(100vw / 11)}.timeline-horizontal.xlarge-timeline-cols-12 .timeline-item{width:calc(100vw / 12)}.timeline-horizontal.xlarge-timeline-cols-13 .timeline-item{width:calc(100vw / 13)}.timeline-horizontal.xlarge-timeline-cols-14 .timeline-item{width:calc(100vw / 14)}.timeline-horizontal.xlarge-timeline-cols-15 .timeline-item{width:calc(100vw / 15)}.timeline-horizontal.xlarge-timeline-cols-16 .timeline-item{width:6.25vw}.timeline-horizontal.xlarge-timeline-cols-17 .timeline-item{width:calc(100vw / 17)}.timeline-horizontal.xlarge-timeline-cols-18 .timeline-item{width:calc(100vw / 18)}.timeline-horizontal.xlarge-timeline-cols-19 .timeline-item{width:calc(100vw / 19)}.timeline-horizontal.xlarge-timeline-cols-20 .timeline-item{width:5vw}}.timeline-year{padding-top:var(--f7-timeline-year-height)}.timeline-year:after{content:"";position:absolute;background-color:var(--f7-timeline-horizontal-item-border-color);display:block;z-index:15;top:0;right:0;bottom:auto;left:auto;width:1px;height:100%;transform-origin:100% 50%;transform:scaleX(calc(1 / var(--f7-device-pixel-ratio)))}.timeline-year:last-child:after{display:none!important}.timeline-month{padding-top:var(--f7-timeline-month-height)}.timeline-month .timeline-item:before{content:"";position:absolute;background-color:var(--f7-timeline-horizontal-item-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.timeline-year,.timeline-month{display:flex;flex-shrink:0;position:relative;box-sizing:border-box;height:100%}.timeline-year-title{line-height:var(--f7-timeline-year-height);height:var(--f7-timeline-year-height);font-size:var(--f7-timeline-year-font-size);font-weight:var(--f7-timeline-year-font-weight)}.timeline-month-title{line-height:var(--f7-timeline-month-height);height:var(--f7-timeline-month-height);font-size:var(--f7-timeline-month-font-size);font-weight:var(--f7-timeline-month-font-weight)}.timeline-year-title,.timeline-month-title{position:absolute;left:0;top:0;width:100%;box-sizing:border-box;padding:0 var(--f7-timeline-horizontal-item-padding);background-color:var(--f7-bars-bg-color);color:var(--f7-bars-text-color)}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-bars .timeline-year-title,.ios-translucent-bars .timeline-month-title{background-color:rgba(var(--f7-bars-bg-color-rgb),var(--f7-bars-translucent-opacity));-webkit-backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur));backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur))}}.timeline-year-title span,.timeline-month-title span{display:inline-block;position:sticky;left:calc(var(--f7-timeline-horizontal-item-padding) + var(--f7-safe-area-left))}.timeline-month-title span{margin-top:-2px}.timeline-year:first-child .timeline-year-title,.timeline-year:first-child .timeline-month:first-child .timeline-month-title,.timeline-year:first-child .timeline-year-title+.timeline-month .timeline-month-title{left:calc(var(--f7-safe-area-left) * -1);right:0;width:auto}.timeline-horizontal .timeline-item:first-child,.timeline-year:first-child .timeline-month:first-child .timeline-item:first-child,.timeline-year:first-child .timeline-year-title+.timeline-month .timeline-item:first-child,.timeline-year:first-child .timeline-year-title+.timeline-month .timeline-month-title+.timeline-item{overflow:visible}.timeline-horizontal .timeline-item:first-child .timeline-item-date,.timeline-year:first-child .timeline-month:first-child .timeline-item:first-child .timeline-item-date,.timeline-year:first-child .timeline-year-title+.timeline-month .timeline-item:first-child .timeline-item-date,.timeline-year:first-child .timeline-year-title+.timeline-month .timeline-month-title+.timeline-item .timeline-item-date{width:auto;padding-left:calc(var(--f7-timeline-horizontal-item-padding) + var(--f7-safe-area-left));left:calc(0px - var(--f7-safe-area-left));right:0}.timeline-year:last-child .timeline-year-title,.timeline-year:last-child .timeline-month:last-child .timeline-month-title{width:auto;right:calc(0px - var(--f7-safe-area-right))}.timeline-horizontal .timeline-item:last-child,.timeline-year:last-child .timeline-month:last-child .timeline-item:last-child{overflow:visible}.timeline-horizontal .timeline-item:last-child .timeline-item-date,.timeline-year:last-child .timeline-month:last-child .timeline-item:last-child .timeline-item-date{width:auto;right:calc(0px - var(--f7-safe-area-right));left:0}.ios .block-strong .timeline-item-inner{border-radius:3px;border:1px solid rgba(0,0,0,.1)}.ios .timeline-year-title span{margin-top:3px}.md .timeline-year-title span{margin-top:2px}.tabs .tab{display:none}.tabs .tab-active{display:block}.tabs-animated-wrap{position:relative;width:100%;overflow:hidden;height:100%}.tabs-animated-wrap>.tabs{display:flex;height:100%;transition-duration:.3s}.tabs-animated-wrap>.tabs>.tab{width:100%;display:block;flex-shrink:0}.tabs-animated-wrap.not-animated>.tabs{transition-duration:0ms}swiper-container.tabs{height:100%}swiper-container.tabs>.tab{display:block;touch-action:pan-y}.page>.tabs{height:100%}:root{--f7-panel-width: 260px;--f7-panel-backdrop-bg-color: rgba(0, 0, 0, .3);--f7-panel-bg-color: #fff}:root .dark,:root.dark{--f7-panel-bg-color: #000}.ios{--f7-panel-collapsed-width: 58px;--f7-panel-transition-duration: .4s;--f7-panel-transition-timing-function: initial}.md{--f7-panel-collapsed-width: 60px;--f7-panel-transition-duration: .4s;--f7-panel-transition-timing-function: cubic-bezier(0, .8, .34, 1)}.panel-backdrop{position:absolute;left:0;top:0px;width:100%;height:100%;opacity:0;z-index:5999;visibility:hidden;pointer-events:none;transform:translateZ(0);background-color:var(--f7-panel-backdrop-bg-color);transition-property:transform,opacity;transition-duration:var(--f7-panel-transition-duration)}.panel-backdrop .with-panel,.panel-backdrop .with-panel-closing{visibility:visible}.panel-backdrop.not-animated{transition-duration:0ms!important}.panel{z-index:1000;box-sizing:border-box;position:absolute;top:0px;height:100%;transform:translateZ(0);width:var(--f7-panel-width);background-color:var(--f7-panel-bg-color);overflow:visible;transition-property:transform;transition-duration:var(--f7-panel-transition-duration)}.panel:not(.panel-in):not(.panel-out):not(.panel-in-breakpoint):not(.panel-in-collapsed):not(.panel-in-swipe){display:none}.panel:after{pointer-events:none;opacity:0;z-index:5999;position:absolute;content:"";top:0;width:20px;height:100%;transition-property:transform,opacity;transition-duration:var(--f7-panel-transition-duration)}.panel.not-animated,.panel.not-animated:after{transition-duration:0ms!important}.panel.panel-reveal.not-animated~.views,.panel.panel-reveal.not-animated~.view{transition-duration:0ms!important}.panel.panel-resizing{-webkit-user-select:none;user-select:none}.panel.panel-resizing,.panel.panel-resizing:after,.panel.panel-resizing~.views,.panel.panel-resizing~.view{transition-duration:0ms!important}.panel-cover,.panel-floating{z-index:6000}.panel-floating{overflow:hidden;border-radius:16px;height:auto;top:calc(8px + var(--f7-safe-area-top, 0px));bottom:calc(8px + var(--f7-safe-area-bottom, 0px))}.panel-floating .views,.panel-floating .view{--f7-safe-area-top: 0px;--f7-safe-area-bottom: 0px}.page .panel-floating{top:calc(8px + var(--f7-page-navbar-offset, 0px));bottom:calc(8px + var(--f7-safe-area-bottom, 0px))}.page .panel-floating .page{--f7-page-navbar-offset: 0px}.page .panel-floating .navbar~*,.page .panel-floating .navbars~*{--f7-page-navbar-offset: calc(var(--f7-navbar-height))}.panel-left{left:0;width:var(--f7-panel-left-width, var(--f7-panel-width))}.panel-left.panel-cover,.panel-left.panel-floating,.panel-left.panel-push{transform:translate3d(calc(-1 * var(--f7-panel-left-width, var(--f7-panel-width))),0,0)}.panel-right{right:0;width:var(--f7-panel-right-width, var(--f7-panel-width))}.panel-right.panel-cover,.panel-right.panel-floating,.panel-right.panel-push{transform:translate3d(var(--f7-panel-right-width, var(--f7-panel-width)),0,0)}.panel-in-breakpoint{transform:translateZ(0)!important;transition-duration:0ms}.panel-in-breakpoint:after{display:none}.panel-in-breakpoint.panel-cover,.panel-in-breakpoint.panel-floating{z-index:5900}.panel,.panel-backdrop{transition-timing-function:var(--f7-panel-transition-timing-function)}html.with-panel-left-reveal .views,html.with-panel-right-reveal .views,html.with-panel-left-push .views,html.with-panel-right-push .views,html.with-panel-closing .views,html.with-panel-left-reveal .framework7-root>.view,html.with-panel-right-reveal .framework7-root>.view,html.with-panel-left-push .framework7-root>.view,html.with-panel-right-push .framework7-root>.view,html.with-panel-closing .framework7-root>.view{transition-duration:var(--f7-panel-transition-duration);transition-property:transform;transition-timing-function:var(--f7-panel-transition-timing-function)}html.with-panel .framework7-root>.views .page-content,html.with-panel .framework7-root>.view .page-content{overflow:hidden;-webkit-overflow-scrolling:auto}html.with-panel-left-reveal .views,html.with-panel-left-push .views,html.with-panel-left-reveal .framework7-root>.view,html.with-panel-left-push .framework7-root>.view{transform:translate3d(var(--f7-panel-left-width, var(--f7-panel-width)),0,0)}html.with-panel-right-reveal .views,html.with-panel-right-push .views,html.with-panel-right-reveal .framework7-root>.view,html.with-panel-right-push .framework7-root>.view{transform:translate3d(calc(-1 * var(--f7-panel-right-width, var(--f7-panel-width))),0,0)}.page>.panel-backdrop{z-index:290}.page>.panel-reveal,.page .panel-push{z-index:1}.page>.panel-cover,.page>.panel-floating{z-index:300}.page.with-panel-left-reveal>.page-content,.page.with-panel-right-reveal>.page-content,.page.with-panel-left-push>.page-content,.page.with-panel-right-push>.page-content,.page.with-panel-closing>.page-content,.page.with-panel-left-reveal>.tabs,.page.with-panel-right-reveal>.tabs,.page.with-panel-left-push>.tabs,.page.with-panel-right-push>.tabs,.page.with-panel-closing>.tabs{transition-duration:var(--f7-panel-transition-duration);transition-property:transform;transition-timing-function:var(--f7-panel-transition-timing-function)}.page.with-panel-left-reveal>.page-content,.page.with-panel-left-push>.page-content,.page.with-panel-left-reveal>.tabs,.page.with-panel-left-push>.tabs{transform:translate3d(var(--f7-panel-left-width, var(--f7-panel-width)),0,0)}.page.with-panel-right-reveal>.page-content,.page.with-panel-right-push>.page-content,.page.with-panel-right-reveal>.tabs,.page.with-panel-right-push>.tabs{transform:translate3d(calc(-1 * var(--f7-panel-right-width, var(--f7-panel-width))),0,0)}.with-panel-closing .panel-backdrop-in{visibility:visible;pointer-events:auto;opacity:0}.with-panel-left-reveal .panel-backdrop-in,.with-panel-right-reveal .panel-backdrop-in,.with-panel-left-cover .panel-backdrop-in,.with-panel-right-cover .panel-backdrop-in,.with-panel-left-floating .panel-backdrop-in,.with-panel-right-floating .panel-backdrop-in,.with-panel-left-push .panel-backdrop-in,.with-panel-right-push .panel-backdrop-in{visibility:visible;pointer-events:auto;opacity:1}.with-panel-left-reveal .panel-backdrop-in,.with-panel-left-push .panel-backdrop-in{transform:translate3d(var(--f7-panel-left-width, var(--f7-panel-width)),0,0)}.with-panel-right-reveal .panel-backdrop-in,.with-panel-right-push .panel-backdrop-in{transform:translate3d(calc(-1 * var(--f7-panel-right-width, var(--f7-panel-width))),0,0)}.with-panel-left-cover .panel-left,.with-panel-left-push .panel-left{transform:translateZ(0)}.with-panel-left-floating .panel-left{transform:translate3d(8px,0,0)}.with-panel-right-cover .panel-right,.with-panel-right-push .panel-right{transform:translateZ(0)}.with-panel-right-floating .panel-right{transform:translate3d(-8px,0,0)}.panel-resize-handler{position:absolute;top:0;height:100%;width:6px;cursor:col-resize;z-index:6000;display:none}.panel-resizable .panel-resize-handler{display:block}.panel-left.panel-cover .panel-resize-handler{right:-3px}.panel-resize-handler .panel-left.panel-reveal,.panel-left.panel-push .panel-resize-handler{right:0}.panel-right.panel-cover .panel-resize-handler{left:-3px}.panel-resize-handler .panel-right.panel-reveal,.panel-right.panel-push .panel-resize-handler{left:0}.panel-left.panel-in-collapsed~.views,.panel-left.panel-in-collapsed~.view,.panel-left.panel-in-collapsed~.page-content,.panel-left.panel-in-collapsed~.tabs{margin-left:var(--f7-panel-left-collapsed-width, var(--f7-panel-collapsed-width))}.page.with-panel-left-reveal .panel-left.panel-in-collapsed~.page-content,.page.with-panel-left-reveal .panel-left.panel-in-collapsed~.tabs,html.with-panel-left-reveal .panel-left.panel-in-collapsed~.views,html.with-panel-left-reveal .panel-left.panel-in-collapsed~.view{transform:translate3d(calc(var(--f7-panel-left-width, var(--f7-panel-width)) - var(--f7-panel-left-collapsed-width, var(--f7-panel-collapsed-width))),0,0)}.panel-right.panel-in-collapsed~.views,.panel-right.panel-in-collapsed~.view,.panel-right.panel-in-collapsed~.page-content,.panel-right.panel-in-collapsed~.tabs{margin-right:var(--f7-panel-right-collapsed-width, var(--f7-panel-collapsed-width))}.page.with-panel-right-reveal .panel-right.panel-in-collapsed~.page-content,.page.with-panel-right-reveal .panel-right.panel-in-collapsed~.tabs,html.with-panel-right-reveal .panel-right.panel-in-collapsed~.views,html.with-panel-right-reveal .panel-right.panel-in-collapsed~.view{transform:translate3d(calc(var(--f7-panel-right-collapsed-width, var(--f7-panel-collapsed-width)) - var(--f7-panel-right-width, var(--f7-panel-width))),0,0)}html.with-modal-popup-push .framework7-root,html.with-modal-popup-push-closing .framework7-root{--f7-panelPushScale: var(--f7-popup-push-scale);--f7-panelPushTransitionDuration: var(--f7-popup-transition-duration);--f7-panelPushTransitionTimingFunction: var(--f7-popup-transition-timing-function);--f7-panelPushBorderRadius: var(--f7-popup-push-border-radius)}html.with-modal-sheet-push .framework7-root,html.with-modal-sheet-push-closing .framework7-root{--f7-panelPushScale: var(--f7-sheet-push-scale);--f7-panelPushTransitionDuration: var(--f7-sheet-transition-duration);--f7-panelPushTransitionTimingFunction: var(--f7-sheet-transition-timing-function);--f7-panelPushBorderRadius: var(--f7-sheet-push-border-radius)}html.with-modal-popup-push .framework7-root>.panel-in,html.with-modal-sheet-push .framework7-root>.panel-in,html.with-modal-popup-push .framework7-root>.panel-out,html.with-modal-sheet-push .framework7-root>.panel-out{transition-duration:var(--f7-panelPushTransitionDuration);transition-timing-function:var(--f7-panelPushTransitionTimingFunction)}html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-left,html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-left{transform:scale(var(--f7-panelPushScale, 1));transform-origin:50vw center;border-top-left-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-left .view{border-top-left-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-right,html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-right{transform:scale(var(--f7-panelPushScale, 1));transform-origin:calc(var(--f7-panel-left-width, var(--f7-panel-width)) - 50vw) center;border-top-right-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-right .view{border-top-right-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-cover.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-cover.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-cover.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-cover.panel-left{transform:translate3d(calc(-1 * var(--f7-panel-left-width, var(--f7-panel-width))),0,0)}html.with-modal-popup-push .framework7-root>.panel-in.panel-cover.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-cover.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-cover.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-cover.panel-right{transform:translate3d(var(--f7-panel-right-width, var(--f7-panel-width)),0,0)}html.with-modal-popup-push-closing .framework7-root>.panel-in,html.with-modal-sheet-push-closing .framework7-root>.panel-in{transition-duration:var(--f7-panelPushTransitionDuration);transition-timing-function:var(--f7-panelPushTransitionTimingFunction)}html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-push.panel-left{transform-origin:50vw center}html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-push.panel-right{transform-origin:calc(var(--f7-panel-right-width, var(--f7-panel-width)) - 50vw) center}.md .panel-cover{overflow:hidden}.md .panel-cover.panel-left{border-radius:0 16px 16px 0}.md .panel-cover.panel-right{border-radius:16px 0 0 16px}:root{--f7-card-margin-horizontal: 16px;--f7-card-margin-vertical: 16px;--f7-card-content-padding-horizontal: 16px;--f7-card-content-padding-vertical: 16px;--f7-card-font-size: inherit;--f7-card-header-text-color: inherit;--f7-card-header-font-weight: 400;--f7-card-header-padding-horizontal: 16px;--f7-card-footer-font-weight: 400;--f7-card-footer-font-size: inherit;--f7-card-footer-padding-horizontal: 16px;--f7-card-expandable-font-size: 16px;--f7-card-expandable-tablet-width: 670px;--f7-card-expandable-tablet-height: 670px}.ios{--f7-card-border-radius: 8px;--f7-card-box-shadow: 0px 1px 2px rgba(0, 0, 0, .2);--f7-card-header-font-size: 17px;--f7-card-header-padding-vertical: 10px;--f7-card-header-min-height: 44px;--f7-card-footer-text-color: rgba(0, 0, 0, .45);--f7-card-footer-padding-vertical: 10px;--f7-card-footer-min-height: 44px;--f7-card-expandable-margin-horizontal: 20px;--f7-card-expandable-margin-vertical: 30px;--f7-card-expandable-box-shadow: 0px 20px 40px rgba(0, 0, 0, .3);--f7-card-expandable-border-radius: 16px;--f7-card-expandable-tablet-border-radius: 16px;--f7-card-expandable-header-font-size: 27px;--f7-card-expandable-header-font-weight: bold;--f7-card-text-color: inherit;--f7-card-bg-color: #fff;--f7-card-expandable-bg-color: #fff;--f7-card-outline-border-color: rgba(0, 0, 0, .12);--f7-card-header-border-color: rgba(0, 0, 0, .1);--f7-card-footer-border-color: rgba(0, 0, 0, .1)}.ios .dark,.ios.dark{--f7-card-bg-color: #1c1c1d;--f7-card-expandable-bg-color: #1c1c1d;--f7-card-outline-border-color: rgba(255, 255, 255, .15);--f7-card-header-border-color: rgba(255, 255, 255, .15);--f7-card-footer-border-color: rgba(255, 255, 255, .15);--f7-card-footer-text-color: rgba(255, 255, 255, .55)}.md{--f7-card-border-radius: 16px;--f7-card-box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--f7-card-header-font-size: 22px;--f7-card-header-padding-vertical: 16px;--f7-card-header-min-height: 48px;--f7-card-footer-padding-vertical: 16px;--f7-card-footer-min-height: 48px;--f7-card-expandable-margin-horizontal: 12px;--f7-card-expandable-margin-vertical: 24px;--f7-card-expandable-box-shadow: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--f7-card-expandable-border-radius: 16px;--f7-card-expandable-tablet-border-radius: 16px;--f7-card-expandable-header-font-size: 22px;--f7-card-expandable-header-font-weight: 500}.md,.md .dark,.md [class*=color-]{--f7-card-bg-color: var(--f7-md-surface-1);--f7-card-expandable-bg-color: var(--f7-md-surface-1);--f7-card-outline-border-color: var(--f7-md-outline);--f7-card-header-border-color: var(--f7-md-outline);--f7-card-footer-border-color: var(--f7-md-outline);--f7-card-text-color: var(--f7-md-on-surface);--f7-card-footer-text-color: var(--f7-md-on-surface-variant)}.cards-list>ul:before,.card .list>ul:before,.cards-list>ul:after,.card .list>ul:after{display:none!important}.cards-list ul,.card .list ul{background:none}.card{background:var(--f7-card-bg-color);position:relative;border-radius:var(--f7-card-border-radius);font-size:var(--f7-card-font-size);margin-top:var(--f7-card-margin-vertical);margin-bottom:var(--f7-card-margin-vertical);margin-left:calc(var(--f7-card-margin-horizontal) + var(--f7-safe-area-left));margin-right:calc(var(--f7-card-margin-horizontal) + var(--f7-safe-area-right));color:var(--f7-card-text-color)}.card .list,.card .block{margin:0}.row:not(.no-gap) .col>.card{margin-left:0;margin-right:0}.card-raised{box-shadow:var(--f7-card-box-shadow)}.card-outline,.ios .card-outline-ios,.md .card-outline-md{border:1px solid var(--f7-card-outline-border-color)}.card-content{position:relative}.card-content-padding{position:relative;padding:var(--f7-card-content-padding-vertical) var(--f7-card-content-padding-horizontal)}.card-content-padding>.list,.card-content-padding>.block{margin:calc(-1 * var(--f7-card-content-padding-vertical)) calc(-1 * var(--f7-card-content-padding-horizontal))}.card-content-padding>p:first-child{margin-top:0}.card-content-padding>p:last-child{margin-bottom:0}.card-header{min-height:var(--f7-card-header-min-height);color:var(--f7-card-header-text-color);font-size:var(--f7-card-header-font-size);font-weight:var(--f7-card-header-font-weight);padding:var(--f7-card-header-padding-vertical) var(--f7-card-header-padding-horizontal)}.card-header.card-header-divider,.card-header-divider .card-header,.card-dividers .card-header{border-bottom:1px solid var(--f7-card-header-border-color)}.card-footer{min-height:var(--f7-card-footer-min-height);color:var(--f7-card-footer-text-color);font-size:var(--f7-card-footer-font-size);font-weight:var(--f7-card-footer-font-weight);padding:var(--f7-card-footer-padding-vertical) var(--f7-card-footer-padding-horizontal)}.card-footer.card-footer-divider,.card-footer-divider .card-footer,.card-dividers .card-footer{border-top:1px solid var(--f7-card-header-border-color)}.card-footer a.link{overflow:hidden}.card-header,.card-footer{position:relative;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center}.card-header[valign=top],.card-footer[valign=top]{align-items:flex-start}.card-header[valign=bottom],.card-footer[valign=bottom]{align-items:flex-end}.card-header a.link,.card-footer a.link{position:relative}.card-header a.link i.icon,.card-footer a.link i.icon{display:block}.card-header a.icon-only,.card-footer a.icon-only{display:flex;justify-content:center;align-items:center;margin:0}.card-header{border-radius:var(--f7-card-border-radius) var(--f7-card-border-radius) 0 0}.card-footer{border-radius:0 0 var(--f7-card-border-radius) var(--f7-card-border-radius)}.card-expandable{overflow:hidden;height:300px;background:var(--f7-card-expandable-bg-color);position:relative;transform-origin:center center;transition-property:transform,border-radius;border-radius:var(--f7-card-expandable-border-radius);z-index:2;transition-duration:.2s;margin-left:calc(var(--f7-card-expandable-margin-horizontal) + var(--f7-safe-area-left));margin-right:calc(var(--f7-card-expandable-margin-horizontal) + var(--f7-safe-area-right));margin-top:var(--f7-card-expandable-margin-vertical);margin-bottom:var(--f7-card-expandable-margin-vertical);font-size:var(--f7-card-expandable-font-size)}.card-expandable.card-raised{box-shadow:var(--f7-card-expandable-box-shadow)}.card-expandable:not(.card-opened){-webkit-user-select:none;user-select:none}.card-expandable.card-no-transition{transition-duration:0ms}.card-expandable.card-expandable-animate-width .card-content{transition-property:width,transform;width:100%}.card-expandable.active-state{transform:scale(.97) translateZ(0)}.card-expandable .card-opened-fade-in,.card-expandable .card-opened-fade-out{transition-duration:.4s}.card-expandable .card-opened-fade-in{opacity:0;pointer-events:none}.card-expandable .card-content{position:absolute;top:0;width:100vw;height:100vh;transform-origin:center top;overflow:hidden;transition-property:transform;box-sizing:border-box;pointer-events:none;left:0}.card-expandable .card-content .card-content-padding{padding-left:calc(var(--f7-safe-area-left) + var(--f7-card-content-padding-horizontal));padding-right:calc(var(--f7-safe-area-right) + var(--f7-card-content-padding-horizontal))}.card-expandable.card-opened{transition-duration:0ms}.card-expandable.card-opening,.card-expandable.card-closing,.card-expandable.card-transitioning{transition-duration:.4s}.card-expandable.card-opening .card-content{transition-duration:.3s}.card-expandable.card-closing .card-content{transition-duration:.5s}.card-expandable.card-opening,.card-expandable.card-opened,.card-expandable.card-closing{z-index:300}.card-expandable.card-opening,.card-expandable.card-opened{border-radius:0}.card-expandable.card-opening .card-opened-fade-in,.card-expandable.card-opened .card-opened-fade-in{opacity:1;pointer-events:auto}.card-expandable.card-opening .card-opened-fade-out,.card-expandable.card-opened .card-opened-fade-out{opacity:0;pointer-events:none}.card-expandable.card-opened .card-content{overflow:auto;-webkit-overflow-scrolling:touch;pointer-events:auto}.card-expandable .card-header{font-size:var(--f7-card-expandable-header-font-size);font-weight:var(--f7-card-expandable-header-font-weight)}.card-prevent-open{pointer-events:auto}.card-expandable-size{width:0;height:0;position:absolute;left:0;top:0;opacity:0;pointer-events:none;visibility:hidden}@media (min-width: 768px) and (min-height: 670px){.card-expandable:not(.card-tablet-fullscreen){max-width:var(--f7-card-expandable-tablet-width)}.card-expandable:not(.card-tablet-fullscreen).card-opened,.card-expandable:not(.card-tablet-fullscreen).card-opening{border-radius:var(--f7-card-expandable-tablet-border-radius)}.card-expandable:not(.card-tablet-fullscreen):not(.card-expandable-animate-width) .card-content{width:var(--f7-card-expandable-tablet-width)}.card-expandable:not(.card-tablet-fullscreen) .card-expandable-size{width:var(--f7-card-expandable-tablet-width);height:var(--f7-card-expandable-tablet-height)}}.page.page-with-card-opened .page-content{overflow:hidden}.card-backdrop{position:fixed;left:0;top:0;width:100%;height:100%;z-index:299;pointer-events:none;background:rgba(0,0,0,.2);opacity:0}.card-backdrop-in{animation:card-backdrop-fade-in .4s forwards;pointer-events:auto}.card-backdrop-out{animation:card-backdrop-fade-out .4s forwards}@supports ((-webkit-backdrop-filter: blur(15px)) or (backdrop-filter: blur(15px))){.card-backdrop{background:transparent;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}}@keyframes card-backdrop-fade-in{0%{opacity:0}to{opacity:1}}@keyframes card-backdrop-fade-out{0%{opacity:1}to{opacity:0}}:root{--f7-chip-font-size: 14px;--f7-chip-media-font-size: 16px;--f7-chip-delete-button-color: #000}:root .dark,:root.dark{--f7-chip-delete-button-color: #fff}.ios{--f7-chip-height: 28px;--f7-chip-media-size: 28px;--f7-chip-padding-horizontal: 10px;--f7-chip-border-radius: 28px;--f7-chip-font-weight: normal;--f7-chip-outline-border-color: rgba(0, 0, 0, .12);--f7-chip-bg-color: rgba(0, 0, 0, .12);--f7-chip-text-color: #000;--f7-chip-outline-text-color: #000}.ios .dark,.ios.dark{--f7-chip-bg-color: #333;--f7-chip-text-color: #fff;--f7-chip-outline-text-color: #fff;--f7-chip-outline-border-color: rgba(255, 255, 255, .12)}.md{--f7-chip-font-weight: 500;--f7-chip-media-size: 24px;--f7-chip-height: 32px;--f7-chip-padding-horizontal: 12px;--f7-chip-border-radius: 8px}.md,.md .dark,.md [class*=color-]{--f7-chip-bg-color: var(--f7-md-secondary-container);--f7-chip-text-color: var(--f7-md-on-secondary-container);--f7-chip-outline-text-color: var(--f7-md-on-surface);--f7-chip-outline-border-color: var(--f7-md-outline)}.chip{padding-left:var(--f7-chip-padding-horizontal);padding-right:var(--f7-chip-padding-horizontal);font-weight:var(--f7-chip-font-weight);display:inline-flex;box-sizing:border-box;vertical-align:middle;align-items:center;margin:2px 0;background-color:var(--f7-chip-bg-color);font-size:var(--f7-chip-font-size);color:var(--f7-chip-text-color);height:var(--f7-chip-height);line-height:var(--f7-chip-height);border-radius:var(--f7-chip-border-radius);position:relative}.chip-media{border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;height:var(--f7-chip-media-size);width:var(--f7-chip-media-size);border-radius:var(--f7-chip-media-size);text-align:center;line-height:var(--f7-chip-media-size);box-sizing:border-box;color:#fff;font-size:var(--f7-chip-media-font-size);vertical-align:middle}.chip-media i.icon{font-size:calc(var(--f7-chip-media-size) - 8px);height:calc(var(--f7-chip-media-size) - 8px)}.chip-media img{max-width:100%;max-height:100%;width:auto;height:auto;border-radius:50%;display:block}.chip-media+.chip-label{margin-left:4px}.chip-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;flex-shrink:1;min-width:0}.chip-delete{text-align:center;cursor:pointer;flex-shrink:0;background-repeat:no-repeat;width:24px;height:24px;color:var(--f7-chip-delete-button-color);opacity:.54;position:relative}.chip-delete:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;line-height:24px}.chip .chip-delete.active-state{opacity:1}.chip-outline,.ios .chip-outline-ios,.md .chip-outline-md{border:1px solid var(--f7-chip-outline-border-color);color:var(--f7-chip-outline-text-color);background:none}.ios .chip[class*=color-]{--f7-chip-bg-color: var(--f7-theme-color);--f7-chip-text-color: #fff}.ios .chip-outline[class*=color-],.ios .chip-outline-ios[class*=color-]{--f7-chip-outline-border-color: var(--f7-theme-color);--f7-chip-outline-text-color: var(--f7-theme-color)}.ios .chip-media{margin-left:calc(-1 * var(--f7-chip-padding-horizontal))}.ios .chip-delete{margin-right:calc(-1 * var(--f7-chip-padding-horizontal))}.ios .chip-delete:after{content:"delete_round_ios"}.ios .chip-delete:after{font-size:10px}.md .chip-media{margin-left:calc(-1 * var(--f7-chip-padding-horizontal) + 4px)}.md .chip-label+.chip-delete{margin-left:4px}.md .chip-delete{margin-right:calc(-1 * var(--f7-chip-padding-horizontal) + 4px)}.md .chip-delete:after{content:"delete_round_md";font-size:16px}:root{--f7-input-bg-color: transparent;--f7-label-font-weight: 400;--f7-label-height: 16px;--f7-label-font-size: 12px;--f7-floating-label-scale: calc(16 / 12);--f7-input-padding-left: 0px;--f7-input-padding-right: 0px;--f7-input-error-text-color: #ff3b30;--f7-input-error-font-size: 12px;--f7-input-error-line-height: 1.4;--f7-input-error-font-weight: 400;--f7-input-info-font-size: 12px;--f7-input-info-line-height: 1.4;--f7-textarea-height: 100px}.ios{--f7-input-item-bg-color: transparent;--f7-input-item-border-radius: 0px;--f7-input-height: 40px;--f7-input-font-size: 16px;--f7-input-placeholder-color: #a9a9a9;--f7-textarea-padding-vertical: 8px;--f7-label-text-color: inherit;--f7-input-clear-button-size: 14px;--f7-input-outline-border-radius: 8px;--f7-input-text-color: #000000;--f7-input-info-text-color: rgba(0, 0, 0, .45);--f7-input-clear-button-color: rgba(0, 0, 0, .45);--f7-input-outline-border-color: #bbb}.ios .dark,.ios.dark{--f7-input-text-color: #fff;--f7-input-info-text-color: rgba(255, 255, 255, .55);--f7-input-clear-button-color: rgba(255, 255, 255, .5);--f7-input-outline-border-color: #444}.md{--f7-input-item-border-radius: 4px 4px 0 0;--f7-input-height: 24px;--f7-input-font-size: 16px;--f7-textarea-padding-vertical: 0px;--f7-input-outline-border-radius: 4px;--f7-floating-label-scale: calc(16 / 12);--f7-input-clear-button-size: 24px;--f7-input-info-text-color: rgba(0, 0, 0, .45)}.md .dark,.md.dark{--f7-input-info-text-color: rgba(255, 255, 255, .45)}.md,.md .dark,.md [class*=color-]{--f7-input-placeholder-color: var(--f7-md-on-surface-variant);--f7-input-item-bg-color: var(--f7-md-surface-variant);--f7-input-border-color: var(--f7-md-outline);--f7-input-clear-button-color: var(--f7-md-on-surface-variant);--f7-input-outline-border-color: var(--f7-md-outline);--f7-input-text-color: var(--f7-md-on-surface);--f7-label-text-color: var(--f7-md-on-surface-variant)}input[type=text],input[type=password],input[type=search],input[type=email],input[type=tel],input[type=url],input[type=date],input[type=month],input[type=datetime-local],input[type=time],input[type=number],select,textarea{box-sizing:border-box;-webkit-appearance:none;appearance:none;border:none;box-shadow:none;border-radius:0;outline:0;display:block;padding:0;margin:0;font-family:inherit;background:none;resize:none;font-size:inherit;color:inherit}input[type=text]:-internal-autofill-selected,input[type=password]:-internal-autofill-selected,input[type=search]:-internal-autofill-selected,input[type=email]:-internal-autofill-selected,input[type=tel]:-internal-autofill-selected,input[type=url]:-internal-autofill-selected,input[type=date]:-internal-autofill-selected,input[type=month]:-internal-autofill-selected,input[type=datetime-local]:-internal-autofill-selected,input[type=time]:-internal-autofill-selected,input[type=number]:-internal-autofill-selected,select:-internal-autofill-selected,textarea:-internal-autofill-selected{background-color:transparent!important;transition:background-color 5000s ease-in-out 0s!important}input[type=text]:-webkit-autofill,input[type=password]:-webkit-autofill,input[type=search]:-webkit-autofill,input[type=email]:-webkit-autofill,input[type=tel]:-webkit-autofill,input[type=url]:-webkit-autofill,input[type=date]:-webkit-autofill,input[type=month]:-webkit-autofill,input[type=datetime-local]:-webkit-autofill,input[type=time]:-webkit-autofill,input[type=number]:-webkit-autofill,select:-webkit-autofill,textarea:-webkit-autofill{background-color:transparent!important;-webkit-transition:background-color 5000s ease-in-out 0s!important;transition:background-color 5000s ease-in-out 0s!important}input[type=text]:autofill,input[type=password]:autofill,input[type=search]:autofill,input[type=email]:autofill,input[type=tel]:autofill,input[type=url]:autofill,input[type=date]:autofill,input[type=month]:autofill,input[type=datetime-local]:autofill,input[type=time]:autofill,input[type=number]:autofill,select:autofill,textarea:autofill,input[type=text]:-webkit-autofill-and-obscured,input[type=password]:-webkit-autofill-and-obscured,input[type=search]:-webkit-autofill-and-obscured,input[type=email]:-webkit-autofill-and-obscured,input[type=tel]:-webkit-autofill-and-obscured,input[type=url]:-webkit-autofill-and-obscured,input[type=date]:-webkit-autofill-and-obscured,input[type=month]:-webkit-autofill-and-obscured,input[type=datetime-local]:-webkit-autofill-and-obscured,input[type=time]:-webkit-autofill-and-obscured,input[type=number]:-webkit-autofill-and-obscured,select:-webkit-autofill-and-obscured,textarea:-webkit-autofill-and-obscured{background-color:transparent!important;-webkit-transition:background-color 5000s ease-in-out 0s!important;transition:background-color 5000s ease-in-out 0s!important}.textarea-resizable-shadow{opacity:0;position:absolute;z-index:-1000;pointer-events:none;left:-1000px;top:-1000px;visibility:hidden}.list input[type=text],.list input[type=password],.list input[type=search],.list input[type=email],.list input[type=tel],.list input[type=url],.list input[type=date],.list input[type=month],.list input[type=datetime-local],.list input[type=time],.list input[type=number],.list select{width:100%;height:var(--f7-input-height);color:var(--f7-input-text-color);font-size:var(--f7-input-font-size);background-color:var(--f7-input-bg-color, transparent);padding-left:var(--f7-input-padding-left);padding-right:var(--f7-input-padding-right)}.list input[type=text]::placeholder,.list input[type=password]::placeholder,.list input[type=search]::placeholder,.list input[type=email]::placeholder,.list input[type=tel]::placeholder,.list input[type=url]::placeholder,.list input[type=date]::placeholder,.list input[type=month]::placeholder,.list input[type=datetime-local]::placeholder,.list input[type=time]::placeholder,.list input[type=number]::placeholder,.list select::placeholder{color:var(--f7-input-placeholder-color)}.list textarea{width:100%;color:var(--f7-input-text-color);font-size:var(--f7-input-font-size);resize:none;line-height:1.4;height:var(--f7-textarea-height);background-color:var(--f7-input-bg-color, transparent);padding-top:var(--f7-textarea-padding-vertical);padding-bottom:var(--f7-textarea-padding-vertical);padding-left:var(--f7-input-padding-left);padding-right:var(--f7-input-padding-right)}.list textarea::placeholder{color:var(--f7-input-placeholder-color)}.list textarea.resizable{height:calc(var(--f7-input-height) + var(--f7-textarea-padding-vertical) * 2)}.list input[type=time],.list input[type=date],.list input[type=month],.list input[type=datetime-local]{line-height:var(--f7-input-height)}.list .item-label,.list .item-floating-label{width:auto;vertical-align:top;flex-shrink:0;font-size:var(--f7-label-font-size);font-weight:var(--f7-label-font-weight);line-height:var(--f7-label-height);color:var(--f7-label-text-color);transition-duration:.2s;transition-property:transform,color}.list .item-floating-label{color:var(--f7-input-placeholder-color);max-width:calc(100% / var(--f7-floating-label-scale));pointer-events:none;left:var(--f7-input-padding-left);transform-origin:left center}.list .item-floating-label~.item-input-wrap input::placeholder,.list .item-floating-label~.item-input-wrap textarea::placeholder{opacity:0;transition-duration:.1s}.list .item-floating-label~.item-input-wrap input.input-focused::placeholder,.list .item-floating-label~.item-input-wrap textarea.input-focused::placeholder{opacity:1;transition-duration:.3s}.list .item-input-with-value .item-floating-label{color:var(--f7-label-text-color)}.list .item-input-with-value .item-floating-label,.list .item-input-focused .item-floating-label{transform:scale(1) translateY(0)!important}.list .item-input-wrap{width:100%;flex-shrink:1;position:relative}.item-input,.input{position:relative}.item-input .item-inner{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.item-input-error-message,.input-error-message{font-size:var(--f7-input-error-font-size);line-height:var(--f7-input-error-line-height);color:var(--f7-input-error-text-color);font-weight:var(--f7-input-error-font-weight);display:none;box-sizing:border-box}.item-input-info,.input-info{font-size:var(--f7-input-info-font-size);line-height:var(--f7-input-info-line-height);color:var(--f7-input-info-text-color)}.item-input-invalid .item-input-error-message,.input-invalid .item-input-error-message,.item-input-invalid .input-error-message,.input-invalid .input-error-message{display:block}.item-input-invalid .item-input-info,.input-invalid .item-input-info,.item-input-invalid .input-info,.input-invalid .input-info{display:none}.input{position:relative}.input input,.input select,.input textarea{width:100%}.input-clear-button{opacity:0;pointer-events:none;visibility:hidden;transition-duration:.1s;position:absolute;top:50%;border:none;padding:0;margin:0;outline:0;z-index:1;cursor:pointer;background:none;width:var(--f7-input-clear-button-size);height:var(--f7-input-clear-button-size);margin-top:calc(-1 * var(--f7-input-clear-button-size) / 2);color:var(--f7-input-clear-button-color);right:0}.input-clear-button:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px}.input-clear-button:before{position:absolute;content:"";left:50%;top:50%}.item-input-wrap .input-clear-button{top:calc(var(--f7-input-height) / 2)}.input-clear-button.active-state{opacity:.75!important}.input-with-value~.input-clear-button,.item-input-with-value .input-clear-button,.input-with-value .input-clear-button{opacity:1;pointer-events:auto;visibility:visible}.input-dropdown-wrap,.input-dropdown{position:relative}.input-dropdown-wrap:before,.input-dropdown:before{content:"";pointer-events:none;position:absolute;top:50%;margin-top:-2px;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #727272;right:6px}.input-dropdown-wrap select,.input-dropdown select,.input-dropdown-wrap input,.input-dropdown input,.input-dropdown-wrap textarea,.input-dropdown textarea{padding-right:calc(20px + var(--f7-input-padding-right))}.item-input-outline .item-content:after,.item-input-outline.item-content:after,.input-outline:after{content:"";position:absolute;left:0;right:0;top:8px;bottom:8px;border:1px solid var(--f7-input-outline-border-color);border-radius:var(--f7-input-outline-border-radius);pointer-events:none;box-sizing:border-box;transition-duration:.2s}.item-input-outline .item-content .item-label,.item-input-outline.item-content .item-label,.input-outline .item-label,.item-input-outline .item-content .item-floating-label,.item-input-outline.item-content .item-floating-label,.input-outline .item-floating-label{pointer-events:none;background:var(--f7-page-bg-color);z-index:1;padding:4px}.item-input-outline .item-content.item-input-focused:after,.item-input-outline.item-content.item-input-focused:after,.input-outline.item-input-focused:after,.item-input-outline .item-content.input-focused:after,.item-input-outline.item-content.input-focused:after,.input-outline.input-focused:after{border-width:2px;border-color:var(--f7-input-outline-invalid-border-color, var(--f7-theme-color))}.item-input-outline .item-content.item-input-invalid:after,.item-input-outline.item-content.item-input-invalid:after,.input-outline.item-input-invalid:after,.item-input-outline .item-content.input-invalid:after,.item-input-outline.item-content.input-invalid:after,.input-outline.input-invalid:after{border-width:2px;border-color:var(--f7-input-outline-invalid-border-color, var(--f7-input-error-text-color))}.block-strong .item-input-outline .item-label,.block-strong .item-input-outline .item-floating-label,.ios .block-strong-ios .item-input-outline .item-label,.ios .block-strong-ios .item-input-outline .item-floating-label,.md .block-strong-md .item-input-outline .item-label,.md .block-strong-md .item-input-outline .item-floating-label{background:var(--f7-block-strong-bg-color)!important}.list-strong .item-input-outline .item-floating-label,.list-strong .item-input-outline .item-label,.ios .list-strong-ios .item-input-outline .item-floating-label,.ios .list-strong-ios .item-input-outline .item-label,.md .list-strong-md .item-input-outline .item-floating-label,.md .list-strong-md .item-input-outline .item-label{background:var(--f7-list-strong-bg-color)!important}.dark option{background-color:var(--f7-page-bg-color)}.ios .item-label+.item-input-wrap,.ios .item-floating-label+.item-input-wrap{margin-top:0}.ios .item-floating-label{transform:scale(var(--f7-floating-label-scale)) translateY(calc(var(--f7-label-height) + 25%))}.ios .item-input-focused .item-floating-label{color:var(--f7-label-text-color)}.ios .item-input .item-media{align-self:flex-start}.ios .item-input-wrap{margin-top:calc(-1 * var(--f7-list-item-padding-vertical));margin-bottom:calc(-1 * var(--f7-list-item-padding-vertical))}.ios .item-input:not(.item-input-outline) .item-content,.ios .item-input:not(.item-input-outline).item-content{background:var(--f7-input-item-bg-color)}.ios .item-input-error-message,.ios .item-input-info,.ios .input-error-message,.ios .input-info{position:relative;margin-bottom:6px;margin-top:-8px}.ios .item-input-focused .item-label,.ios .item-input-focused .item-floating-label{color:var(--f7-label-focused-text-color, var(--f7-label-text-color))}.ios .item-input-focused .item-inner:after{background:var(--f7-input-focused-border-color, var(--f7-list-item-border-color))}.ios .item-input-invalid .item-label,.ios .item-input-invalid .item-floating-label{color:var(--f7-label-invalid-text-color, var(--f7-label-text-color))}.ios .item-input-invalid .item-inner:after{background:var(--f7-input-invalid-border-color, var(--f7-list-item-border-color))}.ios .item-input-invalid input,.ios .input-invalid input,.ios .item-input-invalid select,.ios .input-invalid select,.ios .item-input-invalid textarea,.ios .input-invalid textarea{color:var(--f7-input-invalid-text-color, var(--f7-input-error-text-color))}.ios .input-clear-button:after{content:"delete_round_ios";font-size:calc(var(--f7-input-clear-button-size) / (14 / 10));line-height:1.4}.ios .input-clear-button:before{width:44px;height:44px;margin-left:-22px;margin-top:-22px}.ios .item-input-outline .item-content,.ios .item-input-outline.item-content{padding-top:8px;padding-bottom:8px;margin-left:16px;margin-right:16px}.ios li.item-input-outline:first-child,.ios li:first-child>.item-input-outline{padding-top:16px}.ios li.item-input-outline:first-child:after,.ios li:first-child>.item-input-outline:after{top:16px}.ios li.item-input-outline:last-child,.ios li:last-child>.item-input-outline{padding-bottom:16px}.ios li.item-input-outline:last-child:after,.ios li:last-child>.item-input-outline:after{bottom:16px}.ios .item-input-outline .item-content .item-inner,.ios .item-input-outline.item-content .item-inner,.ios .input-outline .item-inner{display:block;padding-top:0;padding-bottom:0}.ios .item-input-outline .item-content .item-input-wrap,.ios .item-input-outline.item-content .item-input-wrap,.ios .input-outline .item-input-wrap{margin-top:-22px}.ios .item-input-outline .item-content .item-label,.ios .item-input-outline.item-content .item-label,.ios .input-outline .item-label,.ios .item-input-outline .item-content .item-floating-label,.ios .item-input-outline.item-content .item-floating-label,.ios .input-outline .item-floating-label{display:inline-flex;margin:-8px -4px -4px;top:-4px}.ios .item-input-outline .item-content .item-floating-label,.ios .item-input-outline.item-content .item-floating-label,.ios .input-outline .item-floating-label{transform:scale(var(--f7-floating-label-scale)) translateY(calc(var(--f7-label-height)))}.md .item-input-wrap{min-height:var(--f7-input-height)}.md .item-floating-label{transform:scale(var(--f7-floating-label-scale)) translateY(calc((var(--f7-input-height) / 2) / var(--f7-floating-label-scale)))}.md .item-input .item-inner:after{display:none!important}.md .item-input .item-content,.md .item-input.item-content{margin-left:16px;margin-right:16px;padding-top:8px;padding-bottom:8px}.md .input:after{content:"";position:absolute;background-color:var(--f7-input-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.md .input:after{transform:scaleY(1)!important;transition-duration:.2s;bottom:0px}.md .input.input-focused:after{transform:scaleY(2)!important;background:var(--f7-input-focused-border-color, var(--f7-theme-color))}.md .input.input-invalid:after{transform:scaleY(2)!important;background:var(--f7-input-invalid-border-color, var(--f7-input-error-text-color))}.md .item-input:not(.item-input-outline) .item-content:after,.md .item-input:not(.item-input-outline).item-content:after{content:"";position:absolute;background-color:var(--f7-input-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.md .item-input:not(.item-input-outline) .item-content:before,.md .item-input:not(.item-input-outline).item-content:before{content:"";position:absolute;left:0;top:8px;bottom:8px;right:0;border-radius:var(--f7-input-item-border-radius);background:var(--f7-input-item-bg-color);pointer-events:none}.md .item-input:not(.item-input-outline) .item-content:after,.md .item-input:not(.item-input-outline).item-content:after{transform:scaleY(1)!important;transition-duration:.2s;bottom:8px}.md .item-input:not(.item-input-outline) .item-content.item-input-focused:after,.md .item-input:not(.item-input-outline).item-content.item-input-focused:after{transform:scaleY(2)!important;background:var(--f7-input-focused-border-color, var(--f7-theme-color))}.md .item-input:not(.item-input-outline) .item-content.item-input-invalid:after,.md .item-input:not(.item-input-outline).item-content.item-input-invalid:after,.md .item-input:not(.item-input-outline) .item-content.input-invalid:after,.md .item-input:not(.item-input-outline).item-content.input-invalid:after{transform:scaleY(2)!important;background:var(--f7-input-invalid-border-color, var(--f7-input-error-text-color))}.md .item-input-outline .item-content .item-inner,.md .item-input-outline.item-content .item-inner,.md .input-outline .item-inner{padding-top:16px;padding-bottom:16px}.md .item-input-outline .item-content .item-label,.md .item-input-outline.item-content .item-label,.md .input-outline .item-label,.md .item-input-outline .item-content .item-floating-label,.md .item-input-outline.item-content .item-floating-label,.md .input-outline .item-floating-label{--label-height: calc(var(--f7-label-height) + 8px);margin:calc(0px - 16px - var(--label-height) / 2) -4px 4px}.md .item-input-outline .item-content .item-floating-label,.md .item-input-outline.item-content .item-floating-label,.md .input-outline .item-floating-label{transform:scale(var(--f7-floating-label-scale)) translateY(calc((var(--f7-input-height) / 2) + 8px))}.md .item-input-with-error-message,.md .item-input-with-info,.md .input-with-error-message,.md .input-with-info{padding-bottom:24px!important}.md .item-input-error-message,.md .item-input-info,.md .input-error-message,.md .input-info{position:absolute;top:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;left:0}.md .item-input-focused .item-label,.md .item-input-focused .item-floating-label{color:var(--f7-label-focused-text-color, var(--f7-theme-color))}.md .item-input-focused:not(.item-input-outline) .item-input-wrap:after,.md .input-focused:not(.input-outline):after{background:var(--f7-input-focused-border-color, var(--f7-theme-color))}.md .item-input-invalid:not(.item-input-outline) .item-input-wrap:after,.md .item-input-focused:not(.item-input-outline) .item-input-wrap:after,.md .input-invalid:not(.input-outline):after,.md .input-focused:not(.input-outline):after{transform:scaleY(2)!important}.md .item-input-invalid:not(.item-input-outline) .item-input-wrap:after,.md .input-invalid:not(.input-outline):after{background:var(--f7-input-invalid-border-color, var(--f7-input-error-text-color))}.md .item-input-invalid .item-label,.md .item-input-invalid .item-floating-label{color:var(--f7-label-invalid-text-color, var(--f7-input-error-text-color))}.md .item-input-invalid input,.md .input-invalid input,.md .item-input-invalid select,.md .input-invalid select,.md .item-input-invalid textarea,.md .input-invalid textarea{color:var(--f7-input-invalid-text-color, var(--f7-input-text-color))}.md .input-clear-button:after{font-size:var(--f7-input-clear-button-size);content:"delete_round_md";line-height:1}.md .input-clear-button:before{width:48px;height:48px;margin-left:-24px;margin-top:-24px}:root{--f7-checkbox-icon-color: #fff;--f7-checkbox-extra-margin: 0px}:root .dark,:root.dark{--f7-checkbox-inactive-color: rgba(255, 255, 255, .3);--f7-checkbox-icon-color: #000}.ios{--f7-checkbox-size: 22px;--f7-checkbox-border-radius: 50%;--f7-checkbox-border-width: 1px;--f7-checkbox-inactive-color: #c7c7cc}.md{--f7-checkbox-size: 18px;--f7-checkbox-border-radius: 2px;--f7-checkbox-border-width: 2px;--f7-checkbox-inactive-color: #6d6d6d}.checkbox{position:relative;display:inline-block;vertical-align:middle;z-index:1;background-color:transparent;--f7-touch-ripple-color: rgba(var(--f7-theme-color-rgb), .5)}.icon-checkbox,.checkbox i{flex-shrink:0;border:var(--f7-checkbox-border-width) solid var(--f7-checkbox-inactive-color);width:var(--f7-checkbox-size);height:var(--f7-checkbox-size);border-radius:var(--f7-checkbox-border-radius);box-sizing:border-box;position:relative;display:block}.icon-checkbox:after,.checkbox i:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;width:var(--f7-checkbox-size);height:var(--f7-checkbox-size);line-height:var(--f7-checkbox-size);top:calc(0px - var(--f7-checkbox-border-width));opacity:0;color:var(--f7-checkbox-icon-color);position:relative;transition-property:opacity;left:calc(0px - var(--f7-checkbox-border-width))}.icon-checkbox.color-white,.checkbox i.color-white,.color-white .icon-checkbox,.color-white .checkbox i{--f7-theme-color: #fff;--f7-checkbox-icon-color: #000}.icon-checkbox.color-black,.checkbox i.color-black,.color-black .icon-checkbox,.color-black .checkbox i{--f7-theme-color: #000;--f7-checkbox-icon-color: #fff}label.item-checkbox input[type=checkbox]:not(:checked)~.icon-checkbox:after,label.item-checkbox input[type=checkbox]:not(:checked)~* .icon-checkbox:after,.checkbox input[type=checkbox]:not(:checked)~i:after{font-size:0}label.item-checkbox input[type=checkbox]:checked~.icon-checkbox,label.item-checkbox input[type=checkbox]:checked~* .icon-checkbox,.checkbox input[type=checkbox]:checked~i,label.item-checkbox input[type=checkbox]:indeterminate~.icon-checkbox,label.item-checkbox input[type=checkbox]:indeterminate~* .icon-checkbox,.checkbox input[type=checkbox]:indeterminate~i{border-color:var(--f7-checkbox-active-color, var(--f7-theme-color));background-color:var(--f7-checkbox-active-color, var(--f7-theme-color))}label.item-checkbox input[type=checkbox]:checked~.icon-checkbox:after,label.item-checkbox input[type=checkbox]:checked~* .icon-checkbox:after,.checkbox input[type=checkbox]:checked~i:after,label.item-checkbox input[type=checkbox]:indeterminate~.icon-checkbox:after,label.item-checkbox input[type=checkbox]:indeterminate~* .icon-checkbox:after,.checkbox input[type=checkbox]:indeterminate~i:after{opacity:1}label.item-checkbox input[type=checkbox]:indeterminate~.icon-checkbox:after,label.item-checkbox input[type=checkbox]:indeterminate~* .icon-checkbox:after,.checkbox input[type=checkbox]:indeterminate~i:after{font-size:0;content:"";position:absolute;top:50%;width:70%;background:var(--f7-checkbox-icon-color);height:2px;border-radius:2px;margin-top:-1px;transition:0ms;left:15%}label.item-checkbox,.checkbox{cursor:pointer}label.item-checkbox input[type=checkbox],.checkbox input[type=checkbox],label.item-checkbox input[type=radio],.checkbox input[type=radio]{display:none}label.item-checkbox{transition-duration:.3s}label.item-checkbox .item-content .item-media,label.item-checkbox.item-content .item-media{align-self:center}label.item-checkbox>.icon-checkbox{margin-right:calc(var(--f7-list-item-media-margin) + var(--f7-checkbox-extra-margin))}label.item-checkbox.active-state{background-color:var(--f7-list-link-pressed-bg-color)}label.item-checkbox.active-state:after{background-color:transparent}label.item-checkbox.disabled,.disabled label.item-checkbox{opacity:.55;pointer-events:none;opacity:.55!important;pointer-events:none!important}label.item-checkbox.item-checkbox-icon-end .item-inner{padding-right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right) + var(--f7-checkbox-size) + 16px)}label.item-checkbox.item-checkbox-icon-end input[type=checkbox]~.icon-checkbox{position:absolute;right:calc(var(--f7-safe-area-right) + 16px);margin-right:0}.ios .icon-checkbox:after,.ios .checkbox i:after{content:"checkbox_ios";font-size:21px}.ios label.item-checkbox.active-state{transition-duration:0ms}.ios label.item-checkbox input[type=checkbox]:indeterminate~.icon-checkbox:after,.ios label.item-checkbox input[type=checkbox]:indeterminate~* .icon-checkbox:after,.ios .checkbox input[type=checkbox]:indeterminate~i:after{height:2px;margin-top:-1px}.md .icon-checkbox,.md .checkbox i{transition-duration:.2s}.md .icon-checkbox:after,.md .checkbox i:after{content:"checkbox_md";transition-duration:.2s;font-size:15px}.md label.item-checkbox{position:relative;overflow:hidden;z-index:0}:root{--f7-radio-border-radius: 50%;--f7-radio-extra-margin: 0px}:root .dark,:root.dark{--f7-radio-inactive-color: rgba(255, 255, 255, .3)}.ios{--f7-radio-size: 22px;--f7-radio-border-width: 1px;--f7-radio-inactive-color: #c7c7cc}.md{--f7-radio-size: 20px;--f7-radio-border-width: 2px;--f7-radio-inactive-color: #6d6d6d}.radio{position:relative;display:inline-block;vertical-align:middle;z-index:1;--f7-touch-ripple-color: rgba(var(--f7-theme-color-rgb), .5)}.icon-radio{width:var(--f7-radio-size);height:var(--f7-radio-size);border-radius:var(--f7-radio-border-radius);position:relative;box-sizing:border-box;display:block;flex-shrink:0}.radio.color-white,.icon-radio.color-white,.color-white .radio,.color-white .icon-radio{--f7-theme-color: #fff}.radio.color-black,.icon-radio.color-black,.color-black .radio,.color-black .icon-radio{--f7-theme-color: #000}.radio .icon-radio,.md .icon-radio{border:var(--f7-radio-border-width) solid var(--f7-radio-inactive-color)}label.item-radio,.radio{cursor:pointer}label.item-radio input[type=checkbox],.radio input[type=checkbox],label.item-radio input[type=radio],.radio input[type=radio]{display:none}label.item-radio{transition-duration:.3s}label.item-radio .item-content .item-media,label.item-radio.item-content .item-media{align-self:center}label.item-radio.active-state{background-color:var(--f7-list-link-pressed-bg-color)}label.item-radio.active-state:after{background-color:transparent}label.item-radio.disabled,.disabled label.item-radio{opacity:.55;pointer-events:none;opacity:.55!important;pointer-events:none!important}.ios .icon-radio:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;width:calc(var(--f7-radio-size) - var(--f7-radio-border-width) * 2);height:calc(var(--f7-radio-size) - var(--f7-radio-border-width) * 2);line-height:calc(var(--f7-radio-size) - var(--f7-radio-border-width) * 2 + 1px);font-size:20px;content:"radio_ios";color:var(--f7-radio-active-color, var(--f7-theme-color));opacity:0}.ios label.item-radio input[type=radio]:checked~.icon-radio:after,.ios label.item-radio input[type=radio]:checked~* .icon-radio:after,.ios .radio input[type=radio]:checked~.icon-radio:after{opacity:1}.ios .radio input[type=radio]:checked~.icon-radio{border-color:var(--f7-radio-active-color, var(--f7-theme-color))}.ios label.item-radio:not(.item-radio-icon-start) input[type=radio]~.icon-radio{position:absolute;top:50%;margin-top:-11px;right:calc(var(--f7-safe-area-right) + 10px)}.ios label.item-radio:not(.item-radio-icon-start) .item-inner{padding-right:calc(var(--f7-safe-area-right) + 36px)}.ios label.item-radio-icon-start>.icon-radio{margin-right:calc(var(--f7-list-item-media-margin) + var(--f7-checkbox-extra-margin))}.ios label.item-radio.active-state{transition-duration:0ms}.md .icon-radio{transition-duration:.2s}.md .icon-radio:after{content:"";position:absolute;width:10px;height:10px;left:50%;top:50%;margin-left:-5px;margin-top:-5px;background-color:var(--f7-radio-active-color, var(--f7-theme-color));border-radius:50%;transform:scale(0);transition-duration:.2s}.md label.item-radio input[type=radio]:checked~.icon-radio,.md label.item-radio input[type=radio]:checked~* .icon-radio,.md .radio input[type=radio]:checked~.icon-radio{border-color:var(--f7-radio-active-color, var(--f7-theme-color))}.md label.item-radio input[type=radio]:checked~.icon-radio:after,.md label.item-radio input[type=radio]:checked~* .icon-radio:after,.md .radio input[type=radio]:checked~.icon-radio:after{background-color:var(--f7-radio-active-color, var(--f7-theme-color));transform:scale(1)}.md label.item-radio{position:relative;overflow:hidden;z-index:0}.md label.item-radio:not(.item-radio-icon-end)>.icon-radio{margin-right:calc(var(--f7-list-item-media-margin) + var(--f7-radio-extra-margin))}.md label.item-radio-icon-end input[type=radio]~.icon-radio{position:absolute;top:50%;margin-top:-10px;right:calc(var(--f7-safe-area-right) + 16px)}.md label.item-radio-icon-end .item-inner{padding-right:calc(var(--f7-safe-area-right) + 52px)}.ios{--f7-toggle-width: 52px;--f7-toggle-height: 32px;--f7-toggle-inactive-knob-bg-color: #fff;--f7-toggle-active-knob-bg-color: #fff;--f7-toggle-inactive-border-color: #e5e5e5;--f7-toggle-inactive-bg-color: #fff}.ios .dark,.ios.dark{--f7-toggle-inactive-border-color: #555;--f7-toggle-inactive-bg-color: #555}.md{--f7-toggle-width: 52px;--f7-toggle-height: 32px}.md,.md .dark,.md [class*=color-]{--f7-toggle-inactive-bg-color: var(--f7-md-surface-variant);--f7-toggle-active-bg-color: var(--f7-theme-color);--f7-toggle-inactive-knob-bg-color: var(--f7-md-outline);--f7-toggle-active-knob-bg-color: var(--f7-md-on-primary);--f7-toggle-inactive-border-color: var(--f7-md-outline);--f7-toggle-active-border-color: var(--f7-theme-color)}.toggle,.toggle-icon{width:var(--f7-toggle-width);height:var(--f7-toggle-height);border-radius:var(--f7-toggle-height)}.toggle{display:inline-block;vertical-align:middle;position:relative;box-sizing:border-box;align-self:center;-webkit-user-select:none;user-select:none}.toggle input[type=checkbox]{display:none}.toggle input[disabled]~.toggle-icon{pointer-events:none}.toggle-icon{z-index:0;margin:0;padding:0;-webkit-appearance:none;appearance:none;border:none;position:relative;transition:.3s;box-sizing:border-box;display:block;cursor:pointer}.toggle-icon:before,.toggle-icon:after{content:""}.toggle-icon:after{position:absolute;z-index:2;transform:translate(0);transition-duration:.3s}.ios .toggle{background:var(--f7-toggle-inactive-border-color)}.ios .toggle input[type=checkbox]:checked+.toggle-icon{background:var(--f7-toggle-active-color, var(--f7-theme-color))}.ios .toggle input[type=checkbox]:checked+.toggle-icon:before{background:var(--f7-toggle-active-bg-color, var(--f7-theme-color));transform:scale(0)}.ios .toggle input[type=checkbox]:checked+.toggle-icon:after{background:var(--f7-toggle-active-knob-bg-color);transform:translate(calc(var(--f7-toggle-width) - var(--f7-toggle-height)))}.ios .toggle-icon{background:var(--f7-toggle-border-color)}.ios .toggle-icon:before{position:absolute;left:2px;top:2px;width:calc(var(--f7-toggle-width) - 4px);height:calc(var(--f7-toggle-height) - 4px);border-radius:var(--f7-toggle-height);box-sizing:border-box;background:var(--f7-toggle-inactive-bg-color);z-index:1;transition-duration:.3s;transform:scale(1)}.ios .toggle-icon:after{background:var(--f7-toggle-inactive-knob-bg-color);height:calc(var(--f7-toggle-height) - 4px);width:calc(var(--f7-toggle-height) - 4px);top:2px;left:2px;box-shadow:0 2px 4px #0000004d;border-radius:calc(var(--f7-toggle-height) - 4px)}.ios .toggle-active-state input[type=checkbox]:not(:checked)+.toggle-icon:before{transform:scale(0)}.ios .toggle-active-state input[type=checkbox]+.toggle-icon:after{width:calc(var(--f7-toggle-height) + 4px)}.ios .toggle-active-state input[type=checkbox]:checked+.toggle-icon:after{transform:translate(calc(var(--f7-toggle-width) - var(--f7-toggle-height) - 8px))}.md .toggle input[type=checkbox]:checked+.toggle-icon{background:var(--f7-toggle-active-bg-color);border-color:var(--f7-toggle-active-border-color)}.md .toggle input[type=checkbox]:checked+.toggle-icon:after{transform:translate(calc(var(--f7-toggle-width) - var(--f7-toggle-height))) scale(1);background:var(--f7-toggle-active-knob-bg-color)}.md .toggle.active-state input[type=checkbox]:checked+.toggle-icon:after{transform:translate(calc(var(--f7-toggle-width) - var(--f7-toggle-height))) scale(1.1)}.md .toggle-icon{background:var(--f7-toggle-inactive-bg-color);border:2px solid var(--f7-toggle-inactive-border-color)}.md .toggle-icon:after{background:var(--f7-toggle-inactive-knob-bg-color);height:calc(var(--f7-toggle-height) - 8px);width:calc(var(--f7-toggle-height) - 8px);top:2px;border-radius:var(--f7-toggle-height);transform:scale(.666);left:2px}.md .toggle-icon.active-state:after{transform:scale(1.1)}:root{--f7-range-scale-step-height: 5px;--f7-range-scale-substep-width: 1px;--f7-range-scale-substep-height: 4px;--f7-range-bar-bg-color: rgba(0, 0, 0, .2)}:root .dark,:root.dark{--f7-range-bar-bg-color: rgba(255, 255, 255, .2)}.ios{--f7-range-size: 28px;--f7-range-bar-size: 4px;--f7-range-bar-border-radius: 2px;--f7-range-knob-size: 28px;--f7-range-knob-color: #fff;--f7-range-knob-box-shadow: 0 2px 4px rgba(0, 0, 0, .3);--f7-range-label-size: 24px;--f7-range-label-text-color: #000;--f7-range-label-bg-color: #fff;--f7-range-label-font-size: 12px;--f7-range-label-font-weight: 500;--f7-range-label-border-radius: 5px;--f7-range-label-padding: 0px 2px;--f7-range-scale-text-color: #666;--f7-range-scale-step-width: 1px;--f7-range-scale-font-size: 12px;--f7-range-scale-font-weight: 400;--f7-range-scale-label-offset: 4px}.md{--f7-range-size: 20px;--f7-range-bar-size: 2px;--f7-range-bar-border-radius: 0px;--f7-range-knob-size: 12px;--f7-range-knob-box-shadow: none;--f7-range-label-size: 26px;--f7-range-label-font-weight: normal;--f7-range-label-font-size: 10px;--f7-range-label-border-radius: 50%;--f7-range-label-padding: 0px;--f7-range-scale-step-width: 2px;--f7-range-scale-font-size: 12px;--f7-range-scale-font-weight: 400;--f7-range-scale-label-offset: 4px}.md,.md .dark,.md [class*=color-]{--f7-range-knob-color: var(--f7-theme-color);--f7-range-label-text-color: var(--f7-md-on-primary);--f7-range-label-bg-color: var(--f7-theme-color);--f7-range-scale-text-color: var(--f7-md-on-surface-variant)}.range-slider{display:block;position:relative;align-self:center;cursor:pointer;-webkit-user-select:none;user-select:none}.range-slider input[type=range]{display:none}.range-slider.range-slider-horizontal{width:100%;height:var(--f7-range-size);touch-action:pan-y}.range-slider.range-slider-vertical{height:100%;width:var(--f7-range-size);touch-action:pan-x}.range-bar{position:absolute;overflow:hidden;background:var(--f7-range-bar-bg-color);border-radius:var(--f7-range-bar-border-radius)}.range-slider-vertical .range-bar{left:50%;top:0;height:100%;width:var(--f7-range-bar-size);margin-left:calc(-1 * var(--f7-range-bar-size) / 2)}.range-slider-horizontal .range-bar{left:0;top:50%;width:100%;height:var(--f7-range-bar-size);margin-top:calc(-1 * var(--f7-range-bar-size) / 2)}.range-bar-active{position:absolute;background:var(--f7-range-bar-active-bg-color, var(--f7-theme-color))}.range-slider-horizontal .range-bar-active{left:0;top:0;height:100%}.range-slider-vertical .range-bar-active{left:0;bottom:0;width:100%}.range-slider-vertical-reversed .range-bar-active{top:0;bottom:auto}.range-knob-wrap{z-index:20;position:absolute;height:var(--f7-range-knob-size);width:var(--f7-range-knob-size)}.range-slider-horizontal .range-knob-wrap{top:50%;margin-top:calc(-1 * var(--f7-range-knob-size) / 2);margin-left:calc(-1 * var(--f7-range-knob-size) / 2);left:0}.range-slider-vertical .range-knob-wrap{left:50%;margin-left:calc(-1 * var(--f7-range-knob-size) / 2);bottom:0;margin-bottom:calc(-1 * var(--f7-range-knob-size) / 2)}.range-slider-vertical-reversed .range-knob-wrap{bottom:auto;top:0;margin-bottom:0;margin-top:calc(-1 * var(--f7-range-knob-size) / 2)}.range-knob{box-sizing:border-box;border-radius:50%;position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;background:var(--f7-range-knob-color, var(--f7-range-knob-bg-color, var(--f7-theme-color)));box-shadow:var(--f7-range-knob-box-shadow)}.range-knob:after{content:"";position:absolute;left:50%;top:50%;width:44px;height:44px;margin-left:-22px;margin-top:-22px}.range-knob-label{position:absolute;left:50%;bottom:100%;text-align:center;transition-duration:.12s;transition-property:transform;box-sizing:border-box;transform:translateY(100%) scale(0);height:var(--f7-range-label-size);line-height:var(--f7-range-label-size);min-width:var(--f7-range-label-size);color:var(--f7-range-label-text-color);background-color:var(--f7-range-label-bg-color, var(--f7-theme-color));font-size:var(--f7-range-label-font-size);font-weight:var(--f7-range-label-font-weight);border-radius:var(--f7-range-label-border-radius);padding:var(--f7-range-label-padding)}.range-knob-active-state .range-knob-label{transform:translateY(0) scale(1)}.range-scale{position:absolute}.range-slider-horizontal .range-scale{top:50%;left:0;width:100%;margin-top:calc(var(--f7-range-bar-size) / 2)}.range-slider-vertical .range-scale{right:50%;top:0;height:100%;margin-right:calc(var(--f7-range-bar-size) / 2)}.range-scale-step{position:absolute;box-sizing:border-box;display:flex;font-size:var(--f7-range-scale-font-size);font-weight:var(--f7-range-scale-font-weight);color:var(--f7-range-scale-text-color, var(--f7-range-bar-bg-color));line-height:1}.range-scale-step:before{content:"";position:absolute;background:var(--f7-range-scale-step-bg-color, var(--f7-range-bar-bg-color))}.range-slider-horizontal .range-scale-step{justify-content:center;align-items:flex-start;width:var(--f7-range-scale-step-width);height:var(--f7-range-scale-step-height);padding-top:calc(var(--f7-range-scale-step-height) + var(--f7-range-scale-label-offset));top:0;margin-left:calc(-1 * var(--f7-range-scale-step-width) / 2)}.range-slider-horizontal .range-scale-step:before{left:0;top:0;width:100%;height:var(--f7-range-scale-step-height)}.range-slider-horizontal .range-scale-step:first-child{margin-left:0}.range-slider-horizontal .range-scale-step:last-child{margin-left:calc(-1 * var(--f7-range-scale-step-width))}.range-slider-vertical .range-scale-step{line-height:1;justify-content:flex-end;align-items:center;height:var(--f7-range-scale-step-width);width:var(--f7-range-scale-step-height);padding-right:calc(var(--f7-range-scale-step-height) + var(--f7-range-scale-label-offset));right:0;margin-bottom:calc(-1 * var(--f7-range-scale-step-width) / 2)}.range-slider-vertical .range-scale-step:first-child{margin-bottom:0}.range-slider-vertical .range-scale-step:last-child{margin-bottom:calc(-1 * var(--f7-range-scale-step-width))}.range-slider-vertical .range-scale-step:before{right:0;top:0;height:100%;width:var(--f7-range-scale-step-height)}.range-scale-substep{--f7-range-scale-step-bg-color: var(--f7-range-scale-substep-bg-color, var(--f7-range-bar-bg-color));--f7-range-scale-step-width: var(--f7-range-scale-substep-width);--f7-range-scale-step-height: var(--f7-range-scale-substep-height)}.ios .range-knob-label{margin-bottom:6px;transform:translate(-50%) translateY(100%) scale(0)}.ios .range-knob-active-state .range-knob-label{transform:translate(-50%) translateY(0) scale(1)}.md .range-knob{transition-duration:.2s;transition-property:transform,background-color}.md .range-knob-active-state .range-knob{transform:scale(1.5)}.md .range-slider-min:not(.range-slider-dual) .range-knob{background:#fff!important;border:2px solid var(--f7-range-bar-bg-color)}.md .range-knob-label{width:var(--f7-range-label-size);margin-left:calc(-1 * var(--f7-range-label-size) / 2);margin-bottom:8px}.md .range-knob-label:before{content:"";left:50%;top:0px;margin-left:calc(-1 * var(--f7-range-label-size) / 2);position:absolute;z-index:-1;width:var(--f7-range-label-size);height:var(--f7-range-label-size);background:var(--f7-range-label-bg-color, var(--f7-theme-color));transform:rotate(-45deg);border-radius:50% 50% 50% 0}.md .range-knob-active-state .range-knob-label{transform:translateY(0) scale(1)}.md .range-slider-label .range-knob-active-state .range-knob{transform:scale(0)}:root{--f7-stepper-raised-box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);--f7-stepper-value-font-weight: 500}.ios{--f7-stepper-height: 28px;--f7-stepper-border-radius: 5px;--f7-stepper-fill-button-text-color: #fff;--f7-stepper-large-height: 44px;--f7-stepper-small-height: 26px;--f7-stepper-value-font-size: 17px;--f7-stepper-border-width: 2px;--f7-stepper-border-color: var(--f7-theme-color);--f7-stepper-small-border-width: 2px}.md{--f7-stepper-height: 40px;--f7-stepper-border-radius: 8px;--f7-stepper-large-height: 48px;--f7-stepper-small-height: 32px;--f7-stepper-value-font-size: 14px;--f7-stepper-border-width: 1px;--f7-stepper-small-border-width: 1px;--f7-stepper-button-pressed-bg-color: transparent}.md,.md .dark,.md [class*=color-]{--f7-stepper-fill-button-text-color: var(--f7-md-on-primary);--f7-stepper-fill-button-pressed-bg-color: var(--f7-theme-color);--f7-stepper-border-color: var(--f7-md-outline)}.stepper{--f7-touch-ripple-color: rgba(var(--f7-theme-color-rgb), .25);display:inline-flex;align-items:stretch;height:var(--f7-stepper-height);border-radius:var(--f7-stepper-border-radius)}.stepper-button,.stepper-button-minus,.stepper-button-plus{background-color:var(--f7-stepper-button-bg-color);width:40px;border-radius:var(--f7-stepper-border-radius);border:var(--f7-stepper-border-width) solid var(--f7-stepper-border-color);color:var(--f7-stepper-button-text-color, var(--f7-theme-color));line-height:calc(var(--f7-stepper-height) - var(--f7-stepper-border-width, 0px));text-align:center;display:flex;justify-content:center;align-content:center;align-items:center;flex-shrink:0;box-sizing:border-box;position:relative;cursor:pointer}.stepper-button.active-state,.stepper-button-minus.active-state,.stepper-button-plus.active-state{background-color:var(--f7-stepper-button-pressed-bg-color, rgba(var(--f7-theme-color-rgb), .15));color:var(--f7-stepper-button-pressed-text-color, var(--f7-stepper-button-text-color, var(--f7-theme-color)))}.stepper-button:first-child,.stepper-button-minus:first-child,.stepper-button-plus:first-child{border-radius:var(--f7-stepper-border-radius) 0 0 var(--f7-stepper-border-radius)}.stepper-button:last-child,.stepper-button-minus:last-child,.stepper-button-plus:last-child{border-radius:0 var(--f7-stepper-border-radius) var(--f7-stepper-border-radius) 0}.stepper-button .icon,.stepper-button-minus .icon,.stepper-button-plus .icon{pointer-events:none}.stepper-button+.stepper-button,.stepper-button-minus+.stepper-button,.stepper-button-plus+.stepper-button,.stepper-button+.stepper-button-minus,.stepper-button-minus+.stepper-button-minus,.stepper-button-plus+.stepper-button-minus,.stepper-button+.stepper-button-plus,.stepper-button-minus+.stepper-button-plus,.stepper-button-plus+.stepper-button-plus{border-left:none}.stepper-button-plus,.stepper-button-minus{-webkit-user-select:none;user-select:none}.stepper-button-plus:after,.stepper-button-minus:after,.stepper-button-plus:before,.stepper-button-minus:before{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background-color:var(--f7-stepper-button-text-color, var(--f7-theme-color));border-radius:2px}.stepper-button-plus:after,.stepper-button-minus:after{width:15px;height:2px}.stepper-button-plus:before{height:15px;width:2px}.stepper-value{display:flex;align-content:center;align-items:center;justify-content:center}.stepper-input-wrap,.stepper-value{flex-shrink:1;text-align:center;border-top:var(--f7-stepper-border-width) solid var(--f7-stepper-border-color);border-bottom:var(--f7-stepper-border-width) solid var(--f7-stepper-border-color)}.stepper .stepper-input-wrap input,.stepper-value{width:45px;color:var(--f7-stepper-value-text-color, var(--f7-theme-color));font-size:var(--f7-stepper-value-font-size);font-weight:var(--f7-stepper-value-font-weight);text-align:center}.stepper .stepper-input-wrap input{height:100%}.stepper-round,.ios .stepper-round-ios,.md .stepper-round-md{--f7-stepper-border-radius: var(--f7-stepper-height)}.stepper-fill,.ios .stepper-fill-ios,.md .stepper-fill-md{--f7-stepper-border-color: var(--f7-stepper-fill-button-bg-color, var(--f7-theme-color));--f7-stepper-button-bg-color: var(--f7-stepper-fill-button-bg-color, var(--f7-theme-color));--f7-stepper-button-text-color: var(--f7-stepper-fill-button-text-color);--f7-touch-ripple-color: var(--f7-touch-ripple-white)}.stepper-fill .stepper-button+.stepper-button,.ios .stepper-fill-ios .stepper-button+.stepper-button,.md .stepper-fill-md .stepper-button+.stepper-button,.stepper-raised .stepper-button+.stepper-button,.ios .stepper-raised-ios .stepper-button+.stepper-button,.md .stepper-raised-md .stepper-button+.stepper-button,.stepper-fill .stepper-button-minus+.stepper-button-plus,.ios .stepper-fill-ios .stepper-button-minus+.stepper-button-plus,.md .stepper-fill-md .stepper-button-minus+.stepper-button-plus,.stepper-raised .stepper-button-minus+.stepper-button-plus,.ios .stepper-raised-ios .stepper-button-minus+.stepper-button-plus,.md .stepper-raised-md .stepper-button-minus+.stepper-button-plus{border-left:1px solid rgba(0,0,0,.1)}.stepper-fill .stepper-button+.stepper-button.active-state,.ios .stepper-fill-ios .stepper-button+.stepper-button.active-state,.md .stepper-fill-md .stepper-button+.stepper-button.active-state,.stepper-fill .stepper-button-minus+.stepper-button-plus.active-state,.ios .stepper-fill-ios .stepper-button-minus+.stepper-button-plus.active-state,.md .stepper-fill-md .stepper-button-minus+.stepper-button-plus.active-state{border-left-color:var(--f7-stepper-button-pressed-bg-color)}.stepper-raised:not(.stepper-fill) .stepper-input-wrap,.ios .stepper-raised-ios:not(.stepper-fill-ios):not(.stepper-fill) .stepper-input-wrap,.md .stepper-raised-md:not(.stepper-fill-md):not(.stepper-fill) .stepper-input-wrap,.stepper-raised:not(.stepper-fill) .stepper-value,.ios .stepper-raised-ios:not(.stepper-fill-ios):not(.stepper-fill) .stepper-value,.md .stepper-raised-md:not(.stepper-fill-md):not(.stepper-fill) .stepper-value{border-left:1px solid rgba(0,0,0,.1);border-right:1px solid rgba(0,0,0,.1)}.stepper-large,.ios .stepper-large-ios,.md .stepper-large-md{--f7-stepper-height: var(--f7-stepper-large-height)}.stepper-small,.ios .stepper-small-ios,.md .stepper-small-md{--f7-stepper-border-width: var(--f7-stepper-small-border-width);--f7-stepper-height: var(--f7-stepper-small-height)}.ios .stepper-fill.stepper-small-ios,.ios .stepper-fill.stepper-small{--f7-stepper-button-pressed-bg-color: transparent;--f7-stepper-button-pressed-text-color: var(--f7-theme-color)}.stepper-raised,.ios .stepper-raised-ios,.md .stepper-raised-md{--f7-stepper-border-width: 0;box-shadow:var(--f7-stepper-raised-box-shadow)}.ios .stepper-button .f7-icons,.ios .stepper-button-minus .f7-icons,.ios .stepper-button-plus .f7-icons{font-size:22px}.ios .stepper-fill,.ios .stepper-fill-ios{--f7-stepper-button-pressed-bg-color: var(--f7-stepper-fill-button-pressed-bg-color, var(--f7-theme-color-tint))}.ios .stepper-small.stepper-raised,.ios .stepper-small-ios.stepper-raised,.ios .stepper-small.stepper-raised-ios,.ios .stepper-small-ios.stepper-raised-ios{--f7-stepper-border-width: 0px}.ios .stepper-small .stepper-button,.ios .stepper-small-ios .stepper-button,.ios .stepper-small .stepper-button-minus,.ios .stepper-small-ios .stepper-button-minus,.ios .stepper-small .stepper-button-plus,.ios .stepper-small-ios .stepper-button-plus{transition-duration:.2s}.ios .stepper-small .stepper-button.active-state:after,.ios .stepper-small-ios .stepper-button.active-state:after,.ios .stepper-small .stepper-button-minus.active-state:after,.ios .stepper-small-ios .stepper-button-minus.active-state:after,.ios .stepper-small .stepper-button-plus.active-state:after,.ios .stepper-small-ios .stepper-button-plus.active-state:after,.ios .stepper-small .stepper-button.active-state:before,.ios .stepper-small-ios .stepper-button.active-state:before,.ios .stepper-small .stepper-button-minus.active-state:before,.ios .stepper-small-ios .stepper-button-minus.active-state:before,.ios .stepper-small .stepper-button-plus.active-state:before,.ios .stepper-small-ios .stepper-button-plus.active-state:before{transition-duration:.2s;background-color:var(--f7-theme-color)}.md .stepper-button,.md .stepper-button-minus,.md .stepper-button-plus{transition-duration:.3s;transform:translateZ(0);overflow:hidden}.md .stepper-fill,.md .stepper-fill-md{--f7-stepper-button-pressed-bg-color: var(--f7-stepper-fill-button-bg-color, var(--f7-theme-color))}.smart-select select{display:none}.smart-select .item-after{max-width:70%;overflow:hidden;text-overflow:ellipsis;position:relative;display:block}.smart-select-sheet .page,.smart-select-sheet .sheet-modal-inner,.smart-select-sheet .list ul{background:var(--f7-smart-select-sheet-bg, var(--f7-list-bg-color))}.smart-select-sheet .toolbar:after{content:"";position:absolute;background-color:var(--f7-smart-select-sheet-toolbar-border-color, var(--f7-bars-border-color));display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.smart-select-sheet .toolbar:after{display:block}.smart-select-sheet .list{margin:0}.smart-select-sheet .list ul:before,.smart-select-sheet .list ul:after{display:none!important}.smart-select-popover .popover-inner{max-height:40vh}:root{--f7-grid-gap: 16px}.grid{display:grid}.grid.grid-gap{gap:var(--f7-grid-gap)}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-13{grid-template-columns:repeat(13,minmax(0,1fr))}.grid-cols-14{grid-template-columns:repeat(14,minmax(0,1fr))}.grid-cols-15{grid-template-columns:repeat(15,minmax(0,1fr))}.grid-cols-16{grid-template-columns:repeat(16,minmax(0,1fr))}.grid-cols-17{grid-template-columns:repeat(17,minmax(0,1fr))}.grid-cols-18{grid-template-columns:repeat(18,minmax(0,1fr))}.grid-cols-19{grid-template-columns:repeat(19,minmax(0,1fr))}.grid-cols-20{grid-template-columns:repeat(20,minmax(0,1fr))}.grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.grid-rows-13{grid-template-rows:repeat(13,minmax(0,1fr))}.grid-rows-14{grid-template-rows:repeat(14,minmax(0,1fr))}.grid-rows-15{grid-template-rows:repeat(15,minmax(0,1fr))}.grid-rows-16{grid-template-rows:repeat(16,minmax(0,1fr))}.grid-rows-17{grid-template-rows:repeat(17,minmax(0,1fr))}.grid-rows-18{grid-template-rows:repeat(18,minmax(0,1fr))}.grid-rows-19{grid-template-rows:repeat(19,minmax(0,1fr))}.grid-rows-20{grid-template-rows:repeat(20,minmax(0,1fr))}@media (min-width: 480px){.xsmall-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.xsmall-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.xsmall-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xsmall-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.xsmall-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xsmall-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.xsmall-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xsmall-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.xsmall-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.xsmall-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.xsmall-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.xsmall-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.xsmall-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.xsmall-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.xsmall-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.xsmall-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.xsmall-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.xsmall-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.xsmall-grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.xsmall-grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.xsmall-grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.xsmall-grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.xsmall-grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.xsmall-grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.xsmall-grid-cols-13{grid-template-columns:repeat(13,minmax(0,1fr))}.xsmall-grid-rows-13{grid-template-rows:repeat(13,minmax(0,1fr))}.xsmall-grid-cols-14{grid-template-columns:repeat(14,minmax(0,1fr))}.xsmall-grid-rows-14{grid-template-rows:repeat(14,minmax(0,1fr))}.xsmall-grid-cols-15{grid-template-columns:repeat(15,minmax(0,1fr))}.xsmall-grid-rows-15{grid-template-rows:repeat(15,minmax(0,1fr))}.xsmall-grid-cols-16{grid-template-columns:repeat(16,minmax(0,1fr))}.xsmall-grid-rows-16{grid-template-rows:repeat(16,minmax(0,1fr))}.xsmall-grid-cols-17{grid-template-columns:repeat(17,minmax(0,1fr))}.xsmall-grid-rows-17{grid-template-rows:repeat(17,minmax(0,1fr))}.xsmall-grid-cols-18{grid-template-columns:repeat(18,minmax(0,1fr))}.xsmall-grid-rows-18{grid-template-rows:repeat(18,minmax(0,1fr))}.xsmall-grid-cols-19{grid-template-columns:repeat(19,minmax(0,1fr))}.xsmall-grid-rows-19{grid-template-rows:repeat(19,minmax(0,1fr))}.xsmall-grid-cols-20{grid-template-columns:repeat(20,minmax(0,1fr))}.xsmall-grid-rows-20{grid-template-rows:repeat(20,minmax(0,1fr))}}@media (min-width: 568px){.small-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.small-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.small-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.small-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.small-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.small-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.small-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.small-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.small-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.small-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.small-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.small-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.small-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.small-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.small-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.small-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.small-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.small-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.small-grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.small-grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.small-grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.small-grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.small-grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.small-grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.small-grid-cols-13{grid-template-columns:repeat(13,minmax(0,1fr))}.small-grid-rows-13{grid-template-rows:repeat(13,minmax(0,1fr))}.small-grid-cols-14{grid-template-columns:repeat(14,minmax(0,1fr))}.small-grid-rows-14{grid-template-rows:repeat(14,minmax(0,1fr))}.small-grid-cols-15{grid-template-columns:repeat(15,minmax(0,1fr))}.small-grid-rows-15{grid-template-rows:repeat(15,minmax(0,1fr))}.small-grid-cols-16{grid-template-columns:repeat(16,minmax(0,1fr))}.small-grid-rows-16{grid-template-rows:repeat(16,minmax(0,1fr))}.small-grid-cols-17{grid-template-columns:repeat(17,minmax(0,1fr))}.small-grid-rows-17{grid-template-rows:repeat(17,minmax(0,1fr))}.small-grid-cols-18{grid-template-columns:repeat(18,minmax(0,1fr))}.small-grid-rows-18{grid-template-rows:repeat(18,minmax(0,1fr))}.small-grid-cols-19{grid-template-columns:repeat(19,minmax(0,1fr))}.small-grid-rows-19{grid-template-rows:repeat(19,minmax(0,1fr))}.small-grid-cols-20{grid-template-columns:repeat(20,minmax(0,1fr))}.small-grid-rows-20{grid-template-rows:repeat(20,minmax(0,1fr))}}@media (min-width: 768px){.medium-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.medium-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.medium-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.medium-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.medium-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.medium-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.medium-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.medium-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.medium-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.medium-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.medium-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.medium-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.medium-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.medium-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.medium-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.medium-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.medium-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.medium-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.medium-grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.medium-grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.medium-grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.medium-grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.medium-grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.medium-grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.medium-grid-cols-13{grid-template-columns:repeat(13,minmax(0,1fr))}.medium-grid-rows-13{grid-template-rows:repeat(13,minmax(0,1fr))}.medium-grid-cols-14{grid-template-columns:repeat(14,minmax(0,1fr))}.medium-grid-rows-14{grid-template-rows:repeat(14,minmax(0,1fr))}.medium-grid-cols-15{grid-template-columns:repeat(15,minmax(0,1fr))}.medium-grid-rows-15{grid-template-rows:repeat(15,minmax(0,1fr))}.medium-grid-cols-16{grid-template-columns:repeat(16,minmax(0,1fr))}.medium-grid-rows-16{grid-template-rows:repeat(16,minmax(0,1fr))}.medium-grid-cols-17{grid-template-columns:repeat(17,minmax(0,1fr))}.medium-grid-rows-17{grid-template-rows:repeat(17,minmax(0,1fr))}.medium-grid-cols-18{grid-template-columns:repeat(18,minmax(0,1fr))}.medium-grid-rows-18{grid-template-rows:repeat(18,minmax(0,1fr))}.medium-grid-cols-19{grid-template-columns:repeat(19,minmax(0,1fr))}.medium-grid-rows-19{grid-template-rows:repeat(19,minmax(0,1fr))}.medium-grid-cols-20{grid-template-columns:repeat(20,minmax(0,1fr))}.medium-grid-rows-20{grid-template-rows:repeat(20,minmax(0,1fr))}}@media (min-width: 1024px){.large-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.large-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.large-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.large-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.large-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.large-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.large-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.large-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.large-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.large-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.large-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.large-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.large-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.large-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.large-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.large-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.large-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.large-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.large-grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.large-grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.large-grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.large-grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.large-grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.large-grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.large-grid-cols-13{grid-template-columns:repeat(13,minmax(0,1fr))}.large-grid-rows-13{grid-template-rows:repeat(13,minmax(0,1fr))}.large-grid-cols-14{grid-template-columns:repeat(14,minmax(0,1fr))}.large-grid-rows-14{grid-template-rows:repeat(14,minmax(0,1fr))}.large-grid-cols-15{grid-template-columns:repeat(15,minmax(0,1fr))}.large-grid-rows-15{grid-template-rows:repeat(15,minmax(0,1fr))}.large-grid-cols-16{grid-template-columns:repeat(16,minmax(0,1fr))}.large-grid-rows-16{grid-template-rows:repeat(16,minmax(0,1fr))}.large-grid-cols-17{grid-template-columns:repeat(17,minmax(0,1fr))}.large-grid-rows-17{grid-template-rows:repeat(17,minmax(0,1fr))}.large-grid-cols-18{grid-template-columns:repeat(18,minmax(0,1fr))}.large-grid-rows-18{grid-template-rows:repeat(18,minmax(0,1fr))}.large-grid-cols-19{grid-template-columns:repeat(19,minmax(0,1fr))}.large-grid-rows-19{grid-template-rows:repeat(19,minmax(0,1fr))}.large-grid-cols-20{grid-template-columns:repeat(20,minmax(0,1fr))}.large-grid-rows-20{grid-template-rows:repeat(20,minmax(0,1fr))}}@media (min-width: 1200px){.xlarge-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.xlarge-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.xlarge-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xlarge-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.xlarge-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xlarge-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.xlarge-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xlarge-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.xlarge-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.xlarge-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.xlarge-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.xlarge-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.xlarge-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.xlarge-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.xlarge-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.xlarge-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.xlarge-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.xlarge-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.xlarge-grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.xlarge-grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.xlarge-grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.xlarge-grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.xlarge-grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.xlarge-grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.xlarge-grid-cols-13{grid-template-columns:repeat(13,minmax(0,1fr))}.xlarge-grid-rows-13{grid-template-rows:repeat(13,minmax(0,1fr))}.xlarge-grid-cols-14{grid-template-columns:repeat(14,minmax(0,1fr))}.xlarge-grid-rows-14{grid-template-rows:repeat(14,minmax(0,1fr))}.xlarge-grid-cols-15{grid-template-columns:repeat(15,minmax(0,1fr))}.xlarge-grid-rows-15{grid-template-rows:repeat(15,minmax(0,1fr))}.xlarge-grid-cols-16{grid-template-columns:repeat(16,minmax(0,1fr))}.xlarge-grid-rows-16{grid-template-rows:repeat(16,minmax(0,1fr))}.xlarge-grid-cols-17{grid-template-columns:repeat(17,minmax(0,1fr))}.xlarge-grid-rows-17{grid-template-rows:repeat(17,minmax(0,1fr))}.xlarge-grid-cols-18{grid-template-columns:repeat(18,minmax(0,1fr))}.xlarge-grid-rows-18{grid-template-rows:repeat(18,minmax(0,1fr))}.xlarge-grid-cols-19{grid-template-columns:repeat(19,minmax(0,1fr))}.xlarge-grid-rows-19{grid-template-rows:repeat(19,minmax(0,1fr))}.xlarge-grid-cols-20{grid-template-columns:repeat(20,minmax(0,1fr))}.xlarge-grid-rows-20{grid-template-rows:repeat(20,minmax(0,1fr))}}:root{--f7-calendar-height: 340px;--f7-calendar-sheet-landscape-height: 220px;--f7-calendar-popover-width: 320px;--f7-calendar-popover-height: 320px;--f7-calendar-modal-height: 420px;--f7-calendar-modal-max-width: 380px;--f7-calendar-week-header-bg-color: transparent;--f7-calendar-footer-padding: 0 8px;--f7-calendar-week-header-font-size: 11px;--f7-calendar-disabled-text-color: #d4d4d4;--f7-calendar-event-dot-size: 4px;--f7-calendar-time-selector-height: 28px;--f7-calendar-picker-pressed-bg-color: rgba(0, 0, 0, .1);--f7-calendar-picker-hover-bg-color: rgba(0, 0, 0, .03);--f7-calendar-time-selector-bg-color: rgba(0, 0, 0, .05)}:root .dark,:root.dark{--f7-calendar-picker-pressed-bg-color: rgba(255, 255, 255, .08);--f7-calendar-picker-hover-bg-color: rgba(255, 255, 255, .03);--f7-calendar-time-selector-bg-color: rgba(255, 255, 255, .1)}.ios{--f7-calendar-selected-text-color: #fff;--f7-calendar-header-height: 44px;--f7-calendar-header-font-size: 17px;--f7-calendar-header-font-weight: 600;--f7-calendar-header-padding: 0 8px;--f7-calendar-footer-height: 44px;--f7-calendar-footer-font-size: 17px;--f7-calendar-week-header-height: 18px;--f7-calendar-day-font-size: 15px;--f7-calendar-day-size: 30px;--f7-calendar-picker-font-size: 17px;--f7-calendar-time-selector-font-size: 17px;--f7-calendar-modal-border-radius: 4px;--f7-calendar-modal-box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--f7-calendar-prev-next-text-color: #c8c8c8;--f7-calendar-sheet-border-color: #929499;--f7-calendar-sheet-bg-color: #fff;--f7-calendar-week-header-text-color: #5e5e5e;--f7-calendar-modal-bg-color: #fff;--f7-calendar-day-text-color: #000;--f7-calendar-today-text-color: #000;--f7-calendar-today-bg-color: #e3e3e3}.ios .dark,.ios.dark{--f7-calendar-prev-next-text-color: #5e5e5e;--f7-calendar-sheet-border-color: var(--f7-bars-border-color);--f7-calendar-sheet-bg-color: #121212;--f7-calendar-week-header-text-color: #aaa;--f7-calendar-modal-bg-color: #121212;--f7-calendar-day-text-color: #fff;--f7-calendar-today-text-color: #fff;--f7-calendar-today-bg-color: #333}.md{--f7-calendar-sheet-border-color: transparent;--f7-calendar-header-height: 64px;--f7-calendar-header-font-size: 24px;--f7-calendar-header-font-weight: 400;--f7-calendar-header-padding: 0 24px;--f7-calendar-footer-height: 56px;--f7-calendar-footer-font-size: 14px;--f7-calendar-week-header-height: 24px;--f7-calendar-day-font-size: 14px;--f7-calendar-today-bg-color: none;--f7-calendar-day-size: 32px;--f7-calendar-picker-font-size: 14px;--f7-calendar-time-selector-font-size: 14px;--f7-calendar-modal-border-radius: 28px;--f7-calendar-modal-box-shadow: none}.md,.md .dark,.md [class*=color-]{--f7-calendar-sheet-bg-color: var(--f7-md-surface-1);--f7-calendar-selected-text-color: var(--f7-md-on-primary);--f7-calendar-week-header-text-color: var(--f7-md-on-surface-variant);--f7-calendar-day-text-color: var(--f7-md-on-surface);--f7-calendar-prev-next-text-color: rgba(var(--f7-md-on-surface-variant-rgb), .55);--f7-calendar-today-text-color: var(--f7-theme-color);--f7-calendar-modal-bg-color: var(--f7-md-surface-1)}.calendar{overflow:hidden;height:var(--f7-calendar-height);width:100%;display:flex;flex-direction:column}.calendar.modal-in{display:flex}@media (orientation: landscape) and (max-height: 415px){.calendar.calendar-sheet{height:var(--f7-calendar-sheet-landscape-height)}.calendar.calendar-modal{height:calc(100vh - var(--f7-navbar-height))}}.calendar.calendar-inline,.calendar.calendar-popover .calendar{position:relative}.calendar-sheet{--f7-sheet-border-color: var(--f7-calendar-sheet-border-color);background:var(--f7-calendar-sheet-bg-color);padding-bottom:var(--f7-safe-area-bottom);height:calc(var(--f7-calendar-height) + var(--f7-safe-area-bottom))}.calendar-sheet:before{z-index:600}.calendar-sheet .toolbar:before,.calendar-modal .toolbar:before,.calendar-popover .toolbar:before{display:none}.calendar-popover{width:var(--f7-calendar-popover-width)}.calendar-popover .toolbar-top,.calendar-popover .calendar-header{border-radius:var(--f7-popover-border-radius) var(--f7-popover-border-radius) 0 0;overflow:hidden}.calendar-popover .calendar-header+.toolbar-top{border-radius:0}.calendar-popover .toolbar-bottom,.calendar-popover .calendar-footer{border-radius:0 0 var(--f7-popover-border-radius) var(--f7-popover-border-radius)}.calendar-popover .calendar{height:var(--f7-calendar-popover-height);position:relative;z-index:1}.calendar-popover .calendar-month-picker,.calendar-popover .calendar-year-picker,.calendar-popover .calendar-time-picker{border-radius:var(--f7-popover-border-radius)}.calendar-popover .calendar-month-picker .picker,.calendar-popover .calendar-year-picker .picker,.calendar-popover .calendar-time-picker .picker{height:100%;display:flex;flex-direction:column}.calendar-header{width:100%;position:relative;overflow:hidden;flex-shrink:0;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;padding:var(--f7-calendar-header-padding);background-color:var(--f7-calendar-header-bg-color, var(--f7-bars-bg-color));color:var(--f7-calendar-header-text-color, var(--f7-bars-text-color));height:var(--f7-calendar-header-height);line-height:var(--f7-calendar-header-height);font-size:var(--f7-calendar-header-font-size);font-weight:var(--f7-calendar-header-font-weight)}.calendar-header a{color:var(--f7-calendar-header-link-color, var(--f7-bars-link-color, var(--f7-theme-color)))}.calendar-footer{width:100%;flex-shrink:0;padding:var(--f7-calendar-footer-padding);background-color:var(--f7-calendar-footer-bg-color, var(--f7-bars-bg-color));color:var(--f7-calendar-footer-text-color, var(--f7-bars-text-color));height:var(--f7-calendar-footer-height);font-size:var(--f7-calendar-header-font-size);display:flex;justify-content:flex-end;box-sizing:border-box;align-items:center;position:relative}.calendar-footer a{color:var(--f7-calendar-footer-link-color, var(--f7-bars-link-color, var(--f7-theme-color)))}.calendar-footer:before{content:"";position:absolute;background-color:var(--f7-calendar-footer-border-color, var(--f7-bars-border-color));display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.calendar-modal{position:absolute;height:var(--f7-calendar-modal-height);overflow:hidden;top:50%;left:50%;min-width:300px;max-width:var(--f7-calendar-modal-max-width);transform:translate3d(-50%,100vh,0);transition-property:transform;display:flex;z-index:13500;background:var(--f7-calendar-modal-bg-color);width:90%;border-radius:var(--f7-calendar-modal-border-radius);box-shadow:var(--f7-calendar-modal-box-shadow);transition-timing-function:cubic-bezier(0,1,.2,1)}.calendar-modal.modal-in,.calendar-modal.modal-out{transition-duration:.4s}.calendar-modal.modal-in{transform:translate3d(-50%,-50%,0)}.calendar-modal.modal-out{transform:translate3d(-50%,100vh,0)}.calendar-week-header{display:flex;box-sizing:border-box;position:relative;font-size:var(--f7-calendar-week-header-font-size);background-color:var(--f7-calendar-week-header-bg-color, var(--f7-bars-bg-color));color:var(--f7-calendar-week-header-text-color, var(--f7-bars-text-color));height:var(--f7-calendar-week-header-height);padding-left:var(--f7-safe-area-left);padding-right:var(--f7-safe-area-right)}.calendar-week-header .calendar-week-day{flex-shrink:1;width:calc(100% / 7);text-align:center;line-height:var(--f7-calendar-week-header-height)}.calendar-months{width:100%;height:100%;overflow:hidden;position:relative;flex-shrink:10}.calendar-months-wrapper{position:relative;width:100%;height:100%;transition:.3s}.calendar-month{display:flex;flex-direction:column;width:100%;height:100%;position:absolute;left:0;top:0}.calendar-row{height:16.66666667%;display:flex;flex-shrink:1;width:100%;position:relative;box-sizing:border-box;padding-left:var(--f7-safe-area-left);padding-right:var(--f7-safe-area-right)}.calendar-modal .calendar-months:first-child .calendar-row:first-child:before,.calendar-popover .calendar-months:first-child .calendar-row:first-child:before{display:none!important}.calendar-day{flex-shrink:1;display:flex;justify-content:center;align-items:center;box-sizing:border-box;width:14.28571429%;text-align:center;cursor:pointer;z-index:20;color:var(--f7-calendar-day-text-color);height:100%;font-size:var(--f7-calendar-day-font-size)}.calendar-day-today .calendar-day-number{color:var(--f7-calendar-today-text-color, var(--f7-theme-color));background-color:var(--f7-calendar-today-bg-color)}.calendar-day-prev,.calendar-day-next{color:var(--f7-calendar-prev-next-text-color)}.calendar-day-disabled{color:var(--f7-calendar-disabled-text-color);cursor:auto}.calendar-day-selected .calendar-day-number{color:var(--f7-calendar-selected-text-color);background-color:var(--f7-calendar-selected-bg-color, var(--f7-theme-color))}.calendar-day-number{display:inline-block;border-radius:50%;position:relative;width:var(--f7-calendar-day-size);height:var(--f7-calendar-day-size);line-height:var(--f7-calendar-day-size)}.calendar-day-events{position:absolute;display:flex;left:0;width:100%;top:100%;align-items:center;justify-content:center;margin-top:1px}.calendar-day-event{width:var(--f7-calendar-event-dot-size);height:var(--f7-calendar-event-dot-size);border-radius:calc(var(--f7-calendar-event-dot-size) / 2);background-color:var(--f7-calendar-event-bg-color)}.calendar-day-event+.calendar-day-event{margin-left:2px}.calendar-day-selected-range,.calendar-day-selected-left,.calendar-day-selected-right{position:relative}.calendar-day-selected-range:before,.calendar-day-selected-left:before,.calendar-day-selected-right:before{width:100%;height:var(--f7-calendar-day-size);content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);z-index:-1;background-color:var(--f7-calendar-selected-bg-color, var(--f7-theme-color));opacity:.2}.calendar-day-selected-range:first-child:before,.calendar-day-selected-left:before{left:auto;right:0;width:calc(50% + var(--f7-calendar-day-size) / 2);border-radius:var(--f7-calendar-day-size) 0 0 var(--f7-calendar-day-size)}.calendar-day-selected-range:last-child:before,.calendar-day-selected-right:before{width:calc(50% + var(--f7-calendar-day-size) / 2);border-radius:0 var(--f7-calendar-day-size) var(--f7-calendar-day-size) 0}.calendar-day-selected-left:last-child:before,.calendar-day-selected-right:first-child:before{display:none}.calendar-day-selected-left.calendar-day-selected-right:before{content:none;display:none}.calendar-day-selected-range .calendar-day-number{background-color:transparent;color:inherit}.calendar-month-selector,.calendar-year-selector{display:flex;justify-content:space-between;align-items:center;width:50%;max-width:200px;flex-shrink:10;margin-left:auto;margin-right:auto}.calendar-month-selector .calendar-day-number,.calendar-year-selector .calendar-day-number{flex-shrink:1;position:relative;overflow:hidden;text-overflow:ellipsis}.calendar-month-selector a.icon-only,.calendar-year-selector a.icon-only{min-width:36px}.calendar-month-picker,.calendar-year-picker,.calendar-time-picker{position:relative;width:100%;height:100%;-webkit-user-select:none;user-select:none;background:transparent}.calendar-month-picker .picker-columns,.calendar-year-picker .picker-columns{text-align:center}.calendar-month-picker-item,.calendar-year-picker-item{display:flex;justify-content:center;align-items:center;position:relative;overflow:hidden;cursor:pointer;transition-duration:.1s;box-sizing:border-box}.calendar-month-picker-item span,.calendar-year-picker-item span{white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;position:relative;overflow:hidden;pointer-events:none}.calendar-month-picker-item.active-state,.calendar-year-picker-item.active-state{background:var(--f7-calendar-picker-pressed-bg-color)}.calendar-month-picker-item{padding:5px}.sheet-modal .calendar-month-picker-item{width:25%;height:33.33333333%}.sheet-modal .calendar-month-picker-item:nth-child(4n + 1):before{display:none!important}.sheet-modal .calendar-month-picker-item:nth-child(n + 9):after{display:none!important}.popover .calendar-month-picker-item,.calendar-modal .calendar-month-picker-item{width:33.33333333%;height:25%}.popover .calendar-month-picker-item:nth-child(3n + 1):before,.calendar-modal .calendar-month-picker-item:nth-child(3n + 1):before{display:none!important}.popover .calendar-month-picker-item:nth-child(n + 10):after,.calendar-modal .calendar-month-picker-item:nth-child(n + 10):after{display:none!important}.calendar-month-picker-item-current,.calendar-year-picker-item-current{color:var(--f7-calendar-picker-selected-text-color, var(--f7-theme-color))}.calendar-year-picker{overflow:auto;--webkit-overflow-scrolling: touch}.calendar-year-picker-item{height:34px;line-height:34px;width:100%}.calendar-time-selector{flex-shrink:0;font-size:var(--f7-calendar-time-selector-font-size);position:relative;display:flex;justify-content:space-between;align-items:center;padding:12px 16px}.calendar-time-selector a{overflow:hidden;position:relative;justify-content:center;align-items:center;display:flex;box-sizing:border-box;height:var(--f7-calendar-time-selector-height);background-color:var(--f7-calendar-time-selector-bg-color);padding:0 16px;border-radius:8px}.calendar-time-selector>span{font-weight:500}.calendar-time-selector .segmented{margin-left:8px}.calendar-time-picker-popover,.calendar-year-picker-popover,.calendar-month-picker-popover{height:240px;width:240px}.calendar-time-picker-popover .popover-inner,.calendar-year-picker-popover .popover-inner,.calendar-month-picker-popover .popover-inner{height:100%;overflow:hidden}.calendar-time-picker{--f7-picker-popover-height: 100%;--f7-picker-inline-height: 100%}.calendar-time-picker .toolbar{flex-shrink:0;top:0!important}.calendar-time-picker .picker{height:100%;display:flex;flex-direction:column}:root{--f7-picker-height: 260px;--f7-picker-inline-height: 200px;--f7-picker-popover-height: 260px;--f7-picker-popover-width: 280px;--f7-picker-landscape-height: 200px;--f7-picker-item-height: 36px}.ios{--f7-picker-column-font-size: 20px;--f7-picker-item-selected-text-color: #000;--f7-picker-item-selected-bg-color: rgba(0, 0, 0, .12);--f7-picker-divider-text-color: #000;--f7-picker-item-text-color: rgba(0, 0, 0, .45)}.ios .dark,.ios.dark{--f7-picker-item-selected-text-color: #fff;--f7-picker-item-selected-bg-color: rgba(255, 255, 255, .1);--f7-picker-divider-text-color: #fff;--f7-picker-item-text-color: rgba(255, 255, 255, .55)}.md{--f7-picker-column-font-size: 20px}.md,.md .dark,.md [class*=color-]{--f7-picker-item-selected-text-color: var(--f7-md-on-surface);--f7-picker-item-text-color: var(--f7-md-on-surface-variant);--f7-picker-divider-text-color: var(--f7-md-on-surface);--f7-picker-item-selected-border-color: var(--f7-md-outline)}.picker{width:100%;height:var(--f7-picker-height)}.picker.picker-inline{height:var(--f7-picker-inline-height)}.popover .picker{height:var(--f7-picker-popover-height)}@media (orientation: landscape) and (max-height: 415px){.picker:not(.picker-inline){height:var(--f7-picker-landscape-height)}}.picker.sheet-modal{background:var(--f7-picker-sheet-bg-color, var(--f7-sheet-bg-color))}.picker-popover{width:var(--f7-picker-popover-width)}.picker-popover .toolbar{background:none;border-radius:var(--f7-popover-border-radius) var(--f7-popover-border-radius) 0 0}.picker-popover .toolbar:before{display:none!important}.picker-popover .toolbar+.picker-columns{height:calc(100% - var(--f7-toolbar-height))}.picker-columns{display:flex;overflow:hidden;justify-content:center;padding:0;text-align:right;height:100%;position:relative;font-size:var(--f7-picker-column-font-size);--f7-picker-mask-bg-color: transparent}.popover .picker-columns{border-radius:0 0 var(--f7-popover-border-radius) var(--f7-popover-border-radius)}.picker-columns:before,.picker-columns:after{content:"";position:absolute;left:0;width:100%;height:20%;z-index:100;pointer-events:none}.page .picker-columns{--f7-picker-mask-bg-color: var(--f7-page-bg-color)}.block-strong .picker-columns{--f7-picker-mask-bg-color: var(--f7-block-strong-bg-color)}.picker-sheet .picker-columns{--f7-picker-mask-bg-color: var(--f7-picker-sheet-bg-color, var(--f7-sheet-bg-color))}.picker-popover .picker-columns{--f7-picker-mask-bg-color: var(--f7-popover-bg-color)}.picker-columns:before{top:0;background-image:linear-gradient(to bottom,var(--f7-picker-mask-bg-color),transparent)}.picker-columns:after{bottom:0;background-image:linear-gradient(to top,var(--f7-picker-mask-bg-color),transparent)}.picker-column{position:relative;max-height:100%;z-index:10}.picker-column.picker-column-first.picker-column-last{width:100%}.picker-column.picker-column-left{text-align:left}.picker-column.picker-column-center{text-align:center}.picker-column.picker-column-right{text-align:right}.picker-column.picker-column-divider{display:flex;align-items:center;color:var(--f7-picker-divider-text-color)}.picker-items{overflow:auto;scroll-snap-type:y mandatory;height:100%;box-sizing:border-box;padding:var(--f7-picker-scroll-padding, 0px) 0px;scrollbar-width:none;scrollbar-color:transparent}.picker-items::-webkit-scrollbar{-webkit-appearance:none;appearance:none;width:0px;display:none;opacity:0;background:transparent}.picker-items::-webkit-scrollbar-track{box-shadow:none;background:transparent}.picker-items::-webkit-scrollbar-thumb{background-color:transparent;outline:none;border-radius:9999px;position:relative}.picker-item{height:var(--f7-picker-item-height);line-height:var(--f7-picker-item-height);white-space:nowrap;position:relative;overflow:hidden;text-overflow:ellipsis;left:0;top:0;width:100%;box-sizing:border-box;color:var(--f7-picker-item-text-color);cursor:pointer;scroll-snap-align:center}.picker-item span{padding:0 10px}.picker-item.picker-item-far{pointer-events:none}.picker-item.picker-item-selected{color:var(--f7-picker-item-selected-text-color);transform:translateZ(0) rotateX(0)}.picker-column-free-mode .picker-item{scroll-snap-align:none}.picker-center-highlight{height:var(--f7-picker-item-height);box-sizing:border-box;position:absolute;top:50%;margin-top:calc(-1 * var(--f7-picker-item-height) / 2);pointer-events:none}.picker-3d .picker-columns{overflow:hidden}.picker-3d .picker-column,.picker-3d .picker-items,.picker-3d .picker-item{transform-style:preserve-3d}.picker-3d .picker-column{overflow:visible}.picker-3d .picker-item{perspective:1200px;overflow:visible}.picker-3d .picker-item>span{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:block;transform-style:preserve-3d;position:relative;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;max-width:100%;transform-origin:center center -100px}.ios .picker-center-highlight{left:16px;right:16px;background-color:var(--f7-picker-item-selected-bg-color);border-radius:8px}.popover .ios .picker-center-highlight{left:8px;right:8px}.md .picker-center-highlight{left:0;right:0;border-top:1px solid var(--f7-md-outline);border-bottom:1px solid var(--f7-md-outline)}.infinite-scroll-preloader{margin-left:auto;margin-right:auto;text-align:center}.infinite-scroll-preloader.preloader{display:block}.ios .infinite-scroll-preloader{margin-top:35px;margin-bottom:35px}.ios .infinite-scroll-preloader .preloader,.ios .infinite-scroll-preloader.preloader{width:27px;height:27px}.md .infinite-scroll-preloader{margin-top:32px;margin-bottom:32px}.ios{--f7-ptr-preloader-size: 28px;--f7-ptr-size: 44px}.md{--f7-ptr-preloader-size: 22px;--f7-ptr-size: 40px}.md,.md .dark,.md [class*=color-]{--f7-ptr-preloader-bg-color: var(--f7-md-surface-1);--f7-ptr-preloader-color: var(--f7-md-primary)}.ptr-preloader{position:relative;top:var(--f7-ptr-top, 0);height:var(--f7-ptr-size);pointer-events:none}.ptr-preloader .preloader{position:absolute;left:50%;width:var(--f7-ptr-preloader-size);height:var(--f7-ptr-preloader-size);margin-left:calc(-1 * var(--f7-ptr-preloader-size) / 2);margin-top:calc(-1 * var(--f7-ptr-preloader-size) / 2);top:50%;visibility:hidden}.ptr-bottom .ptr-preloader{top:auto;bottom:0;position:fixed}.ptr-with-navbar-large-transparent .ptr-preloader,.ptr-with-navbar-transparent .ptr-preloader{top:calc(-1 * var(--f7-page-navbar-offset, 0px) + var(--f7-safe-area-top))}.ios .ptr-preloader{margin-bottom:calc(-1 * var(--f7-ptr-size));width:100%;left:0;top:0;position:relative}.ios .ptr-preloader .preloader{visibility:visible}.ios .ptr-content:not(.ptr-refreshing):not(.ptr-pull-up) .ptr-preloader .preloader,.ios .ptr-content:not(.ptr-refreshing):not(.ptr-pull-up) .ptr-preloader .preloader-inner{animation:none}.ios .ptr-content:not(.ptr-refreshing):not(.ptr-pull-up):not(.ptr-pull-down) .ptr-preloader .preloader-inner-line,.ios .ptr-content.ptr-closing .ptr-preloader .preloader-inner-line{opacity:0!important}.ios .ptr-transitioning>*,.ios .ptr-refreshing>*{transition-duration:.2s;transition-property:transform}.ios .ptr-transitioning .ptr-preloader .preloader-inner-line{transition-duration:.2s}.ios .ptr-pull-up .ptr-preloader .preloader{animation:ios-ptr-preloader-spin 1s ease-out forwards}.ios .ptr-refreshing:not(.ptr-bottom){transform:none}.ios .ptr-refreshing:not(.ptr-bottom)>*{transform:translate3d(0,var(--f7-ptr-size),0)}.ios .ptr-refreshing:not(.ptr-bottom)>.ptr-preloader{transform:translateZ(0)}.ios .ptr-bottom .ptr-preloader{margin-bottom:0;margin-top:calc(-1 * var(--f7-ptr-size));position:relative}.ios .ptr-bottom.ptr-transitioning>*,.ios .ptr-bottom.ptr-refreshing>*{transition-duration:.3s;transition-property:transform}.ios .ptr-bottom.ptr-refreshing{transform:none}.ios .ptr-bottom.ptr-refreshing>*{transform:translate3d(0,calc(-1 * var(--f7-ptr-size)),0)}.ios .ptr-bottom.ptr-refreshing>.ptr-preloader{transform:translateZ(0)}@keyframes ios-ptr-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(135deg)}}.md{--f7-ptr-top: -4px}.md .ptr-preloader{width:var(--f7-ptr-size);border-radius:50%;background:var(--f7-ptr-preloader-bg-color);--f7-preloader-color: var(--f7-ptr-preloader-color);margin-top:calc(-1 * var(--f7-ptr-size));z-index:100;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;left:50%;margin-left:calc(-1 * var(--f7-ptr-size) / 2)}.md .ptr-preloader .preloader circle{stroke-width:4}.md .ptr-arrow{width:22px;height:22px;box-sizing:border-box;border:3px solid var(--f7-preloader-color);position:absolute;left:50%;top:50%;margin-left:-11px;margin-top:-11px;border-left-color:transparent;border-radius:50%;opacity:1;transform:rotate(150deg)}.md .ptr-arrow:after{content:"";width:0px;height:0px;position:absolute;left:-5px;bottom:0px;border-bottom-width:6px;border-bottom-style:solid;border-bottom-color:inherit;border-left:5px solid transparent;border-right:5px solid transparent;transform:rotate(-40deg)}.md .ptr-content:not(.ptr-refreshing):not(.ptr-pull-up) .ptr-preloader .preloader,.md .ptr-content:not(.ptr-refreshing):not(.ptr-pull-up) .ptr-preloader .preloader-inner,.md .ptr-content:not(.ptr-refreshing):not(.ptr-pull-up) .ptr-preloader circle{animation:none}.md .ptr-refreshing .ptr-preloader .preloader,.md .ptr-pull-up .ptr-preloader .preloader{visibility:visible}.md .ptr-refreshing .ptr-arrow,.md .ptr-pull-up .ptr-arrow{visibility:hidden}.md .ptr-refreshing .ptr-preloader{transform:translate3d(0,66px,0)}.md .ptr-transitioning .ptr-arrow{transition:.3s}.md .ptr-pull-up .ptr-arrow{transition:.4s;transform:rotate(620deg)!important;opacity:0}.md .ptr-transitioning .ptr-preloader,.md .ptr-refreshing .ptr-preloader{transition-duration:.3s;transition-property:transform,opacity}.md .ptr-bottom .ptr-preloader{margin-top:0;margin-bottom:calc(-1 * var(--f7-ptr-size) - 4px)}.md .ptr-bottom.ptr-refreshing .ptr-preloader{transform:translate3d(0,-66px,0)}.md .ptr-with-navbar-large-transparent .ptr-preloader,.md .ptr-with-navbar-transparent .ptr-preloader{opacity:0}.md .ptr-with-navbar-large-transparent.ptr-pull-down .ptr-preloader,.md .ptr-with-navbar-transparent.ptr-pull-down .ptr-preloader,.md .ptr-with-navbar-large-transparent.ptr-pull-up .ptr-preloader,.md .ptr-with-navbar-transparent.ptr-pull-up .ptr-preloader,.md .ptr-with-navbar-large-transparent.ptr-refreshing .ptr-preloader,.md .ptr-with-navbar-transparent.ptr-refreshing .ptr-preloader{opacity:1}.md .ptr-with-navbar-large-transparent.ptr-closing .ptr-preloader,.md .ptr-with-navbar-transparent.ptr-closing .ptr-preloader{opacity:0;transition-duration:.3s}:root{--f7-table-head-font-size: 12px;--f7-table-body-font-size: 14px;--f7-table-footer-font-size: 12px;--f7-table-input-height: 24px;--f7-table-input-font-size: 14px;--f7-table-collapsible-cell-padding: 16px;--f7-table-link-icon-only-icon-size: 20px;--f7-table-head-bg-color: transparent;--f7-table-card-header-bg-color: transparent;--f7-table-card-header-height: 64px;--f7-table-cell-padding-vertical: 0px;--f7-table-sortable-icon-color: #000}:root .dark,:root.dark{--f7-table-sortable-icon-color: #fff;--f7-table-input-text-color: #fff}.ios{--f7-table-head-font-weight: 600;--f7-table-head-cell-height: 44px;--f7-table-head-icon-size: 18px;--f7-table-body-cell-height: 44px;--f7-table-cell-padding-horizontal: 16px;--f7-table-edge-cell-padding-horizontal: 16px;--f7-table-label-cell-padding-horizontal: 16px;--f7-table-checkbox-cell-width: 22px;--f7-table-title-font-size: 17px;--f7-table-title-font-weight: 600;--f7-table-footer-height: 44px;--f7-table-head-text-color: rgba(0, 0, 0, .45);--f7-table-cell-border-color: rgba(0, 0, 0, .22);--f7-table-selected-row-bg-color: rgba(0, 0, 0, .03);--f7-table-footer-text-color: rgba(0, 0, 0, .45);--f7-table-input-text-color: #000}.ios .dark,.ios.dark{--f7-table-head-text-color: rgba(255, 255, 255, .55);--f7-table-cell-border-color: rgba(255, 255, 255, .15);--f7-table-footer-text-color: rgba(255, 255, 255, .55);--f7-table-selected-row-bg-color: rgba(255, 255, 255, .08)}.md{--f7-table-head-font-weight: 500;--f7-table-head-cell-height: 56px;--f7-table-head-icon-size: 16px;--f7-table-body-cell-height: 48px;--f7-table-cell-padding-horizontal: 28px;--f7-table-edge-cell-padding-horizontal: 24px;--f7-table-label-cell-padding-horizontal: 24px;--f7-table-checkbox-cell-width: 18px;--f7-table-title-font-size: 20px;--f7-table-title-font-weight: 400;--f7-table-footer-height: 56px;--f7-table-actions-cell-link-color: rgba(0, 0, 0, .54);--f7-table-actions-link-color: rgba(0, 0, 0, .54);--f7-table-input-text-color: #212121}.md .dark,.md.dark{--f7-table-actions-cell-link-color: rgba(255, 255, 255, .54);--f7-table-actions-link-color: rgba(255, 255, 255, .54)}.md,.md .dark,.md [class*=color-]{--f7-table-head-text-color: var(--f7-md-on-surface-variant);--f7-table-footer-text-color: var(--f7-md-on-surface-variant);--f7-table-selected-row-bg-color: var(--f7-md-secondary-container);--f7-table-cell-border-color: var(--f7-md-outline)}.data-table{overflow-x:auto}.data-table table,table.data-table{width:100%;border:none;padding:0;margin:0;border-collapse:collapse;text-align:left}.data-table thead th,.data-table thead td{font-size:var(--f7-table-head-font-size);font-weight:var(--f7-table-head-font-weight);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:16px;height:var(--f7-table-head-cell-height);background-color:var(--f7-table-head-bg-color)}.data-table thead th:not(.sortable-cell-active),.data-table thead td:not(.sortable-cell-active){color:var(--f7-table-head-text-color)}.data-table thead i.icon,.data-table thead i.f7-icons,.data-table thead i.material-icons{vertical-align:top;font-size:var(--f7-table-head-icon-size)}.data-table tbody{font-size:var(--f7-table-body-font-size)}.data-table tbody th,.data-table tbody td{height:var(--f7-table-body-cell-height)}.data-table tbody tr.data-table-row-selected,.device-desktop .data-table tbody tr:hover{background:var(--f7-table-selected-row-bg-color)}.data-table tbody td:before,.data-table tbody th:before{content:"";position:absolute;background-color:var(--f7-table-cell-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.data-table th,.data-table td{--f7-table-cell-padding-left: var(--f7-table-cell-padding-horizontal);--f7-table-cell-padding-right: var(--f7-table-cell-padding-horizontal);padding-top:var(--f7-table-cell-padding-vertical);padding-bottom:var(--f7-table-cell-padding-vertical);padding-left:var(--f7-table-cell-padding-left);padding-right:var(--f7-table-cell-padding-right);position:relative;box-sizing:border-box}.data-table th:first-child,.data-table td:first-child{--f7-table-cell-padding-left: var(--f7-table-edge-cell-padding-horizontal)}.data-table th:last-child,.data-table td:last-child{--f7-table-cell-padding-right: var(--f7-table-edge-cell-padding-horizontal)}.data-table th.label-cell,.data-table td.label-cell{--f7-table-cell-padding-left: var(--f7-table-label-cell-padding-horizontal);--f7-table-cell-padding-right: var(--f7-table-label-cell-padding-horizontal)}.data-table th.numeric-cell,.data-table td.numeric-cell{text-align:right}.data-table th.checkbox-cell,.data-table td.checkbox-cell{overflow:visible;width:var(--f7-table-checkbox-cell-width)}.data-table th.checkbox-cell label+span,.data-table td.checkbox-cell label+span{margin-left:8px}.data-table th.checkbox-cell:first-child,.data-table td.checkbox-cell:first-child{padding-right:calc(var(--f7-table-cell-padding-right) / 2)}.data-table th.checkbox-cell:first-child+td,.data-table td.checkbox-cell:first-child+td,.data-table th.checkbox-cell:first-child+th,.data-table td.checkbox-cell:first-child+th{padding-left:calc(var(--f7-table-cell-padding-left) / 2)}.data-table th.checkbox-cell:last-child,.data-table td.checkbox-cell:last-child{padding-left:calc(var(--f7-table-cell-padding-left) / 2)}.data-table th.actions-cell,.data-table td.actions-cell{text-align:right;white-space:nowrap}.data-table th.actions-cell a.link,.data-table td.actions-cell a.link{color:var(--f7-table-actions-cell-link-color, var(--f7-theme-color))}.data-table th a.icon-only,.data-table td a.icon-only,.card .data-table th a.icon-only,.card .data-table td a.icon-only,.card.data-table th a.icon-only,.card.data-table td a.icon-only{display:inline-block;vertical-align:middle;text-align:center;font-size:0;min-width:0}.data-table th a.icon-only i,.data-table td a.icon-only i,.card .data-table th a.icon-only i,.card .data-table td a.icon-only i,.card.data-table th a.icon-only i,.card.data-table td a.icon-only i{font-size:var(--f7-table-link-icon-only-icon-size);vertical-align:middle}.data-table .sortable-cell:not(.input-cell){cursor:pointer;position:relative}.data-table .sortable-cell.input-cell .table-head-label{cursor:pointer;position:relative}.data-table .sortable-cell:not(.numeric-cell):not(.input-cell):after,.data-table .sortable-cell.numeric-cell:not(.input-cell):before,.data-table .sortable-cell:not(.numeric-cell).input-cell>.table-head-label:after,.data-table .sortable-cell.numeric-cell.input-cell>.table-head-label:before{content:"arrow_bottom_md";font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;display:inline-block;vertical-align:top;width:16px;height:16px;color:var(--f7-table-sortable-icon-color);font-size:13px;line-height:16px;transition-duration:.3s;transform:rotate(0);opacity:0}.device-desktop .data-table .sortable-cell:not(.sortable-cell-active):hover:after,.device-desktop .data-table .sortable-cell:not(.sortable-cell-active) .table-head-label:hover:after,.device-desktop .data-table .sortable-cell:not(.sortable-cell-active):hover:before,.device-desktop .data-table .sortable-cell:not(.sortable-cell-active) .table-head-label:hover:before{opacity:.54}.data-table .sortable-cell.sortable-cell-active:after,.data-table .sortable-cell.sortable-cell-active .table-head-label:after,.data-table .sortable-cell.sortable-cell-active:before,.data-table .sortable-cell.sortable-cell-active .table-head-label:before{opacity:.87!important}.data-table .sortable-cell.sortable-desc:after,.data-table .table-head-label:after,.data-table .sortable-cell.sortable-desc:before,.data-table .table-head-label:before{transform:rotate(180deg)!important}.data-table.card .card-header,.card .data-table .card-header,.data-table.card .card-footer,.card .data-table .card-footer{padding-left:var(--f7-table-edge-cell-padding-horizontal);padding-right:var(--f7-table-edge-cell-padding-horizontal)}.data-table.card .card-header,.card .data-table .card-header{min-height:var(--f7-table-card-header-height);background-color:var(--f7-table-card-header-bg-color)}.data-table.card .card-content,.card .data-table .card-content{overflow-x:auto}.data-table.card .card-footer,.card .data-table .card-footer{min-height:var(--f7-table-footer-height)}.data-table .data-table-title{font-size:var(--f7-table-title-font-size);font-weight:var(--f7-table-title-font-weight)}.data-table .data-table-links,.data-table .data-table-actions{display:flex}.data-table .data-table-links .button{min-width:64px}.data-table .data-table-actions{margin-left:auto;align-items:center}.data-table .data-table-actions a.link{color:var(--f7-table-actions-link-color, var(--f7-theme-color));min-width:0}.data-table .data-table-actions a.link.icon-only{line-height:1;justify-content:center;padding:0}.data-table .data-table-header,.data-table .data-table-header-selected{display:flex;justify-content:space-between;align-items:center;width:100%}.data-table .card-header>.data-table-header,.data-table .card-header>.data-table-header-selected{padding-top:var(--f7-card-header-padding-vertical);padding-bottom:var(--f7-card-header-padding-vertical);height:100%;margin-top:calc(-1 * var(--f7-card-header-padding-vertical));margin-bottom:calc(-1 * var(--f7-card-header-padding-vertical));min-height:var(--f7-table-card-header-height);padding-left:var(--f7-table-edge-cell-padding-horizontal);padding-right:var(--f7-table-edge-cell-padding-horizontal);margin-left:calc(-1 * var(--f7-table-edge-cell-padding-horizontal));margin-right:calc(-1 * var(--f7-table-edge-cell-padding-horizontal))}.data-table .data-table-header-selected{background:rgba(var(--f7-theme-color-rgb),.1);display:none}.data-table.data-table-has-checked .data-table-header{display:none}.data-table.data-table-has-checked .data-table-header-selected{display:flex}.data-table .data-table-title-selected{font-size:14px;color:var(--f7-theme-color)}.data-table .data-table-footer{display:flex;align-items:center;box-sizing:border-box;position:relative;font-size:var(--f7-table-footer-font-size);overflow:hidden;min-height:var(--f7-table-footer-height);color:var(--f7-table-footer-text-color);justify-content:flex-end}.data-table .data-table-footer:before{content:"";position:absolute;background-color:var(--f7-table-cell-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.data-table .data-table-rows-select,.data-table .data-table-pagination{display:flex;align-items:center}.data-table .input-cell{padding-top:8px;padding-bottom:8px;height:auto;vertical-align:top}.data-table .input-cell .table-head-label+.input{margin-top:4px}.data-table .input-cell .input{height:var(--f7-table-input-height)}.data-table .input-cell .input input,.data-table .input-cell .input textarea,.data-table .input-cell .input select{height:var(--f7-table-input-height);color:var(--f7-table-input-text-color);font-size:var(--f7-table-input-font-size)}@media (max-width: 480px) and (orientation: portrait){.data-table.data-table-collapsible thead{display:none}.data-table.data-table-collapsible tbody,.data-table.data-table-collapsible tr,.data-table.data-table-collapsible td{display:block}.data-table.data-table-collapsible tr{position:relative}.data-table.data-table-collapsible tr:before{content:"";position:absolute;background-color:var(--f7-table-cell-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.data-table.data-table-collapsible tr:hover{background-color:inherit}.data-table.data-table-collapsible td{--f7-table-cell-padding-left: var(--f7-table-collapsible-cell-padding);--f7-table-cell-padding-right: var(--f7-table-collapsible-cell-padding);height:auto;min-height:var(--f7-table-body-cell-height);display:flex;align-content:center;align-items:center;justify-content:flex-start;text-align:left}.data-table.data-table-collapsible td:before{display:none!important}.data-table.data-table-collapsible td:not(.checkbox-cell):before{width:40%;display:block!important;content:attr(data-collapsible-title);position:relative;height:auto;background:none!important;transform:none!important;font-size:var(--f7-table-head-font-size);font-weight:var(--f7-table-head-font-weight);color:var(--f7-table-head-text-color);margin-right:16px;flex-shrink:0}.data-table.data-table-collapsible td.checkbox-cell{position:absolute;top:0;left:0}.data-table.data-table-collapsible td.checkbox-cell+td{padding-left:16px}.data-table.data-table-collapsible td.checkbox-cell~td{margin-left:32px}}.data-table .xsmall-only,.data-table .xsmall-landscape-only{display:none}@media (min-width: 480px){.data-table .xsmall-only{display:table-cell}}@media (min-width: 480px) and (orientation: landscape){.data-table .xsmall-landscape-only{display:table-cell}}.data-table .small-only,.data-table .small-landscape-only{display:none}@media (min-width: 568px){.data-table .small-only{display:table-cell}}@media (min-width: 568px) and (orientation: landscape){.data-table .small-landscape-only{display:table-cell}}.data-table .medium-only,.data-table .medium-landscape-only{display:none}@media (min-width: 768px){.data-table .medium-only{display:table-cell}}@media (min-width: 768px) and (orientation: landscape){.data-table .medium-landscape-only{display:table-cell}}.data-table .large-only,.data-table .large-landscape-only{display:none}@media (min-width: 1024px){.data-table .large-only{display:table-cell}}@media (min-width: 1024px) and (orientation: landscape){.data-table .large-landscape-only{display:table-cell}}.data-table .xlarge-only,.data-table .xlarge-landscape-only{display:none}@media (min-width: 1200px){.data-table .xlarge-only{display:table-cell}}@media (min-width: 1200px) and (orientation: landscape){.data-table .xlarge-landscape-only{display:table-cell}}.ios .data-table th.actions-cell a.link+a.link,.ios .data-table td.actions-cell a.link+a.link{margin-left:16px}.ios .sortable-cell:not(.numeric-cell):after{margin-left:5px}.ios .sortable-cell.numeric-cell:before{margin-right:5px}.ios .data-table-links a.link+a.link,.ios .data-table-actions a.link+a.link,.ios .data-table-links .button+.button,.ios .data-table-actions .button+.button{margin-left:16px}.ios .data-table-actions a.link.icon-only,.ios .data-table-rows-select a.link,.ios .data-table-pagination a.link{width:44px;height:44px}.ios .data-table-rows-select+.data-table-pagination{margin-left:30px}.ios .data-table-rows-select .input{margin-left:20px}.ios .data-table-pagination-label{margin-right:16px}.md .data-table th.actions-cell a.link+a.link,.md .data-table td.actions-cell a.link+a.link{margin-left:24px}.md .data-table th.actions-cell a.icon-only,.md .data-table td.actions-cell a.icon-only{width:24px;height:24px;line-height:24px}.md .sortable-cell:not(.numeric-cell):after{margin-left:8px}.md .sortable-cell.numeric-cell:before{margin-right:8px}.md .data-table-links a.link+a.link,.md .data-table-actions a.link+a.link,.md .data-table-links .button+.button,.md .data-table-actions .button+.button{margin-left:24px}.md .data-table-actions a.link.icon-only{width:24px;height:24px;overflow:visible}.md .data-table-actions a.link.icon-only.active-state{background:none}.md .data-table-rows-select a.link,.md .data-table-pagination a.link{width:48px;height:48px}.md .data-table-rows-select+.data-table-pagination{margin-left:32px}.md .data-table-rows-select .input{margin-left:24px}.md .data-table-pagination-label{margin-right:20px}.md .input-cell .input-clear-button{transform:scale(.8)}:root{--f7-fab-margin: 16px;--f7-fab-extended-text-font-size: 14px;--f7-fab-label-padding: 4px 12px;--f7-fab-label-font-size: inherit;--f7-fab-button-size: 40px}.ios{--f7-fab-text-color: #fff;--f7-fab-border-radius: 50px;--f7-fab-size: 50px;--f7-fab-box-shadow: 0px 2px 4px rgba(0, 0, 0, .4);--f7-fab-extended-text-transform: uppercase;--f7-fab-extended-size: 50px;--f7-fab-extended-text-padding: 0 20px;--f7-fab-extended-text-font-weight: 600;--f7-fab-extended-text-letter-spacing: 0;--f7-fab-label-border-radius: 4px;--f7-fab-label-box-shadow: 0px 1px 2px rgba(0, 0, 0, .4);--f7-fab-label-text-color: #333;--f7-fab-label-bg-color: #fff}.md{--f7-fab-border-radius: 16px;--f7-fab-size: 56px;--f7-fab-box-shadow: 0px 1px 2px rgba(0, 0, 0, .25);--f7-fab-extended-size: 56px;--f7-fab-extended-text-padding: 0 16px;--f7-fab-extended-text-font-weight: 500;--f7-fab-extended-text-letter-spacing: 0;--f7-fab-extended-text-transform: none;--f7-fab-label-border-radius: 8px;--f7-fab-label-box-shadow: 0px 1px 2px rgba(0, 0, 0, .25)}.md,.md .dark,.md [class*=color-]{--f7-fab-bg-color: var(--f7-md-primary-container);--f7-fab-text-color: var(--f7-md-on-primary-container);--f7-fab-label-text-color: var(--f7-md-on-surface);--f7-fab-label-bg-color: var(--f7-md-surface-5)}.fab-backdrop{z-index:1400}.fab{position:absolute;z-index:1500}.fab a{--f7-touch-ripple-color: var(--f7-touch-ripple-white)}.fab-left-top,.fab-left-center,.fab-left-bottom{left:calc(var(--f7-fab-margin) + var(--f7-safe-area-left))}.fab-right-top,.fab-right-center,.fab-right-bottom{right:calc(var(--f7-fab-margin) + var(--f7-safe-area-right))}.fab-left-top,.fab-center-top,.fab-right-top{top:var(--f7-fab-margin)}.fab-left-bottom,.fab-center-bottom,.fab-right-bottom{bottom:calc(var(--f7-fab-margin) + var(--f7-safe-area-bottom))}.fab-center-top,.fab-center-center,.fab-center-bottom{left:50%;transform:translate(-50%)}.fab-left-center,.fab-center-center,.fab-right-center{top:50%;transform:translateY(-50%)}.fab-center-center{top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.fab>a,.fab-buttons a{background-color:var(--f7-fab-bg-color, var(--f7-theme-color));width:var(--f7-fab-size);height:var(--f7-fab-size);box-shadow:var(--f7-fab-box-shadow);border-radius:var(--f7-fab-border-radius);position:relative;transition-duration:.3s;display:flex;align-items:center;justify-content:center;overflow:hidden;z-index:1;color:var(--f7-fab-text-color)}.fab>a i{position:absolute;left:50%;top:50%;transform:translate3d(-50%,-50%,0) rotate(0) scale(1);transition:.3s}.fab>a i+i{transform:translate3d(-50%,-50%,0) rotate(-90deg) scale(.5);opacity:0}.fab-buttons a{border-radius:var(--f7-fab-border-radius);width:var(--f7-fab-button-size);height:var(--f7-fab-button-size)}.fab-buttons{display:flex;visibility:hidden;pointer-events:none;position:absolute}.fab-buttons a{opacity:0}.fab-opened:not(.fab-morph)>a i{transform:translate3d(-50%,-50%,0) rotate(90deg) scale(.5);opacity:0}.fab-opened:not(.fab-morph)>a i+i{transform:translate3d(-50%,-50%,0) rotate(0) scale(1);opacity:1}.fab-opened .fab-buttons{visibility:visible;pointer-events:auto}.fab-opened .fab-buttons a{opacity:1;transform:translateZ(0) scale(1)!important}.fab-opened .fab-buttons a:nth-child(2){transition-delay:50ms}.fab-opened .fab-buttons a:nth-child(3){transition-delay:.1s}.fab-opened .fab-buttons a:nth-child(4){transition-delay:.15s}.fab-opened .fab-buttons a:nth-child(5){transition-delay:.2s}.fab-opened .fab-buttons a:nth-child(6){transition-delay:.25s}.fab-buttons-top,.fab-buttons-bottom{left:50%;width:var(--f7-fab-button-size);margin-left:calc(-1 * var(--f7-fab-button-size) / 2)}.fab-buttons-top{bottom:100%;margin-bottom:16px;flex-direction:column-reverse}.fab-buttons-top a{transform:translate3d(0,8px,0) scale(.3);transform-origin:center bottom}.fab-buttons-top a+a{margin-bottom:16px}.fab-buttons-bottom{top:100%;margin-top:16px;flex-direction:column}.fab-buttons-bottom a{transform:translate3d(0,-8px,0) scale(.3);transform-origin:center top}.fab-buttons-bottom a+a{margin-top:16px}.fab-buttons-left,.fab-buttons-right{top:50%;height:var(--f7-fab-button-size);margin-top:calc(-1 * var(--f7-fab-button-size) / 2)}.fab-buttons-left{right:100%;margin-right:16px;flex-direction:row-reverse}.fab-buttons-left a{transform:translate3d(8px,0,0) scale(.3);transform-origin:right center}.fab-buttons-left a+a{margin-right:16px}.fab-buttons-right{left:100%;margin-left:16px}.fab-buttons-right a{transform:translate3d(-8px,0,0) scale(.3);transform-origin:left center}.fab-buttons-right a+a{margin-left:16px}.fab-buttons-center{left:0%;top:0%;width:100%;height:100%}.fab-buttons-center a{position:absolute}.fab-buttons-center a:nth-child(1){left:50%;margin-left:calc(-1 * var(--f7-fab-button-size) / 2);bottom:100%;margin-bottom:16px;transform:translateY(-8px) scale(.3);transform-origin:center bottom}.fab-buttons-center a:nth-child(2){left:100%;margin-top:calc(-1 * var(--f7-fab-button-size) / 2);top:50%;margin-left:16px;transform:translate(-8px) scale(.3);transform-origin:left center}.fab-buttons-center a:nth-child(3){left:50%;margin-left:calc(-1 * var(--f7-fab-button-size) / 2);top:100%;margin-top:16px;transform:translateY(8px) scale(.3);transform-origin:center top}.fab-buttons-center a:nth-child(4){right:100%;margin-top:calc(-1 * var(--f7-fab-button-size) / 2);top:50%;margin-right:16px;transform:translate(8px) scale(.3);transform-origin:right center}.fab-morph{border-radius:var(--f7-fab-border-radius);background:var(--f7-fab-bg-color, var(--f7-theme-color));box-shadow:var(--f7-fab-box-shadow)}.fab-morph>a{box-shadow:none;background:none!important}.fab-opened.fab-morph>a i{opacity:0}.fab-morph,.fab-morph>a,.fab-morph-target{transition-duration:.25s}.fab-morph-target:not(.fab-morph-target-visible){display:none}.fab-extended{width:auto;min-width:var(--f7-fab-extended-size)}.fab-extended>a{width:100%;height:var(--f7-fab-extended-size)}.fab-extended>a i{left:calc(var(--f7-fab-extended-size) / 2)}.fab-extended i~.fab-text{padding-left:var(--f7-fab-extended-size)}.fab-extended>a{width:100%!important}.fab-text{box-sizing:border-box;font-size:var(--f7-fab-extended-text-font-size);padding:var(--f7-fab-extended-text-padding);font-weight:var(--f7-fab-extended-text-font-weight);letter-spacing:var(--f7-fab-extended-text-letter-spacing);text-transform:var(--f7-fab-extended-text-transform)}.fab-label-button{overflow:visible!important}.fab-label{position:absolute;top:50%;padding:var(--f7-fab-label-padding);border-radius:var(--f7-fab-label-border-radius);background:var(--f7-fab-label-bg-color);color:var(--f7-fab-label-text-color);box-shadow:var(--f7-fab-label-box-shadow);white-space:nowrap;transform:translateY(-50%);pointer-events:none;font-size:var(--f7-fab-label-font-size)}.fab-right-top .fab-label,.fab-right-center .fab-label,.fab-right-bottom .fab-label{right:100%;margin-right:8px}.fab-left-top .fab-label,.fab-left-center .fab-label,.fab-left-bottom .fab-label{left:100%;margin-left:8px}.navbar~* .fab-left-top,.navbar~* .fab-center-top,.navbar~* .fab-right-top,.navbar~.fab-left-top,.navbar~.fab-center-top,.navbar~.fab-right-top,.navbars~* .fab-left-top,.navbars~* .fab-center-top,.navbars~* .fab-right-top,.navbars~.fab-left-top,.navbars~.fab-center-top,.navbars~.fab-right-top{margin-top:calc(var(--f7-navbar-height) + var(--f7-safe-area-top))}.toolbar-top~* .fab-left-top,.toolbar-top~* .fab-center-top,.toolbar-top~* .fab-right-top,.toolbar-top~.fab-left-top,.toolbar-top~.fab-center-top,.toolbar-top~.fab-right-top,.ios .toolbar-top-ios~* .fab-left-top,.ios .toolbar-top-ios~* .fab-center-top,.ios .toolbar-top-ios~* .fab-right-top,.ios .toolbar-top-ios~.fab-left-top,.ios .toolbar-top-ios~.fab-center-top,.ios .toolbar-top-ios~.fab-right-top,.md .toolbar-top-md~* .fab-left-top,.md .toolbar-top-md~* .fab-center-top,.md .toolbar-top-md~* .fab-right-top,.md .toolbar-top-md~.fab-left-top,.md .toolbar-top-md~.fab-center-top,.md .toolbar-top-md~.fab-right-top{margin-top:var(--f7-toolbar-height)}.toolbar-bottom~* .fab-left-bottom,.toolbar-bottom~* .fab-center-bottom,.toolbar-bottom~* .fab-right-bottom,.toolbar-bottom~.fab-left-bottom,.toolbar-bottom~.fab-center-bottom,.toolbar-bottom~.fab-right-bottom,.ios .toolbar-bottom-ios~* .fab-left-bottom,.ios .toolbar-bottom-ios~* .fab-center-bottom,.ios .toolbar-bottom-ios~* .fab-right-bottom,.ios .toolbar-bottom-ios~.fab-left-bottom,.ios .toolbar-bottom-ios~.fab-center-bottom,.ios .toolbar-bottom-ios~.fab-right-bottom,.md .toolbar-bottom-md~* .fab-left-bottom,.md .toolbar-bottom-md~* .fab-center-bottom,.md .toolbar-bottom-md~* .fab-right-bottom,.md .toolbar-bottom-md~.fab-left-bottom,.md .toolbar-bottom-md~.fab-center-bottom,.md .toolbar-bottom-md~.fab-right-bottom{margin-bottom:var(--f7-toolbar-height)}.tabbar-icons.toolbar-bottom~* .fab-left-bottom,.tabbar-icons.toolbar-bottom~* .fab-center-bottom,.tabbar-icons.toolbar-bottom~* .fab-right-bottom,.tabbar-icons.toolbar-bottom~.fab-left-bottom,.tabbar-icons.toolbar-bottom~.fab-center-bottom,.tabbar-icons.toolbar-bottom~.fab-right-bottom,.ios .tabbar-icons.toolbar-bottom-ios~* .fab-left-bottom,.ios .tabbar-icons.toolbar-bottom-ios~* .fab-center-bottom,.ios .tabbar-icons.toolbar-bottom-ios~* .fab-right-bottom,.ios .tabbar-icons.toolbar-bottom-ios~.fab-left-bottom,.ios .tabbar-icons.toolbar-bottom-ios~.fab-center-bottom,.ios .tabbar-icons.toolbar-bottom-ios~.fab-right-bottom,.md .tabbar-icons.toolbar-bottom-md~* .fab-left-bottom,.md .tabbar-icons.toolbar-bottom-md~* .fab-center-bottom,.md .tabbar-icons.toolbar-bottom-md~* .fab-right-bottom,.md .tabbar-icons.toolbar-bottom-md~.fab-left-bottom,.md .tabbar-icons.toolbar-bottom-md~.fab-center-bottom,.md .tabbar-icons.toolbar-bottom-md~.fab-right-bottom{margin-bottom:var(--f7-tabbar-icons-height)}.tabbar-icons.toolbar-top~* .fab-left-bottom,.tabbar-icons.toolbar-top~* .fab-center-bottom,.tabbar-icons.toolbar-top~* .fab-right-bottom,.tabbar-icons.toolbar-top~.fab-left-bottom,.tabbar-icons.toolbar-top~.fab-center-bottom,.tabbar-icons.toolbar-top~.fab-right-bottom,.ios .tabbar-icons.toolbar-top-ios~* .fab-left-bottom,.ios .tabbar-icons.toolbar-top-ios~* .fab-center-bottom,.ios .tabbar-icons.toolbar-top-ios~* .fab-right-bottom,.ios .tabbar-icons.toolbar-top-ios~.fab-left-bottom,.ios .tabbar-icons.toolbar-top-ios~.fab-center-bottom,.ios .tabbar-icons.toolbar-top-ios~.fab-right-bottom,.md .tabbar-icons.toolbar-top-md~* .fab-left-bottom,.md .tabbar-icons.toolbar-top-md~* .fab-center-bottom,.md .tabbar-icons.toolbar-top-md~* .fab-right-bottom,.md .tabbar-icons.toolbar-top-md~.fab-left-bottom,.md .tabbar-icons.toolbar-top-md~.fab-center-bottom,.md .tabbar-icons.toolbar-top-md~.fab-right-bottom{margin-top:var(--f7-tabbar-icons-height)}.messagebar~* .fab-left-bottom,.messagebar~* .fab-center-bottom,.messagebar~* .fab-right-bottom,.messagebar~.fab-left-bottom,.messagebar~.fab-center-bottom,.messagebar~.fab-right-bottom{margin-bottom:var(--f7-messagebar-height)}.navbar+.toolbar-top~* .fab-left-top,.ios .navbar+.toolbar-top-ios~* .fab-left-top,.md .navbar+.toolbar-top-ios~* .fab-left-top,.navbar+.toolbar-top~* .fab-center-top,.ios .navbar+.toolbar-top-ios~* .fab-center-top,.md .navbar+.toolbar-top-ios~* .fab-center-top,.navbar+.toolbar-top~* .fab-right-top,.ios .navbar+.toolbar-top-ios~* .fab-right-top,.md .navbar+.toolbar-top-ios~* .fab-right-top,.navbar+.toolbar-top~.fab-left-top,.ios .navbar+.toolbar-top-ios~.fab-left-top,.md .navbar+.toolbar-top-ios~.fab-left-top,.navbar+.toolbar-top~.fab-center-top,.ios .navbar+.toolbar-top-ios~.fab-center-top,.md .navbar+.toolbar-top-ios~.fab-center-top,.navbar+.toolbar-top~.fab-right-top,.ios .navbar+.toolbar-top-ios~.fab-right-top,.md .navbar+.toolbar-top-ios~.fab-right-top{margin-top:calc(var(--f7-toolbar-height) + var(--f7-navbar-height) + var(--f7-safe-area-top))}.navbar+.toolbar-top.tabbar-icons~* .fab-left-top,.ios .navbar+.toolbar-top-ios.tabbar-icons~* .fab-left-top,.md .navbar+.toolbar-top-ios.tabbar-icons~* .fab-left-top,.navbar+.toolbar-top.tabbar-icons~* .fab-center-top,.ios .navbar+.toolbar-top-ios.tabbar-icons~* .fab-center-top,.md .navbar+.toolbar-top-ios.tabbar-icons~* .fab-center-top,.navbar+.toolbar-top.tabbar-icons~* .fab-right-top,.ios .navbar+.toolbar-top-ios.tabbar-icons~* .fab-right-top,.md .navbar+.toolbar-top-ios.tabbar-icons~* .fab-right-top,.navbar+.toolbar-top.tabbar-icons~.fab-left-top,.ios .navbar+.toolbar-top-ios.tabbar-icons~.fab-left-top,.md .navbar+.toolbar-top-ios.tabbar-icons~.fab-left-top,.navbar+.toolbar-top.tabbar-icons~.fab-center-top,.ios .navbar+.toolbar-top-ios.tabbar-icons~.fab-center-top,.md .navbar+.toolbar-top-ios.tabbar-icons~.fab-center-top,.navbar+.toolbar-top.tabbar-icons~.fab-right-top,.ios .navbar+.toolbar-top-ios.tabbar-icons~.fab-right-top,.md .navbar+.toolbar-top-ios.tabbar-icons~.fab-right-top{margin-top:calc(var(--f7-tabbar-icons-height) + var(--f7-navbar-height) + var(--f7-safe-area-top))}.navbars+.toolbar-top~* .fab-left-top,.ios .navbars+.toolbar-top-ios~* .fab-left-top,.navbars+.toolbar-top~* .fab-center-top,.ios .navbars+.toolbar-top-ios~* .fab-center-top,.navbars+.toolbar-top~* .fab-right-top,.ios .navbars+.toolbar-top-ios~* .fab-right-top,.navbars+.toolbar-top~.fab-left-top,.ios .navbars+.toolbar-top-ios~.fab-left-top,.navbars+.toolbar-top~.fab-center-top,.ios .navbars+.toolbar-top-ios~.fab-center-top,.navbars+.toolbar-top~.fab-right-top,.ios .navbars+.toolbar-top-ios~.fab-right-top{margin-top:calc(var(--f7-toolbar-height) + var(--f7-navbar-height) + var(--f7-safe-area-top))}.navbars+.toolbar-top.tabbar-icons~* .fab-left-top,.ios .navbars+.toolbar-top-ios.tabbar-icons~* .fab-left-top,.navbars+.toolbar-top.tabbar-icons~* .fab-center-top,.ios .navbars+.toolbar-top-ios.tabbar-icons~* .fab-center-top,.navbars+.toolbar-top.tabbar-icons~* .fab-right-top,.ios .navbars+.toolbar-top-ios.tabbar-icons~* .fab-right-top,.navbars+.toolbar-top.tabbar-icons~.fab-left-top,.ios .navbars+.toolbar-top-ios.tabbar-icons~.fab-left-top,.navbars+.toolbar-top.tabbar-icons~.fab-center-top,.ios .navbars+.toolbar-top-ios.tabbar-icons~.fab-center-top,.navbars+.toolbar-top.tabbar-icons~.fab-right-top,.ios .navbars+.toolbar-top-ios.tabbar-icons~.fab-right-top{margin-top:calc(var(--f7-tabbar-icons-height) + var(--f7-navbar-height) + var(--f7-safe-area-top))}.ios .fab>a.active-state,.ios .fab-buttons a.active-state{transition-duration:0ms;background-color:var(--f7-fab-pressed-bg-color, var(--f7-theme-color-shade))}.md .fab>a.active-state,.md .fab-buttons a.active-state{background-color:var(--f7-fab-pressed-bg-color, var(--f7-fab-bg-color, var(--f7-theme-color)))}:root{--f7-searchbar-input-border-width: 0px;--f7-searchbar-input-border-color: transparent}.ios{--f7-searchbar-height: 44px;--f7-searchbar-inner-padding-left: 8px;--f7-searchbar-inner-padding-right: 8px;--f7-searchbar-input-font-size: 17px;--f7-searchbar-input-border-radius: 8px;--f7-searchbar-input-height: 32px;--f7-searchbar-inline-input-height: 32px;--f7-searchbar-input-padding-horizontal: 28px;--f7-searchbar-backdrop-bg-color: rgba(0, 0, 0, .4);--f7-searchbar-in-page-content-margin: 0px;--f7-searchbar-in-page-content-box-shadow: none;--f7-searchbar-in-page-content-border-radius: 0;--f7-searchbar-in-page-content-input-border-radius: 0;--f7-searchbar-placeholder-color: rgba(0, 0, 0, .4);--f7-searchbar-input-text-color: #000;--f7-searchbar-search-icon-color: rgba(0, 0, 0, .4);--f7-searchbar-input-bg-color: #e4e4e4}.ios .dark,.ios.dark{--f7-searchbar-placeholder-color: rgba(255, 255, 255, .4);--f7-searchbar-input-text-color: #fff;--f7-searchbar-search-icon-color: rgba(255, 255, 255, .4);--f7-searchbar-input-bg-color: #2a2a2a}.md{--f7-searchbar-border-color: transparent;--f7-searchbar-height: 48px;--f7-searchbar-inner-padding-left: 8px;--f7-searchbar-inner-padding-right: 8px;--f7-searchbar-input-font-size: 16px;--f7-searchbar-input-border-radius: 24px;--f7-searchbar-input-height: 48px;--f7-searchbar-inline-input-height: 48px;--f7-searchbar-inline-input-border-radius: 24px;--f7-searchbar-input-padding-horizontal: 16px;--f7-searchbar-inline-input-padding-horizontal: 16px;--f7-searchbar-backdrop-bg-color: rgba(0, 0, 0, .25);--f7-searchbar-in-page-content-margin: 16px 0;--f7-searchbar-in-page-content-box-shadow: none;--f7-searchbar-in-page-content-border-radius: 24px;--f7-searchbar-in-page-content-input-border-radius: 24px;--f7-searchbar-bg-color: transparent}.md,.md .dark,.md [class*=color-]{--f7-searchbar-link-color: var(--f7-md-on-surface);--f7-searchbar-search-icon-color: var(--f7-md-on-surface);--f7-searchbar-input-clear-button-color: var(--f7-md-on-surface);--f7-searchbar-placeholder-color: var(--f7-md-on-surface-variant);--f7-searchbar-input-bg-color: var(--f7-md-secondary-container);--f7-searchbar-input-text-color: var(--f7-md-on-surface)}.searchbar{--f7-link-highlight-color: var(--f7-link-highlight-black);width:100%;position:relative;z-index:200;height:var(--f7-searchbar-height);background-color:var(--f7-searchbar-bg-color, var(--f7-bars-bg-color))}.dark .searchbar{--f7-link-highlight-color: var(--f7-link-highlight-white)}.searchbar input[type=search]::-webkit-search-decoration{display:none}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-bars .searchbar{background-color:rgba(var(--f7-searchbar-bg-color-rgb, var(--f7-bars-bg-color-rgb)),var(--f7-bars-translucent-opacity));-webkit-backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur));backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur))}}.ios .subnavbar .searchbar{background-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.ios .subnavbar .searchbar:after{display:none!important}.searchbar.no-outline:after{display:none!important}.searchbar:after{content:"";position:absolute;background-color:var(--f7-searchbar-border-color, var(--f7-bars-border-color));display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.page>.searchbar:not(.searchbar-inline){z-index:600}.searchbar input[type=text],.searchbar input[type=search]{box-sizing:border-box;width:100%;height:100%;display:block;border:var(--f7-searchbar-input-border-width) solid var(--f7-searchbar-input-border-color);-webkit-appearance:none;appearance:none;font-family:inherit;font-weight:400;color:var(--f7-searchbar-input-text-color);font-size:var(--f7-searchbar-input-font-size);background-color:var(--f7-searchbar-input-bg-color);border-radius:var(--f7-searchbar-input-border-radius);position:relative;padding:0;padding-left:calc(var(--f7-searchbar-input-padding-horizontal) + var(--f7-searchbar-input-extra-padding-left, 0px));padding-right:calc(var(--f7-searchbar-input-padding-horizontal) + var(--f7-searchbar-input-extra-padding-right, 0px))}.searchbar input[type=text]::placeholder,.searchbar input[type=search]::placeholder{color:var(--f7-searchbar-placeholder-color);opacity:1}.searchbar input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.searchbar .searchbar-input-wrap{flex-shrink:1;width:100%;height:var(--f7-searchbar-input-height);position:relative}.searchbar a{color:var(--f7-searchbar-link-color, var(--f7-bars-link-color, var(--f7-theme-color)))}.page>.searchbar:not(.searchbar-inline){position:absolute;left:0;top:0}.page-content .searchbar:not(.searchbar-inline){border-radius:var(--f7-searchbar-in-page-content-border-radius);margin:var(--f7-searchbar-in-page-content-margin);width:auto;box-shadow:var(--f7-searchbar-in-page-content-box-shadow)}.page-content .searchbar:not(.searchbar-inline) .searchbar-inner,.page-content .searchbar:not(.searchbar-inline) input[type=text],.page-content .searchbar:not(.searchbar-inline) input[type=search]{border-radius:var(--f7-searchbar-in-page-content-input-border-radius, var(--f7-searchbar-input-border-radius))}.searchbar .input-clear-button{color:var(--f7-searchbar-input-clear-button-color, var(--f7-input-clear-button-color))}.searchbar-expandable{--f7-searchbar-expandable-size: var(--f7-searchbar-height);position:absolute;transition-duration:.3s;pointer-events:none}.navbar .searchbar-expandable{background:transparent}.navbar .searchbar-expandable:after{display:none!important}.navbar .searchbar.searchbar-expandable{--f7-searchbar-expandable-size: calc(var(--f7-navbar-height) + var(--f7-safe-area-top))}.navbar .searchbar.searchbar-expandable .searchbar-inner{top:var(--f7-safe-area-top);height:calc(100% - var(--f7-safe-area-top))}.toolbar .searchbar.searchbar-expandable{--f7-searchbar-expandable-size: var(--f7-toolbar-height)}.subnavbar .searchbar.searchbar-expandable{--f7-searchbar-expandable-size: var(--f7-subnavbar-height)}.tabbar-icons .searchbar.searchbar-expandable{--f7-searchbar-expandable-size: var(--f7-tabbar-icons-height)}.searchbar-inner{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;align-items:center;box-sizing:border-box;padding:0 calc(var(--f7-searchbar-inner-padding-right) + var(--f7-safe-area-right)) 0 calc(var(--f7-searchbar-inner-padding-left) + var(--f7-safe-area-left))}.searchbar-disable-button{cursor:pointer;pointer-events:none;-webkit-appearance:none;appearance:none;background:none;border:none;outline:0;padding:0;margin:0;width:auto;opacity:0}.searchbar-icon{pointer-events:none;background-position:center;background-repeat:no-repeat}.searchbar-icon:after{color:var(--f7-searchbar-search-icon-color);font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px}.searchbar-backdrop{position:absolute;left:0;top:0;width:100%;height:100%;z-index:100;opacity:0;pointer-events:none;transition-duration:.3s;transform:translateZ(0);background:var(--f7-searchbar-backdrop-bg-color)}.searchbar-backdrop.searchbar-backdrop-in{opacity:1;pointer-events:auto}.page-content>.searchbar-backdrop{position:fixed}.searchbar-not-found{display:none}.hidden-by-searchbar,.list .hidden-by-searchbar,.list.li.hidden-by-searchbar,.list li.hidden-by-searchbar{display:none!important}.navbar.with-searchbar-expandable-enabled-no-transition,.navbar.with-searchbar-expandable-enabled{--f7-navbar-large-collapse-progress: 1}.navbar.with-searchbar-expandable-enabled .navbar-bg,.navbar.with-searchbar-expandable-enabled .title-large,.navbar.with-searchbar-expandable-enabled .title-large-text,.navbar.with-searchbar-expandable-closing .navbar-bg,.navbar.with-searchbar-expandable-closing .title-large,.navbar.with-searchbar-expandable-closing .title-large-text{transition-duration:.3s}.page-content.with-searchbar-expandable-enabled{height:calc(100% + var(--f7-navbar-large-title-height));transform:translateY(calc(-1 * var(--f7-navbar-large-title-height)));transition-duration:.3s;transition-property:transform}.page-content.with-searchbar-expandable-closing{transition-duration:.3s}.navbar~.page:not(.no-navbar)>.searchbar,.navbars~.page:not(.no-navbar)>.searchbar,.page>.navbar~.searchbar{top:calc(var(--f7-navbar-height) + var(--f7-safe-area-top))}.navbar~.page-with-navbar-large:not(.no-navbar) .searchbar,.navbars~.page-with-navbar-large:not(.no-navbar) .searchbar,.page-with-navbar-large .navbar~.searchbar,.page-with-navbar-large .navbar~* .searchbar{top:calc(var(--f7-navbar-height) + var(--f7-navbar-large-title-height) + var(--f7-safe-area-top));transform:translate3d(0,calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)),0)}.navbars~.page-with-navbar-large:not(.no-navbar) .page-content .searchbar,.page-with-navbar-large .page-content .searchbar{top:0;transform:none}.searchbar~*{--f7-page-searchbar-offset: var(--f7-searchbar-height)}.page>.toolbar-top~.searchbar,.ios .page>.toolbar-top-ios~.searchbar,.md .page>.toolbar-top-md~.searchbar{top:var(--f7-toolbar-height)}.page>.tabbar-icons.toolbar-top~.searchbar,.ios .page>.tabbar-icons.toolbar-top-ios~.searchbar,.md .page>.tabbar-icons.toolbar-top-md~.searchbar{top:var(--f7-tabbar-icons-height)}.page>.navbar~.toolbar-top~.searchbar,.ios .page>.navbar~.toolbar-top-ios~.searchbar,.md .page>.navbar~.toolbar-top-md~.searchbar{top:calc(var(--f7-navbar-height) + var(--f7-toolbar-height) + var(--f7-safe-area-top))}.page>.navbar~.tabbar-icons.toolbar-top~.searchbar,.ios .page>.navbar~.tabbar-icons.toolbar-top-ios~.searchbar,.md .page>.navbar~.tabbar-icons.toolbar-top-md~.searchbar{top:calc(var(--f7-navbar-height) + var(--f7-tabbar-icons-height) + var(--f7-safe-area-top))}.searchbar.searchbar-inline{width:auto;height:auto;background-color:transparent;background-image:none}.searchbar.searchbar-inline:after,.searchbar.searchbar-inline:before{display:none!important}.searchbar.searchbar-inline .searchbar-input-wrap{height:var(--f7-searchbar-inline-input-height, var(--f7-searchbar-input-height))}.searchbar.searchbar-inline .searchbar-inner{padding:0;position:static;width:auto;height:auto}.searchbar.searchbar-inline input[type=text],.searchbar.searchbar-inline input[type=search]{font-size:var(--f7-searchbar-inline-input-font-size, var(--f7-searchbar-input-font-size));border-radius:var(--f7-searchbar-inline-input-border-radius, var(--f7-searchbar-input-border-radius));padding-left:calc(var(--f7-searchbar-inline-input-padding-horizontal, var(--f7-searchbar-input-padding-horizontal)) + var(--f7-searchbar-input-extra-padding-left, 0px));padding-right:calc(var(--f7-searchbar-inline-input-padding-horizontal, var(--f7-searchbar-input-padding-horizontal)) + var(--f7-searchbar-input-extra-padding-right, 0px))}.ios .searchbar input[type=search],.ios .searchbar input[type=text]{z-index:30}.ios .searchbar .input-clear-button{z-index:40;right:7px}.ios .searchbar-icon{width:13px;height:13px;position:absolute;top:50%;margin-top:-6px;z-index:40;left:8px}.ios .searchbar-icon:after{content:"search_ios";line-height:13px}.ios .searchbar-disable-button{font-size:17px;flex-shrink:0;transform:translateZ(0);transition-duration:.3s;color:var(--f7-searchbar-link-color, var(--f7-bars-link-color, var(--f7-theme-color)));display:none}.ios .searchbar-disable-button.active-state{transition-duration:0ms;opacity:.3!important}.ios .searchbar-enabled .searchbar-disable-button{pointer-events:auto;opacity:1;margin-left:8px}.ios .searchbar:not(.searchbar-enabled) .searchbar-disable-button{transition-duration:.3s!important}.ios .searchbar-expandable{left:0;bottom:0;opacity:1;width:100%;height:0%;transform:translateZ(0);overflow:hidden}.ios .searchbar-expandable .searchbar-disable-button{margin-left:8px;opacity:1;display:block}.ios .searchbar-expandable .searchbar-inner{height:var(--f7-searchbar-expandable-size)}.ios .navbar.with-searchbar-expandable-enabled .navbar-bg,.ios .navbar.with-searchbar-expandable-closing .navbar-bg{transition-property:transform,opacity}.ios .navbar.with-searchbar-expandable-enabled .navbar-bg,.ios .navbar.with-searchbar-expandable-closing .navbar-bg,.ios .navbar.with-searchbar-expandable-enabled .left,.ios .navbar.with-searchbar-expandable-closing .left,.ios .navbar.with-searchbar-expandable-enabled .title,.ios .navbar.with-searchbar-expandable-closing .title,.ios .navbar.with-searchbar-expandable-enabled .right,.ios .navbar.with-searchbar-expandable-closing .right{transition-duration:.3s}.ios .navbar.with-searchbar-expandable-enabled .left,.ios .navbar.with-searchbar-expandable-enabled-no-transition .left,.ios .navbar.with-searchbar-expandable-enabled .title,.ios .navbar.with-searchbar-expandable-enabled-no-transition .title,.ios .navbar.with-searchbar-expandable-enabled .right,.ios .navbar.with-searchbar-expandable-enabled-no-transition .right{transform:translateY(calc(-1 * var(--f7-navbar-height)));opacity:0!important}.ios .searchbar-expandable.searchbar-enabled{opacity:1;height:var(--f7-searchbar-expandable-size);pointer-events:auto}.md .searchbar-icon,.md .searchbar-disable-button{position:absolute;top:50%;transition-duration:.3s}.md .searchbar-icon{width:48px;height:48px;left:0;top:0;display:flex;align-items:center;justify-content:center;left:var(--f7-safe-area-left)}.md .searchbar-icon:after{width:auto;height:auto;content:"search_md";line-height:1.2}.md .searchbar-disable-button{width:48px;height:48px;transform:rotate(-90deg) scale(.5);font-size:0!important;display:block;margin-top:-24px;color:var(--f7-searchbar-link-color, var(--f7-bars-link-color, var(--f7-theme-color)));left:calc(var(--f7-searchbar-inner-padding-left) + var(--f7-safe-area-left))}.md .searchbar-disable-button:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;line-height:48px;content:"arrow_left_md"}.md .searchbar-enabled:not(.searchbar-enabled-no-disable-button) .searchbar-disable-button{transform:rotate(0) scale(1);pointer-events:auto;opacity:1}.md .searchbar-enabled:not(.searchbar-enabled-no-disable-button) .searchbar-icon{opacity:0;transform:rotate(90deg) scale(.5)}.md .searchbar{--f7-searchbar-input-extra-padding-left: 34px}.md .searchbar .input-clear-button{width:48px;height:48px;margin-top:-24px;right:0}.md .searchbar .input-clear-button:after{line-height:48px;content:"delete_round_md";opacity:1}.md .searchbar .input-clear-button:before{display:none}.md .searchbar-inline{--f7-searchbar-input-extra-padding-left: 32px}.md .page>.searchbar,.md .subnavbar .searchbar,.md .searchbar-expandable{--f7-searchbar-input-extra-padding-left: 34px}.md .page>.searchbar .searchbar-disable-button,.md .subnavbar .searchbar .searchbar-disable-button,.md .searchbar-expandable .searchbar-disable-button{left:calc(var(--f7-searchbar-inner-padding-left) + var(--f7-safe-area-left))}.md .page>.searchbar .searchbar-icon,.md .subnavbar .searchbar .searchbar-icon,.md .searchbar-expandable .searchbar-icon{left:var(--f7-safe-area-left)}.md .searchbar-expandable{--f7-searchbar-inner-padding-left: 4px;--f7-searchbar-inner-padding-right: 4px;height:var(--f7-searchbar-expandable-size);opacity:0;bottom:0;border-radius:calc(var(--f7-searchbar-expandable-size));width:calc(var(--f7-searchbar-expandable-size));margin-top:calc(var(--f7-searchbar-expandable-size) * -1 / 2);transform:translateZ(0);background-color:var(--f7-searchbar-input-bg-color);left:100%;margin-left:calc(var(--f7-searchbar-expandable-size) * -1)}.md .searchbar-expandable.searchbar-enabled{width:100%;border-radius:0;opacity:1;pointer-events:auto;margin-top:0;left:0;margin-left:0}:root{--f7-message-text-header-opacity: .65;--f7-message-text-header-font-size: 12px;--f7-message-text-footer-opacity: .65;--f7-message-text-footer-font-size: 12px;--f7-message-bubble-line-height: 1.2;--f7-message-header-font-size: 12px;--f7-message-footer-font-size: 11px;--f7-message-name-font-size: 12px;--f7-message-name-font-weight: inherit;--f7-message-avatar-border-radius: 50%;--f7-messages-title-font-weight: inherit;--f7-message-typing-indicator-bg-color: #000}:root .dark,:root.dark{--f7-message-typing-indicator-bg-color: #fff}.ios{--f7-message-text-header-text-color: inherit;--f7-message-text-footer-text-color: inherit;--f7-messages-title-font-size: 11px;--f7-message-avatar-size: 29px;--f7-message-margin: 10px;--f7-message-bubble-min-height: 32px;--f7-message-bubble-font-size: 17px;--f7-message-bubble-border-radius: 16px;--f7-message-bubble-padding-vertical: 6px;--f7-message-bubble-padding-horizontal: 16px;--f7-message-typing-indicator-opacity: .35;--f7-message-sent-text-color: #fff;--f7-messages-content-bg-color: #fff;--f7-message-received-text-color: #000;--f7-message-received-bg-color: #e5e5ea;--f7-messages-title-text-color: rgba(0, 0, 0, .45);--f7-message-header-text-color: rgba(0, 0, 0, .45);--f7-message-footer-text-color: rgba(0, 0, 0, .45);--f7-message-name-text-color: rgba(0, 0, 0, .45)}.ios .dark,.ios.dark{--f7-message-received-bg-color: #252525;--f7-message-received-text-color: #fff;--f7-messages-content-bg-color: transparent;--f7-messages-title-text-color: rgba(255, 255, 255, .54);--f7-message-header-text-color: rgba(255, 255, 255, .54);--f7-message-name-text-color: rgba(255, 255, 255, .54);--f7-message-footer-text-color: rgba(255, 255, 255, .54)}.md{--f7-messages-content-bg-color: transparent;--f7-messages-title-font-size: 12px;--f7-message-avatar-size: 32px;--f7-message-margin: 16px;--f7-message-bubble-min-height: 40px;--f7-message-bubble-font-size: 16px;--f7-message-bubble-border-radius: 20px;--f7-message-bubble-padding-vertical: 10px;--f7-message-bubble-padding-horizontal: 16px;--f7-message-typing-indicator-opacity: .6}.md,.md .dark,.md [class*=color-]{--f7-message-sent-bg-color: var(--f7-md-primary);--f7-message-sent-text-color: var(--f7-md-on-primary);--f7-message-received-bg-color: var(--f7-md-surface-variant);--f7-message-received-text-color: var(--f7-md-on-surface);--f7-message-text-header-text-color: var(--f7-md-on-surface-variant);--f7-message-text-footer-text-color: var(--f7-md-on-surface-variant);--f7-messages-title-text-color: var(--f7-md-on-surface-variant);--f7-message-header-text-color: var(--f7-md-on-surface-variant);--f7-message-footer-text-color: var(--f7-md-on-surface-variant);--f7-message-name-text-color: var(--f7-md-on-surface-variant)}.messages-content,.messages{background:var(--f7-messages-content-bg-color)}.messages{display:flex;flex-direction:column;min-height:100%;position:relative;z-index:1}.messages-title,.message{margin-top:var(--f7-message-margin)}.messages-title:last-child,.message:last-child{margin-bottom:var(--f7-message-margin)}.messages-title{text-align:center;width:100%;line-height:1;color:var(--f7-messages-title-text-color);font-size:var(--f7-messages-title-font-size);font-weight:var(--f7-messages-title-font-weight)}.message{max-width:70%;box-sizing:border-box;display:flex;align-items:flex-end;position:relative;z-index:1;transform:translateZ(0)}.message-avatar{border-radius:var(--f7-message-avatar-border-radius);position:relative;background-size:cover;align-self:flex-end;flex-shrink:0;width:var(--f7-message-avatar-size);height:var(--f7-message-avatar-size)}.message-content{position:relative;display:flex;flex-direction:column}.message-header,.message-footer,.message-name{line-height:1}.message-header{color:var(--f7-message-header-text-color);font-size:var(--f7-message-header-font-size)}.message-footer{color:var(--f7-message-footer-text-color);font-size:var(--f7-message-footer-font-size);margin-bottom:-1em}.message-name{color:var(--f7-message-name-text-color);font-size:var(--f7-message-name-font-size);font-weight:var(--f7-message-name-font-weight)}.message-bubble{box-sizing:border-box;word-break:break-word;display:flex;flex-direction:column;position:relative;line-height:var(--f7-message-bubble-line-height);font-size:var(--f7-message-bubble-font-size);border-radius:var(--f7-message-bubble-border-radius);padding:var(--f7-message-bubble-padding-vertical) var(--f7-message-bubble-padding-horizontal);min-height:var(--f7-message-bubble-min-height)}.message-image img{display:block;max-width:100%;height:auto;width:auto}.message-text-header,.message-text-footer{line-height:1}.message-text-header{color:var(--f7-message-text-header-text-color);opacity:var(--f7-message-text-header-opacity);font-size:var(--f7-message-text-header-font-size)}.message-text-footer{color:var(--f7-message-text-footer-text-color);opacity:var(--f7-message-text-footer-opacity);font-size:var(--f7-message-text-footer-font-size)}.message-text{text-align:left}.message-sent{text-align:right;flex-direction:row-reverse;align-self:flex-end}.message-sent .message-bubble{color:var(--f7-message-sent-text-color);background:var(--f7-message-sent-bg-color, var(--f7-theme-color))}.message-sent .message-content{align-items:flex-end}.message-received{flex-direction:row}.message-received .message-bubble{color:var(--f7-message-received-text-color);background:var(--f7-message-received-bg-color)}.message-received .message-content{align-items:flex-start}.message:not(.message-last) .message-avatar{opacity:0}.message:not(.message-first) .message-name{display:none}.message.message-same-name .message-name,.message.message-same-header .message-header,.message.message-same-footer .message-footer{display:none}.message-appear-from-bottom{animation:message-appear-from-bottom .3s}.message-appear-from-top{animation:message-appear-from-top .3s}.message-typing-indicator{display:inline-block;font-size:0;vertical-align:middle}.message-typing-indicator>div{display:inline-block;position:relative;background:var(--f7-message-typing-indicator-bg-color);opacity:var(--f7-message-typing-indicator-opacity);vertical-align:middle;border-radius:50%}@keyframes message-appear-from-bottom{0%{transform:translate3d(0,100%,0)}to{transform:translateZ(0)}}@keyframes message-appear-from-top{0%{transform:translate3d(0,-100%,0)}to{transform:translateZ(0)}}.ios .messages-title b,.ios .message-header b,.ios .message-footer b,.ios .message-name b{font-weight:600}.ios .message-header,.ios .message-name{margin-bottom:3px}.ios .message-footer{margin-top:3px}.ios .message-bubble{min-width:48px}.ios .message-image{margin:var(--f7-message-bubble-padding-vertical) calc(-1 * var(--f7-message-bubble-padding-horizontal))}.ios .message-image:first-child{margin-top:calc(-1 * var(--f7-message-bubble-padding-vertical))}.ios .message-image:first-child img{border-top-left-radius:var(--f7-message-bubble-border-radius);border-top-right-radius:var(--f7-message-bubble-border-radius)}.ios .message-image:last-child{margin-bottom:calc(-1 * var(--f7-message-bubble-padding-vertical))}.ios .message-image:last-child img{border-bottom-left-radius:var(--f7-message-bubble-border-radius);border-bottom-right-radius:var(--f7-message-bubble-border-radius)}.ios .message-text-header{margin-bottom:3px}.ios .message-text-footer{margin-top:3px}.ios .message-received{margin-left:calc(10px + var(--f7-safe-area-left))}.ios .message-received .message-header,.ios .message-received .message-footer,.ios .message-received .message-name{margin-left:var(--f7-message-bubble-padding-horizontal)}.ios .message-received .message-bubble{padding-left:calc(var(--f7-message-bubble-padding-horizontal) + 6px);-webkit-mask-box-image:url("data:image/svg+xml;charset=utf-8,") 50% 42% 46% 56%}.ios .message-received .message-image{margin-left:calc(-1 * (var(--f7-message-bubble-padding-horizontal) + 6px))}.ios .message-received.message-tail .message-bubble{border-radius:var(--f7-message-bubble-border-radius) var(--f7-message-bubble-border-radius) var(--f7-message-bubble-border-radius) 0}.ios .message-received.message-tail:not(.message-typing) .message-bubble{-webkit-mask-box-image:url("data:image/svg+xml;charset=utf-8,") 50% 42% 46% 56%}.ios .message-received.message-tail:not(.message-typing) .message-bubble .message-image:last-child img{border-bottom-left-radius:0}.ios .message-sent{margin-right:calc(10px + var(--f7-safe-area-right))}.ios .message-sent .message-header,.ios .message-sent .message-footer,.ios .message-sent .message-name{margin-right:var(--f7-message-bubble-padding-horizontal)}.ios .message-sent .message-bubble{padding-right:calc(var(--f7-message-bubble-padding-horizontal) + 6px);-webkit-mask-box-image:url("data:image/svg+xml;charset=utf-8,") 50% 56% 46% 42%}.ios .message-sent .message-image{margin-right:calc(-1 * (var(--f7-message-bubble-padding-horizontal) + 6px))}.ios .message-sent.message-tail .message-bubble{border-radius:var(--f7-message-bubble-border-radius) var(--f7-message-bubble-border-radius) 0 var(--f7-message-bubble-border-radius)}.ios .message-sent.message-tail .message-bubble{-webkit-mask-box-image:url("data:image/svg+xml;charset=utf-8,") 50% 56% 46% 42%}.ios .message-sent.message-tail .message-bubble .message-image:last-child img{border-bottom-right-radius:0}.ios .message+.message:not(.message-first){margin-top:1px}.ios .message-received.message-typing .message-content:after,.ios .message-received.message-typing .message-content:before{content:"";position:absolute;background:var(--f7-message-received-bg-color);border-radius:50%}.ios .message-received.message-typing .message-content:after{width:11px;height:11px;left:4px;bottom:0px}.ios .message-received.message-typing .message-content:before{width:6px;height:6px;left:-1px;bottom:-4px}.ios .message-typing-indicator>div{width:9px;height:9px}.ios .message-typing-indicator>div+div{margin-left:4px}.ios .message-typing-indicator>div:nth-child(1){animation:ios-message-typing-indicator .9s infinite}.ios .message-typing-indicator>div:nth-child(2){animation:ios-message-typing-indicator .9s .15s infinite}.ios .message-typing-indicator>div:nth-child(3){animation:ios-message-typing-indicator .9s .3s infinite}@keyframes ios-message-typing-indicator{0%{opacity:.35}25%{opacity:.2}50%{opacity:.2}}.md .messages-title b,.md .message-header b,.md .message-footer b,.md .message-name b{font-weight:500}.md .message-header,.md .message-name{margin-bottom:2px}.md .message-footer{margin-top:2px}.md .message-text-header{margin-bottom:4px}.md .message-text-footer{margin-top:4px}.md .message-image{margin:calc(-1 * var(--f7-message-bubble-padding-vertical)) calc(-1 * var(--f7-message-bubble-padding-horizontal))}.md .message-image,.md .message-image img{border-radius:var(--f7-message-bubble-border-radius)}.md .message-received{margin-left:calc(8px + var(--f7-safe-area-left))}.md .message-received .message-name,.md .message-received .message-header,.md .message-received .message-footer{margin-left:16px}.md .message-received.message-first:not(.message-last) .message-bubble,.md .message-received.message-first:not(.message-last) .message-image,.md .message-received.message-first:not(.message-last) .message-image img{border-bottom-left-radius:4px}.md .message-received.message-last:not(.message-first) .message-bubble,.md .message-received.message-last:not(.message-first) .message-image,.md .message-received.message-last:not(.message-first) .message-image img{border-top-left-radius:4px}.md .message-received:not(.message-last):not(.message-first) .message-bubble,.md .message-received:not(.message-last):not(.message-first) .message-image,.md .message-received:not(.message-last):not(.message-first) .message-image img{border-bottom-left-radius:4px;border-top-left-radius:4px}.md .message-received .message-avatar+.message-content{margin-left:8px}.md .message-sent{margin-right:calc(8px + var(--f7-safe-area-right))}.md .message-sent .message-name,.md .message-sent .message-header,.md .message-sent .message-footer{margin-right:16px}.md .message-sent.message-first:not(.message-last) .message-bubble,.md .message-sent.message-first:not(.message-last) .message-image,.md .message-sent.message-first:not(.message-last) .message-image img{border-bottom-right-radius:4px}.md .message-sent.message-last:not(.message-first) .message-bubble,.md .message-sent.message-last:not(.message-first) .message-image,.md .message-sent.message-last:not(.message-first) .message-image img{border-top-right-radius:4px}.md .message-sent:not(.message-last):not(.message-first) .message-bubble,.md .message-sent:not(.message-last):not(.message-first) .message-image,.md .message-sent:not(.message-last):not(.message-first) .message-image img{border-bottom-right-radius:4px;border-top-right-radius:4px}.md .message-sent .message-avatar+.message-content{margin-right:var(--f7-message-bubble-padding-horizontal)}.md .message+.message:not(.message-first){margin-top:2px}.md .message-typing-indicator>div{width:6px;height:6px}.md .message-typing-indicator>div+div{margin-left:6px}.md .message-typing-indicator>div:nth-child(1){animation:md-message-typing-indicator .9s infinite}.md .message-typing-indicator>div:nth-child(2){animation:md-message-typing-indicator .9s .15s infinite}.md .message-typing-indicator>div:nth-child(3){animation:md-message-typing-indicator .9s .3s infinite}@keyframes md-message-typing-indicator{0%{transform:translateY(0)}25%{transform:translateY(-5px)}50%{transform:translateY(0)}}:root{--f7-messagebar-attachments-height: 155px;--f7-messagebar-sheet-height: 252px;--f7-messagebar-sheet-landscape-height: 192px}.ios{--f7-messagebar-height: 44px;--f7-messagebar-font-size: 17px;--f7-messagebar-textarea-bg-color: transparent;--f7-messagebar-border-color: transparent;--f7-messagebar-textarea-border-radius: 17px;--f7-messagebar-textarea-padding: 6px 16px;--f7-messagebar-textarea-height: 34px;--f7-messagebar-textarea-font-size: 17px;--f7-messagebar-textarea-line-height: 20px;--f7-messagebar-sheet-bg-color: #d1d5da;--f7-messagebar-sheet-border-color: transparent;--f7-messagebar-attachment-border-radius: 12px;--f7-messagebar-attachment-height: 155px;--f7-messagebar-attachment-landscape-height: 120px;--f7-messagebar-textarea-placeholder-color: rgba(0, 0, 0, .4);--f7-messagebar-textarea-text-color: #000;--f7-messagebar-textarea-border: 1px solid #c8c8cd;--f7-messagebar-attachments-border-color: #c8c8cd;--f7-messagebar-bg-color: #fff;--f7-messagebar-bg-color-rgb: 255, 255, 255}.ios .dark,.ios.dark{--f7-messagebar-textarea-placeholder-color: rgba(255, 255, 255, .4);--f7-messagebar-textarea-text-color: #fff;--f7-messagebar-textarea-border: 1px solid var(--f7-bars-border-color);--f7-messagebar-attachments-border-color: var(--f7-bars-border-color);--f7-messagebar-bg-color: var(--f7-bars-bg-color);--f7-messagebar-bg-color-rgb: var(--f7-bars-bg-color-rgb)}.md{--f7-messagebar-height: 64px;--f7-messagebar-font-size: 16px;--f7-messagebar-textarea-border-radius: 24px;--f7-messagebar-textarea-padding: 12px 16px;--f7-messagebar-textarea-height: 48px;--f7-messagebar-textarea-font-size: 16px;--f7-messagebar-textarea-line-height: 22px;--f7-messagebar-textarea-border: 1px solid transparent;--f7-messagebar-attachment-border-radius: 12px;--f7-messagebar-attachment-height: 72px;--f7-messagebar-attachment-landscape-height: 72px;--f7-messagebar-border-color: transparent;--f7-messagebar-attachments-border-color: transparent}.md,.md .dark,.md [class*=color-]{--f7-messagebar-textarea-placeholder-color: var(--f7-md-on-surface-variant);--f7-messagebar-textarea-bg-color: var(--f7-md-surface-variant);--f7-messagebar-bg-color: var(--f7-md-surface);--f7-messagebar-textarea-text-color: var(--f7-md-on-surface);--f7-messagebar-sheet-bg-color: var(--f7-md-surface);--f7-messagebar-sheet-border-color: var(--f7-md-outline-variant);--f7-messagebar-link-color: var(--f7-md-on-surface)}.messagebar{transform:translateZ(0);background:var(--f7-messagebar-bg-color);height:auto;min-height:var(--f7-messagebar-height);font-size:var(--f7-messagebar-font-size);padding-bottom:var(--f7-safe-area-bottom);bottom:0}.messagebar:before{content:"";position:absolute;background-color:var(--f7-messagebar-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-bars .messagebar{background-color:rgba(var(--f7-messagebar-bg-color-rgb),var(--f7-bars-translucent-opacity));-webkit-backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur));backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur))}}.messagebar.no-outline:before{display:none!important}.messagebar.toolbar-hidden:after{display:none!important}.messagebar .toolbar-inner{top:auto;position:relative;height:auto;bottom:auto;padding-left:calc(var(--f7-messagebar-inner-padding-left, var(--f7-toolbar-inner-padding-left)) + var(--f7-safe-area-left));padding-right:calc(var(--f7-messagebar-inner-padding-right, var(--f7-toolbar-inner-padding-right)) + var(--f7-safe-area-right))}.messagebar.messagebar-sheet-visible>.toolbar-inner{bottom:0}.messagebar .messagebar-area{width:100%;flex-shrink:1;overflow:hidden;position:relative}.messagebar textarea{width:100%;flex-shrink:1;background-color:var(--f7-messagebar-textarea-bg-color);border-radius:var(--f7-messagebar-textarea-border-radius);padding:var(--f7-messagebar-textarea-padding);height:var(--f7-messagebar-textarea-height);color:var(--f7-messagebar-textarea-text-color);font-size:var(--f7-messagebar-textarea-font-size);line-height:var(--f7-messagebar-textarea-line-height);border:var(--f7-messagebar-textarea-border)}.messagebar textarea::placeholder{color:var(--f7-messagebar-textarea-placeholder-color)}.messagebar a.link{align-self:flex-end;flex-shrink:0;color:var(--f7-messagebar-link-color, var(--f7-theme-color))}.messagebar-attachments{width:100%;overflow:auto;-webkit-overflow-scrolling:touch;font-size:0;white-space:nowrap;box-sizing:border-box;position:relative}.messagebar:not(.messagebar-attachments-visible) .messagebar-attachments{display:none}.messagebar-attachment{background-size:cover;background-position:center;background-repeat:no-repeat;display:inline-block;vertical-align:middle;white-space:normal;height:var(--f7-messagebar-attachment-height);position:relative;border-radius:var(--f7-messagebar-attachment-border-radius)}@media (orientation: landscape){.messagebar-attachment{height:var(--f7-messagebar-attachment-landscape-height)}}.messagebar-attachment img{display:block;width:auto;height:100%;border-radius:var(--f7-messagebar-attachment-border-radius)}.messagebar-sheet{overflow:auto;-webkit-overflow-scrolling:touch;display:flex;flex-wrap:wrap;flex-direction:column;align-content:flex-start;height:var(--f7-messagebar-sheet-height);background-color:var(--f7-messagebar-sheet-bg-color);border-top:1px solid var(--f7-messagebar-sheet-border-color);padding-left:var(--f7-safe-area-left);padding-right:var(--f7-safe-area-right)}@media (orientation: landscape){.messagebar-sheet{height:var(--f7-messagebar-sheet-landscape-height)}}.messagebar-sheet-image{background-size:cover;background-position:center;background-repeat:no-repeat}.messagebar-sheet-image>img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:inherit;transition-duration:.2s}.messagebar-attachment-delete{display:block;position:absolute;border-radius:50%;box-sizing:border-box;cursor:pointer}.messagebar-attachment-delete:after,.messagebar-attachment-delete:before{position:absolute;content:"";left:50%;top:50%}.messagebar-attachment-delete:after{transform:rotate(45deg)}.messagebar-attachment-delete:before{transform:rotate(-45deg)}.messagebar:not(.messagebar-sheet-visible) .messagebar-sheet{display:none}.messagebar~*{--f7-page-toolbar-bottom-offset: var(--f7-messagebar-height)}.ios .messagebar a.link.icon-only:first-child{margin-left:-8px}.ios .messagebar a.link.icon-only:last-child{margin-right:-8px}.ios .messagebar a.link:not(.icon-only)+.messagebar-area{margin-left:8px}.ios .messagebar .messagebar-area+a.link:not(.icon-only){margin-left:8px}.ios .messagebar-area{margin-top:5px;margin-bottom:5px}.ios .messagebar-attachments{padding:5px;border-radius:var(--f7-messagebar-textarea-border-radius) var(--f7-messagebar-textarea-border-radius) 0 0;border:1px solid var(--f7-messagebar-attachments-border-color);border-bottom:none}.ios .messagebar-attachments-visible .messagebar-attachments+textarea{border-radius:0 0 var(--f7-messagebar-textarea-border-radius) var(--f7-messagebar-textarea-border-radius)}.ios .messagebar-attachment{font-size:14px}.ios .messagebar-attachment+.messagebar-attachment{margin-left:8px}.ios .messagebar-attachment-delete{right:5px;top:5px;width:20px;height:20px;background:#7d7e80;border:2px solid #fff;box-shadow:0 0 2px #0003}.ios .messagebar-attachment-delete:after,.ios .messagebar-attachment-delete:before{width:10px;height:2px;background:#fff;margin-left:-5px;margin-top:-1px}.ios .messagebar-sheet-image,.ios .messagebar-sheet-item{box-sizing:border-box;flex-shrink:0;margin-top:1px;position:relative;overflow:hidden;height:calc((var(--f7-messagebar-sheet-height) - 2px) / 2);width:calc((var(--f7-messagebar-sheet-height) - 2px) / 2);margin-left:1px}@media (orientation: landscape){.ios .messagebar-sheet-image,.ios .messagebar-sheet-item{width:calc((var(--f7-messagebar-sheet-landscape-height) - 2px) / 2);height:calc((var(--f7-messagebar-sheet-landscape-height) - 2px) / 2)}}.ios .messagebar-sheet-image .icon-checkbox,.ios .messagebar-sheet-item .icon-checkbox,.ios .messagebar-sheet-image .icon-radio,.ios .messagebar-sheet-item .icon-radio{position:absolute;right:8px;bottom:8px;z-index:1}.md .messagebar{--f7-toolbar-link-height: var(--f7-messagebar-height)}.md .messagebar-attachments{padding:16px 16px 0;border-bottom:1px solid var(--f7-messagebar-attachments-border-color)}.md .messagebar-attachment img{width:var(--f7-messagebar-attachment-height);height:var(--f7-messagebar-attachment-height);object-fit:cover;object-position:center}.md .messagebar-attachment+.messagebar-attachment{margin-left:16px}.md .messagebar-attachments-visible .messagebar-attachments{background:var(--f7-messagebar-textarea-bg-color);border-radius:var(--f7-messagebar-textarea-border-radius) var(--f7-messagebar-textarea-border-radius) 0 0}.md .messagebar-attachments-visible textarea{border-top-left-radius:0;border-top-right-radius:0}.md .messagebar-area{margin-top:8px;margin-bottom:8px}.md .messagebar-attachment-delete{right:-6px;top:-6px;width:24px;height:24px;background-color:var(--f7-md-inverse-surface);border-radius:24px;border:2px solid var(--f7-messagebar-textarea-bg-color)}.md .messagebar-attachment-delete:after,.md .messagebar-attachment-delete:before{width:12px;height:2px;background:var(--f7-messagebar-textarea-bg-color);margin-left:-6px;margin-top:-1px}.md .messagebar-sheet-image,.md .messagebar-sheet-item{--f7-touch-ripple-color: transparent;box-sizing:border-box;flex-shrink:0;margin-top:8px;position:relative;overflow:hidden;height:calc((var(--f7-messagebar-sheet-height) - 24px) / 2);width:calc((var(--f7-messagebar-sheet-height) - 24px) / 2);border-radius:4px;margin-left:8px}@media (orientation: landscape){.md .messagebar-sheet-image,.md .messagebar-sheet-item{width:calc((var(--f7-messagebar-sheet-landscape-height) - 8px) / 2);height:calc((var(--f7-messagebar-sheet-landscape-height) - 24px) / 2)}}.md .messagebar-sheet-image input:checked~img,.md .messagebar-sheet-item input:checked~img{transform:scale(.85)}.md .messagebar-sheet-image input:checked~.icon-checkbox,.md .messagebar-sheet-item input:checked~.icon-checkbox,.md .messagebar-sheet-image input:checked~.icon-radio,.md .messagebar-sheet-item input:checked~.icon-radio{transform:translate(-50%,-50%) scale(1)}.md .messagebar-sheet-image .icon-checkbox,.md .messagebar-sheet-item .icon-checkbox,.md .messagebar-sheet-image .icon-radio,.md .messagebar-sheet-item .icon-radio{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.85);border:none;z-index:1;--f7-checkbox-inactive-color: var(--f7-md-surface);--f7-checkbox-active-color: var(--f7-md-surface)}.md .messagebar-sheet-image .icon-checkbox:after,.md .messagebar-sheet-item .icon-checkbox:after,.md .messagebar-sheet-image .icon-radio:after,.md .messagebar-sheet-item .icon-radio:after{color:var(--f7-md-on-surface);font-size:18px;width:auto;height:100%;line-height:32px;left:0;position:static}@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);font-weight:400;font-style:normal}:root{--swiper-theme-color: #007aff}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide,swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper:after{content:"";position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper:after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size: 44px}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size) / 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none!important}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;transform:translate3d(0,-50%,0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translate(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,:host(.swiper-horizontal.swiper-rtl) .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, .25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius, 10px);position:relative;-ms-touch-action:none;background:var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, .1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset, 1%);bottom:var(--swiper-scrollbar-bottom, 4px);top:var(--swiper-scrollbar-top, auto);z-index:50;height:var(--swiper-scrollbar-size, 4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-vertical>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-vertical{position:absolute;left:var(--swiper-scrollbar-left, auto);right:var(--swiper-scrollbar-right, 4px);top:var(--swiper-scrollbar-sides-offset, 1%);z-index:50;width:var(--swiper-scrollbar-size, 4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, .5));border-radius:var(--swiper-scrollbar-border-radius, 10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>img,.swiper-zoom-container>svg,.swiper-zoom-container>canvas{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification,swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev,.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-top,.swiper-cube .swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:"";background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-top,.swiper-flip .swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}:root{--f7-photobrowser-bg-color: #fff;--f7-photobrowser-bars-bg-color: rgba(var(--f7-bars-bg-color-rgb), .95);--f7-photobrowser-bars-text-color: var(--f7-bars-text-color);--f7-photobrowser-bars-link-color: var(--f7-bars-link-color);--f7-photobrowser-caption-font-size: 13px;--f7-photobrowser-caption-font-weight: 500;--f7-photobrowser-caption-light-text-color: #000;--f7-photobrowser-caption-dark-text-color: #fff;--f7-photobrowser-exposed-bg-color: #000;--f7-photobrowser-dark-bg-color: #000;--f7-photobrowser-dark-bars-bg-color: rgba(27, 27, 27, .8);--f7-photobrowser-dark-bars-text-color: #fff;--f7-photobrowser-dark-bars-link-color: #fff}.photo-browser{position:absolute;left:0;top:0;width:100%;height:100%;z-index:400}.photo-browser-standalone.modal-in{transition-duration:0ms;animation:photo-browser-in .4s}.photo-browser-standalone.modal-out{transition-duration:0ms;animation:photo-browser-out .4s!important}.photo-browser-standalone.modal-out.swipe-close-to-bottom,.photo-browser-standalone.modal-out.swipe-close-to-top{animation:none!important}.photo-browser-standalone.photo-browser-transitioning{transition:.4s;animation:none!important}.photo-browser-popup.modal-out.swipe-close-to-bottom,.photo-browser-popup.modal-out.swipe-close-to-top{transition-duration:.3s}.photo-browser-popup.modal-out.swipe-close-to-bottom{transform:translate3d(0,100vh,0)}.photo-browser-popup.modal-out.swipe-close-to-top{transform:translate3d(0,-100vh,0)}.photo-browser-page{background:none}.photo-browser-page .toolbar{transform:none}.photo-browser-popup{background:none}.photo-browser-of{margin:0 5px}.photo-browser-captions{pointer-events:none;position:absolute;left:0;width:100%;bottom:var(--f7-safe-area-bottom);z-index:10;opacity:1;transition-duration:.4s}.photo-browser-captions.photo-browser-captions-exposed{opacity:0}.toolbar~.toolbar.photo-browser-thumbs{bottom:calc(var(--f7-toolbar-height) + var(--f7-safe-area-bottom))}.page~.photo-browser-page:not(.photo-browser-exposed) .toolbar~.toolbar.photo-browser-thumbs,.photo-browser-popup:not(.photo-browser-exposed) .toolbar~.toolbar.photo-browser-thumbs,.photo-browser-standalone:not(.photo-browser-exposed) .toolbar~.toolbar.photo-browser-thumbs{height:var(--f7-toolbar-height)}.photo-browser-exposed .toolbar~.toolbar.photo-browser-thumbs{transform:translate3d(0,calc(var(--f7-toolbar-height) + var(--f7-safe-area-bottom, 0)),0)}.photo-browser-exposed .toolbar~.toolbar.photo-browser-thumbs .swiper{height:calc(100% - var(--f7-safe-area-bottom, 0))}.navbar+.toolbar.photo-browser-thumbs .swiper{height:calc(100% - var(--f7-safe-area-bottom, 0))}.toolbar~.photo-browser-captions{bottom:calc(var(--f7-toolbar-height) + var(--f7-safe-area-bottom));transform:translateZ(0)}.toolbar~.photo-browser-captions.photo-browser-captions-exposed{transform:translateZ(0)}.toolbar~.toolbar~.photo-browser-captions{bottom:calc(var(--f7-toolbar-height) * 2 + var(--f7-safe-area-bottom))}.toolbar~.toolbar~.photo-browser-captions.photo-browser-captions-exposed{transform:translate3d(0,var(--f7-toolbar-height),0)}.photo-browser-thumbs{transition-property:transform,background-color,color}.photo-browser-thumbs .swiper{width:100%;height:100%}.photo-browser-thumbs .swiper-slide{width:auto;display:flex;align-items:center;justify-content:center}.photo-browser-thumbs img{width:auto;height:75%;display:block;border-radius:2px;min-width:4px}.photo-browser-thumbs .swiper-slide img{transform:translate(-4px);transition-duration:.15s}.photo-browser-thumbs .swiper-slide-active img{transform:scale(1.2)}.photo-browser-thumbs .swiper-slide-active~.swiper-slide img{transform:translate(4px)}.photo-browser-caption{box-sizing:border-box;transition-duration:.4s;position:absolute;bottom:0;left:0;opacity:0;padding:4px 5px;width:100%;text-align:center;font-size:var(--f7-photobrowser-caption-font-size);font-weight:var(--f7-photobrowser-caption-font-weight)}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-bars .photo-browser-caption{-webkit-backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur));backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur))}}.photo-browser-caption:empty{display:none}.photo-browser-caption.photo-browser-caption-active{opacity:1}.photo-browser-captions-light .photo-browser-caption{color:var(--f7-photobrowser-caption-light-text-color)}.photo-browser-captions-dark .photo-browser-caption,.dark .photo-browser-caption{color:var(--f7-photobrowser-caption-dark-text-color)}.photo-browser-swiper-container{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;background:var(--f7-photobrowser-bg-color);transition:.4s;transition-property:background-color;touch-action:none}.photo-browser-prev.swiper-button-disabled,.photo-browser-next.swiper-button-disabled{opacity:.3;pointer-events:none}.photo-browser-slide{width:100%;height:100%;position:relative;overflow:hidden;display:flex;justify-content:center;align-items:center;flex-shrink:0;box-sizing:border-box}.photo-browser-slide span.swiper-zoom-container{display:none}.photo-browser-slide img{width:auto;height:auto;max-width:100%;max-height:100%;display:none}.photo-browser-slide.swiper-slide-active span.swiper-zoom-container,.photo-browser-slide.swiper-slide-next span.swiper-zoom-container,.photo-browser-slide.swiper-slide-prev span.swiper-zoom-container{display:flex}.photo-browser-slide.swiper-slide-active img,.photo-browser-slide.swiper-slide-next img,.photo-browser-slide.swiper-slide-prev img{display:inline}.photo-browser-slide.swiper-slide-active.photo-browser-slide-lazy .preloader,.photo-browser-slide.swiper-slide-next.photo-browser-slide-lazy .preloader,.photo-browser-slide.swiper-slide-prev.photo-browser-slide-lazy .preloader{display:block}.photo-browser-slide iframe{width:100%;height:100%}.photo-browser-slide .preloader{display:none;position:absolute;width:42px;height:42px;margin-left:-21px;margin-top:-21px;left:50%;top:50%}.navbar-photo-browser .right .link svg,.navbar-photo-browser .right .link i{width:24px;height:24px;display:block}.photo-browser-page .navbar-bg,.navbar-photo-browser .navbar-bg,.photo-browser-page .toolbar,.photo-browser-caption{background-color:var(--f7-photobrowser-bars-bg-color, rgba(var(--f7-bars-bg-color-rgb), .95))}.photo-browser-page{touch-action:none}.photo-browser-page .navbar,.photo-browser-page .toolbar{transform:translateZ(0);transition-duration:.4s;color:var(--f7-photobrowser-bars-text-color, var(--f7-bars-text-color))}.photo-browser-page .navbar a,.photo-browser-page .toolbar a{color:var(--f7-photobrowser-bars-link-color, var(--f7-bars-link-color, var(--f7-theme-color)))}.photo-browser-exposed .navbar,.photo-browser-exposed .toolbar:not(.photo-browser-thumbs){opacity:0;visibility:hidden;pointer-events:none}.photo-browser-exposed .toolbar:not(.photo-browser-thumbs)~.photo-browser-captions,.photo-browser-exposed .toolbar~.toolbar.photo-browser-thumbs~.photo-browser-captions{transform:translate3d(0,var(--f7-toolbar-height),0)}.photo-browser-exposed .photo-browser-swiper-container{background:var(--f7-photobrowser-exposed-bg-color)}.photo-browser-exposed .photo-browser-thumbs,.photo-browser-dark .photo-browser-thumbs,.photo-browser-exposed .toolbar,.photo-browser-dark .toolbar{background-color:var(--f7-photobrowser-dark-bars-bg-color)}.photo-browser-exposed .photo-browser-caption,.photo-browser-dark .photo-browser-caption{color:var(--f7-photobrowser-caption-dark-text-color);background-color:var(--f7-photobrowser-dark-bars-bg-color)}.view.with-photo-browser-page-exposed .navbar{opacity:0;pointer-events:none}.photo-browser-page .toolbar:before,.photo-browser-page .toolbar:after{display:none!important}.photo-browser-page-dark .navbar-bg,.navbar-photo-browser-dark .navbar-bg{background:var(--f7-photobrowser-dark-bars-bg-color)}.photo-browser-page-dark .navbar-bg:before,.navbar-photo-browser-dark .navbar-bg:before,.photo-browser-page-dark .navbar-bg:after,.navbar-photo-browser-dark .navbar-bg:after{display:none!important}.navbar-photo-browser-dark,.photo-browser-dark .navbar,.photo-browser-dark .toolbar,.photo-browser-page-dark .navbar,.photo-browser-page-dark .toolbar{color:var(--f7-photobrowser-dark-bars-text-color)}.navbar-photo-browser-dark a,.photo-browser-dark .navbar a,.photo-browser-dark .toolbar a,.photo-browser-page-dark .navbar a,.photo-browser-page-dark .toolbar a{color:var(--f7-photobrowser-dark-bars-link-color)}.photo-browser-dark .photo-browser-swiper-container,.photo-browser-page-dark .photo-browser-swiper-container{background:var(--f7-photobrowser-dark-bg-color)}@keyframes photo-browser-in{0%{transform:translateZ(0) scale(.5);opacity:0}50%{transform:translateZ(0) scale(1.05);opacity:1}to{transform:translateZ(0) scale(1);opacity:1}}@keyframes photo-browser-out{0%{transform:translateZ(0) scale(1);opacity:1}50%{transform:translateZ(0) scale(1.05);opacity:1}to{transform:translateZ(0) scale(.5);opacity:0}}:root{--f7-notification-max-width: 568px;--f7-notification-subtitle-text-transform: none;--f7-notification-subtitle-line-height: 1.35;--f7-notification-text-text-transform: none;--f7-notification-text-font-weight: 400}.ios{--f7-notification-margin: 8px;--f7-notification-padding-horizontal: 10px;--f7-notification-padding-vertical: 10px;--f7-notification-border-radius: 12px;--f7-notification-box-shadow: 0px 5px 25px -10px rgba(0, 0, 0, .7);--f7-notification-icon-size: 20px;--f7-notification-title-font-size: 13px;--f7-notification-title-text-transform: uppercase;--f7-notification-title-line-height: 1.4;--f7-notification-title-font-weight: 400;--f7-notification-title-letter-spacing: .02em;--f7-notification-title-right-font-size: 13px;--f7-notification-subtitle-font-size: 15px;--f7-notification-subtitle-font-weight: 600;--f7-notification-text-font-size: 15px;--f7-notification-text-line-height: 1.2;--f7-notification-bg-color: rgba(250, 250, 250, .95);--f7-notification-bg-color-rgb: 255, 255, 255;--f7-notification-title-color: #000;--f7-notification-title-right-color: rgba(0, 0, 0, .45);--f7-notification-subtitle-color: #000;--f7-notification-text-color: #000}.ios .dark,.ios.dark{--f7-notification-bg-color: rgba(30, 30, 30, .95);--f7-notification-bg-color-rgb: 30, 30, 30;--f7-notification-title-color: #fff;--f7-notification-text-color: #fff;--f7-notification-subtitle-color: #fff;--f7-notification-title-right-color: rgba(255, 255, 255, .55)}.md{--f7-notification-margin: 16px;--f7-notification-padding-vertical: 20px;--f7-notification-padding-horizontal: 16px;--f7-notification-border-radius: 16px;--f7-notification-box-shadow: none;--f7-notification-icon-size: 24px;--f7-notification-title-font-size: 16px;--f7-notification-title-text-transform: none;--f7-notification-title-line-height: 1.35;--f7-notification-title-font-weight: 500;--f7-notification-title-right-font-size: 12px;--f7-notification-subtitle-font-size: 14px;--f7-notification-subtitle-font-weight: 400;--f7-notification-text-font-size: 14px;--f7-notification-text-line-height: 1.35}.md,.md .dark,.md [class*=color-]{--f7-notification-title-color: var(--f7-md-on-surface);--f7-notification-bg-color: var(--f7-md-surface-5);--f7-notification-text-color: var(--f7-md-on-surface-variant);--f7-notification-title-right-color: var(--f7-md-on-surface-variant);--f7-notification-subtitle-color: var(--f7-md-on-surface)}.notification{position:absolute;left:var(--f7-notification-margin);top:var(--f7-notification-margin);width:calc(100% - var(--f7-notification-margin) * 2);z-index:20000;font-size:14px;margin:0;border:none;display:none;box-sizing:border-box;transition-property:transform;direction:ltr;max-width:var(--f7-notification-max-width);padding:var(--f7-notification-padding-vertical) var(--f7-notification-padding-horizontal);border-radius:var(--f7-notification-border-radius);box-shadow:var(--f7-notification-box-shadow);background:var(--f7-notification-bg-color);margin-top:var(--f7-safe-area-top)}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-modals .notification{background-color:rgba(var(--f7-notification-bg-color-rgb),.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}@media (min-width: 568px){.notification{left:50%;width:var(--f7-notification-max-width);margin-left:calc(-1 * var(--f7-notification-max-width) / 2)}}.notification-title{color:var(--f7-notification-title-color, var(--f7-theme-color));font-size:var(--f7-notification-title-font-size);text-transform:var(--f7-notification-title-text-transform);line-height:var(--f7-notification-title-line-height);font-weight:var(--f7-notification-title-font-weight);letter-spacing:var(--f7-notification-title-letter-spacing)}.notification-subtitle{color:var(--f7-notification-subtitle-color);font-size:var(--f7-notification-subtitle-font-size);text-transform:var(--f7-notification-subtitle-text-transform);line-height:var(--f7-notification-subtitle-line-height);font-weight:var(--f7-notification-subtitle-font-weight)}.notification-text{color:var(--f7-notification-text-color);font-size:var(--f7-notification-text-font-size);text-transform:var(--f7-notification-text-text-transform);line-height:var(--f7-notification-text-line-height);font-weight:var(--f7-notification-text-font-weight)}.notification-title-right-text{color:var(--f7-notification-title-right-color);font-size:var(--f7-notification-title-right-font-size)}.notification-icon{font-size:0;line-height:var(--f7-notification-icon-size)}.notification-icon i,.notification-icon{width:var(--f7-notification-icon-size)!important;height:var(--f7-notification-icon-size)!important}.notification-icon i{font-size:var(--f7-notification-icon-size)}.notification-icon img{height:var(--f7-notification-icon-size)}.notification-header{display:flex;justify-content:flex-start;align-items:center}.notification-close-button{margin-left:auto;cursor:pointer;position:relative}.notification-close-button:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";display:block;width:100%;height:100%;font-size:20px;position:absolute;left:50%;top:50%;text-align:center}.ios .notification{transition-duration:.45s;transform:translate3d(0,-200%,0)}.ios .notification.modal-in{transform:translateZ(0);opacity:1}.ios .notification.modal-out{transform:translate3d(0,-200%,0)}.ios .notification-icon{margin-right:8px}.ios .notification-header+.notification-content{margin-top:10px}.ios .notification-title-right-text{margin-right:6px;margin-left:auto}.ios .notification-title-right-text+.notification-close-button{margin-left:10px}.ios .notification-close-button{font-size:14px;width:20px;height:20px;opacity:.3;transition-duration:.3s}.ios .notification-close-button.active-state{transition-duration:0ms;opacity:.1}.ios .notification-close-button:after{color:#000;content:"notification_close_ios";font-size:.65em;line-height:44px;width:44px;height:44px;margin-left:-22px;margin-top:-22px}.ios .dark .notification-close-button:after,.ios.dark .notification-close-button:after{color:#fff}.md .notification{transform:translate3d(0,-150%,0)}.md .notification.modal-in{transition-duration:.5s;transform:translateZ(0);transition-timing-function:cubic-bezier(0,.8,.34,1)}.md .notification.modal-in.notification-transitioning{transition-duration:.2s}.md .notification.modal-out{animation:none;transition-duration:.2s;transition-timing-function:ease-in;transform:translate3d(0,-150%,0)}.md .notification-with-icon .notification-icon{position:absolute;left:var(--f7-notification-padding-horizontal);top:var(--f7-notification-padding-vertical)}.md .notification-with-icon .notification-content,.md .notification-with-icon .notification-header{margin-left:calc(var(--f7-notification-icon-size) + 16px)}.md .notification-icon{margin-right:8px}.md .notification-subtitle+.notification-text{margin-top:4px}.md .notification-header+.notification-content{margin-top:8px}.md .notification-title-right-text{margin-left:4px}.md .notification-title-right-text:before{content:"";width:3px;height:3px;border-radius:50%;display:inline-block;vertical-align:middle;margin-right:4px;background:var(--f7-notification-title-right-color)}.md .notification-close-button{width:16px;height:16px;transition-duration:.3s}.md .notification-close-button:before,.md .notification-close-button:after{width:48px;height:48px;left:50%;top:50%;margin-left:-24px;margin-top:-24px}.md .notification-close-button:after{color:var(--f7-md-on-surface-variant);content:"delete_round_md";line-height:48px;font-size:24px}@keyframes notification-md-in{0%{transform:translate3d(0,-150%,0)}50%{transform:translate3d(0,10%,0)}to{transform:translateZ(0)}}:root{--f7-autocomplete-dropdown-placeholder-color: #a9a9a9;--f7-autocomplete-dropdown-preloader-size: 20px;--f7-autocomplete-dropdown-font-size: var(--f7-list-font-size)}.ios{--f7-autocomplete-dropdown-box-shadow: 0px 3px 3px rgba(0, 0, 0, .2);--f7-autocomplete-dropdown-text-matching-font-weight: 600;--f7-autocomplete-dropdown-bg-color: #fff;--f7-autocomplete-dropdown-text-color: #000;--f7-autocomplete-dropdown-text-matching-color: #000}.ios .dark,.ios.dark{--f7-autocomplete-dropdown-bg-color: #1c1c1d;--f7-autocomplete-dropdown-text-color: #fff;--f7-autocomplete-dropdown-text-matching-color: #fff}.md{--f7-autocomplete-dropdown-box-shadow: none;--f7-autocomplete-dropdown-text-matching-font-weight: 500;--f7-autocomplete-dropdown-text-matching-color: #000}.md .dark,.md.dark{--f7-autocomplete-dropdown-text-matching-color: #fff}.md,.md .dark,.md [class*=color-]{--f7-autocomplete-dropdown-bg-color: var(--f7-md-surface-2);--f7-autocomplete-dropdown-text-color: var(--f7-md-on-surface)}.autocomplete-page .autocomplete-found{display:block}.autocomplete-page .autocomplete-not-found{display:none}.autocomplete-page .autocomplete-values{display:block}.autocomplete-page .list ul:empty{display:none}.autocomplete-preloader:not(.autocomplete-preloader-visible){visibility:hidden}.autocomplete-preloader:not(.autocomplete-preloader-visible),.autocomplete-preloader:not(.autocomplete-preloader-visible) *{animation:none}.autocomplete-dropdown{background:var(--f7-autocomplete-dropdown-bg-color);box-shadow:var(--f7-autocomplete-dropdown-box-shadow);box-sizing:border-box;position:absolute;z-index:500;width:100%;left:0}.autocomplete-dropdown .autocomplete-dropdown-inner{position:relative;overflow:auto;-webkit-overflow-scrolling:touch;height:100%;z-index:1}.autocomplete-dropdown .autocomplete-preloader{display:none;position:absolute;bottom:100%;width:var(--f7-autocomplete-dropdown-preloader-size);height:var(--f7-autocomplete-dropdown-preloader-size)}.autocomplete-dropdown .autocomplete-preloader-visible{display:block}.autocomplete-dropdown .autocomplete-dropdown-placeholder{color:var(--f7-autocomplete-dropdown-placeholder-color)}.autocomplete-dropdown .list{margin:0;color:var(--f7-autocomplete-dropdown-text-color);font-size:var(--f7-autocomplete-dropdown-font-size)}.autocomplete-dropdown .list b{color:var(--f7-autocomplete-dropdown-text-matching-color);font-weight:var(--f7-autocomplete-dropdown-text-matching-font-weight)}.autocomplete-dropdown .list ul{background:none!important}.autocomplete-dropdown .list ul:before,.autocomplete-dropdown .list ul:after{display:none!important}.autocomplete-dropdown .autocomplete-dropdown-selected{background:var(--f7-autocomplete-dropdown-selected-bg-color, rgba(var(--f7-theme-color-rgb), .2))}.searchbar-input-wrap .autocomplete-dropdown{background-color:var(--f7-searchbar-input-bg-color, var(--f7-searchbar-bg-color));border-radius:var(--f7-searchbar-input-border-radius);margin-top:calc(-1 * var(--f7-searchbar-input-height));top:100%;z-index:-1}.searchbar-input-wrap .autocomplete-dropdown .autocomplete-dropdown-inner{padding-top:var(--f7-searchbar-input-height)}.searchbar-input-wrap .autocomplete-dropdown .autocomplete-dropdown-placeholder{color:var(--f7-searchbar-placeholder-color)}.searchbar-input-wrap .autocomplete-dropdown li:last-child{border-radius:0 0 var(--f7-searchbar-input-border-radius) var(--f7-searchbar-input-border-radius);position:relative;overflow:hidden}.searchbar-input-wrap .autocomplete-dropdown .item-content{padding-left:calc(var(--f7-searchbar-input-padding-horizontal) + var(--f7-searchbar-input-extra-padding-left, 0px))}.ios .autocomplete-dropdown .autocomplete-preloader{right:16px;margin-bottom:12px}.md .autocomplete-page .navbar .autocomplete-preloader{margin-right:8px}.md .autocomplete-popup .navbar .autocomplete-preloader{margin-left:8px;margin-right:16px}.md .autocomplete-dropdown .autocomplete-preloader{right:16px;margin-bottom:8px}.md .autocomplete-dropdown .autocomplete-preloader circle{stroke-width:3}:root{--f7-tooltip-padding: 8px 16px;--f7-tooltip-font-size: 14px;--f7-tooltip-font-weight: 500;--f7-tooltip-desktop-padding: 6px 8px;--f7-tooltip-desktop-font-size: 12px}.ios{--f7-tooltip-border-radius: 4px;--f7-tooltip-bg-color: rgba(0, 0, 0, .87);--f7-tooltip-text-color: #fff}.md{--f7-tooltip-border-radius: 8px}.md,.md .dark,.md [class*=color-]{--f7-tooltip-bg-color: var(--f7-md-secondary);--f7-tooltip-text-color: var(--f7-md-on-secondary)}.tooltip{position:absolute;z-index:20000;background:var(--f7-tooltip-bg-color);border-radius:var(--f7-tooltip-border-radius);padding:var(--f7-tooltip-padding);color:var(--f7-tooltip-text-color);font-size:var(--f7-tooltip-font-size);font-weight:var(--f7-tooltip-font-weight);box-sizing:border-box;line-height:1.2;opacity:0;transform:scale(.9);transition-duration:.15s;transition-property:opacity,transform;z-index:99000}.tooltip.tooltip-in{transform:scale(1);opacity:1}.tooltip.tooltip-out{opacity:0;transform:scale(1)}.device-desktop .tooltip{font-size:var(--f7-tooltip-desktop-font-size);padding:var(--f7-tooltip-desktop-padding)}.gauge{position:relative;text-align:center;margin-left:auto;margin-right:auto;display:inline-block}.gauge-svg,.gauge svg{max-width:100%;height:auto}.gauge-svg circle,.gauge svg circle,.gauge-svg path,.gauge svg path{transition-duration:.4s}.skeleton-block{height:1em;background:var(--skeleton-color)!important;width:100%;display:block}@font-face{font-family:skeleton;src:url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAAYAAA0AAAAAESgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABoAAAAclcTxx09TLzIAAAFMAAAASwAAAGBRtV1jY21hcAAAAZgAAAC9AAABamglddJjdnQgAAACWAAAAAQAAAAEABEBRGdhc3AAAAJcAAAACAAAAAj//wADZ2x5ZgAAAmQAAACTAAAJdL6KsfZoZWFkAAAC+AAAAC4AAAA2GgvLb2hoZWEAAAMoAAAAGgAAACQC8ADFaG10eAAAA0QAAAATAAAAtAMAABFsb2NhAAADWAAAAK4AAACuaF5mEm1heHAAAAQIAAAAHwAAACAAmgA5bmFtZQAABCgAAAE5AAACNKbyxURwb3N0AAAFZAAAAJkAAADOCL0Ic3icY2BgYGQAgts30q6A6DvfXCthNABZwwgPAAB4nGNgYWRgnMDAysDA6MOYxsDA4A6lvzJIMrQwMDAxsHIywAAjAxIISHNNYWhgUGCoZTzw/wCDHuMBBgeYGsYDQB4DUI4RAOnYC70AeJxjYGBgZoBgGQZGBhBIAfIYwXwWBg8gzcfAwcDEwMagxKDFYM0QyxDPUPv/P1BcgUGNQYfBEchP/P///+P/D/7f/3/r/83/N6DmIAFGNga4ICMTkGBCVwB0AgsrkMHGzsHJxcDNw8vHLyAoJCwiKiYuISkFViMtIysnr6CopKyiqqauoamlraOrp29gaGRsYmpmzmDBYGllbWNrZ+/g6OTs4urm7uHp5e3j6+cfEBgUHBKK7iL6AwBJLiG7AAAAABEBRAAAAAH//wACeJztzrENwjAUBNA7O4nrXzBAREEHEm5dsERWyApZIStkBip7ggzCCmyAEmxCQYNESfG7r3un04eBAJjYwcLhGIlTSK7C/Ryb+haSNflEtCWuS5xcw0dILLkXLwcvexmHvme3XIU+rxFYZ4Jz3sROWiEuBgug9tXMh7lN21djxbu1Nf/pZzU1NTU1NbWf7QnZ5mwOAHicY2BkYGAAYrZdrHLx/DZfGbiZGEDgzjfXSgT9/wAjA+MBIJeDASwNAA4cCj0AAHicY2BkYGA88P8Agx6QAQSMYIQCWABQZgK3AAB4nGNkYBBkAAJGKB4KAAAOfQAVAAAAACoAKgAqADgARgBUAGIAcAB+AIwAmgCoALYAxADYAOYA9AECARABHgEsAToBSAFWAWQBcgGAAY4BnAGqAbgBxgHUAeIB8AH+AgwCGgIoAjYCRAJSAmACbgJ8AooCmAKmArQCwgLQAt4C7AL6AwgDFgMkAzIDQANOA1wDagN4A4YDlAOiA7ADvgPMA9oD6AP2BAQEEgQgBC4EPARKBFgEZgR0BIIEkASeBKwEugAAeJxjYGRgYAhj4GBgYgABEMnIABJzYNADCQAADScA1AB4nH2PvW7CMBSFj/krXSpeoJKHDiAR6mRAFStSVIkFMWToFhErWCQkMmFAVR+hax+hY5+vY0+MWTqQ6Mqfj4/vPQbwgB8IXL4xNp4Fhvj03MEdvj138YRfzz0MxbPnPkbizfOA+gedonfP3drdallghHfPHc798tzFKzNcuMc+j577kOLF84D6HktUqHGGhUGOHRpIZt5iwjWCYoWYkhMUSJHRVbIslRXdKanVS/Yw7hTLqj5bk+8aOd5OZKSicCqTIs1Maaxc7VJbpGVtMjqP2EPzuubQCgcKe13opiJtKOY4ud6WW52fipQQO2PjVkuHdilnzCmxYP1veVHbNwSYs64vQlwdmriyuZbRTMmFvI4mRmEwD9rcNxMmFC0Nxs9R/EOXRLk0SLQ9GjZUKpwppeStbn/Mg1tYAAAAeJxdzlkzggEARuGn1EXUWEJFubJU1iyRJcbQJoRC9t/dn8k3XXZu3plz8c4RNmI4kAkmZJzXkQ2bEBEVM2lKXMK0GbPmJM1bsCglHTwsWZaVs2LVmnUb8gqKNm3ZtmPXnpJ9Bw4dKTt2ouLUmXMXqi5duXbjVk1dQ1PLnbZ7Dx51PHn2oqsXdL151/fh05dvP379/QOXKRMwAAAA) format("woff");font-weight:100,200,300,400,500,600,700,800,900;font-style:normal,italic;font-display:block}.skeleton-text{font-family:skeleton!important;-webkit-user-select:none;user-select:none}.skeleton-text,.skeleton-text *{color:var(--skeleton-color)!important;letter-spacing:-.03em!important}.skeleton-image{display:inline-block}.skeleton-image svg{max-width:100%;height:auto}.skeleton-image polygon{fill:var(--skeleton-color)}.skeleton-image path{fill:var(--skeleton-icon-color)}.skeleton-avatar{display:inline-block}.skeleton-avatar svg{max-width:100%;height:auto}.skeleton-avatar rect{fill:var(--skeleton-color)}.skeleton-avatar path{fill:var(--skeleton-icon-color)}.skeleton-effect-blink,.skeleton-effect-wave{-webkit-mask-image:linear-gradient(to right,transparent 0%,black 25%,black 75%,transparent 100%);mask-image:linear-gradient(to right,transparent 0%,black 25%,black 75%,transparent 100%);-webkit-mask-size:200% 100%;mask-size:200% 100%;-webkit-mask-repeat:repeat;mask-repeat:repeat;-webkit-mask-position:50% top;mask-position:50% top;animation:skeleton-effect-wave 1s infinite}.skeleton-effect-fade{animation:skeleton-effect-fade 1s infinite}.skeleton-effect-pulse{animation:skeleton-effect-pulse 1s infinite}@keyframes skeleton-effect-fade{0%{opacity:1}50%{opacity:.2}to{opacity:1}}@keyframes skeleton-effect-wave{0%{-webkit-mask-position:50% top;mask-position:50% top}to{-webkit-mask-position:-150% top;mask-position:-150% top}}@keyframes skeleton-effect-pulse{0%{transform:scale(1)}40%{transform:scale(1)}50%{transform:scale(.975)}to{transform:scale(1)}}:root{--skeleton-color: #ccc;--skeleton-icon-color: rgba(0, 0, 0, .25)}.dark{--skeleton-color: #515151;--skeleton-icon-color: rgba(255, 255, 255, .25)}:root{--f7-color-picker-popover-width: 350px;--f7-color-picker-slider-size: 6px;--f7-color-picker-slider-knob-size: 16px;--f7-color-picker-bar-size: 50px;--f7-color-picker-bar-min-height: 260px;--f7-color-picker-value-width: 64px;--f7-color-picker-value-height: 32px;--f7-color-picker-value-font-size: 16px;--f7-color-picker-value-border-radius: 4px;--f7-color-picker-hex-value-width: 84px;--f7-color-picker-label-font-size: 14px;--f7-color-picker-label-width: 10px;--f7-color-picker-label-height: 14px;--f7-color-picker-sb-spectrum-height: 260px;--f7-color-picker-sb-spectrum-handle-size: 16px;--f7-color-picker-wheel-width: 330px;--f7-color-picker-palette-value-width: 36px;--f7-color-picker-palette-value-height: 36px;--f7-color-picker-initial-current-color-height: 40px;--f7-color-picker-initial-current-color-border-radius: 4px;--f7-color-picker-sheet-bg-color: #fff;--f7-color-picker-popup-bg-color: #fff;--f7-color-picker-value-bg-color: rgba(0, 0, 0, .05);--f7-color-picker-group-bg-color: rgba(0, 0, 0, .05);--f7-color-picker-group-value-bg-color: #fff}:root .dark,:root.dark{--f7-color-picker-sheet-bg-color: #121212;--f7-color-picker-popup-bg-color: #121212;--f7-color-picker-value-bg-color: rgba(255, 255, 255, .1);--f7-color-picker-group-bg-color: #000;--f7-color-picker-group-value-bg-color: rgba(255, 255, 255, .12)}.color-picker{overflow:hidden;width:100%;display:flex;flex-direction:column}.color-picker.color-picker-inline,.color-picker-popover .color-picker,.color-picker-popup .color-picker{position:relative}.color-picker-sheet-modal{background:var(--f7-color-picker-sheet-bg-color)}.color-picker-sheet-modal:before{z-index:600}.color-picker-sheet-modal .sheet-modal-inner{margin-bottom:var(--f7-safe-area-bottom)}.color-picker-popup .page{background:var(--f7-color-picker-popup-bg-color)}.color-picker-popup .page-content{padding-bottom:var(--f7-safe-area-bottom)}.color-picker-popover .color-picker,.color-picker-popup .color-picker,.color-picker-page .color-picker{height:100%}.color-picker-popover .color-picker .toolbar,.color-picker-popup .color-picker .toolbar,.color-picker-page .color-picker .toolbar{position:absolute}.color-picker-popover{width:var(--f7-color-picker-popover-width);max-width:90vw;max-height:80vh}.md .color-picker-popover .popover-inner{padding:8px}.color-picker-popover .color-picker{max-height:80vh}.color-picker-popover .toolbar-top{border-top-left-radius:var(--f7-popover-border-radius);border-top-right-radius:var(--f7-popover-border-radius)}.color-picker-popover .color-picker-module-palette{overflow:hidden;flex-shrink:0}.color-picker-popover .color-picker-module-palette:first-child{border-top-left-radius:var(--f7-popover-border-radius);border-top-right-radius:var(--f7-popover-border-radius)}.color-picker-popover .color-picker-module-palette:last-child{border-bottom-left-radius:var(--f7-popover-border-radius);border-bottom-right-radius:var(--f7-popover-border-radius)}.color-picker-popover .color-picker-module-palette:first-child:last-child{border-radius:var(--f7-popover-border-radius)}.color-picker-popover .toolbar~.page-content .color-picker-module-palette:first-child{border-top-left-radius:0;border-top-right-radius:0}.color-picker-popup .page-content,.color-picker-popover .page-content,.color-picker-sheet-modal .page-content,.color-picker-page .page-content{display:flex;justify-content:flex-start;align-items:stretch;flex-direction:column;overflow-x:hidden}.color-picker-module{margin-top:5px}.color-picker-module:last-child{margin-bottom:5px}.color-picker-module-sb-spectrum,.color-picker-module-hs-spectrum{margin-left:10px;margin-right:10px}.color-picker-module-sb-spectrum:first-child,.color-picker-module-hs-spectrum:first-child{margin-top:10px}.color-picker-module-sb-spectrum .color-picker-sb-spectrum,.color-picker-module-hs-spectrum .color-picker-sb-spectrum,.color-picker-module-sb-spectrum .color-picker-hs-spectrum,.color-picker-module-hs-spectrum .color-picker-hs-spectrum{height:var(--f7-color-picker-sb-spectrum-height)}.ios .color-picker-module-sb-spectrum .color-picker-sb-spectrum,.ios .color-picker-module-hs-spectrum .color-picker-sb-spectrum,.ios .color-picker-module-sb-spectrum .color-picker-hs-spectrum,.ios .color-picker-module-hs-spectrum .color-picker-hs-spectrum{border-radius:4px}.md .color-picker-module-sb-spectrum .color-picker-sb-spectrum,.md .color-picker-module-hs-spectrum .color-picker-sb-spectrum,.md .color-picker-module-sb-spectrum .color-picker-hs-spectrum,.md .color-picker-module-hs-spectrum .color-picker-hs-spectrum{border-radius:12px}.md .color-picker-module-sb-spectrum .color-picker-sb-spectrum:after,.md .color-picker-module-hs-spectrum .color-picker-sb-spectrum:after,.md .color-picker-module-sb-spectrum .color-picker-hs-spectrum:after,.md .color-picker-module-hs-spectrum .color-picker-hs-spectrum:after{border-radius:inherit}.color-picker-sb-spectrum{background-color:#000;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,#000 100%),linear-gradient(to left,rgba(255,255,255,0) 0%,#fff 100%);position:relative}.color-picker-hs-spectrum{position:relative;background-image:linear-gradient(to right,hsl(0,100%,50%),hsl(60,100%,50%),hsl(120,100%,50%),hsl(180,100%,50%),hsl(240,100%,50%),hsl(300,100%,50%),hsl(0,100%,50%))}.color-picker-hs-spectrum:after{content:"";position:absolute;left:0;top:0;width:100%;height:100%;background-image:linear-gradient(to bottom,rgba(255,255,255,0),#ffffff)}.color-picker-sb-spectrum-handle,.color-picker-hs-spectrum-handle{width:4px;height:4px;position:absolute;left:-2px;top:-2px;z-index:1}.color-picker-sb-spectrum-handle:after,.color-picker-hs-spectrum-handle:after{background-color:inherit;content:"";position:absolute;width:var(--f7-color-picker-sb-spectrum-handle-size);height:var(--f7-color-picker-sb-spectrum-handle-size);border:1px solid #fff;border-radius:50%;box-shadow:0 0 2px #00000080;box-sizing:border-box;left:50%;top:50%;transform:translate(-50%,-50%);transition:.15s;transition-property:transform;transform-origin:center}.color-picker-sb-spectrum-handle.color-picker-sb-spectrum-handle-pressed:after,.color-picker-hs-spectrum-handle.color-picker-sb-spectrum-handle-pressed:after,.color-picker-sb-spectrum-handle.color-picker-hs-spectrum-handle-pressed:after,.color-picker-hs-spectrum-handle.color-picker-hs-spectrum-handle-pressed:after{transform:scale(1.5) translate(-33.333%,-33.333%)}.color-picker-module-wheel{margin-left:10px;margin-right:10px}.color-picker-wheel{position:relative;width:var(--f7-color-picker-wheel-width);max-width:100%;height:auto;font-size:0;margin-left:auto;margin-right:auto}.color-picker-wheel svg{width:100%;height:auto}.color-picker-wheel .color-picker-wheel-handle{width:16.66666667%;height:16.66666667%;position:absolute;box-sizing:border-box;border:2px solid #fff;box-shadow:0 0 5px #00000080;background:red;border-radius:50%;left:0;top:0}.color-picker-wheel .color-picker-sb-spectrum{width:45%;height:45%;left:50%;top:50%;transform:translate3d(-50%,-50%,0);position:absolute}.color-picker-slider-wrap{display:flex;align-items:center;margin-bottom:2px}.color-picker-slider-wrap+.color-picker-slider-wrap{margin-top:5px}.color-picker-hex-wrap{justify-content:space-between;display:flex;align-items:center}.color-picker-slider-label,.color-picker-hex-label{font-size:var(--f7-color-picker-label-font-size);width:var(--f7-color-picker-label-size);flex-shrink:0;margin-right:12px}.color-picker-hex-label{width:auto}.color-picker-bar-value,.color-picker-slider-value,.color-picker-hex-value{width:var(--f7-color-picker-value-width);height:var(--f7-color-picker-value-height);background:var(--f7-color-picker-value-bg-color);border-radius:var(--f7-color-picker-value-border-radius);text-align:center;font-size:var(--f7-color-picker-value-font-size);display:flex;justify-content:center;align-items:center;flex-shrink:0;margin-left:10px}.color-picker-bar-value input,.color-picker-slider-value input,.color-picker-hex-value input{width:100%;height:100%;-webkit-appearance:none;appearance:none;border:none;outline:0;background:transparent;color:inherit;font-family:inherit;font-size:inherit;text-align:center;display:block;border-radius:4px}.color-picker-bar-value input::-webkit-inner-spin-button,.color-picker-slider-value input::-webkit-inner-spin-button,.color-picker-hex-value input::-webkit-inner-spin-button,.color-picker-bar-value input::-webkit-outer-spin-button,.color-picker-slider-value input::-webkit-outer-spin-button,.color-picker-hex-value input::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0;display:none}.color-picker-hex-value{width:var(--f7-color-picker-hex-value-width)}.color-picker-hex-value:first-child{margin-left:auto}.color-picker-slider{--f7-range-bar-active-bg-color: transparent;--f7-range-bar-size: var(--f7-color-picker-slider-size);--f7-range-bar-border-radius: var(--f7-color-picker-slider-size);--f7-range-knob-size: var(--f7-color-picker-slider-knob-size);--f7-range-knob-box-shadow: 0 1px 2px rgba(0, 0, 0, .3)}.color-picker-slider .range-knob{transition-duration:.2s;transition-property:transform}.color-picker-slider .range-knob:after{width:30px;height:30px;margin-left:-16px;margin-top:-16px}.color-picker-slider .range-knob-active-state .range-knob{transform:scale(1.5)}.md .color-picker-slider.range-slider-min:not(.range-slider-dual) .range-knob{background:var(--f7-range-knob-color)!important;border:none}.color-picker-module-rgb-bars{display:flex;justify-content:space-around;justify-content:space-evenly;align-items:stretch;height:100%;min-height:var(--f7-color-picker-bar-min-height);padding-bottom:10px;padding-top:10px;box-sizing:border-box}.color-picker-bar-wrap{display:flex;align-items:center;flex-direction:column-reverse}.color-picker-bar{--f7-range-bar-active-bg-color: transparent;--f7-range-bar-size: var(--f7-color-picker-bar-size);--f7-range-bar-border-radius: 2px;--f7-range-knob-size: 6px;--f7-range-knob-box-shadow: 0 0px 3px rgba(0, 0, 0, .3);--f7-range-knob-color: #fff}.color-picker-bar .range-knob{transition-duration:0ms;transition-property:transform;border-radius:3px}.color-picker-bar .range-knob-wrap{height:6px;width:calc(var(--f7-color-picker-bar-size) - 4px);margin-left:calc(-.5 * (var(--f7-color-picker-bar-size) - 4px))}.color-picker-bar .range-knob-active-state .range-knob{transform:scale(1)}.md .color-picker-bar.range-slider-min:not(.range-slider-dual) .range-knob{background:var(--f7-range-knob-color)!important;border:none}.color-picker-bar-label{font-size:var(--f7-color-picker-label-size);margin-top:12px;line-height:1;height:var(--f7-color-picker-label-height);flex-shrink:0}.color-picker-bar-value{margin-left:0;margin-bottom:10px}.color-picker-slider-alpha{--f7-range-knob-color: #fff}.color-picker-slider-alpha .range-bar{background-image:linear-gradient(to right,rgba(0,0,0,0),#000),linear-gradient(to right,rgba(255,255,255,.2) 50%,rgba(0,0,0,.2) 50%),linear-gradient(to left,rgba(255,255,255,.2) 50%,rgba(0,0,0,.2) 50%);background-size:100% 100%,6px 3px,6px 3px;background-position:0 0,0px 3px,0 0;background-repeat:repeat-y,repeat-x,repeat-x}.color-picker-slider-hue .range-bar{background-image:linear-gradient(to right,hsl(0,100%,50%),hsl(60,100%,50%),hsl(120,100%,50%),hsl(180,100%,50%),hsl(240,100%,50%),hsl(300,100%,50%),hsl(0,100%,50%))}.color-picker-slider-brightness .range-bar{background-image:linear-gradient(to right,#000,#fff)}.color-picker-module-palette{margin-top:16px}.color-picker-module-palette:first-child{margin-top:0}.color-picker-module-palette:last-child{margin-bottom:0}.color-picker-module-palette:first-child:last-child{margin:0}.color-picker-palette{display:flex;flex-wrap:wrap}.color-picker-palette-row{width:100%;display:flex;flex-wrap:nowrap}.color-picker-palette-row .color-picker-palette-value{width:100%}.color-picker-palette-value{width:var(--f7-color-picker-palette-value-width);height:var(--f7-color-picker-palette-value-height);cursor:pointer}.color-picker-module-initial-current-colors,.color-picker-module-current-color{margin-left:10px;margin-right:10px;border-radius:var(--f7-color-picker-initial-current-color-border-radius);overflow:hidden;flex-shrink:0}.color-picker-initial-color,.color-picker-current-color{height:var(--f7-color-picker-initial-current-color-height)}.color-picker-initial-current-colors{display:flex}.color-picker-initial-current-colors .color-picker-initial-color,.color-picker-initial-current-colors .color-picker-current-color{width:50%}.color-picker-module-rgb-sliders,.color-picker-module-hsb-sliders,.color-picker-module-alpha-slider,.color-picker-module-hue-slider,.color-picker-module-brightness-slider,.color-picker-module-hex{margin-left:10px;margin-right:10px}.color-picker-grouped-modules .color-picker-module-rgb-sliders,.color-picker-grouped-modules .color-picker-module-hsb-sliders,.color-picker-grouped-modules .color-picker-module-alpha-slider,.color-picker-grouped-modules .color-picker-module-hue-slider,.color-picker-grouped-modules .color-picker-module-brightness-slider,.color-picker-grouped-modules .color-picker-module-hex{background:var(--f7-color-picker-group-bg-color);padding:8px;border-radius:8px;margin-top:16px;margin-left:8px;margin-right:8px}.color-picker-grouped-modules .color-picker-module-rgb-sliders:last-child,.color-picker-grouped-modules .color-picker-module-hsb-sliders:last-child,.color-picker-grouped-modules .color-picker-module-alpha-slider:last-child,.color-picker-grouped-modules .color-picker-module-hue-slider:last-child,.color-picker-grouped-modules .color-picker-module-brightness-slider:last-child,.color-picker-grouped-modules .color-picker-module-hex:last-child{margin-bottom:16px}.color-picker-grouped-modules .color-picker-slider-value,.color-picker-grouped-modules .color-picker-hex-value{background:var(--f7-color-picker-group-value-bg-color)}.color-picker-grouped-modules .color-picker-slider-label,.color-picker-grouped-modules .color-picker-hex-label,.color-picker-grouped-modules .color-picker-module-rgb-sliders .range-slider:first-child,.color-picker-grouped-modules .color-picker-module-hsb-sliders .range-slider:first-child,.color-picker-grouped-modules .color-picker-module-alpha-slider .range-slider:first-child,.color-picker-grouped-modules .color-picker-module-hue-slider .range-slider:first-child,.color-picker-grouped-modules .color-picker-module-brightness-slider .range-slider:first-child{margin-left:5px}.color-picker-grouped-modules .color-picker-module-rgb-sliders .range-slider:last-child,.color-picker-grouped-modules .color-picker-module-hsb-sliders .range-slider:last-child,.color-picker-grouped-modules .color-picker-module-alpha-slider .range-slider:last-child,.color-picker-grouped-modules .color-picker-module-hue-slider .range-slider:last-child,.color-picker-grouped-modules .color-picker-module-brightness-slider .range-slider:last-child{margin-right:5px}:root{--f7-treeview-item-height: 34px;--f7-treeview-item-padding-left: 16px;--f7-treeview-item-padding-right: 16px;--f7-treeview-toggle-size: 24px;--f7-treeview-children-offset: 29px;--f7-treeview-label-font-weight: 400;--f7-treeview-label-text-color: inherit;--f7-treeview-icon-size: 24px;--f7-treeview-toggle-color: rgba(0, 0, 0, .5);--f7-treeview-toggle-hover-bg-color: rgba(0, 0, 0, .1);--f7-treeview-toggle-pressed-bg-color: rgba(0, 0, 0, .15);--f7-treeview-icon-color: rgba(0, 0, 0, .5);--f7-treeview-selectable-hover-bg-color: rgba(0, 0, 0, .1);--f7-treeview-link-hover-bg-color: rgba(0, 0, 0, .1);--f7-treeview-link-pressed-bg-color: rgba(0, 0, 0, .15)}:root .dark,:root.dark{--f7-treeview-toggle-color: rgba(255, 255, 255, .5);--f7-treeview-toggle-hover-bg-color: rgba(255, 255, 255, .03);--f7-treeview-toggle-pressed-bg-color: rgba(255, 255, 255, .1);--f7-treeview-icon-color: rgba(255, 255, 255, .75);--f7-treeview-selectable-hover-bg-color: rgba(255, 255, 255, .03);--f7-treeview-link-hover-bg-color: rgba(255, 255, 255, .03);--f7-treeview-link-pressed-bg-color: rgba(255, 255, 255, .11)}.ios{--f7-treeview-label-font-size: 17px}.md{--f7-treeview-label-font-size: 16px}.treeview-item-root{padding-left:var(--f7-treeview-item-padding-left);padding-right:var(--f7-treeview-item-padding-right);min-height:var(--f7-treeview-item-height);display:flex;align-items:center;justify-content:flex-start}.treeview-item-content{display:flex;justify-content:flex-start;align-items:center}.treeview-item-content>i,.treeview-item-content>.f7-icons,.treeview-item-content>.material-icons{font-size:var(--f7-treeview-icon-size);color:var(--f7-treeview-icon-color)}.treeview-item-content:first-child{margin-left:calc(var(--f7-treeview-toggle-size) + 5px)}.treeview-item-content>*+*{margin-left:5px}.treeview-item-label{font-size:var(--f7-treeview-label-font-size);font-weight:var(--f7-treeview-label-font-weight);color:var(--f7-treeview-label-text-color)}.treeview-toggle{width:var(--f7-treeview-toggle-size);height:var(--f7-treeview-toggle-size);cursor:pointer;border-radius:4px;background-color:#0000;transition-duration:.2s;position:relative;margin-right:5px}.treeview-toggle.active-state{background-color:var(--f7-treeview-toggle-pressed-bg-color)}.treeview-toggle:after{transition-duration:.2s;content:"";position:absolute;left:50%;top:50%;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;transform:translate(-50%,-50%);border-left:6px solid var(--f7-treeview-toggle-color)}.treeview-toggle-hidden{opacity:0;pointer-events:none;visibility:hidden}.treeview-preloader{--f7-preloader-size: var(--f7-treeview-toggle-size);margin-right:calc(-1 * var(--f7-treeview-toggle-size))}.treeview-item-children{display:none}.treeview-item-opened>.treeview-item-children{display:block}.treeview-item-opened>.treeview-item-root .treeview-toggle:after{transform:translate(-50%,-50%) rotate(90deg)}a.treeview-item-root{color:var(--f7-treeview-label-text-color)}.treeview-item-selectable>.treeview-item-root,.treeview-item-selectable.treeview-item-root{cursor:pointer;transition-duration:.15s}a.treeview-item-root{transition-duration:.15s}a.treeview-item-root.active-state{background:var(--f7-treeview-link-pressed-bg-color)}.treeview-item-toggle>.treeview-item-root,.treeview-item-toggle.treeview-item-root{cursor:pointer}.treeview-item-selected>.treeview-item-root,.treeview-item-selected.treeview-item-root{background:var(--f7-treeview-selectable-selected-bg-color, rgba(var(--f7-theme-color-rgb), .2))}.treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 1)}.treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 2)}.treeview-item .treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 3)}.treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 4)}.treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 5)}.treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 6)}.treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 7)}.treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 8)}.treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 9)}.treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 10)}:root{--f7-text-editor-font-size: inherit;--f7-text-editor-font-weight: inherit;--f7-text-editor-border-width: 1px;--f7-text-editor-height: 250px;--f7-text-editor-margin: 16px;--f7-text-editor-padding: 8px;--f7-text-editor-button-bg-color: transparent;--f7-text-editor-button-size: 28px;--f7-text-editor-button-icon-size: 20px;--f7-text-editor-button-margin: 2px;--f7-text-editor-text-color: #000;--f7-text-editor-bg-color: #fff;--f7-text-editor-button-divider-color: rgba(0, 0, 0, .15)}:root .dark,:root.dark{--f7-text-editor-bg-color: #121212;--f7-text-editor-text-color: #fff;--f7-text-editor-button-divider-color: rgba(255, 255, 255, .15)}.ios{--f7-text-editor-toolbar-padding: 6px;--f7-text-editor-button-border-radius: 2px;--f7-text-editor-placeholder-color: rgba(0, 0, 0, .35);--f7-text-editor-toolbar-border-color: rgba(0, 0, 0, .25);--f7-text-editor-toolbar-bg-color: #fff;--f7-text-editor-border-color: rgba(0, 0, 0, .1);--f7-text-editor-button-text-color: #333}.ios .dark,.ios.dark{--f7-text-editor-placeholder-color: rgba(255, 255, 255, .35);--f7-text-editor-toolbar-bg-color: #121212;--f7-text-editor-toolbar-border-color: rgba(255, 255, 255, .1);--f7-text-editor-toolbar-bg-color: #202020;--f7-text-editor-border-color: rgba(255, 255, 255, .1);--f7-text-editor-button-text-color: #fff}.md{--f7-text-editor-button-border-radius: 8px;--f7-text-editor-toolbar-padding: 8px}.md,.md .dark,.md [class*=color-]{--f7-text-editor-placeholder-color: var(--f7-md-on-surface-variant);--f7-text-editor-toolbar-bg-color: var(--f7-md-surface-1);--f7-text-editor-border-color: var(--f7-md-outline);--f7-text-editor-button-text-color: var(--f7-md-on-surface)}.text-editor{margin:var(--f7-text-editor-margin);background-color:var(--f7-text-editor-bg-color);display:block;position:relative;border:var(--f7-text-editor-border-width) solid var(--f7-text-editor-border-color);display:flex;flex-direction:column;align-items:stretch;height:var(--f7-text-editor-height);box-sizing:border-box}.text-editor.text-editor-resizable{height:auto}.text-editor-toolbar{display:flex;flex-wrap:wrap;background:var(--f7-text-editor-toolbar-bg-color);z-index:100;position:relative;position:sticky;left:0;top:0;padding:var(--f7-text-editor-toolbar-padding);flex-shrink:0;box-sizing:border-box}.text-editor-toolbar:after{content:"";position:absolute;background-color:var(--f7-text-editor-toolbar-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}button.text-editor-button{-webkit-appearance:none;appearance:none;border:none;padding:0;margin:0;outline:0;font-family:inherit;background:transparent;cursor:pointer;box-shadow:none;border-radius:var(--f7-text-editor-button-border-radius);position:relative;z-index:1;display:flex;width:auto;overflow:hidden;width:var(--f7-text-editor-button-size);height:var(--f7-text-editor-button-size);align-items:center;justify-content:center;margin:var(--f7-text-editor-button-margin);box-sizing:border-box;color:var(--f7-text-editor-button-text-color);background-color:var(--f7-text-editor-button-bg-color);flex-shrink:0}button.text-editor-button i,button.text-editor-button .f7-icons,button.text-editor-button .material-icons{font-size:var(--f7-text-editor-button-icon-size);font-style:normal}button.text-editor-button i sup,button.text-editor-button .f7-icons sup,button.text-editor-button .material-icons sup,button.text-editor-button i sub,button.text-editor-button .f7-icons sub,button.text-editor-button .material-icons sub{font-size:60%}.text-editor-button-divider{width:1px;background:var(--f7-text-editor-button-divider-color);margin:0 2px;flex-shrink:0}.text-editor-content{-webkit-user-modify:read-write;-webkit-appearance:none;appearance:none;border:none;outline:0;height:100%;-webkit-user-select:text;user-select:text;padding:var(--f7-text-editor-padding);overflow:auto;flex-shrink:10;box-sizing:border-box;color:var(--f7-text-editor-text-color);font-size:var(--f7-text-editor-font-size);font-weight:var(--f7-text-editor-font-weight)}.text-editor-content .text-editor-placeholder{pointer-events:none;color:var(--f7-text-editor-placeholder-color)}.text-editor-content img{max-width:100%}.text-editor-content a{pointer-events:none}.text-editor-popover{z-index:12500;width:auto;max-width:80vw}.text-editor-popover .popover-inner{display:flex;flex-wrap:wrap;padding:3px}.text-editor-keyboard-toolbar{position:absolute;z-index:6000;--f7-safe-area-bottom: 0px}.text-editor-keyboard-toolbar .toolbar-inner{justify-content:flex-start!important;overflow:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;scrollbar-color:transparent}.text-editor-keyboard-toolbar .toolbar-inner::-webkit-scrollbar{-webkit-appearance:none;appearance:none;width:0px;display:none;opacity:0;background:transparent}.text-editor-keyboard-toolbar .toolbar-inner::-webkit-scrollbar-track{box-shadow:none;background:transparent}.text-editor-keyboard-toolbar .toolbar-inner::-webkit-scrollbar-thumb{background-color:transparent;outline:none;border-radius:9999px;position:relative}.text-editor-keyboard-toolbar .toolbar-inner .text-editor-button-divider{height:100%}.item-input .text-editor{border:none;margin:0;background-color:var(--f7-input-bg-color, transparent)}.item-input .text-editor-content{padding-top:var(--f7-textarea-padding-vertical);padding-bottom:var(--f7-textarea-padding-vertical);padding-left:var(--f7-input-padding-left);padding-right:var(--f7-input-padding-right);color:var(--f7-input-text-color);font-size:var(--f7-input-font-size)}.item-input .text-editor-toolbar{box-shadow:none}.item-input .text-editor-toolbar:after{display:none!important}.item-input-outline .text-editor-content{border-radius:var(--f7-input-outline-border-radius)}.ios button.text-editor-button{transition:opacity .3s}.ios button.text-editor-button.active-state{opacity:.3;transition-duration:0ms}.md button.text-editor-button{--f7-touch-ripple-color: rgba(var(--f7-theme-color-rgb), .25)}.md .text-editor-keyboard-toolbar .toolbar-inner{padding-left:8px;padding-right:8px}.pie-chart{position:relative}.pie-chart svg{display:block;width:100%;font-size:0;height:auto;margin:0 auto}.pie-chart path{transition-duration:.15s}.pie-chart-hidden{opacity:.4}.pie-chart-tooltip{pointer-events:none;text-align:left;font-size:12px;line-height:1.4;white-space:nowrap;width:auto;max-width:none}.pie-chart-tooltip-label{display:flex;align-items:center}.pie-chart-tooltip-color{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:4px}:root{--f7-area-chart-current-line-stroke-width: 2px;--f7-area-chart-current-line-stroke: rgba(0, 0, 0, .15);--f7-area-chart-axis-text-color: inherit;--f7-area-chart-axis-height: 1px;--f7-area-chart-axis-font-size: 10px;--f7-area-chart-axis-font-weight: 500;--f7-area-chart-tooltip-font-size: 12px;--f7-area-chart-tooltip-total-font-size: 16px;--f7-area-chart-tooltip-total-font-weight: bold;--f7-area-chart-tooltip-color-size: 10px;--f7-area-chart-legend-font-size: 14px;--f7-area-chart-legend-font-weight: 500;--f7-area-chart-legend-text-color: inherit;--f7-area-chart-legend-padding: 4px 8px;--f7-area-chart-legend-border-radius: 4px;--f7-area-chart-legend-color-size: 14px;--f7-area-chart-line-stroke-width: 2px;--f7-area-chart-axis-bg-color: rgba(0, 0, 0, .15);--f7-area-chart-legend-disabled-text-color: rgba(0, 0, 0, .22)}:root .dark,:root.dark{--f7-area-chart-axis-bg-color: rgba(255, 255, 255, .15);--f7-area-chart-legend-disabled-text-color: rgba(255, 255, 255, .22)}.ios{--f7-area-chart-tooltip-total-label-text-color: rgba(255, 255, 255, .75)}.md{--f7-area-chart-tooltip-total-label-text-color: inherit}.area-chart{position:relative}.area-chart svg{display:block;width:100%;font-size:0;height:auto;margin:0 auto}.area-chart path{fill:none;stroke-width:var(--f7-area-chart-line-stroke-width)}.area-chart-current-line{stroke:var(--f7-area-chart-current-line-stroke);stroke-width:var(--f7-area-chart-current-line-stroke-width)}.area-chart-axis{height:var(--f7-area-chart-axis-height);background:var(--f7-area-chart-axis-bg-color);color:var(--f7-area-chart-axis-text-color);display:flex;font-size:var(--f7-area-chart-axis-font-size);font-weight:var(--f7-area-chart-axis-font-weight);justify-content:space-between;line-height:1;margin-bottom:2em}.area-chart-axis>span{padding-top:10px;width:0;display:flex;align-items:flex-start;justify-content:center;white-space:nowrap}.area-chart-axis>span:first-child{justify-content:flex-start}.area-chart-axis>span:last-child{justify-content:flex-end}.area-chart-tooltip{pointer-events:none;text-align:left;font-size:var(--f7-area-chart-tooltip-font-size);line-height:1.4}.area-chart-tooltip-label{color:var(--f7-area-chart-tooltip-total-label-text-color)}.area-chart-tooltip-total{font-size:var(--f7-area-chart-tooltip-total-font-size);font-weight:var(--f7-area-chart-tooltip-total-font-weight)}.area-chart-tooltip-list{list-style:none;margin:0;padding:0}.area-chart-tooltip-list li{white-space:nowrap}.area-chart-tooltip-list span{display:inline-block;width:var(--f7-area-chart-tooltip-color-size);height:var(--f7-area-chart-tooltip-color-size);border-radius:50%;margin-right:4px}.area-chart-axis~.area-chart-legend{margin-top:2em}.area-chart-legend{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:var(--f7-area-chart-legend-font-size);width:100%;margin-top:1em}.area-chart-legend-button{-webkit-appearance:none!important;appearance:none!important;background-color:transparent;border-radius:0;border:none;outline:0!important;cursor:pointer;font-family:inherit;font-size:inherit;box-shadow:none!important}.area-chart-legend-item{position:relative;color:var(--f7-area-chart-legend-text-color);width:auto;display:flex;align-items:center;font-weight:var(--f7-area-chart-legend-font-weight);transition-duration:.2s;padding:var(--f7-area-chart-legend-padding);border-radius:var(--f7-area-chart-legend-border-radius);overflow:hidden}.area-chart-legend-item span{width:var(--f7-area-chart-legend-color-size);height:var(--f7-area-chart-legend-color-size);margin-right:4px;border-radius:50%;transition-duration:.2s}.area-chart-legend-item-hidden{color:var(--f7-area-chart-legend-disabled-text-color)}.area-chart-legend-item-hidden span{background-color:var(--f7-area-chart-legend-disabled-text-color)!important}:root{--f7-breadcrumbs-spacing: 12px;--f7-breadcrumbs-padding: 2px 0;--f7-breadcrumbs-icon-size: 24px;--f7-breadcrumbs-separator-color: rgba(0, 0, 0, .35)}:root .dark,:root.dark{--f7-breadcrumbs-separator-color: rgba(255, 255, 255, .35)}.ios{--f7-breadcrumbs-item-bg-color: transparent;--f7-breadcrumbs-collapsed-border-radius: 4px;--f7-breadcrumbs-collapsed-padding: 0px 6px;--f7-breadcrumbs-separator-icon: "chevron_right_ios";--f7-breadcrumbs-font-size: 17px;--f7-breadcrumbs-item-border-radius: 0px;--f7-breadcrumbs-item-padding: 0px;--f7-breadcrumbs-item-font-weight: normal;--f7-breadcrumbs-item-active-font-weight: 600;--f7-breadcrumbs-item-color: rgba(0, 0, 0, .55);--f7-breadcrumbs-item-active-color: #000;--f7-breadcrumbs-collapsed-bg-color: rgba(0, 0, 0, .15);--f7-breadcrumbs-collapsed-color: rgba(0, 0, 0, .75)}.ios .dark,.ios.dark{--f7-breadcrumbs-item-color: rgba(255, 255, 255, .75);--f7-breadcrumbs-item-active-color: #fff;--f7-breadcrumbs-collapsed-bg-color: rgba(255, 255, 255, .15);--f7-breadcrumbs-collapsed-color: rgba(255, 255, 255, .75)}.md{--f7-breadcrumbs-collapsed-border-radius: 8px;--f7-breadcrumbs-collapsed-padding: 12px 8px;--f7-breadcrumbs-separator-icon: "chevron_right_md";--f7-breadcrumbs-font-size: 14px;--f7-breadcrumbs-item-border-radius: 8px;--f7-breadcrumbs-item-padding: 4px 8px;--f7-breadcrumbs-item-font-weight: 500;--f7-breadcrumbs-item-active-font-weight: 500}.md,.md .dark,.md [class*=color-]{--f7-breadcrumbs-item-color: var(--f7-theme-color);--f7-breadcrumbs-item-bg-color: var(--f7-md-secondary-container);--f7-breadcrumbs-item-active-color: var(--f7-md-on-secondary-container);--f7-breadcrumbs-collapsed-color: var(--f7-theme-color);--f7-breadcrumbs-collapsed-bg-color: var(--f7-md-secondary-container)}.breadcrumbs{display:flex;align-items:center;justify-content:flex-start;font-size:var(--f7-breadcrumbs-font-size);overflow:auto;white-space:nowrap;padding:var(--f7-breadcrumbs-padding);scrollbar-width:none;scrollbar-color:transparent}.breadcrumbs::-webkit-scrollbar{-webkit-appearance:none;appearance:none;width:0px;display:none;opacity:0;background:transparent}.breadcrumbs::-webkit-scrollbar-track{box-shadow:none;background:transparent}.breadcrumbs::-webkit-scrollbar-thumb{background-color:transparent;outline:none;border-radius:9999px;position:relative}.breadcrumbs-separator,.breadcrumbs-item,.breadcrumbs-collapsed{flex-shrink:0;--f7-touch-ripple-color: transparent !important}.breadcrumbs-separator+.breadcrumbs-separator,.breadcrumbs-separator+.breadcrumbs-item,.breadcrumbs-separator+.breadcrumbs-collapsed,.breadcrumbs-item+.breadcrumbs-separator,.breadcrumbs-item+.breadcrumbs-item,.breadcrumbs-item+.breadcrumbs-collapsed,.breadcrumbs-collapsed+.breadcrumbs-separator,.breadcrumbs-collapsed+.breadcrumbs-item,.breadcrumbs-collapsed+.breadcrumbs-collapsed{margin-left:var(--f7-breadcrumbs-spacing)}.breadcrumbs-item{color:var(--f7-breadcrumbs-item-color);font-weight:var(--f7-breadcrumbs-item-font-weight);padding:var(--f7-breadcrumbs-item-padding);background-color:var(--f7-breadcrumbs-item-bg-color);display:flex;align-items:center;border-radius:var(--f7-breadcrumbs-item-border-radius)}.breadcrumbs-item .icon{font-size:var(--f7-breadcrumbs-icon-size);width:var(--f7-breadcrumbs-icon-size);height:var(--f7-breadcrumbs-icon-size)}.breadcrumbs-item a{color:inherit;--f7-touch-ripple-color: transparent !important}.breadcrumbs-item-active{color:var(--f7-breadcrumbs-item-active-color, var(--f7-breadcrumbs-item-color));font-weight:var(--f7-breadcrumbs-item-active-font-weight)}.breadcrumbs-separator{color:var(--f7-breadcrumbs-separator-color);height:24px;overflow:hidden;display:flex;align-items:center}.breadcrumbs-separator:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;content:var(--f7-breadcrumbs-separator-icon);width:12px}.ios .breadcrumbs-separator:after{font-size:12px;height:11px}.md .breadcrumbs-separator:after{font-size:18px;height:18px}.breadcrumbs-collapsed{display:flex;align-items:center;padding:var(--f7-breadcrumbs-collapsed-padding);background:var(--f7-breadcrumbs-collapsed-bg-color);min-height:1em;border-radius:var(--f7-breadcrumbs-collapsed-border-radius);cursor:pointer}.breadcrumbs-collapsed:before,.breadcrumbs-collapsed:after,.breadcrumbs-collapsed span{content:"";width:4px;height:4px;background:var(--f7-breadcrumbs-collapsed-color);border-radius:50%}.breadcrumbs-collapsed span{margin:0 3px}:root{--f7-typography-padding: 16px;--f7-typography-margin: 16px}.display-flex{display:flex!important}.display-block{display:block!important}.display-inline-flex{display:inline-flex!important}.display-inline-block{display:inline-block!important}.display-inline{display:inline!important}.display-none{display:none!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-shrink-2{flex-shrink:2!important}.flex-shrink-3{flex-shrink:3!important}.flex-shrink-4{flex-shrink:4!important}.flex-shrink-5{flex-shrink:5!important}.flex-shrink-6{flex-shrink:6!important}.flex-shrink-7{flex-shrink:7!important}.flex-shrink-8{flex-shrink:8!important}.flex-shrink-9{flex-shrink:9!important}.flex-shrink-10{flex-shrink:10!important}.flex-direction-row{flex-direction:row!important}.flex-direction-row-reverse{flex-direction:row-reverse!important}.flex-direction-column{flex-direction:column!important}.flex-direction-column-reverse{flex-direction:column-reverse!important}.justify-content-flex-start{justify-content:flex-start!important}.justify-content-center{justify-content:center!important}.justify-content-flex-end{justify-content:flex-end!important}.justify-content-space-between{justify-content:space-between!important}.justify-content-space-around{justify-content:space-around!important}.justify-content-space-evenly{justify-content:space-evenly!important}.justify-content-stretch{justify-content:stretch!important}.justify-content-start{justify-content:start!important}.justify-content-end{justify-content:end!important}.justify-content-left{justify-content:left!important}.justify-content-right{justify-content:right!important}.align-content-flex-start{align-content:flex-start!important}.align-content-flex-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-space-between{align-content:space-between!important}.align-content-space-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-items-baseline{align-items:baseline!important}.align-items-flex-start{align-items:flex-start!important}.align-items-flex-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-stretch{align-items:stretch!important}.align-self-flex-start{align-self:flex-start!important}.align-self-flex-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-stretch{align-self:stretch!important}.text-align-left{text-align:left!important}.text-align-center{text-align:center!important}.text-align-right{text-align:right!important}.text-align-justify{text-align:justify!important}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}.vertical-align-bottom{vertical-align:bottom!important}.vertical-align-middle{vertical-align:middle!important}.vertical-align-top{vertical-align:top!important}.no-padding{padding:0!important}.no-padding-left{padding-left:0!important}.no-padding-right{padding-right:0!important}.no-padding-horizontal{padding-left:0!important;padding-right:0!important}.no-padding-top{padding-top:0!important}.no-padding-bottom{padding-bottom:0!important}.no-padding-vertical{padding-top:0!important;padding-bottom:0!important}.no-margin{margin:0!important}.no-margin-left{margin-left:0!important}.no-margin-right{margin-right:0!important}.no-margin-horizontal{margin-left:0!important;margin-right:0!important}.no-margin-top{margin-top:0!important}.no-margin-bottom{margin-bottom:0!important}.no-margin-vertical{margin-top:0!important;margin-bottom:0!important}.width-auto{width:auto!important}.width-100{width:100%!important}.padding{padding:var(--f7-typography-padding)!important}.padding-half{padding:calc(var(--f7-typography-padding) / 2)!important}.padding-top{padding-top:var(--f7-typography-padding)!important}.padding-top-half{padding-top:calc(var(--f7-typography-padding) / 2)!important}.padding-bottom{padding-bottom:var(--f7-typography-padding)!important}.padding-bottom-half{padding-bottom:calc(var(--f7-typography-padding) / 2)!important}.padding-left{padding-left:var(--f7-typography-padding)!important}.padding-left-half{padding-left:calc(var(--f7-typography-padding) / 2)!important}.padding-right{padding-right:var(--f7-typography-padding)!important}.padding-right-half{padding-right:calc(var(--f7-typography-padding) / 2)!important}.padding-vertical{padding-top:var(--f7-typography-padding)!important;padding-bottom:var(--f7-typography-padding)!important}.padding-vertical-half{padding-top:calc(var(--f7-typography-padding) / 2)!important;padding-bottom:calc(var(--f7-typography-padding) / 2)!important}.padding-horizontal{padding-left:var(--f7-typography-padding)!important;padding-right:var(--f7-typography-padding)!important}.padding-horizontal-half{padding-left:calc(var(--f7-typography-padding) / 2)!important;padding-right:calc(var(--f7-typography-padding) / 2)!important}.margin{margin:var(--f7-typography-margin)!important}.margin-half{margin:calc(var(--f7-typography-margin) / 2)!important}.margin-top{margin-top:var(--f7-typography-margin)!important}.margin-top-half{margin-top:calc(var(--f7-typography-margin) / 2)!important}.margin-bottom{margin-bottom:var(--f7-typography-margin)!important}.margin-bottom-half{margin-bottom:calc(var(--f7-typography-margin) / 2)!important}.margin-left{margin-left:var(--f7-typography-margin)!important}.margin-left-half{margin-left:calc(var(--f7-typography-margin) / 2)!important}.margin-right{margin-right:var(--f7-typography-margin)!important}.margin-right-half{margin-right:calc(var(--f7-typography-margin) / 2)!important}.margin-vertical{margin-top:var(--f7-typography-margin)!important;margin-bottom:var(--f7-typography-margin)!important}.margin-vertical-half{margin-top:calc(var(--f7-typography-margin) / 2)!important;margin-bottom:calc(var(--f7-typography-margin) / 2)!important}.margin-horizontal{margin-left:var(--f7-typography-margin)!important;margin-right:var(--f7-typography-margin)!important}.margin-horizontal-half{margin-left:calc(var(--f7-typography-margin) / 2)!important;margin-right:calc(var(--f7-typography-margin) / 2)!important}[class*=text-color-]{color:var(--f7-theme-color-text-color)!important}[class*=bg-color-]{background-color:var(--f7-theme-color-bg-color)!important}[class*=border-color-]{border-color:var(--f7-theme-color-border-color)!important}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.indicator.svelte-600ugb{position:fixed;align-content:left;padding:1rem;font-size:xxx-large;background:var(--neutral-300);color:var(--neutral-800);border-radius:1rem;border:.2rem solid var(--neutral-400);z-index:var(--layer-top)!important}.indicator.top.svelte-600ugb{top:calc(1rem + var(--f7-navbar-height) + var(--f7-safe-area-top))}.indicator.bottom.svelte-600ugb{bottom:5rem}.indicator.left.svelte-600ugb{left:1rem}.indicator.right.svelte-600ugb{right:1rem}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.progressbar.color-blue{background:var(--neutral-400)!important}.dark .progressbar.color-blue{background:var(--neutral-500)!important}.dark .toolbar.color-blue{background:var(--neutral-800)!important}.dark .toolbar.color-blue.hasGenToolbar{border-top:2px solid var(--neutral-600)}.dark .tab-link-active{--f7-tabbar-link-active-color:var(--secondary-500);--f7-tabbar-link-active-bg-color:#283547}.bottom.svelte-1bpr0w9.svelte-1bpr0w9{--toolbarCount:1;position:absolute;text-align:center;width:100%;font-size:13pt;bottom:calc(var(--f7-toolbar-height) * var(--toolbarCount));z-index:var(--layer-top)}.bars.svelte-1bpr0w9.svelte-1bpr0w9{display:flex;flex-direction:row}.bars.svelte-1bpr0w9 .node-name.svelte-1bpr0w9{flex-grow:1;background-color:var(--comfy-node-name-background);color:var(--comfy-node-name-foreground);padding:.2em;display:flex;justify-content:center;align-items:center}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.toolbar{--f7-toolbar-font-size:13pt}.dark .toolbar.color-red{background:var(--neutral-700)!important}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.list-entry-message.svelte-qf636e{font-size:15pt}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.dark.svelte-16dky85{--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-100);--color-accent-soft:var(--neutral-700);--background-fill-primary:var(--neutral-950);--background-fill-secondary:var(--neutral-900);--border-color-accent:var(--neutral-600);--border-color-primary:var(--neutral-700);--link-text-color-active:var(--secondary-500);--link-text-color:var(--secondary-500);--link-text-color-hover:var(--secondary-400);--link-text-color-visited:var(--secondary-600);--body-text-color-subdued:var(--neutral-400);--shadow-spread:1px;--block-background-fill:var(--neutral-800);--block-border-color:var(--border-color-primary);--block_border_width:None;--block-info-text-color:var(--body-text-color-subdued);--block-label-background-fill:var(--background-fill-secondary);--block-label-border-color:var(--border-color-primary);--block_label_border_width:None;--block-label-text-color:var(--neutral-200);--block_shadow:None;--block_title_background_fill:None;--block_title_border_color:None;--block_title_border_width:None;--block-title-text-color:var(--neutral-200);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel_border_width:None;--checkbox-background-color:var(--neutral-800);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-700);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-600);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-900), var(--neutral-800));--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:var(--background-fill-primary);--error-border-color:var(--border-color-primary);--error_border_width:None;--error-text-color:#ef4444;--input-background-fill:var(--neutral-800);--input-background-fill-focus:var(--secondary-600);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--neutral-700);--input-border-color-hover:var(--input-border-color);--input_border_width:None;--input-placeholder-color:var(--neutral-500);--input_shadow:None;--input-shadow-focus:0 0 0 var(--shadow-spread) var(--neutral-700), var(--shadow-inset);--loader_color:None;--slider_color:None;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-600));--table-border-color:var(--neutral-700);--table-even-background-fill:var(--neutral-950);--table-odd-background-fill:var(--neutral-900);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #dc2626, #b91c1c);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #dc2626, #dc2626);--button-cancel-border-color:#dc2626;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:white;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-500), var(--primary-600));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-500), var(--primary-500));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-600), var(--primary-700));--button-primary-border-color:var(--primary-500);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:white;--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--neutral-300);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-700));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-600), var(--neutral-600));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-700), var(--neutral-800));--button-secondary-border-color:var(--neutral-600);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:white;--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-300);--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--block-border-width:1px;--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-border-radius:var(--radius-sm);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--error-border-width:1px;--input-border-width:1px;--input-padding:var(--spacing-xl);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--table-radius:var(--radius-lg);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.litegraph.graphdialog.svelte-16dky85{min-height:1em;background-color:var(--litegraph-comfy-menu-bg)}.litegraph.litesearchbox.svelte-16dky85{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;overflow:hidden}.litegraph.lite-search-item.svelte-16dky85{color:var(--litegraph-input-text);background-color:var(--litegraph-comfy-input-bg);filter:brightness(80%);padding-left:.2em}.litegraph.lite-search-item.generic_type.svelte-16dky85{color:var(--litegraph-input-text);filter:brightness(50%)}.litemenu-entry.has_submenu.svelte-16dky85:after{content:">";position:absolute;top:0;right:2px}.litegraph.litecontextmenu.svelte-16dky85,.litegraph.litecontextmenu.dark.svelte-16dky85{z-index:9999!important;background-color:var(--litegraph-comfy-menu-bg)!important;filter:brightness(95%)}.dark.svelte-16dky85{color-scheme:dark;--input-border-color-focus:var(--neutral-500);--comfy-accent-soft:var(--neutral-600);--comfy-widget-selected-background-fill:var(--primary-500);--comfy-widget-hovered-background-fill:var(--neutral-600);--comfy-container-selected-background-fill:var(--primary-700);--comfy-container-hovered-background-fill:var(--neutral-500);--comfy-container-empty-background-fill:var(--color-grey-800);--comfy-container-empty-border-color:var(--color-grey-600);--comfy-disabled-label-color:var(--neutral-500);--comfy-disabled-textbox-background-fill:var(--neutral-800);--comfy-disabled-textbox-border-color:var(--neutral-700);--comfy-disabled-textbox-text-color:var(--neutral-500);--comfy-splitpanes-background-fill:var(--panel-border-color);--comfy-splitpanes-background-fill-hover:var(--secondary-500);--comfy-splitpanes-background-fill-active:var(--secondary-300);--comfy-dropdown-list-background:var(--neutral-800);--comfy-dropdown-item-color-hover:var(--neutral-400);--comfy-dropdown-item-background-hover:var(--neutral-600);--comfy-dropdown-item-background-active:var(--secondary-600);--comfy-dropdown-border-color:var(--neutral-600);--comfy-progress-bar-background:var(--neutral-500);--comfy-progress-bar-foreground:var(--secondary-400);--comfy-node-name-background:var(--neutral-700);--comfy-node-name-foreground:var(--body-text-color);--comfy-spinner-main-color:var(--neutral-600);--comfy-spinner-accent-color:var(--secondary-600);--f7-navbar-color:var(--body-text-color);--f7-navbar-bg-color:var(--neutral-800)}.container.svelte-16dky85{background:var(--body-background-fill)!important}.container.selected.svelte-16dky85{background:var(--ae-primary-color)!important}.container.svelte-16dky85{overflow-x:hidden;overscroll-behavior-y:contain}.container.svelte-16dky85 .block{z-index:unset}.grid-entry.svelte-16dky85{display:flex;justify-content:center;align-items:center;aspect-ratio:1/1;object-fit:cover}.grid-entry-image.svelte-16dky85{aspect-ratio:1/1;object-fit:cover;margin-bottom:var(--f7-grid-gap)}.grid-entry-image.svelte-16dky85:hover{cursor:pointer;filter:brightness(120%) contrast(120%)}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}.container.svelte-7qn3jc{background:var(--body-background-fill)!important}.container.svelte-7qn3jc{overflow-x:hidden;overscroll-behavior-y:contain}.container.svelte-7qn3jc .block{z-index:unset}.root-container.mobile>.block>.v-pane{flex-direction:column!important}:root{--name:default;--primary-50:#fff7ed;--primary-100:#ffedd5;--primary-200:#fed7aa;--primary-300:#fdba74;--primary-400:#fb923c;--primary-500:#f97316;--primary-600:#ea580c;--primary-700:#c2410c;--primary-800:#9a3412;--primary-900:#7c2d12;--primary-950:#6c2e12;--secondary-50:#eff6ff;--secondary-100:#dbeafe;--secondary-200:#bfdbfe;--secondary-300:#93c5fd;--secondary-400:#60a5fa;--secondary-500:#3b82f6;--secondary-600:#2563eb;--secondary-700:#1d4ed8;--secondary-800:#1e40af;--secondary-900:#1e3a8a;--secondary-950:#1d3660;--neutral-50:#f9fafb;--neutral-100:#f3f4f6;--neutral-200:#e5e7eb;--neutral-300:#d1d5db;--neutral-400:#9ca3af;--neutral-500:#6b7280;--neutral-600:#4b5563;--neutral-700:#374151;--neutral-800:#1f2937;--neutral-900:#111827;--neutral-950:#0b0f19;--spacing-xxs:1px;--spacing-xs:2px;--spacing-sm:4px;--spacing-md:6px;--spacing-lg:8px;--spacing-xl:10px;--spacing-xxl:16px;--radius-xxs:1px;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-xxl:22px;--text-xxs:9px;--text-xs:10px;--text-sm:12px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-xxl:26px;--font:"Source Sans Pro", "ui-sans-serif", "system-ui", sans-serif;--font-mono:"IBM Plex Mono", "ui-monospace", "Consolas", monospace;--body-background-fill:var(--background-fill-primary);--body-text-color:var(--neutral-800);--body-text-size:var(--text-md);--body-text-weight:400;--embed-radius:var(--radius-lg);--color-accent:var(--primary-500);--color-accent-soft:var(--primary-50);--background-fill-primary:white;--background-fill-secondary:var(--neutral-50);--border-color-accent:var(--primary-300);--border-color-primary:var(--neutral-200);--link-text-color:var(--secondary-600);--link-text-color-active:var(--secondary-600);--link-text-color-hover:var(--secondary-700);--link-text-color-visited:var(--secondary-500);--body-text-color-subdued:var(--neutral-400);--shadow-drop:rgba(0,0,0,.05) 0px 1px 2px 0px;--shadow-drop-lg:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-inset:rgba(0,0,0,.05) 0px 2px 4px 0px inset;--shadow-spread:3px;--block-background-fill:var(--background-fill-primary);--block-border-color:var(--border-color-primary);--block-border-width:1px;--block-info-text-color:var(--body-text-color-subdued);--block-info-text-size:var(--text-sm);--block-info-text-weight:400;--block-label-background-fill:var(--background-fill-primary);--block-label-border-color:var(--border-color-primary);--block-label-border-width:1px;--block-label-shadow:var(--block-shadow);--block-label-text-color:var(--neutral-500);--block-label-margin:0;--block-label-padding:var(--spacing-sm) var(--spacing-lg);--block-label-radius:calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px) 0;--block-label-right-radius:0 calc(var(--radius-lg) - 1px) 0 calc(var(--radius-lg) - 1px);--block-label-text-size:var(--text-sm);--block-label-text-weight:400;--block-padding:var(--spacing-xl) calc(var(--spacing-xl) + 2px);--block-radius:var(--radius-lg);--block-shadow:var(--shadow-drop);--block-title-background-fill:none;--block-title-border-color:none;--block-title-border-width:0px;--block-title-text-color:var(--neutral-500);--block-title-padding:0;--block-title-radius:none;--block-title-text-size:var(--text-md);--block-title-text-weight:400;--container-radius:var(--radius-lg);--form-gap-width:1px;--layout-gap:var(--spacing-xxl);--panel-background-fill:var(--background-fill-secondary);--panel-border-color:var(--border-color-primary);--panel-border-width:0;--section-header-text-size:var(--text-md);--section-header-text-weight:400;--checkbox-background-color:var(--background-fill-primary);--checkbox-background-color-focus:var(--checkbox-background-color);--checkbox-background-color-hover:var(--checkbox-background-color);--checkbox-background-color-selected:var(--secondary-600);--checkbox-border-color:var(--neutral-300);--checkbox-border-color-focus:var(--secondary-500);--checkbox-border-color-hover:var(--neutral-300);--checkbox-border-color-selected:var(--secondary-600);--checkbox-border-radius:var(--radius-sm);--checkbox-border-width:var(--input-border-width);--checkbox-label-background-fill:linear-gradient(to top, var(--neutral-50), white);--checkbox-label-background-fill-hover:linear-gradient(to top, var(--neutral-100), white);--checkbox-label-background-fill-selected:var(--checkbox-label-background-fill);--checkbox-label-border-color:var(--border-color-primary);--checkbox-label-border-color-hover:var(--checkbox-label-border-color);--checkbox-label-border-width:var(--input-border-width);--checkbox-label-gap:var(--spacing-lg);--checkbox-label-padding:var(--spacing-md) calc(2 * var(--spacing-md));--checkbox-label-shadow:var(--shadow-drop);--checkbox-label-text-size:var(--text-md);--checkbox-label-text-weight:400;--checkbox-check:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");--radio-circle:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");--checkbox-shadow:var(--input-shadow);--checkbox-label-text-color:var(--body-text-color);--checkbox-label-text-color-selected:var(--checkbox-label-text-color);--error-background-fill:linear-gradient(to right, #fee2e2, var(--background-fill-secondary));--error-border-color:#fecaca;--error-border-width:1px;--error-text-color:#ef4444;--input-background-fill:white;--input-background-fill-focus:var(--secondary-500);--input-background-fill-hover:var(--input-background-fill);--input-border-color:var(--border-color-primary);--input-border-color-focus:var(--secondary-300);--input-border-color-hover:var(--input-border-color);--input-border-width:1px;--input-padding:var(--spacing-xl);--input-placeholder-color:var(--neutral-400);--input-radius:var(--radius-lg);--input-shadow:0 0 0 var(--shadow-spread) transparent, var(--shadow-inset);--input-shadow-focus:0 0 0 var(--shadow-spread) var(--secondary-50), var(--shadow-inset);--input-text-size:var(--text-md);--input-text-weight:400;--loader-color:var(--color-accent);--prose-text-size:var(--text-md);--prose-text-weight:400;--prose-header-text-weight:600;--slider-color:auto;--stat-background-fill:linear-gradient(to right, var(--primary-400), var(--primary-200));--table-border-color:var(--neutral-300);--table-even-background-fill:white;--table-odd-background-fill:var(--neutral-50);--table-radius:var(--radius-lg);--table-row-focus:var(--color-accent-soft);--button-border-width:var(--input-border-width);--button-cancel-background-fill:linear-gradient(to bottom right, #fee2e2, #fecaca);--button-cancel-background-fill-hover:linear-gradient(to bottom right, #fee2e2, #fee2e2);--button-cancel-border-color:#fecaca;--button-cancel-border-color-hover:var(--button-cancel-border-color);--button-cancel-text-color:#dc2626;--button-cancel-text-color-hover:var(--button-cancel-text-color);--button-large-padding:var(--spacing-lg) calc(2 * var(--spacing-lg));--button-large-radius:var(--radius-lg);--button-large-text-size:var(--text-lg);--button-large-text-weight:600;--button-primary-background-fill:linear-gradient(to bottom right, var(--primary-100), var(--primary-300));--button-primary-background-fill-hover:linear-gradient(to bottom right, var(--primary-100), var(--primary-200));--button-primary-background-fill-active:linear-gradient(to bottom right, var(--primary-200), var(--primary-400));--button-primary-border-color:var(--primary-200);--button-primary-border-color-hover:var(--button-primary-border-color);--button-primary-border-color-active:var(--button-primary-border-color);--button-primary-text-color:var(--primary-600);--button-primary-text-color-hover:var(--button-primary-text-color);--button-primary-text-color-active:var(--button-primary-text-color);--button-secondary-background-fill:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-200));--button-secondary-background-fill-hover:linear-gradient(to bottom right, var(--neutral-100), var(--neutral-100));--button-secondary-background-fill-active:linear-gradient(to bottom right, var(--neutral-200), var(--neutral-300));--button-secondary-border-color:var(--neutral-200);--button-secondary-border-color-hover:var(--button-secondary-border-color);--button-secondary-border-color-active:var(--button-secondary-border-color);--button-secondary-text-color:var(--neutral-700);--button-secondary-text-color-hover:var(--button-secondary-text-color);--button-secondary-text-color-active:var(--neutral-800);--button-shadow:var(--shadow-drop);--button-shadow-active:var(--shadow-inset);--button-shadow-hover:var(--shadow-drop-lg);--button-small-padding:var(--spacing-sm) calc(2 * var(--spacing-sm));--button-small-radius:var(--radius-lg);--button-small-text-size:var(--text-md);--button-small-text-weight:400;--button-transition:none}:root{--litegraph-fg-color:#000;--litegraph-bg-color:#fff;--litegraph-comfy-menu-bg:#353535;--litegraph-comfy-input-bg:#222;--litegraph-input-text:#ddd;--litegraph-descrip-text:#999;--litegraph-drag-text:#ccc;--litegraph-error-text:#ff4444;--litegraph-border-color:#4e4e4e}:root{--color-blue-500:#3985f5;--input-border-color-focus:var(--neutral-400);--comfy-accent-soft:var(--neutral-300);--comfy-widget-selected-background-fill:var(--color-yellow-100);--comfy-widget-hovered-background-fill:var(--secondary-200);--comfy-container-selected-background-fill:var(--color-yellow-300);--comfy-container-hovered-background-fill:var(--secondary-300);--comfy-container-empty-background-fill:var(--color-grey-300);--comfy-container-empty-border-color:var(--color-grey-400);--comfy-disabled-label-color:var(--neutral-400);--comfy-disabled-textbox-background-fill:var(--neutral-200);--comfy-disabled-textbox-border-color:var(--neutral-300);--comfy-disabled-textbox-text-color:var(--neutral-500);--comfy-splitpanes-background-fill:var(--secondary-100);--comfy-splitpanes-background-fill-hover:var(--secondary-300);--comfy-splitpanes-background-fill-active:var(--secondary-400);--comfy-dropdown-list-background:white;--comfy-dropdown-item-color-hover:white;--comfy-dropdown-item-background-hover:var(--neutral-400);--comfy-dropdown-item-color-active:var(--neutral-100);--comfy-dropdown-item-background-active:var(--secondary-600);--comfy-progress-bar-background:var(--neutral-300);--comfy-progress-bar-foreground:var(--secondary-300);--comfy-node-name-background:var(--color-blue-200);--comfy-node-name-foreground:var(--body-text-color);--comfy-spinner-main-color:var(--neutral-400);--comfy-spinner-accent-color:var(--secondary-500)}[data-is-dnd-shadow-item]{min-height:5rem}.dark .photo-browser-popup,.dark .photo-browser-popup-{background:var(--neutral-700)}.photo-browser-exposed .toolbar~.toolbar.photo-browser-thumbs{transform:translate3d(0,calc(var(--f7-toolbar-height) * 2),0)}.comfy-app-loading.svelte-b2kj77,.comfy-loading-error.svelte-b2kj77{font-size:40px;color:var(--body-text-color);justify-content:center;margin:auto;width:100%;height:100%;text-align:center;flex-direction:column;display:flex;position:absolute;z-index:100000000;pointer-events:none;user-select:none;top:0px} diff --git a/assets/main-2562103c.js b/assets/main-2562103c.js new file mode 100644 index 0000000..016b14b --- /dev/null +++ b/assets/main-2562103c.js @@ -0,0 +1,7 @@ +import{w as dt,a as ve,n as ls,l as ns,i as Ii,S as _e,b as me,s as fe,e as z,c as P,d as g,t as G,f as S,g as b,h as F,j as Y,k as w,m as X,o as v,p as $,r as Ge,q as ge,u as Ct,v as Ot,x as U,y as fl,z as he,A as ut,B as I,C as T,D as xe,E as hl,F as N,H as is,G as de,I as kt,J as ss,K as $l,L as os,M as rs,N as as,O as Rt,P as Xt,Q as us,R as fs,T as cs,U as xt,V as yl,W as Ne,X as at,Y as Ue,Z as Te,_ as je,$ as Ve,a0 as He,a1 as We,a2 as $t,a3 as el,a4 as ft,a5 as tl,a6 as Ae,a7 as B,a8 as le,a9 as we,aa as Lt,ab as zt,ac as ds,ad as qe,ae as _s,af as Fe,ag as ms,ah as Ti,ai as Ni,aj as Di,ak as gt,al as ps,am as lt,an as Ut,ao as Zt,ap as gs,aq as ot,ar as rt,as as Ei,at as ll,au as hs,av as wt,aw as bs,ax as vs,ay as ks,az as Oe,aA as Ai,aB as nl,aC as it,aD as Mt,aE as Jt,aF as Pt,aG as qi,aH as Kt,aI as yt,aJ as ws,aK as Sl,aL as Et,aM as $s,aN as ys,aO as bl,aP as Ss,aQ as zs,aR as Cs,aS as nt,aT as bt,aU as Ms,aV as Yt,aW as Ps,aX as zl,aY as Is,aZ as Ts,a_ as Ns,a$ as St,b0 as Cl,b1 as Ds,b2 as Ml,b3 as cl,b4 as At,b5 as vt,b6 as Gt,b7 as Es,b8 as ji,b9 as As,ba as qs,bb as js,bc as jt,bd as Bs,be as dl,bf as Bi,bg as Oi,bh as ct,bi as Os,bj as Rs,bk as Ri,bl as Li,bm as Ls,bn as Pl,bo as Us,bp as Vs,bq as _l,br as Dt,bs as Hs,bt as Ws,bu as Gs,bv as Fs,bw as Qs,bx as Zs,by as Js}from"./global-dc583974.js";function Il(n){return Object.prototype.toString.call(n)==="[object Date]"}function ml(n,e){if(n===e||n!==n)return()=>n;const t=typeof n;if(t!==typeof e||Array.isArray(n)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(n)){const l=e.map((i,s)=>ml(n[s],i));return i=>l.map(s=>s(i))}if(t==="object"){if(!n||!e)throw new Error("Object cannot be null");if(Il(n)&&Il(e)){n=n.getTime(),e=e.getTime();const s=e-n;return o=>new Date(n+o*s)}const l=Object.keys(e),i={};return l.forEach(s=>{i[s]=ml(n[s],e[s])}),s=>{const o={};return l.forEach(a=>{o[a]=i[a](s)}),o}}if(t==="number"){const l=e-n;return i=>n+i*l}throw new Error(`Cannot interpolate ${t} values`)}function Ks(n,e={}){const t=dt(n);let l,i=n;function s(o,a){if(n==null)return t.set(n=o),Promise.resolve();i=o;let r=l,u=!1,{delay:f=0,duration:c=400,easing:d=Ii,interpolate:m=ml}=ve(ve({},e),a);if(c===0)return r&&(r.abort(),r=null),t.set(n=i),Promise.resolve();const p=ls()+f;let _;return l=ns(k=>{if(kc?(t.set(n=o),!1):(t.set(n=_(d(h/c))),!0)}),l.promise}return{set:s,update:(o,a)=>s(o(i,n),a),subscribe:t.subscribe}}function Ys(n){let e,t=n[0].msg+"",l;return{c(){e=new is(!1),l=he(),e.a=l},m(i,s){e.m(t,i,s),S(i,l,s)},p(i,s){s&1&&t!==(t=i[0].msg+"")&&e.p(t)},i:U,o:U,d(i){i&&($(l),e.d())}}}function Xs(n){let e,t,l;const i=[n[2]];var s=n[0].component.src;function o(a){let r={};for(let u=0;u{N(f,1)}),X()}s?(e=ut(s,o()),I(e.$$.fragment),v(e.$$.fragment,1),T(e,t.parentNode,t)):e=null}else s&&e.$set(u)},i(a){l||(e&&v(e.$$.fragment,a),l=!0)},o(a){e&&w(e.$$.fragment,a),l=!1},d(a){a&&$(t),e&&N(e,a)}}}function Tl(n){let e,t,l;return{c(){e=z("div"),g(e,"class","_toastBtn pe svelte-95rq8t"),g(e,"role","button"),g(e,"tabindex","0")},m(i,s){S(i,e,s),t||(l=[F(e,"click",n[4]),F(e,"keydown",n[8])],t=!0)},p:U,d(i){i&&$(e),t=!1,Ge(l)}}}function xs(n){let e,t,l,i,s,o,a,r,u,f;const c=[Xs,Ys],d=[];function m(_,k){return _[0].component?0:1}l=m(n),i=d[l]=c[l](n);let p=n[0].dismissable&&Tl(n);return{c(){e=z("div"),t=z("div"),i.c(),s=P(),p&&p.c(),o=P(),a=z("progress"),g(t,"role","status"),g(t,"class","_toastMsg svelte-95rq8t"),G(t,"pe",n[0].component),g(a,"class","_toastBar svelte-95rq8t"),a.value=n[1],g(e,"class","_toastItem svelte-95rq8t"),G(e,"pe",n[0].pausable)},m(_,k){S(_,e,k),b(e,t),d[l].m(t,null),b(e,s),p&&p.m(e,null),b(e,o),b(e,a),r=!0,u||(f=[F(e,"mouseenter",n[9]),F(e,"mouseleave",n[6])],u=!0)},p(_,[k]){let h=l;l=m(_),l===h?d[l].p(_,k):(Y(),w(d[h],1,1,()=>{d[h]=null}),X(),i=d[l],i?i.p(_,k):(i=d[l]=c[l](_),i.c()),v(i,1),i.m(t,null)),(!r||k&1)&&G(t,"pe",_[0].component),_[0].dismissable?p?p.p(_,k):(p=Tl(_),p.c(),p.m(e,o)):p&&(p.d(1),p=null),(!r||k&2)&&(a.value=_[1]),(!r||k&1)&&G(e,"pe",_[0].pausable)},i(_){r||(v(i),r=!0)},o(_){w(i),r=!1},d(_){_&&$(e),d[l].d(),p&&p.d(),u=!1,Ge(f)}}}function al(n,e="undefined"){return typeof n===e}function eo(n,e,t){let l,{item:i}=e,s=i.initial,o=s,a=!1,r={},u;const f=Ks(i.initial,{duration:i.duration,easing:Ii});ge(n,f,y=>t(1,l=y));function c(){fl.pop(i.id)}function d(){(l===1||l===0)&&c()}function m(){!a&&l!==s&&(f.set(l,{duration:0}),a=!0)}function p(){if(a){const y=i.duration,M=y-y*((l-o)/(s-o));f.set(s,{duration:M}).then(d),a=!1}}function _(y=document){if(al(y.hidden))return;const M=()=>y.hidden?m():p(),D="visibilitychange";y.addEventListener(D,M),u=()=>y.removeEventListener(D,M),M()}Ct(_),Ot(()=>{al(i.onpop,"function")&&i.onpop(i.id),u&&u()});const k=y=>{y instanceof KeyboardEvent&&["Enter"," "].includes(y.key)&&c()},h=()=>{i.pausable&&m()};return n.$$set=y=>{"item"in y&&t(0,i=y.item)},n.$$.update=()=>{if(n.$$.dirty&1&&(al(i.progress)||t(0,i.next=i.progress,i)),n.$$.dirty&131&&s!==i.next&&(t(7,s=i.next),o=l,a=!1,f.set(s).then(d)),n.$$.dirty&1&&i.component){const{props:y={},sendIdTo:M}=i.component;t(2,r={...y,...M&&{[M]:i.id}})}},[i,l,r,f,c,m,p,s,k,h]}class to extends _e{constructor(e){super(),me(this,e,eo,xs,fe,{item:0})}}function Nl(n,e,t){const l=n.slice();return l[4]=e[t],l}function Dl(n,e){let t,l,i,s,o,a,r,u,f=U,c;return l=new to({props:{item:e[4]}}),{key:n,first:null,c(){var d;t=z("li"),I(l.$$.fragment),i=P(),g(t,"class",s=$l((d=e[4].classes)==null?void 0:d.join(" "))+" svelte-1u812xz"),g(t,"style",o=El(e[4].theme)),this.first=t},m(d,m){S(d,t,m),T(l,t,null),b(t,i),c=!0},p(d,m){var _;e=d;const p={};m&1&&(p.item=e[4]),l.$set(p),(!c||m&1&&s!==(s=$l((_=e[4].classes)==null?void 0:_.join(" "))+" svelte-1u812xz"))&&g(t,"class",s),(!c||m&1&&o!==(o=El(e[4].theme)))&&g(t,"style",o)},r(){u=t.getBoundingClientRect()},f(){os(t),f(),rs(t,u)},a(){f(),f=as(t,u,cs,{duration:200})},i(d){c||(v(l.$$.fragment,d),d&&Rt(()=>{c&&(r&&r.end(1),a=Xt(t,us,e[4].intro),a.start())}),c=!0)},o(d){w(l.$$.fragment,d),a&&a.invalidate(),d&&(r=fs(t,xt,{})),c=!1},d(d){d&&$(t),N(l),d&&r&&r.end()}}}function lo(n){let e,t=[],l=new Map,i,s=de(n[0]);const o=a=>a[4].id;for(let a=0;a`${e}${t}:${n[t]};`,""):void 0}function no(n,e,t){let l;ge(n,fl,a=>t(3,l=a));let{options:i={}}=e,{target:s="default"}=e,o=[];return n.$$set=a=>{"options"in a&&t(1,i=a.options),"target"in a&&t(2,s=a.target)},n.$$.update=()=>{n.$$.dirty&6&&fl._init(s,i),n.$$.dirty&12&&t(0,o=l.filter(a=>a.target===s))},[o,i,s,l]}class Ui extends _e{constructor(e){super(),me(this,e,no,lo,fe,{options:1,target:2})}}function io(n){let e,t=[{class:"loader"},n[0]],l={};for(let i=0;i{e=ve(ve({},e),at(s)),t(0,i=Ne(e,l))},[i]}class oo extends _e{constructor(e){super(),me(this,e,so,io,fe,{})}}function ro(n){let e,t,l;const i=n[2].default,s=Ue(i,n,n[1],null);let o=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],a={};for(let r=0;r{e=ve(ve({},e),at(a)),t(0,i=Ne(e,l)),"$$scope"in a&&t(1,o=a.$$scope)},[i,o,s]}class Vi extends _e{constructor(e){super(),me(this,e,ao,ro,fe,{})}}function uo(n){let e,t,l;const i=n[2].default,s=Ue(i,n,n[1],null);let o=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],a={};for(let r=0;r{e=ve(ve({},e),at(a)),t(0,i=Ne(e,l)),"$$scope"in a&&t(1,o=a.$$scope)},[i,o,s]}class co extends _e{constructor(e){super(),me(this,e,fo,uo,fe,{})}}function _o(n){let e,t,l,i;const s=n[2].default,o=Ue(s,n,n[1],null);let a=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],r={};for(let u=0;u{e=ve(ve({},e),at(a)),t(0,i=Ne(e,l)),"$$scope"in a&&t(1,o=a.$$scope)},[i,o,s]}class po extends _e{constructor(e){super(),me(this,e,mo,_o,fe,{})}}function go(n){let e,t,l,i;const s=n[2].default,o=Ue(s,n,n[1],null);let a=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],r={};for(let u=0;u{e=ve(ve({},e),at(a)),t(0,i=Ne(e,l)),"$$scope"in a&&t(1,o=a.$$scope)},[i,o,s]}class bo extends _e{constructor(e){super(),me(this,e,ho,go,fe,{})}}function vo(n){let e,t,l;const i=n[2].default,s=Ue(i,n,n[1],null);let o=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],a={};for(let r=0;r{e=ve(ve({},e),at(a)),t(0,i=Ne(e,l)),"$$scope"in a&&t(1,o=a.$$scope)},[i,o,s]}class wo extends _e{constructor(e){super(),me(this,e,ko,vo,fe,{})}}function $o(n){let e,t,l;const i=n[2].default,s=Ue(i,n,n[1],null);let o=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],a={};for(let r=0;r{e=ve(ve({},e),at(a)),t(0,i=Ne(e,l)),"$$scope"in a&&t(1,o=a.$$scope)},[i,o,s]}class So extends _e{constructor(e){super(),me(this,e,yo,$o,fe,{})}}function zo(n){let e,t,l;const i=n[2].default,s=Ue(i,n,n[1],null);let o=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],a={};for(let r=0;r{e=ve(ve({},e),at(a)),t(0,i=Ne(e,l)),"$$scope"in a&&t(1,o=a.$$scope)},[i,o,s]}class Mo extends _e{constructor(e){super(),me(this,e,Co,zo,fe,{})}}function Po(n){let e,t,l;const i=n[2].default,s=Ue(i,n,n[1],null);let o=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},n[0]],a={};for(let r=0;r{e=ve(ve({},e),at(a)),t(0,i=Ne(e,l)),"$$scope"in a&&t(1,o=a.$$scope)},[i,o,s]}class To extends _e{constructor(e){super(),me(this,e,Io,Po,fe,{})}}function No(n){let e,t,l,i,s,o,a,r,u,f,c,d,m,p,_;return{c(){e=z("div"),t=z("div"),l=z("span"),l.textContent="⤡",i=P(),s=z("span"),s.textContent="⊞",o=P(),a=z("span"),a.textContent="×",r=P(),u=z("img"),f=P(),c=z("a"),c.textContent="❮",d=P(),m=z("a"),m.textContent="❯",g(l,"class","modalZoom cursor svelte-1turali"),g(l,"title","Toggle zoomed view"),g(s,"class","modalTileImage cursor svelte-1turali"),g(s,"title","Preview tiling"),g(a,"class","modalClose cursor svelte-1turali"),g(a,"title","Close image viewer"),g(t,"class","modalControls gradio-container svelte-1turali"),g(u,"id","modalImage"),g(u,"alt","Modal"),g(u,"tabindex","0"),g(u,"class","svelte-1turali"),g(c,"class","modalPrev svelte-1turali"),g(c,"href","#"),g(c,"tabindex","0"),g(m,"class","modalNext svelte-1turali"),g(m,"href","#"),g(m,"tabindex","0"),g(e,"id","lightboxModal"),g(e,"class","svelte-1turali")},m(k,h){S(k,e,h),b(e,t),b(t,l),b(t,i),b(t,s),b(t,o),b(t,a),b(e,r),b(e,u),b(e,f),b(e,c),b(e,d),b(e,m),p||(_=[F(l,"click",n[0]),F(l,"keydown",n[3]),F(s,"click",n[1]),F(s,"keydown",n[3]),F(a,"click",n[2]),F(a,"keydown",n[3]),F(t,"keydown",n[3]),F(u,"keydown",n[3]),F(c,"click",n[4]),F(c,"keydown",n[3]),F(m,"click",n[5]),F(m,"keydown",n[3]),F(e,"keydown",n[3]),F(e,"click",n[2])],p=!0)},p:U,i:U,o:U,d(k){k&&$(e),p=!1,Ge(_)}}}function Do(n){function e(a){$t.instance.modalZoomToggle(a)}function t(a){$t.instance.modalTileImageToggle(a)}function l(a){$t.instance.closeModal()}function i(a){$t.instance.modalKeyHandler(a)}function s(a){$t.instance.modalPrevImage(a)}function o(a){$t.instance.modalNextImage(a)}return[e,t,l,i,s,o]}class Eo extends _e{constructor(e){super(),me(this,e,Do,No,fe,{})}}function Al(n,e,t){const l=n.slice();return l[14]=e[t],l[16]=t,l}function Ao(n){let e,t,l,i,s,o;const a=[Bo,jo],r=[];function u(c,d){return c[14].icon!==null?0:1}t=u(n),l=r[t]=a[t](n);function f(){return n[12](n[14],n[16])}return{c(){e=z("button"),l.c(),g(e,"class","svelte-54q1f4")},m(c,d){S(c,e,d),r[t].m(e,null),i=!0,s||(o=F(e,"click",f),s=!0)},p(c,d){n=c;let m=t;t=u(n),t===m?r[t].p(n,d):(Y(),w(r[m],1,1,()=>{r[m]=null}),X(),l=r[t],l?l.p(n,d):(l=r[t]=a[t](n),l.c()),v(l,1),l.m(e,null))},i(c){i||(v(l),i=!0)},o(c){w(l),i=!1},d(c){c&&$(e),r[t].d(),s=!1,o()}}}function qo(n){let e,t,l,i;const s=[Ro,Oo],o=[];function a(r,u){return r[14].icon!==null?0:1}return t=a(n),l=o[t]=s[t](n),{c(){e=z("button"),l.c(),g(e,"class","selected svelte-54q1f4")},m(r,u){S(r,e,u),o[t].m(e,null),i=!0},p(r,u){let f=t;t=a(r),t===f?o[t].p(r,u):(Y(),w(o[f],1,1,()=>{o[f]=null}),X(),l=o[t],l?l.p(r,u):(l=o[t]=s[t](r),l.c()),v(l,1),l.m(e,null))},i(r){i||(v(l),i=!0)},o(r){w(l),i=!1},d(r){r&&$(e),o[t].d()}}}function jo(n){let e=n[14].name+"",t;return{c(){t=B(e)},m(l,i){S(l,t,i)},p(l,i){i&8&&e!==(e=l[14].name+"")&&le(t,e)},i:U,o:U,d(l){l&&$(t)}}}function Bo(n){let e,t,l;var i=n[14].icon;function s(o){return{props:{width:"100%",height:"100%",strokeWidth:1.5}}}return i&&(e=ut(i,s())),{c(){e&&I(e.$$.fragment),t=he()},m(o,a){e&&T(e,o,a),S(o,t,a),l=!0},p(o,a){if(a&8&&i!==(i=o[14].icon)){if(e){Y();const r=e;w(r.$$.fragment,1,0,()=>{N(r,1)}),X()}i?(e=ut(i,s()),I(e.$$.fragment),v(e.$$.fragment,1),T(e,t.parentNode,t)):e=null}},i(o){l||(e&&v(e.$$.fragment,o),l=!0)},o(o){e&&w(e.$$.fragment,o),l=!1},d(o){o&&$(t),e&&N(e,o)}}}function Oo(n){let e=n[14].name+"",t;return{c(){t=B(e)},m(l,i){S(l,t,i)},p(l,i){i&8&&e!==(e=l[14].name+"")&&le(t,e)},i:U,o:U,d(l){l&&$(t)}}}function Ro(n){let e,t,l;var i=n[14].icon;function s(o){return{props:{width:"100%",height:"100%",strokeWidth:1.5}}}return i&&(e=ut(i,s())),{c(){e&&I(e.$$.fragment),t=he()},m(o,a){e&&T(e,o,a),S(o,t,a),l=!0},p(o,a){if(a&8&&i!==(i=o[14].icon)){if(e){Y();const r=e;w(r.$$.fragment,1,0,()=>{N(r,1)}),X()}i?(e=ut(i,s()),I(e.$$.fragment),v(e.$$.fragment,1),T(e,t.parentNode,t)):e=null}},i(o){l||(e&&v(e.$$.fragment,o),l=!0)},o(o){e&&w(e.$$.fragment,o),l=!1},d(o){o&&$(t),e&&N(e,o)}}}function ql(n,e){let t,l,i,s,o;const a=[qo,Ao],r=[];function u(f,c){return f[14].id===f[4]?0:1}return l=u(e),i=r[l]=a[l](e),{key:n,first:null,c(){t=he(),i.c(),s=he(),this.first=t},m(f,c){S(f,t,c),r[l].m(f,c),S(f,s,c),o=!0},p(f,c){e=f;let d=l;l=u(e),l===d?r[l].p(e,c):(Y(),w(r[d],1,1,()=>{r[d]=null}),X(),i=r[l],i?i.p(e,c):(i=r[l]=a[l](e),i.c()),v(i,1),i.m(s.parentNode,s))},i(f){o||(v(i),o=!0)},o(f){w(i),o=!1},d(f){f&&($(t),$(s)),r[l].d(f)}}}function Lo(n){let e,t,l=[],i=new Map,s,o,a,r,u,f=de(n[3]);const c=p=>p[14].id;for(let p=0;pt(4,i=h));const m=dt(0);ge(n,m,h=>t(13,l=h));const p=ft();tl(Hi,{register_tab:h=>(c.push({name:h.name,id:h.id,icon:h.icon}),d.update(y=>y??h.id),t(3,c),c.length-1),unregister_tab:h=>{const y=c.findIndex(M=>M.id===h.id);c.splice(y,1),d.update(M=>{var D,E;return M===h.id?((D=c[y])==null?void 0:D.id)||((E=c[c.length-1])==null?void 0:E.id):M})},selected_tab:d,selected_tab_index:m});function _(h){t(9,f=h),Ae(d,i=h,i),Ae(m,l=c.findIndex(y=>y.id===h),l),p("change")}const k=(h,y)=>{_(h.id),p("select",{value:h.name,index:y})};return n.$$set=h=>{"visible"in h&&t(0,a=h.visible),"elem_id"in h&&t(1,r=h.elem_id),"elem_classes"in h&&t(2,u=h.elem_classes),"selected"in h&&t(9,f=h.selected),"$$scope"in h&&t(10,o=h.$$scope)},n.$$.update=()=>{n.$$.dirty&512&&f!==null&&_(f)},[a,r,u,c,i,d,m,p,_,f,o,s,k]}class Vo extends _e{constructor(e){super(),me(this,e,Uo,Lo,fe,{visible:0,elem_id:1,elem_classes:2,selected:9})}}function Ho(n){let e,t,l,i;const s=n[10].default,o=Ue(s,n,n[9],null);return{c(){e=z("div"),t=z("div"),o&&o.c(),g(t,"class","svelte-160dj62"),we(t,"height","100%"),g(e,"id",n[0]),g(e,"class",l="sidebar-item "+n[1].join(" ")+" svelte-160dj62"),we(e,"display",n[3]===n[2]?"block":"none")},m(a,r){S(a,e,r),b(e,t),o&&o.m(t,null),i=!0},p(a,[r]){o&&o.p&&(!i||r&512)&&Ve(o,s,a,a[9],i?We(s,a[9],r,null):He(a[9]),null),(!i||r&1)&&g(e,"id",a[0]),(!i||r&2&&l!==(l="sidebar-item "+a[1].join(" ")+" svelte-160dj62"))&&g(e,"class",l),r&12&&we(e,"display",a[3]===a[2]?"block":"none")},i(a){i||(v(o,a),i=!0)},o(a){w(o,a),i=!1},d(a){a&&$(e),o&&o.d(a)}}}function Wo(n,e,t){let l,i,{$$slots:s={},$$scope:o}=e,{elem_id:a=""}=e,{elem_classes:r=[]}=e,{name:u}=e,{id:f={}}=e,{icon:c=null}=e;const d=ft(),{register_tab:m,unregister_tab:p,selected_tab:_,selected_tab_index:k}=Lt(Hi);ge(n,_,y=>t(3,i=y)),ge(n,k,y=>t(8,l=y));let h=m({name:u,id:f,icon:c});return Ct(()=>()=>p({name:u,id:f,icon:c})),n.$$set=y=>{"elem_id"in y&&t(0,a=y.elem_id),"elem_classes"in y&&t(1,r=y.elem_classes),"name"in y&&t(6,u=y.name),"id"in y&&t(2,f=y.id),"icon"in y&&t(7,c=y.icon),"$$scope"in y&&t(9,o=y.$$scope)},n.$$.update=()=>{n.$$.dirty&320&&l===h&&zt().then(()=>d("select",{value:u,index:h}))},[a,r,f,i,_,k,u,c,l,o,s]}class jl extends _e{constructor(e){super(),me(this,e,Wo,Ho,fe,{elem_id:0,elem_classes:1,name:6,id:2,icon:7})}}const Wi=!0;function Ft(n){if(!n.endsWith("px"))return;const e=parseFloat(n.slice(0,n.length-2));return isNaN(e)?void 0:e}const Gi=n=>n?"height":"width",pl=n=>window.getComputedStyle(n),gl=n=>n.getBoundingClientRect(),Go=(n,e=!0)=>{if(n.getPropertyValue("box-sizing")==="border-box")return;const t=Ft(n.getPropertyValue("border-left-width"));if(t===void 0)return;const l=Ft(n.getPropertyValue("border-top-width"));if(l===void 0)return;const i={left:t,top:l};if(e){const s=Ft(n.getPropertyValue("border-right-width"));if(s===void 0)return;const o=Ft(n.getPropertyValue("border-bottom-width"));if(o===void 0)return;const a=i;a.right=s,a.bottom=o}return i};function Fo(n,e){e||(e=pl(n));const t=gl(n),l=Go(e,!0)||{left:0,top:0,right:0,bottom:0};return{width:t.width-l.left-l.right,height:t.height-l.top-l.bottom,left:t.left+l.left,top:t.top+l.top}}const Bl=(n,e)=>({left:n.left-e.left,top:n.top-e.top});function Ol(n){const e=n,t=n,{clientX:l,clientY:i}="ontouchstart"in window&&t.touches?t.touches[0]:e;return{left:l,top:i}}function Rl(n,e,t,l){let i=0;for(let s=e;st(31,s=C));const ce=dt(m);ge(n,ce,C=>t(30,i=C));const $e=dt(void 0);ge(n,$e,C=>t(29,l=C));let ee=null,se=null;tl(Fi,{showFirstSplitter:ce,veryFirstPaneKey:$e,isHorizontal:ie,ssrRegisterPaneSize:void 0,onPaneInit:C=>(l===void 0&&Ae($e,l=C,l),{undefinedPaneInitSize:0}),clientOnly:{onPaneAdd:K,onPaneRemove:pe}});function K(C){let Z=-1;Array.from(C.element.parentNode.children).some(J=>(J.className.includes("splitpanes__pane")&&Z++,J===C.element)),Z===0&&Ae($e,l=C.key,l),q.splice(Z,0,C);for(let J=0;J{C.isReady=!0,h("pane-add",{index:Z,panes:Ce()})});const te=(J,ue=!0)=>ne=>{(ue||C.index>0)&&J(ne,C)};return{onSplitterDown:te(Qe,!1),onSplitterClick:te(V,!1),onSplitterDblClick:te(ze),onPaneClick:te(Se),reportGivenSizeChange:te(Ie)}}async function pe(C){const Z=q.findIndex(te=>te.key===C);if(Z>=0){const te=q.splice(Z,1)[0];for(let J=0;J0?q[0].key:void 0,l),M&&(await Tt(),h("pane-remove",{removed:te,panes:Ce()}))}}function Se(C,Z){h("pane-click",Z)}function Ie(C,Z){Z.setSz(C),Tt()}Ct(()=>{Le(),Nt();for(let C=0;C{t(6,E=!0)},0)}),Ot(()=>{M&&Ee(),M=!1}),ds(()=>{Le()});function De(C){if(d==="auto")try{return(C??pl(y)).direction==="rtl"}catch{}return d===!0}function Be(){document.body.style.cursor=ie?"col-resize":"row-resize",document.addEventListener("mousemove",Xe,{passive:!1}),document.addEventListener("mouseup",O),"ontouchstart"in window&&(document.addEventListener("touchmove",Xe,{passive:!1}),document.addEventListener("touchend",O))}function Ee(){document.body.style.cursor="",document.removeEventListener("mousemove",Xe),document.removeEventListener("mouseup",O),"ontouchstart"in window&&(document.removeEventListener("touchmove",Xe),document.removeEventListener("touchend",O))}const et=C=>C.nodeType===Node.ELEMENT_NODE&&C.classList.contains("splitpanes__splitter");function st(C,Z,te){let J=C[u?"top":"left"];return te&&!u&&(J=Z-J),J}const Ye=()=>Gi(u);function Qe(C,Z){t(7,j=!0),A=Z.index,Z.setSplitterActive(!0);let J=Z.element;for(;J!=null&&(J=J.previousSibling,!et(J)););if(J==null)return;ee=J;const ue=Ol(C),ne=gl(ee);se=st(Bl(ue,ne),ne[Ye()],De()),Be()}function Xe(C){if(j){C.preventDefault(),t(8,R=!0);const Z=Ol(C),te=pl(y),J=Fo(y,te),ue=J[Ye()],ne=De(te),x=Bl(Z,J),ae=st(x,ue,ne);Ze(ae,ue),h("resize",Ce())}}function O(){R&&h("resized",Ce()),t(7,j=!1),q[A].setSplitterActive(!1),setTimeout(()=>{t(8,R=!1),Ee()},100)}function V(C,Z){if("ontouchstart"in window){C.preventDefault();const te=Z.index;c&&(L===te?(W&&clearTimeout(W),W=null,ze(C,Z),L=-1):(L=te,W=setTimeout(()=>{L=-1},500)))}R||h("splitter-click",Z)}function ze(C,Z){if(c){const te=Z.index;let J=0;for(let x=0;x=100)for(let x=0;x{const ke=be.min(),Re=be.max(),Ke=Math.min(Math.max(0,x),Re-ke);be.setSz(ke+Ke),x-=Ke};for(let be=te-1;be>=0;be--)ae(q[be]);for(let be=te+1;beq.map(C=>({min:C.min(),max:C.max(),size:C.sz(),snap:C.snap()}));function re(C,Z){const te=Re=>gl(Re)[Ye()],J=te(ee);let ue=0,ne=ee.previousSibling;for(;ne!=null;)et(ne)&&(ue+=te(ne)),ne=ne.previousSibling;let x=0,ae=ee.nextSibling;for(;ae!=null;)et(ae)&&(x+=te(ae)),ae=ae.nextSibling;const be=ue+se,ke=ue+J+x;return(C-be)/(Z-ke)*100}function Ze(C,Z){let te=A-1,J=q[te],ue=A,ne=q[ue],x={prevPanesSize:Je(te),nextPanesSize:Pe(ue),prevReachedMinPanes:0,nextReachedMinPanes:0};const ae=0+(f?0:x.prevPanesSize),be=100-(f?0:x.nextPanesSize),ke=Math.max(Math.min(re(C,Z),be),ae),Re=x.prevPanesSize+J.min()+J.snap(),Ke=100-(x.nextPanesSize+ne.min()+ne.snap());let ye=ke,tt=!1;ke<=Re?ke>x.prevPanesSize+J.min()&&(ye=Math.max(J.min()+x.prevPanesSize,100-(ne.max()+x.nextPanesSize)),tt=!0):ke>=Ke&&ke<100-x.nextPanesSize-ne.min()&&(ye=Math.min(100-(ne.min()+x.nextPanesSize),J.max()+x.prevPanesSize),tt=!0);const Wt=J.max()<100&&ye>=J.max()+x.prevPanesSize,ts=ne.max()<100&&ye<=100-(ne.max()+x.nextPanesSize);if(Wt||ts)Wt?(J.setSz(J.max()),ne.setSz(Math.max(100-J.max()-x.prevPanesSize-x.nextPanesSize,0))):(J.setSz(Math.max(100-ne.max()-x.prevPanesSize-x.nextPanesSize,0)),ne.setSz(ne.max()));else{if(f&&!tt){const wl=Q(x,ye);if(!wl)return;({sums:x,paneBeforeIndex:te,paneAfterIndex:ue}=wl),J=q[te],ne=q[ue]}te!=null&&J.setSz(Math.min(Math.max(ye-x.prevPanesSize-x.prevReachedMinPanes,J.min()),J.max())),ue!=null&&ne.setSz(Math.min(Math.max(100-ye-x.nextPanesSize-x.nextReachedMinPanes,ne.min()),ne.max()))}}function Q(C,Z){var ne,x;const te=A-1;let J=te,ue=te+1;if(Z{ae.setSz(ae.min()),C.prevReachedMinPanes+=ae.min()}),C.prevPanesSize=Je(J),J==null))return C.prevReachedMinPanes=0,q[0].setSz(q[0].min()),Qt(q,1,te+1,ae=>{ae.setSz(ae.min()),C.prevReachedMinPanes+=ae.min()}),q[ue].setSz(100-C.prevReachedMinPanes-q[0].min()-C.prevPanesSize-C.nextPanesSize),null;if(Z>100-C.nextPanesSize-q[ue].min()){ue=(x=Vt(te))==null?void 0:x.index,C.nextReachedMinPanes=0,ue>te+1&&Qt(q,te+1,ue,be=>{be.setSz(be.min()),C.nextReachedMinPanes+=be.min()}),C.nextPanesSize=Pe(ue);const ae=q.length;if(ue==null)return C.nextReachedMinPanes=0,q[ae-1].setSz(q[ae-1].min()),Qt(q,te+1,ae-1,be=>{be.setSz(be.min()),C.nextReachedMinPanes+=be.min()}),q[J].setSz(100-C.prevPanesSize-C.nextReachedMinPanes-q[ae-1].min()-C.nextPanesSize),null}return{sums:C,paneBeforeIndex:J,paneAfterIndex:ue}}const Me=C=>C.sz(),Je=C=>Rl(q,0,C,Me),Pe=C=>Rl(q,C+1,q.length,Me),It=C=>[...q].reverse().find(Z=>Z.indexZ.min()),Vt=C=>q.find(Z=>Z.index>C+1&&Z.sz()>Z.min());async function Tt(){D=!0,await zt(),D&&(Nt(),D=!1)}function Nt(){rl(),M&&h("resized",Ce())}function rl(){if(q.length===0)return;const C=q.length;let Z=100,te=0,J=0,ue=0,ne=[],x=[];for(let Ke=0;Ke=ye.max()&&ne.push(ye),tt<=ye.min()&&x.push(ye)):J+=1:(Z-=tt,te++,ne.push(ye),x.push(ye))}const ae=C-te,be=ae-J;let ke,Re;if(be>0?(ke=ue/be,ke>.1&&Z>.1?(ue+=J*ke,Re=Z/ue):(ke=0,Re=1)):(ke=Z/ae,Re=1),Z+ue>.1){Z=100;for(let Ke=0;Ke.1&&(Z=Ht(Z,ne,x))}}function Ht(C,Z,te){const ue=q.length-(C>0?Z.length:te.length);if(ue<=0)return C;const ne=C/ue;if(q.length===1)q[0].setSz(100),C=0;else for(let x=0;x0&&!Z.includes(ae)){const ke=Math.max(Math.min(be+ne,ae.max()),ae.min()),Re=ke-be;C-=Re,ae.setSz(ke)}else if(!te.includes(ae)){const ke=Math.max(Math.min(be+ne,ae.max()),ae.min()),Re=ke-be;C-=Re,ae.setSz(ke)}}return C}function Le(){var J;const{children:C}=y;let Z=0,te=!1;for(let ue=0;ueke.element===x);be!=null&&(be.index=ue.length,ue.push(be))}}q=ue,Ae($e,l=q.length>0?q[0].key:void 0,l)}}function H(C){qe[C?"unshift":"push"](()=>{y=C,t(5,y)})}return n.$$set=C=>{"id"in C&&t(0,r=C.id),"horizontal"in C&&t(1,u=C.horizontal),"pushOtherPanes"in C&&t(12,f=C.pushOtherPanes),"dblClickSplitter"in C&&t(13,c=C.dblClickSplitter),"rtl"in C&&t(14,d=C.rtl),"firstSplitter"in C&&t(15,m=C.firstSplitter),"style"in C&&t(2,p=C.style),"theme"in C&&t(3,_=C.theme),"class"in C&&t(4,k=C.class),"$$scope"in C&&t(18,a=C.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&2&&Ae(ie,s=u,s),n.$$.dirty[0]&32768&&Ae(ce,i=m,i)},[r,u,p,_,k,y,E,j,R,ie,ce,$e,f,c,d,m,o,H,a]}class Qi extends _e{constructor(e){super(),me(this,e,Zo,Qo,fe,{id:0,horizontal:1,pushOtherPanes:12,dblClickSplitter:13,rtl:14,firstSplitter:15,style:2,theme:3,class:4},null,[-1,-1,-1])}}const Jo=(n,e)=>t=>{const l=n();l!=null&&l[e](t)},Ko=n=>Jo.bind(null,n);function Yo(n){let e,t,l,i,s,o,a=(n[4]!==n[9]||n[5])&&Ll(n);const r=n[20].default,u=Ue(r,n,n[19],null);return{c(){a&&a.c(),e=P(),t=z("div"),u&&u.c(),g(t,"class",l=`splitpanes__pane ${n[0]||""}`),g(t,"style",n[3])},m(f,c){a&&a.m(f,c),S(f,e,c),S(f,t,c),u&&u.m(t,null),n[21](t),i=!0,s||(o=F(t,"click",n[11]("onPaneClick")),s=!0)},p(f,c){f[4]!==f[9]||f[5]?a?a.p(f,c):(a=Ll(f),a.c(),a.m(e.parentNode,e)):a&&(a.d(1),a=null),u&&u.p&&(!i||c&524288)&&Ve(u,r,f,f[19],i?We(r,f[19],c,null):He(f[19]),null),(!i||c&1&&l!==(l=`splitpanes__pane ${f[0]||""}`))&&g(t,"class",l),(!i||c&8)&&g(t,"style",f[3])},i(f){i||(v(u,f),i=!0)},o(f){w(u,f),i=!1},d(f){f&&($(e),$(t)),a&&a.d(f),u&&u.d(f),n[21](null),s=!1,o()}}}function Ll(n){let e,t,l,i;return{c(){e=z("div"),g(e,"class",t="splitpanes__splitter "+(n[2]?"splitpanes__splitter__active":""))},m(s,o){S(s,e,o),l||(i=[F(e,"mousedown",n[11]("onSplitterDown")),F(e,"touchstart",n[11]("onSplitterDown")),F(e,"click",n[11]("onSplitterClick")),F(e,"dblclick",n[11]("onSplitterDblClick"))],l=!0)},p(s,o){o&4&&t!==(t="splitpanes__splitter "+(s[2]?"splitpanes__splitter__active":""))&&g(e,"class",t)},d(s){s&&$(e),l=!1,Ge(i)}}}function Xo(n){let e,t,l=!n[10]&&Yo(n);return{c(){l&&l.c(),e=he()},m(i,s){l&&l.m(i,s),S(i,e,s),t=!0},p(i,[s]){i[10]||l.p(i,s)},i(i){t||(v(l),t=!0)},o(i){w(l),t=!1},d(i){i&&$(e),l&&l.d(i)}}}function xo(n,e,t){let l,i,s,o,a,{$$slots:r={},$$scope:u}=e;const{ssrRegisterPaneSize:f,onPaneInit:c,clientOnly:d,isHorizontal:m,showFirstSplitter:p,veryFirstPaneKey:_}=Lt(Fi);ge(n,m,ee=>t(18,s=ee)),ge(n,p,ee=>t(5,a=ee)),ge(n,_,ee=>t(4,o=ee));let{size:k=null}=e,{minSize:h=0}=e,{maxSize:y=100}=e,{snapSize:M=0}=e,{class:D=""}=e;const E={},j=!Wi,{undefinedPaneInitSize:R}=c(E);let A,L=k??R,W=!1,q;const ie=Ko(()=>q),ce=ee=>{ee!=L&&ie("reportGivenSizeChange")(ee)};Ct(()=>{const ee={key:E,element:A,givenSize:k,sz:()=>L,setSz:se=>{t(16,L=se),k!=null&&k!=L&&t(12,k=L)},min:()=>h,max:()=>y,snap:()=>M,setSplitterActive:se=>{t(2,W=se)},isReady:!1};q=d.onPaneAdd(ee)}),Ot(()=>{d.onPaneRemove(E)});function $e(ee){qe[ee?"unshift":"push"](()=>{A=ee,t(1,A)})}return n.$$set=ee=>{"size"in ee&&t(12,k=ee.size),"minSize"in ee&&t(13,h=ee.minSize),"maxSize"in ee&&t(14,y=ee.maxSize),"snapSize"in ee&&t(15,M=ee.snapSize),"class"in ee&&t(0,D=ee.class),"$$scope"in ee&&t(19,u=ee.$$scope)},n.$$.update=()=>{n.$$.dirty&4096&&k!=null&&ce(k),n.$$.dirty&262144&&t(17,l=Gi(s)),n.$$.dirty&196608&&t(3,i=`${l}: ${L}%;`)},[D,A,W,i,o,a,m,p,_,E,j,ie,k,h,y,M,L,l,s,u,r,$e]}class qt extends _e{constructor(e){super(),me(this,e,xo,Xo,fe,{size:12,minSize:13,maxSize:14,snapSize:15,class:0})}}function er(n){let e,t,l,i,s;return{c(){e=z("div"),t=z("div"),l=z("span"),i=B(n[3]),g(l,"class","label svelte-1wglhuw"),g(t,"class","bar svelte-1wglhuw"),we(t,"width",n[2]+"%"),g(e,"class",s="progress "+n[0]+" svelte-1wglhuw"),g(e,"style",n[1])},m(o,a){S(o,e,a),b(e,t),b(t,l),b(l,i)},p(o,[a]){a&8&&le(i,o[3]),a&4&&we(t,"width",o[2]+"%"),a&1&&s!==(s="progress "+o[0]+" svelte-1wglhuw")&&g(e,"class",s),a&2&&g(e,"style",o[1])},i:U,o:U,d(o){o&&$(e)}}}function tr(n,e,t){let{value:l=null}=e,{max:i=null}=e,{classes:s=""}=e,{styles:o=""}=e,a=0,r="";return n.$$set=u=>{"value"in u&&t(4,l=u.value),"max"in u&&t(5,i=u.max),"classes"in u&&t(0,s=u.classes),"styles"in u&&t(1,o=u.styles)},n.$$.update=()=>{n.$$.dirty&52&&(l&&i?(t(2,a=l/i*100),t(3,r=a.toFixed(1)+"%")):(t(2,a=0),t(3,r="??.?%")))},[s,o,a,r,l,i]}class lr extends _e{constructor(e){super(),me(this,e,tr,er,fe,{value:4,max:5,classes:0,styles:1})}}function nr(n){let e,t,l,i,s,o;return{c(){e=z("div"),t=z("div"),l=z("span"),i=B("VRAM: "),s=B(n[3]),g(l,"class","label svelte-14ema52"),g(t,"class","bar svelte-14ema52"),we(t,"width",n[2]+"%"),g(e,"class",o="progress "+n[0]+" svelte-14ema52"),g(e,"style",n[1])},m(a,r){S(a,e,r),b(e,t),b(t,l),b(l,i),b(l,s)},p(a,[r]){r&8&&le(s,a[3]),r&4&&we(t,"width",a[2]+"%"),r&1&&o!==(o="progress "+a[0]+" svelte-14ema52")&&g(e,"class",o),r&2&&g(e,"style",a[1])},i:U,o:U,d(a){a&&$(e)}}}function Ul(n){return(n/1024/1024/1024).toFixed(1)}function ir(n,e,t){let l;ge(n,_s,m=>t(9,l=m));let{value:i=null}=e,{max:s=null}=e,{classes:o=""}=e,{styles:a=""}=e,r=0,u="",f="",c="",d=null;return n.$$set=m=>{"value"in m&&t(4,i=m.value),"max"in m&&t(5,s=m.max),"classes"in m&&t(0,o=m.classes),"styles"in m&&t(1,a=m.styles)},n.$$.update=()=>{n.$$.dirty&512&&t(8,d=l.devices[0]),n.$$.dirty&452&&(d?(t(2,r=(1-d.vram_free/d.vram_total)*100),t(6,u=Ul(d.vram_total)),t(7,f=Ul(d.vram_total-d.vram_free)),t(3,c=`${f} / ${u}GB (${r.toFixed(1)}%)`)):(t(2,r=0),t(6,u=""),t(7,f=""),t(3,c="??.?%")))},[o,a,r,c,i,s,u,f,d,l]}class sr extends _e{constructor(e){super(),me(this,e,ir,nr,fe,{value:4,max:5,classes:0,styles:1})}}function Vl(n,e,t){const l=n.slice();return l[5]=e[t],l[7]=t,l}function Hl(n,e,t){const l=n.slice();return l[5]=e[t],l[7]=t,l}function or(n){let e,t;return{c(){e=z("div"),t=B(n[1]),g(e,"class","json-item svelte-oqunb4")},m(l,i){S(l,e,i),b(e,t)},p(l,i){i&2&&le(t,l[1])},i:U,o:U,d(l){l&&$(e)}}}function rr(n){let e,t;return{c(){e=z("div"),t=B(n[1]),g(e,"class","json-item number svelte-oqunb4")},m(l,i){S(l,e,i),b(e,t)},p(l,i){i&2&&le(t,l[1])},i:U,o:U,d(l){l&&$(e)}}}function ar(n){let e,t=n[1].toLocaleString()+"",l;return{c(){e=z("div"),l=B(t),g(e,"class","json-item bool svelte-oqunb4")},m(i,s){S(i,e,s),b(e,l)},p(i,s){s&2&&t!==(t=i[1].toLocaleString()+"")&&le(l,t)},i:U,o:U,d(i){i&&$(e)}}}function ur(n){let e,t,l,i;return{c(){e=z("div"),t=B('"'),l=B(n[1]),i=B('"'),g(e,"class","json-item string svelte-oqunb4")},m(s,o){S(s,e,o),b(e,t),b(e,l),b(e,i)},p(s,o){o&2&&le(l,s[1])},i:U,o:U,d(s){s&&$(e)}}}function fr(n){let e;return{c(){e=z("div"),e.textContent="null",g(e,"class","json-item null svelte-oqunb4")},m(t,l){S(t,e,l)},p:U,i:U,o:U,d(t){t&&$(e)}}}function cr(n){let e,t,l,i;const s=[mr,_r],o=[];function a(r,u){return r[0]?0:1}return e=a(n),t=o[e]=s[e](n),{c(){t.c(),l=he()},m(r,u){o[e].m(r,u),S(r,l,u),i=!0},p(r,u){let f=e;e=a(r),e===f?o[e].p(r,u):(Y(),w(o[f],1,1,()=>{o[f]=null}),X(),t=o[e],t?t.p(r,u):(t=o[e]=s[e](r),t.c()),v(t,1),t.m(l.parentNode,l))},i(r){i||(v(t),i=!0)},o(r){w(t),i=!1},d(r){r&&$(l),o[e].d(r)}}}function dr(n){let e,t,l,i;const s=[gr,pr],o=[];function a(r,u){return r[0]?0:1}return e=a(n),t=o[e]=s[e](n),{c(){t.c(),l=he()},m(r,u){o[e].m(r,u),S(r,l,u),i=!0},p(r,u){let f=e;e=a(r),e===f?o[e].p(r,u):(Y(),w(o[f],1,1,()=>{o[f]=null}),X(),t=o[e],t?t.p(r,u):(t=o[e]=s[e](r),t.c()),v(t,1),t.m(l.parentNode,l))},i(r){i||(v(t),i=!0)},o(r){w(t),i=!1},d(r){r&&$(l),o[e].d(r)}}}function _r(n){let e,t,l,i,s=de(Object.entries(n[1])),o=[];for(let r=0;rw(o[r],1,1,()=>{o[r]=null});return{c(){e=B(`{ + `),t=z("div");for(let r=0;rw(o[r],1,1,()=>{o[r]=null});return{c(){e=B(`[ + `),t=z("div");for(let r=0;r{r[d]=null}),X(),s=r[i],s?s.p(f,c):(s=r[i]=a[i](f),s.c()),v(s,1),s.m(l,null))},i(f){o||(v(s),o=!0)},o(f){w(s),o=!1},d(f){f&&($(e),$(t),$(l)),r[i].d()}}}function br(n,e,t){let{value:l}=e,{depth:i}=e,{collapsed:s=i>4}=e;const o=()=>{t(0,s=!1)},a=()=>{t(0,s=!1)};return n.$$set=r=>{"value"in r&&t(1,l=r.value),"depth"in r&&t(2,i=r.depth),"collapsed"in r&&t(0,s=r.collapsed)},[s,l,i,o,a]}class vl extends _e{constructor(e){super(),me(this,e,br,hr,fe,{value:1,depth:2,collapsed:0})}}function vr(n){let e,t;return e=new ms({props:{$$slots:{default:[wr]},$$scope:{ctx:n}}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i&32&&(s.$$scope={dirty:i,ctx:l}),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function kr(n){let e,t,l,i,s,o,a,r,u;const f=[yr,$r],c=[];function d(m,p){return m[1]?0:1}return t=d(n),l=c[t]=f[t](n),o=new vl({props:{value:n[0],depth:0}}),{c(){e=z("button"),l.c(),i=P(),s=z("div"),I(o.$$.fragment),g(e,"class","svelte-4lvb9m"),g(s,"class","json-holder svelte-4lvb9m")},m(m,p){S(m,e,p),c[t].m(e,null),S(m,i,p),S(m,s,p),T(o,s,null),a=!0,r||(u=F(e,"click",n[2]),r=!0)},p(m,p){let _=t;t=d(m),t!==_&&(Y(),w(c[_],1,1,()=>{c[_]=null}),X(),l=c[t],l||(l=c[t]=f[t](m),l.c()),v(l,1),l.m(e,null));const k={};p&1&&(k.value=m[0]),o.$set(k)},i(m){a||(v(l),v(o.$$.fragment,m),a=!0)},o(m){w(l),w(o.$$.fragment,m),a=!1},d(m){m&&($(e),$(i),$(s)),c[t].d(),N(o),r=!1,u()}}}function wr(n){let e,t;return e=new Ti({}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function $r(n){let e,t,l;return t=new Ni({}),{c(){e=z("span"),I(t.$$.fragment),g(e,"class","copy-text")},m(i,s){S(i,e,s),T(t,e,null),l=!0},i(i){l||(v(t.$$.fragment,i),l=!0)},o(i){w(t.$$.fragment,i),l=!1},d(i){i&&$(e),N(t)}}}function yr(n){let e,t,l,i;return t=new Di({}),{c(){e=z("span"),I(t.$$.fragment)},m(s,o){S(s,e,o),T(t,e,null),i=!0},i(s){i||(v(t.$$.fragment,s),s&&(l||Rt(()=>{l=Xt(e,xt,{duration:300}),l.start()})),i=!0)},o(s){w(t.$$.fragment,s),i=!1},d(s){s&&$(e),N(t)}}}function Sr(n){let e,t,l,i,s;const o=[kr,vr],a=[];function r(u,f){return f&1&&(e=null),e==null&&(e=!!(u[0]&&u[0]!=='""'&&!zr(u[0]))),e?0:1}return t=r(n,-1),l=a[t]=o[t](n),{c(){l.c(),i=he()},m(u,f){a[t].m(u,f),S(u,i,f),s=!0},p(u,[f]){let c=t;t=r(u,f),t===c?a[t].p(u,f):(Y(),w(a[c],1,1,()=>{a[c]=null}),X(),l=a[t],l?l.p(u,f):(l=a[t]=o[t](u),l.c()),v(l,1),l.m(i.parentNode,i))},i(u){s||(v(l),s=!0)},o(u){w(l),s=!1},d(u){u&&$(i),a[t].d(u)}}}function zr(n){return n&&Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}function Cr(n,e,t){let{value:l={}}=e,i=!1,s;function o(){t(1,i=!0),s&&clearTimeout(s),s=setTimeout(()=>{t(1,i=!1)},1e3)}async function a(){"clipboard"in navigator&&(await navigator.clipboard.writeText(JSON.stringify(l,null,2)),o())}return Ot(()=>{s&&clearTimeout(s)}),n.$$set=r=>{"value"in r&&t(0,l=r.value)},[l,i,a]}class Mr extends _e{constructor(e){super(),me(this,e,Cr,Sr,fe,{value:0})}}function Zl(n,e,t){const l=n.slice();l[21]=e[t][0],l[22]=e[t][1],l[26]=t;const i=l[22].class_type;l[23]=i;const s=Object.entries(l[22].inputs).filter(o=>!Ji(o[1]));return l[24]=s,l}function Jl(n,e,t){const l=n.slice();return l[27]=e[t][0],l[28]=e[t][1],l}function Pr(n){const e=n.slice(),t=Math.max(Ei(e[28]),e[28].length/Zi);return e[31]=t,e}function Kl(n){let e,t,l,i;return t=new gt({props:{padding:!0,$$slots:{default:[Or]},$$scope:{ctx:n}}}),{c(){e=z("div"),I(t.$$.fragment),l=P(),g(e,"class","accordion svelte-18ztfde")},m(s,o){S(s,e,o),T(t,e,null),b(e,l),i=!0},p(s,o){const a={};o[0]&389|o[1]&2&&(a.$$scope={dirty:o,ctx:s}),t.$set(a)},i(s){i||(v(t.$$.fragment,s),i=!0)},o(s){w(t.$$.fragment,s),i=!1},d(s){s&&$(e),N(t)}}}function Ir(n){let e,t,l;return t=new Ni({}),{c(){e=z("span"),I(t.$$.fragment),g(e,"class","copy-text")},m(i,s){S(i,e,s),T(t,e,null),l=!0},i(i){l||(v(t.$$.fragment,i),l=!0)},o(i){w(t.$$.fragment,i),l=!1},d(i){i&&$(e),N(t)}}}function Tr(n){let e,t,l;return t=new Di({}),{c(){e=z("span"),I(t.$$.fragment),g(e,"class","copied-icon svelte-18ztfde")},m(i,s){S(i,e,s),T(t,e,null),l=!0},i(i){l||(v(t.$$.fragment,i),l=!0)},o(i){w(t.$$.fragment,i),l=!1},d(i){i&&$(e),N(t)}}}function Nr(n){let e,t;return e=new wt({props:{label:n[27],value:Bt(n[28]),lines:1,max_lines:1}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i[0]&1&&(s.label=l[27]),i[0]&1&&(s.value=Bt(l[28])),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function Dr(n){let e,t;return e=new wt({props:{label:n[27],value:Bt(n[28]),lines:n[31],max_lines:n[31]}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i[0]&1&&(s.label=l[27]),i[0]&1&&(s.value=Bt(l[28])),i[0]&1&&(s.lines=l[31]),i[0]&1&&(s.max_lines=l[31]),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function Er(n){let e,t;return e=new gt({props:{$$slots:{default:[qr]},$$scope:{ctx:n}}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i[0]&1|i[1]&2&&(s.$$scope={dirty:i,ctx:l}),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function Ar(n){let e,t=n[28][0]+"",l,i,s=n[28][1]+"",o;return{c(){e=B("Link "),l=B(t),i=B(" -> "),o=B(s)},m(a,r){S(a,e,r),S(a,l,r),S(a,i,r),S(a,o,r)},p(a,r){r[0]&1&&t!==(t=a[28][0]+"")&&le(l,t),r[0]&1&&s!==(s=a[28][1]+"")&&le(o,s)},i:U,o:U,d(a){a&&($(e),$(l),$(i),$(o))}}}function qr(n){let e,t,l,i;return e=new bs({props:{Icon:Ti,show_label:!0,label:n[27],float:!0}}),l=new Mr({props:{value:n[28]}}),{c(){I(e.$$.fragment),t=P(),I(l.$$.fragment)},m(s,o){T(e,s,o),S(s,t,o),T(l,s,o),i=!0},p(s,o){const a={};o[0]&1&&(a.label=s[27]),e.$set(a);const r={};o[0]&1&&(r.value=s[28]),l.$set(r)},i(s){i||(v(e.$$.fragment,s),v(l.$$.fragment,s),i=!0)},o(s){w(e.$$.fragment,s),w(l.$$.fragment,s),i=!1},d(s){s&&$(t),N(e,s),N(l,s)}}}function jr(n){let e,t,l,i,s,o,a,r,u,f,c,d,m;const p=[Tr,Ir],_=[];function k(j,R){return j[7]===j[21]&&j[8]===j[27]?0:1}t=k(n),l=_[t]=p[t](n);function h(){return n[16](n[21],n[27],n[28])}const y=[Ar,Er,Dr,Nr],M=[];function D(j,R){return R[0]&1&&(o=null),R[0]&1&&(a=null),o==null&&(o=!!Ji(j[28])),o?0:typeof j[28]=="object"?1:(a==null&&(a=!!j[10](j[28])),a?2:3)}function E(j,R){return R===2?Pr(j):j}return r=D(n,[-1,-1]),u=M[r]=y[r](E(n,r)),{c(){e=z("button"),l.c(),i=P(),s=z("div"),u.c(),f=P(),g(e,"class","copy-button svelte-18ztfde")},m(j,R){S(j,e,R),_[t].m(e,null),S(j,i,R),S(j,s,R),M[r].m(s,null),S(j,f,R),c=!0,d||(m=F(e,"click",h),d=!0)},p(j,R){n=j;let A=t;t=k(n),t!==A&&(Y(),w(_[A],1,1,()=>{_[A]=null}),X(),l=_[t],l||(l=_[t]=p[t](n),l.c()),v(l,1),l.m(e,null));let L=r;r=D(n,R),r===L?M[r].p(E(n,r),R):(Y(),w(M[L],1,1,()=>{M[L]=null}),X(),u=M[r],u?u.p(E(n,r),R):(u=M[r]=y[r](E(n,r)),u.c()),v(u,1),u.m(s,null))},i(j){c||(v(l),v(u),c=!0)},o(j){w(l),w(u),c=!1},d(j){j&&($(e),$(i),$(s),$(f)),_[t].d(),M[r].d(),d=!1,m()}}}function Yl(n){let e,t;return e=new gt({props:{$$slots:{default:[jr]},$$scope:{ctx:n}}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i[0]&385|i[1]&2&&(s.$$scope={dirty:i,ctx:l}),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function Br(n){let e,t,l=de(n[24]),i=[];for(let o=0;ow(i[o],1,1,()=>{i[o]=null});return{c(){for(let o=0;o0&&Kl(n);return{c(){l&&l.c(),e=he()},m(i,s){l&&l.m(i,s),S(i,e,s),t=!0},p(i,s){i[24].length>0?l?(l.p(i,s),s[0]&1&&v(l,1)):(l=Kl(i),l.c(),v(l,1),l.m(e.parentNode,e)):l&&(Y(),w(l,1,1,()=>{l=null}),X())},i(i){t||(v(l),t=!0)},o(i){w(l),t=!1},d(i){i&&$(e),l&&l.d(i)}}}function Rr(n){let e,t,l=de(Object.entries(n[0])),i=[];for(let o=0;ow(i[o],1,1,()=>{i[o]=null});return{c(){for(let o=0;o0?0:1}return l=u(n),i=r[l]=a[l](n),{c(){I(e.$$.fragment),t=P(),i.c(),s=he()},m(f,c){T(e,f,c),S(f,t,c),r[l].m(f,c),S(f,s,c),o=!0},p(f,c){const d={};c[0]&32|c[1]&2&&(d.$$scope={dirty:c,ctx:f}),e.$set(d);let m=l;l=u(f),l===m?r[l].p(f,c):(Y(),w(r[m],1,1,()=>{r[m]=null}),X(),i=r[l],i?i.p(f,c):(i=r[l]=a[l](f),i.c()),v(i,1),i.m(s.parentNode,s))},i(f){o||(v(e.$$.fragment,f),v(i),o=!0)},o(f){w(e.$$.fragment,f),w(i),o=!1},d(f){f&&($(t),$(s)),N(e,f),r[l].d(f)}}}function Fr(n){let e,t;return e=new gt({props:{$$slots:{default:[Gr]},$$scope:{ctx:n}}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i[0]&96|i[1]&2&&(s.$$scope={dirty:i,ctx:l}),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function Qr(n){let e,t;return e=new Ut({props:{label:"Send Outputs To...",open:!0,$$slots:{default:[Fr]},$$scope:{ctx:n}}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i[0]&96|i[1]&2&&(s.$$scope={dirty:i,ctx:l}),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function en(n){let e,t,l;return t=new gt({props:{$$slots:{default:[Zr]},$$scope:{ctx:n}}}),{c(){e=z("div"),I(t.$$.fragment),g(e,"class","image-container svelte-18ztfde")},m(i,s){S(i,e,s),T(t,e,null),l=!0},p(i,s){const o={};s[0]&10|s[1]&2&&(o.$$scope={dirty:s,ctx:i}),t.$set(o)},i(i){l||(v(t.$$.fragment,i),l=!0)},o(i){w(t.$$.fragment,i),l=!1},d(i){i&&$(e),N(t)}}}function Zr(n){let e,t,l;function i(o){n[18](o)}let s={value:n[1].map(Zt),label:"",show_label:!1,style:n[9],root:"",root_url:""};return n[3]!==void 0&&(s.selected_image=n[3]),e=new gs({props:s}),qe.push(()=>ot(e,"selected_image",i)),e.$on("clicked",Kr),{c(){I(e.$$.fragment)},m(o,a){T(e,o,a),l=!0},p(o,a){const r={};a[0]&2&&(r.value=o[1].map(Zt)),!t&&a[0]&8&&(t=!0,r.selected_image=o[3],rt(()=>t=!1)),e.$set(r)},i(o){l||(v(e.$$.fragment,o),l=!0)},o(o){w(e.$$.fragment,o),l=!1},d(o){N(e,o)}}}function Jr(n){let e,t,l,i,s,o;l=new gt({props:{$$slots:{default:[Ur]},$$scope:{ctx:n}}});let a=n[4].length>0&&xl(n),r=n[1].length>0&&en(n);return{c(){e=z("div"),t=z("div"),I(l.$$.fragment),i=P(),a&&a.c(),s=P(),r&&r.c(),g(t,"class","prompt-and-sends svelte-18ztfde"),g(e,"class","prompt-display svelte-18ztfde")},m(u,f){S(u,e,f),b(e,t),T(l,t,null),b(t,i),a&&a.m(t,null),b(e,s),r&&r.m(e,null),o=!0},p(u,f){const c={};f[0]&405|f[1]&2&&(c.$$scope={dirty:f,ctx:u}),l.$set(c),u[4].length>0?a?(a.p(u,f),f[0]&16&&v(a,1)):(a=xl(u),a.c(),v(a,1),a.m(t,null)):a&&(Y(),w(a,1,1,()=>{a=null}),X()),u[1].length>0?r?(r.p(u,f),f[0]&2&&v(r,1)):(r=en(u),r.c(),v(r,1),r.m(e,null)):r&&(Y(),w(r,1,1,()=>{r=null}),X())},i(u){o||(v(l.$$.fragment,u),v(a),v(r),o=!0)},o(u){w(l.$$.fragment,u),w(a),w(r),o=!1},d(u){u&&$(e),N(l),a&&a.d(),r&&r.d()}}}const Zi=50;function Ji(n){return Array.isArray(n)&&n.length===2&&typeof n[0]=="string"&&typeof n[1]=="number"}function Bt(n){return typeof n=="string"?n:JSON.stringify(n,null,2)}function Kr(n){}function Yr(n,e,t){let{prompt:l}=e,{images:i=[]}=e,{isMobile:s=!1}=e,{expandAll:o=!1}=e,{closeModal:a}=e,{app:r}=e,u=null,f={grid_cols:[2],object_fit:"contain",height:"var(--size-96)"},c=[],d=[],m="(none)";function p(A){return typeof A=="string"&&(A.length>Zi||Ei(A)>1)}let _=null,k=null,h;function y(A,L){t(7,_=A),t(8,k=L),h&&clearTimeout(h),h=setTimeout(()=>{t(7,_=null),t(8,k=null)},1e3)}async function M(A,L,W){"clipboard"in navigator&&(await navigator.clipboard.writeText(Bt(W)),y(A,L))}function D(A,L){if(A==null||L==null)return;let W=null;L.properties.type==="COMFYBOX_IMAGE"?u!=null?W=d[u]:W=d[0]:L.properties.type==="COMFYBOX_IMAGES"&&(W=d),W!=null&&(L.receiveOutput(W),lt.setActiveWorkflow(r.lCanvas,A.id),a())}const E=(A,L,W)=>M(A,L,W),j=A=>D(A.detail.workflow,A.detail.targetNode);function R(A){u=A,t(3,u)}return n.$$set=A=>{"prompt"in A&&t(0,l=A.prompt),"images"in A&&t(1,i=A.images),"isMobile"in A&&t(13,s=A.isMobile),"expandAll"in A&&t(2,o=A.expandAll),"closeModal"in A&&t(14,a=A.closeModal),"app"in A&&t(15,r=A.app)},n.$$.update=()=>{n.$$.dirty[0]&2&&(i.length>0?t(4,d=i.map(ps)):t(4,d=[])),n.$$.dirty[0]&56&&(d.length>0?(u!=null?t(5,m="COMFYBOX_IMAGE"):t(5,m="COMFYBOX_IMAGES"),t(6,c=lt.findReceiveOutputTargets(m))):(t(5,m="(none)"),t(6,c=[])))},[l,i,o,u,d,m,c,_,k,f,p,M,D,s,a,r,E,j,R]}class Xr extends _e{constructor(e){super(),me(this,e,Yr,Jr,fe,{prompt:0,images:1,isMobile:13,expandAll:2,closeModal:14,app:15},null,[-1,-1])}}const xr=n=>({}),tn=n=>({closeDialog:n[0]}),ea=n=>({}),ln=n=>({closeDialog:n[0]}),ta=n=>({}),nn=n=>({});function la(n){let e;return{c(){e=B("Close")},m(t,l){S(t,e,l)},d(t){t&&$(e)}}}function na(n){let e,t;return e=new Oe({props:{variant:"secondary",$$slots:{default:[la]},$$scope:{ctx:n}}}),e.$on("click",n[3]),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i&512&&(s.$$scope={dirty:i,ctx:l}),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function ia(n){let e,t,l,i,s,o,a,r;const u=n[6].header,f=Ue(u,n,n[9],nn),c=n[6].default,d=Ue(c,n,n[9],ln),m=n[6].buttons,p=Ue(m,n,n[9],tn),_=p||na(n);return{c(){e=z("dialog"),t=z("div"),f&&f.c(),l=P(),d&&d.c(),i=P(),s=z("div"),_&&_.c(),g(s,"class","button-row svelte-fuqno1"),g(t,"class","svelte-fuqno1"),g(e,"class","svelte-fuqno1")},m(k,h){S(k,e,h),b(e,t),f&&f.m(t,null),b(t,l),d&&d.m(t,null),b(t,i),b(t,s),_&&_.m(s,null),n[8](e),o=!0,a||(r=[F(t,"click",vs(n[7])),F(e,"close",n[2]),F(e,"cancel",n[3]),F(e,"click",ks(n[2]))],a=!0)},p(k,[h]){f&&f.p&&(!o||h&512)&&Ve(f,u,k,k[9],o?We(u,k[9],h,ta):He(k[9]),nn),d&&d.p&&(!o||h&512)&&Ve(d,c,k,k[9],o?We(c,k[9],h,ea):He(k[9]),ln),p&&p.p&&(!o||h&512)&&Ve(p,m,k,k[9],o?We(m,k[9],h,xr):He(k[9]),tn)},i(k){o||(v(f,k),v(d,k),v(_,k),o=!0)},o(k){w(f,k),w(d,k),w(_,k),o=!1},d(k){k&&$(e),f&&f.d(k),d&&d.d(k),_&&_.d(k),n[8](null),a=!1,Ge(r)}}}function sa(n,e,t){let{$$slots:l={},$$scope:i}=e,{showModal:s}=e,{closeOnClick:o=!0}=e;const a=()=>c();let r;const u=ft();function f(p){if(!o)return p.preventDefault(),p.stopPropagation(),!1;c()}function c(){t(4,s=!1),r.close(),u("close")}function d(p){Ai.call(this,n,p)}function m(p){qe[p?"unshift":"push"](()=>{r=p,t(1,r)})}return n.$$set=p=>{"showModal"in p&&t(4,s=p.showModal),"closeOnClick"in p&&t(5,o=p.closeOnClick),"$$scope"in p&&t(9,i=p.$$scope)},n.$$.update=()=>{n.$$.dirty&18&&r&&s&&r.showModal()},[a,r,f,c,s,o,l,d,m,i]}class Ki extends _e{constructor(e){super(),me(this,e,sa,ia,fe,{showModal:4,closeOnClick:5,closeDialog:0})}get closeDialog(){return this.$$.ctx[0]}}function sn(n,e,t){const l=n.slice();return l[11]=e[t],l}function on(n,e,t){const l=n.slice();l[14]=e[t],l[17]=t;const i=Zt(l[14],!0);return l[15]=i,l}function rn(n){let e,t,l,i,s,o,a,r,u,f;return{c(){e=z("div"),t=z("div"),l=z("input"),i=P(),s=z("div"),o=z("button"),a=B("🗑️"),g(l,"type","range"),g(l,"min",10),g(l,"max",100),g(l,"step",.1),g(l,"class","svelte-1tt1dcm"),g(o,"class","clear-queue-button secondary svelte-1tt1dcm"),o.disabled=r=n[6].isInterrupting,g(s,"class","button-wrapper svelte-1tt1dcm"),g(t,"class","svelte-1tt1dcm"),g(e,"class","list-controls svelte-1tt1dcm")},m(c,d){S(c,e,d),b(e,t),b(t,l),it(l,n[0]),b(t,i),b(t,s),b(s,o),b(o,a),u||(f=[F(l,"change",n[7]),F(l,"input",n[7]),F(o,"click",function(){Mt(n[3])&&n[3].apply(this,arguments)})],u=!0)},p(c,d){n=c,d&1&&it(l,n[0]),d&64&&r!==(r=n[6].isInterrupting)&&(o.disabled=r)},d(c){c&&$(e),u=!1,Ge(f)}}}function an(n){let e,t=de(n[11].images.slice(0,4)),l=[];for(let i=0;i0&&an(n);function A(...W){return n[10](n[11],...W)}let L=n[11].date!=null&&fn(n);return{c(){e=z("div"),t=z("button"),l=z("span"),l.textContent="✕",s=P(),R&&R.c(),o=P(),a=z("div"),r=z("div"),f=B(u),c=P(),d=z("div"),p=B(m),k=P(),h=z("div"),L&&L.c(),y=P(),g(t,"class","list-entry-delete-button secondary svelte-1tt1dcm"),t.disabled=i=n[6].isInterrupting,g(r,"class","list-entry-message svelte-1tt1dcm"),g(d,"class","list-entry-submessage svelte-1tt1dcm"),g(a,"class","list-entry-details svelte-1tt1dcm"),g(e,"class",_="list-entry "+n[11].status+" svelte-1tt1dcm"),g(h,"class",M="list-entry-rest "+n[11].status+" svelte-1tt1dcm")},m(W,q){S(W,e,q),b(e,t),b(t,l),b(e,s),R&&R.m(e,null),b(e,o),b(e,a),b(a,r),b(r,f),b(a,c),b(a,d),b(d,p),S(W,k,q),S(W,h,q),L&&L.m(h,null),b(h,y),D||(E=[F(t,"click",j),F(e,"click",A)],D=!0)},p(W,q){n=W,q&64&&i!==(i=n[6].isInterrupting)&&(t.disabled=i),n[11].images.length>0?R?R.p(n,q):(R=an(n),R.c(),R.m(e,o)):R&&(R.d(1),R=null),q&2&&u!==(u=Jt(n[11].message,20)+"")&&le(f,u),q&2&&m!==(m=n[11].submessage+"")&&le(p,m),q&2&&_!==(_="list-entry "+n[11].status+" svelte-1tt1dcm")&&g(e,"class",_),n[11].date!=null?L?L.p(n,q):(L=fn(n),L.c(),L.m(h,y)):L&&(L.d(1),L=null),q&2&&M!==(M="list-entry-rest "+n[11].status+" svelte-1tt1dcm")&&g(h,"class",M)},d(W){W&&($(e),$(k),$(h)),R&&R.d(),L&&L.d(),D=!1,Ge(E)}}}function oa(n){let e,t,l,i,s,o=n[5]==="history"&&rn(n),a=de(n[1]),r=[];for(let u=0;ut(6,l=p));let{entries:i=[]}=e,{showPrompt:s}=e,{clearQueue:o}=e,{deleteEntry:a}=e,{mode:r="queue"}=e,{imageSize:u=40}=e;function f(){u=Pt(this.value),t(0,u)}const c=(p,_)=>a(p,_),d=(p,_,k)=>qi(p.images,_,k),m=(p,_)=>s(p,_);return n.$$set=p=>{"entries"in p&&t(1,i=p.entries),"showPrompt"in p&&t(2,s=p.showPrompt),"clearQueue"in p&&t(3,o=p.clearQueue),"deleteEntry"in p&&t(4,a=p.deleteEntry),"mode"in p&&t(5,r=p.mode),"imageSize"in p&&t(0,u=p.imageSize)},[u,i,s,o,a,r,l,f,c,d,m]}class aa extends _e{constructor(e){super(),me(this,e,ra,oa,fe,{entries:1,showPrompt:2,clearQueue:3,deleteEntry:4,mode:5,imageSize:0})}}function dn(n,e,t){const l=n.slice();return l[12]=e[t][0],l[13]=e[t][1],l[15]=t,l}function _n(n){let e,t,l,i,s,o;function a(...r){return n[9](n[12],n[15],...r)}return{c(){e=z("div"),t=z("img"),i=P(),g(t,"class","grid-entry-image svelte-tn15mb"),Kt(t.src,l=n[13])||g(t,"src",l),g(t,"loading","lazy"),g(t,"alt","thumbnail"),g(e,"class","grid-entry svelte-tn15mb")},m(r,u){S(r,e,u),b(e,t),b(e,i),s||(o=F(t,"click",a),s=!0)},p(r,u){n=r,u&8&&!Kt(t.src,l=n[13])&&g(t,"src",l)},d(r){r&&$(e),s=!1,o()}}}function ua(n){let e,t,l,i,s,o,a,r,u,f,c,d,m,p,_,k=de(n[3]),h=[];for(let y=0;yt(4,l=_));let{entries:i=[]}=e,{showPrompt:s}=e,{clearQueue:o}=e,{mode:a="queue"}=e,{gridColumns:r=3}=e,u=[],f=[];function c(_){t(3,u=[]);for(const k of _)for(const h of k.images)u.push([k,Zt(h,!0)]);f=u.map(k=>k[1])}function d(_,k,h){_.ctrlKey?s(k):qi(f,h,_)}function m(){r=Pt(this.value),t(0,r)}const p=(_,k,h)=>d(h,_,k);return n.$$set=_=>{"entries"in _&&t(6,i=_.entries),"showPrompt"in _&&t(7,s=_.showPrompt),"clearQueue"in _&&t(1,o=_.clearQueue),"mode"in _&&t(2,a=_.mode),"gridColumns"in _&&t(0,r=_.gridColumns)},n.$$.update=()=>{n.$$.dirty&64&&c(i)},[r,o,a,u,l,d,i,s,m,p]}class ca extends _e{constructor(e){super(),me(this,e,fa,ua,fe,{entries:6,showPrompt:7,clearQueue:1,mode:2,gridColumns:0})}}function da(n){let e;return{c(){e=z("div"),e.innerHTML='

    Prompt Details

    ',g(e,"slot","header"),g(e,"class","prompt-modal-header svelte-18jx488")},m(t,l){S(t,e,l)},p:U,d(t){t&&$(e)}}}function mn(n){let e,t;function l(){return n[29](n[41])}return e=new Xr({props:{closeModal:l,app:n[0],prompt:n[13],images:n[14],expandAll:n[12]}}),{c(){I(e.$$.fragment)},m(i,s){T(e,i,s),t=!0},p(i,s){n=i;const o={};s[1]&1024&&(o.closeModal=l),s[0]&1&&(o.app=n[0]),s[0]&8192&&(o.prompt=n[13]),s[0]&16384&&(o.images=n[14]),s[0]&4096&&(o.expandAll=n[12]),e.$set(o)},i(i){t||(v(e.$$.fragment,i),t=!0)},o(i){w(e.$$.fragment,i),t=!1},d(i){N(e,i)}}}function _a(n){let e,t,l=n[13]&&mn(n);return{c(){l&&l.c(),e=he()},m(i,s){l&&l.m(i,s),S(i,e,s),t=!0},p(i,s){i[13]?l?(l.p(i,s),s[0]&8192&&v(l,1)):(l=mn(i),l.c(),v(l,1),l.m(e.parentNode,e)):l&&(Y(),w(l,1,1,()=>{l=null}),X())},i(i){t||(v(l),t=!0)},o(i){w(l),t=!1},d(i){i&&$(e),l&&l.d(i)}}}function ma(n){let e;return{c(){e=B("Close")},m(t,l){S(t,e,l)},d(t){t&&$(e)}}}function pa(n){let e;return{c(){e=B("Expand All")},m(t,l){S(t,e,l)},d(t){t&&$(e)}}}function ga(n){let e,t,l,i,s;return t=new Oe({props:{variant:"secondary",$$slots:{default:[ma]},$$scope:{ctx:n}}}),t.$on("click",function(){Mt(n[41])&&n[41].apply(this,arguments)}),i=new Oe({props:{variant:"secondary",$$slots:{default:[pa]},$$scope:{ctx:n}}}),i.$on("click",n[28]),{c(){e=z("div"),I(t.$$.fragment),l=P(),I(i.$$.fragment),g(e,"slot","buttons")},m(o,a){S(o,e,a),T(t,e,null),b(e,l),T(i,e,null),s=!0},p(o,a){n=o;const r={};a[1]&2048&&(r.$$scope={dirty:a,ctx:n}),t.$set(r);const u={};a[1]&2048&&(u.$$scope={dirty:a,ctx:n}),i.$set(u)},i(o){s||(v(t.$$.fragment,o),v(i.$$.fragment,o),s=!0)},o(o){w(t.$$.fragment,o),w(i.$$.fragment,o),s=!1},d(o){o&&$(e),N(t),N(i)}}}function pn(n){let e,t,l,i,s,o,a,r,u;return l=new So({props:{width:"100%",height:"100%"}}),o=new ws({props:{width:"100%",height:"100%"}}),{c(){e=z("div"),t=z("div"),I(l.$$.fragment),i=P(),s=z("div"),I(o.$$.fragment),g(t,"class","mode-button image-display-button ternary svelte-18jx488"),G(t,"selected",n[7]==="list"),g(s,"class","mode-button image-display-button ternary svelte-18jx488"),G(s,"selected",n[7]==="grid"),g(e,"class","display-mode-buttons svelte-18jx488")},m(f,c){S(f,e,c),b(e,t),T(l,t,null),b(e,i),b(e,s),T(o,s,null),a=!0,r||(u=[F(t,"click",n[31]),F(s,"click",n[32])],r=!0)},p(f,c){(!a||c[0]&128)&&G(t,"selected",f[7]==="list"),(!a||c[0]&128)&&G(s,"selected",f[7]==="grid")},i(f){a||(v(l.$$.fragment,f),v(o.$$.fragment,f),a=!0)},o(f){w(l.$$.fragment,f),w(o.$$.fragment,f),a=!1},d(f){f&&$(e),N(l),N(o),r=!1,Ge(u)}}}function ha(n){let e,t,l,i,s,o,a;return i=new wo({props:{width:"100%",height:"10rem"}}),{c(){e=z("div"),t=z("div"),l=z("div"),I(i.$$.fragment),s=P(),o=z("div"),o.textContent="(No entries)",g(l,"class","queue-empty-icon svelte-18jx488"),g(o,"class","queue-empty-message svelte-18jx488"),g(t,"class","queue-empty-container svelte-18jx488"),g(e,"class","queue-empty svelte-18jx488")},m(r,u){S(r,e,u),b(e,t),b(t,l),T(i,l,null),b(t,s),b(t,o),a=!0},p:U,i(r){a||(v(i.$$.fragment,r),a=!0)},o(r){w(i.$$.fragment,r),a=!1},d(r){r&&$(e),N(i)}}}function ba(n){let e,t,l,i;const s=[ka,va],o=[];function a(r,u){return r[1]==="history"&&r[7]==="grid"?0:1}return e=a(n),t=o[e]=s[e](n),{c(){t.c(),l=he()},m(r,u){o[e].m(r,u),S(r,l,u),i=!0},p(r,u){let f=e;e=a(r),e===f?o[e].p(r,u):(Y(),w(o[f],1,1,()=>{o[f]=null}),X(),t=o[e],t?t.p(r,u):(t=o[e]=s[e](r),t.c()),v(t,1),t.m(l.parentNode,l))},i(r){i||(v(t),i=!0)},o(r){w(t),i=!1},d(r){r&&$(l),o[e].d(r)}}}function va(n){let e,t,l;function i(o){n[34](o)}let s={entries:n[10],showPrompt:n[22],clearQueue:n[20],mode:n[1],deleteEntry:n[19]};return n[8]!==void 0&&(s.imageSize=n[8]),e=new aa({props:s}),qe.push(()=>ot(e,"imageSize",i)),{c(){I(e.$$.fragment)},m(o,a){T(e,o,a),l=!0},p(o,a){const r={};a[0]&1024&&(r.entries=o[10]),a[0]&2&&(r.mode=o[1]),!t&&a[0]&256&&(t=!0,r.imageSize=o[8],rt(()=>t=!1)),e.$set(r)},i(o){l||(v(e.$$.fragment,o),l=!0)},o(o){w(e.$$.fragment,o),l=!1},d(o){N(e,o)}}}function ka(n){let e,t,l;function i(o){n[33](o)}let s={entries:n[10],showPrompt:n[22],clearQueue:n[20],mode:n[1]};return n[9]!==void 0&&(s.gridColumns=n[9]),e=new ca({props:s}),qe.push(()=>ot(e,"gridColumns",i)),{c(){I(e.$$.fragment)},m(o,a){T(e,o,a),l=!0},p(o,a){const r={};a[0]&1024&&(r.entries=o[10]),a[0]&2&&(r.mode=o[1]),!t&&a[0]&512&&(t=!0,r.gridColumns=o[9],rt(()=>t=!1)),e.$set(r)},i(o){l||(v(e.$$.fragment,o),l=!0)},o(o){w(e.$$.fragment,o),l=!1},d(o){N(e,o)}}}function wa(n){let e;return{c(){e=z("div"),e.textContent="Nothing queued."},m(t,l){S(t,e,l)},p:U,i:U,o:U,d(t){t&&$(e)}}}function $a(n){let e,t,l,i,s=n[2].queueRemaining+"",o,a;return e=new oo({}),{c(){I(e.$$.fragment),t=P(),l=z("div"),i=B("Queued prompts: "),o=B(s),g(l,"class","status")},m(r,u){T(e,r,u),S(r,t,u),S(r,l,u),b(l,i),b(l,o),a=!0},p(r,u){(!a||u[0]&4)&&s!==(s=r[2].queueRemaining+"")&&le(o,s)},i(r){a||(v(e.$$.fragment,r),a=!0)},o(r){w(e.$$.fragment,r),a=!1},d(r){r&&($(t),$(l)),N(e,r)}}}function gn(n){var k,h;let e,t,l,i=Sl(n[2].runningNodeID)+"",s,o,a,r,u,f,c,d,m,p,_;return r=new sr({}),c=new lr({props:{value:(k=n[2].progress)==null?void 0:k.value,max:(h=n[2].progress)==null?void 0:h.max}}),p=new Oe({props:{variant:"secondary",disabled:n[2].isInterrupting,style:{full_width:!0},$$slots:{default:[ya]},$$scope:{ctx:n}}}),p.$on("click",n[21]),{c(){e=z("div"),t=z("span"),l=B("Node: "),s=B(i),o=P(),a=z("div"),I(r.$$.fragment),u=P(),f=z("div"),I(c.$$.fragment),d=P(),m=z("div"),I(p.$$.fragment),g(e,"class","node-name svelte-18jx488"),g(m,"class","queue-action-buttons svelte-18jx488")},m(y,M){S(y,e,M),b(e,t),b(t,l),b(t,s),S(y,o,M),S(y,a,M),T(r,a,null),S(y,u,M),S(y,f,M),T(c,f,null),S(y,d,M),S(y,m,M),T(p,m,null),_=!0},p(y,M){var j,R;(!_||M[0]&4)&&i!==(i=Sl(y[2].runningNodeID)+"")&&le(s,i);const D={};M[0]&4&&(D.value=(j=y[2].progress)==null?void 0:j.value),M[0]&4&&(D.max=(R=y[2].progress)==null?void 0:R.max),c.$set(D);const E={};M[0]&4&&(E.disabled=y[2].isInterrupting),M[1]&2048&&(E.$$scope={dirty:M,ctx:y}),p.$set(E)},i(y){_||(v(r.$$.fragment,y),v(c.$$.fragment,y),v(p.$$.fragment,y),_=!0)},o(y){w(r.$$.fragment,y),w(c.$$.fragment,y),w(p.$$.fragment,y),_=!1},d(y){y&&($(e),$(o),$(a),$(u),$(f),$(d),$(m)),N(r),N(c),N(p)}}}function ya(n){let e;return{c(){e=B("Interrupt")},m(t,l){S(t,e,l)},d(t){t&&$(e)}}}function Sa(n){let e,t,l,i,s,o,a,r,u,f,c,d,m,p,_,k,h,y,M,D,E,j,R;function A(K){n[30](K)}let L={$$slots:{buttons:[ga,({closeDialog:K})=>({41:K}),({closeDialog:K})=>[0,K?1024:0]],default:[_a,({closeDialog:K})=>({41:K}),({closeDialog:K})=>[0,K?1024:0]],header:[da]},$$scope:{ctx:n}};n[11]!==void 0&&(L.showModal=n[11]),e=new Ki({props:L}),qe.push(()=>ot(e,"showModal",A));let W=n[1]==="history"&&pn(n);const q=[ba,ha],ie=[];function ce(K,pe){return K[10].length>0?0:1}a=ce(n),r=ie[a]=q[a](n);const $e=[$a,wa],ee=[];function se(K,pe){return K[16]?0:1}h=se(n),y=ee[h]=$e[h](n);let oe=n[15]&&gn(n);return{c(){I(e.$$.fragment),l=P(),i=z("div"),W&&W.c(),s=P(),o=z("div"),r.c(),u=P(),f=z("div"),c=z("div"),c.textContent="Queue",d=P(),m=z("div"),m.textContent="History",p=P(),_=z("div"),k=z("div"),y.c(),M=P(),oe&&oe.c(),g(o,"class","queue-entries svelte-18jx488"),g(c,"class","mode-button secondary svelte-18jx488"),G(c,"selected",n[1]==="queue"),g(m,"class","mode-button secondary svelte-18jx488"),G(m,"selected",n[1]==="history"),g(f,"class","mode-buttons svelte-18jx488"),g(k,"class","queue-remaining svelte-18jx488"),G(k,"queued",n[15]),G(k,"in-progress",n[16]),g(_,"class","bottom svelte-18jx488"),g(i,"class",D="queue "+n[1]+"-mode svelte-18jx488")},m(K,pe){T(e,K,pe),S(K,l,pe),S(K,i,pe),W&&W.m(i,null),b(i,s),b(i,o),ie[a].m(o,null),n[35](o),b(i,u),b(i,f),b(f,c),b(f,d),b(f,m),b(i,p),b(i,_),b(_,k),ee[h].m(k,null),b(_,M),oe&&oe.m(_,null),E=!0,j||(R=[F(c,"click",n[36]),F(m,"click",n[37])],j=!0)},p(K,pe){const Se={};pe[0]&28673|pe[1]&3072&&(Se.$$scope={dirty:pe,ctx:K}),!t&&pe[0]&2048&&(t=!0,Se.showModal=K[11],rt(()=>t=!1)),e.$set(Se),K[1]==="history"?W?(W.p(K,pe),pe[0]&2&&v(W,1)):(W=pn(K),W.c(),v(W,1),W.m(i,s)):W&&(Y(),w(W,1,1,()=>{W=null}),X());let Ie=a;a=ce(K),a===Ie?ie[a].p(K,pe):(Y(),w(ie[Ie],1,1,()=>{ie[Ie]=null}),X(),r=ie[a],r?r.p(K,pe):(r=ie[a]=q[a](K),r.c()),v(r,1),r.m(o,null)),(!E||pe[0]&2)&&G(c,"selected",K[1]==="queue"),(!E||pe[0]&2)&&G(m,"selected",K[1]==="history");let De=h;h=se(K),h===De?ee[h].p(K,pe):(Y(),w(ee[De],1,1,()=>{ee[De]=null}),X(),y=ee[h],y?y.p(K,pe):(y=ee[h]=$e[h](K),y.c()),v(y,1),y.m(k,null)),(!E||pe[0]&32768)&&G(k,"queued",K[15]),(!E||pe[0]&65536)&&G(k,"in-progress",K[16]),K[15]?oe?(oe.p(K,pe),pe[0]&32768&&v(oe,1)):(oe=gn(K),oe.c(),v(oe,1),oe.m(_,null)):oe&&(Y(),w(oe,1,1,()=>{oe=null}),X()),(!E||pe[0]&2&&D!==(D="queue "+K[1]+"-mode svelte-18jx488"))&&g(i,"class",D)},i(K){E||(v(e.$$.fragment,K),v(W),v(r),v(y),v(oe),E=!0)},o(K){w(e.$$.fragment,K),w(W),w(r),w(y),w(oe),E=!1},d(K){K&&($(l),$(i)),N(e,K),W&&W.d(),ie[a].d(),n[35](null),ee[h].d(),oe&&oe.d(),j=!1,Ge(R)}}}function za(n,e,t){let l,i,s=U,o=()=>(s(),s=Et(h,re=>t(24,i=re)),h),a,r=U,u=()=>(r(),r=Et(k,re=>t(25,a=re)),k),f,c=U,d=()=>(c(),c=Et(_,re=>t(26,f=re)),_),m;ge(n,nl,re=>t(2,l=re)),ge(n,yt,re=>t(27,m=re)),n.$$.on_destroy.push(()=>s()),n.$$.on_destroy.push(()=>r()),n.$$.on_destroy.push(()=>c());let{app:p}=e,_=null;d();let k=null;u();let h=null;o();let y=null;const{showError:M}=Lt(kl);let D="queue",E="list",j=40,R=3;function A(re){const Ze=D!==re;t(1,D=re),Ze&&yt.updateEntries()}function L(re){t(7,E=re)}let W=[];async function q(re,Ze){Ze.preventDefault(),Ze.stopImmediatePropagation(),re.status==="running"?await p.interrupt():await p.deleteQueueItem(D,re.entry.promptID),yt.updateEntries(!0)}async function ie(){await p.clearQueue(D),yt.updateEntries(!0)}async function ce(){y&&(await zt(),y.scroll({top:y.scrollHeight}))}async function $e(){y&&(await zt(),y.scrollTo(0,0))}async function ee(){await p.interrupt()}let se=!1,oe=!1,K=null,pe=[];function Se(re){re.error!=null?(t(11,se=!1),t(12,oe=!1),t(13,K=null),t(14,pe=[]),M(re.entry.promptID)):(t(13,K=re.entry.prompt),t(14,pe=re.images),t(11,se=!0),t(12,oe=!1))}function Ie(){t(13,K=null),t(14,pe=[]),t(11,se=!1),t(12,oe=!1)}let De=!1,Be=!1;const Ee=()=>t(12,oe=!oe),et=re=>{Ie(),re()};function st(re){se=re,t(11,se)}const Ye=()=>L("list"),Qe=()=>L("grid");function Xe(re){R=re,t(9,R)}function O(re){j=re,t(8,j)}function V(re){qe[re?"unshift":"push"](()=>{y=re,t(6,y)})}const ze=()=>A("queue"),Ce=()=>A("history");return n.$$set=re=>{"app"in re&&t(0,p=re.app)},n.$$.update=()=>{n.$$.dirty[0]&4&&l&&(d(t(3,_=l.queuePending)),u(t(4,k=l.queueRunning)),o(t(5,h=l.queueCompleted))),n.$$.dirty[0]&134217730&&(D==="queue"?(t(10,W=m.queueUIEntries),ce()):(t(10,W=m.historyUIEntries),$e())),n.$$.dirty[0]&117440514&&(D==="queue"&&!f&&!a?yt.clearQueue():D==="history"&&!i&&yt.clearHistory()),n.$$.dirty[0]&4&&t(15,De=!!(l.runningNodeID||l.progress)),n.$$.dirty[0]&4&&t(16,Be=typeof l.queueRemaining=="number"&&l.queueRemaining>0)},[p,D,l,_,k,h,y,E,j,R,W,se,oe,K,pe,De,Be,A,L,q,ie,ee,Se,Ie,i,a,f,m,Ee,et,st,Ye,Qe,Xe,O,V,ze,Ce]}class Ca extends _e{constructor(e){super(),me(this,e,za,Sa,fe,{app:0},null,[-1,-1])}}function Ma(n){let e,t,l=[{width:n[1]},{height:n[1]},{viewBox:"0 0 15 15"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},n[2]],i={};for(let s=0;s{e=ve(ve({},e),at(a)),t(2,i=Ne(e,l)),"color"in a&&t(0,s=a.color),"size"in a&&t(1,o=a.size)},[s,o,i]}class Ia extends _e{constructor(e){super(),me(this,e,Pa,Ma,fe,{color:0,size:1})}}const Ta=Ia;function Na(n){let e,t,l=[{width:n[1]},{height:n[1]},{viewBox:"0 0 15 15"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},n[2]],i={};for(let s=0;s{e=ve(ve({},e),at(a)),t(2,i=Ne(e,l)),"color"in a&&t(0,s=a.color),"size"in a&&t(1,o=a.size)},[s,o,i]}class Ea extends _e{constructor(e){super(),me(this,e,Da,Na,fe,{color:0,size:1})}}const Aa=Ea;function qa(n){let e,t;return e=new Ta({}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function ja(n){let e,t;return e=new Aa({}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function Ba(n){let e,t,l,i;const s=[ja,qa],o=[];function a(r,u){return r[0]?0:1}return e=a(n),t=o[e]=s[e](n),{c(){t.c(),l=he()},m(r,u){o[e].m(r,u),S(r,l,u),i=!0},p(r,u){let f=e;e=a(r),e!==f&&(Y(),w(o[f],1,1,()=>{o[f]=null}),X(),t=o[e],t||(t=o[e]=s[e](r),t.c()),v(t,1),t.m(l.parentNode,l))},i(r){i||(v(t),i=!0)},o(r){w(t),i=!1},d(r){r&&$(l),o[e].d(r)}}}function Oa(n){let e,t,l;return t=new Oe({props:{variant:n[0]?"primary":"secondary",$$slots:{default:[Ba]},$$scope:{ctx:n}}}),t.$on("click",n[1]),{c(){e=z("div"),I(t.$$.fragment),g(e,"class","comfy-toggle-button svelte-48q4pc"),G(e,"toggled",n[0])},m(i,s){S(i,e,s),T(t,e,null),l=!0},p(i,[s]){const o={};s&1&&(o.variant=i[0]?"primary":"secondary"),s&5&&(o.$$scope={dirty:s,ctx:i}),t.$set(o),(!l||s&1)&&G(e,"toggled",i[0])},i(i){l||(v(t.$$.fragment,i),l=!0)},o(i){w(t.$$.fragment,i),l=!1},d(i){i&&$(e),N(t)}}}function Ra(n,e,t){let{toggled:l=!1}=e;function i(){t(0,l=!l)}return n.$$set=s=>{"toggled"in s&&t(0,l=s.toggled)},[l,i]}class La extends _e{constructor(e){super(),me(this,e,Ra,Oa,fe,{toggled:0})}}const Yi={};function Ua(n){let e,t;const l={autoUpdate:!0};let i=n;const s=f=>({...l,...n||{},...f||{}}),o=f=>{e&&t&&(i=s(f),$s(e,t,i).then(c=>{Object.assign(t.style,{position:c.strategy,left:`${c.x}px`,top:`${c.y}px`}),i!=null&&i.onComputed&&i.onComputed(c)}))},a=f=>{if("subscribe"in f)return u(f),{};e=f,o()},r=(f,c)=>{let d;t=f,i=s(c),setTimeout(()=>o(c),0),o(c);const m=()=>{d&&(d(),d=void 0)},p=({autoUpdate:_}=i||{})=>{m(),_!==!1&&zt().then(()=>ys(e,t,()=>o(i),_===!0?{}:_))};return d=p(),{update(_){o(_),d=p(_)},destroy(){m()}}},u=f=>{const c=f.subscribe(d=>{e===void 0?(e=d,o()):(Object.assign(e,d),o())});Ot(c)};return[a,r,o]}function Va(n){let e,t,l,i,s;const o=n[7].default,a=Ue(o,n,n[6],null);return{c(){e=P(),t=z("div"),a&&a.c(),g(t,"class","menu svelte-1gt2uth"),we(t,"top",n[1]+"px"),we(t,"left",n[0]+"px")},m(r,u){S(r,e,u),S(r,t,u),a&&a.m(t,null),n[8](t),l=!0,i||(s=[F(document.body,"click",n[4]),bl(n[3].call(null,t))],i=!0)},p(r,[u]){a&&a.p&&(!l||u&64)&&Ve(a,o,r,r[6],l?We(o,r[6],u,null):He(r[6]),null),(!l||u&2)&&we(t,"top",r[1]+"px"),(!l||u&1)&&we(t,"left",r[0]+"px")},i(r){l||(v(a,r),l=!0)},o(r){w(a,r),l=!1},d(r){r&&($(e),$(t)),a&&a.d(r),n[8](null),i=!1,Ge(s)}}}function Ha(n,e,t){let{$$slots:l={},$$scope:i}=e;const[s,o]=Ua({placement:"right-start",strategy:"fixed",middleware:[Ss({mainAxis:5,alignmentAxis:4}),zs({fallbackPlacements:["left-start"]}),Cs({padding:10})]});let{x:a}=e,{y:r}=e;const u=ft();tl(Yi,{dispatchClick:()=>u("click")});let f;function c(_){_.target===f||f.contains(_.target)||u("clickoutside")}let d;const m=dt({getBoundingClientRect:d});s(m);function p(_){qe[_?"unshift":"push"](()=>{f=_,t(2,f)})}return n.$$set=_=>{"x"in _&&t(0,a=_.x),"y"in _&&t(1,r=_.y),"$$scope"in _&&t(6,i=_.$$scope)},n.$$.update=()=>{n.$$.dirty&7&&(()=>{if(!f)return;const _=f.getBoundingClientRect();t(0,a=Math.min(window.innerWidth-_.width,a)),r>window.innerHeight-_.height&&t(1,r-=_.height)})(),n.$$.dirty&3&&t(5,d=()=>({x:a,y:r,top:r,left:a,bottom:r,right:a,width:0,height:0})),n.$$.dirty&32&&m.set({getBoundingClientRect:d})},[a,r,f,o,c,d,i,l,p]}class Wa extends _e{constructor(e){super(),me(this,e,Ha,Va,fe,{x:0,y:1})}}function Ga(n){let e;const t=n[4].default,l=Ue(t,n,n[3],null);return{c(){l&&l.c()},m(i,s){l&&l.m(i,s),e=!0},p(i,s){l&&l.p&&(!e||s&8)&&Ve(l,t,i,i[3],e?We(t,i[3],s,null):He(i[3]),null)},i(i){e||(v(l,i),e=!0)},o(i){w(l,i),e=!1},d(i){l&&l.d(i)}}}function Fa(n){let e;return{c(){e=B(n[1])},m(t,l){S(t,e,l)},p(t,l){l&2&&le(e,t[1])},i:U,o:U,d(t){t&&$(e)}}}function Qa(n){let e,t,l,i,s,o;const a=[Fa,Ga],r=[];function u(f,c){return f[1]?0:1}return t=u(n),l=r[t]=a[t](n),{c(){e=z("div"),l.c(),g(e,"class","svelte-1seb56m"),G(e,"disabled",n[0])},m(f,c){S(f,e,c),r[t].m(e,null),i=!0,s||(o=F(e,"click",n[2]),s=!0)},p(f,[c]){let d=t;t=u(f),t===d?r[t].p(f,c):(Y(),w(r[d],1,1,()=>{r[d]=null}),X(),l=r[t],l?l.p(f,c):(l=r[t]=a[t](f),l.c()),v(l,1),l.m(e,null)),(!i||c&1)&&G(e,"disabled",f[0])},i(f){i||(v(l),i=!0)},o(f){w(l),i=!1},d(f){f&&$(e),r[t].d(),s=!1,o()}}}function Za(n,e,t){let{$$slots:l={},$$scope:i}=e,{isDisabled:s=!1}=e,{text:o=""}=e;const a=ft(),{dispatchClick:r}=Lt(Yi),u=f=>{s||(a("click"),r())};return n.$$set=f=>{"isDisabled"in f&&t(0,s=f.isDisabled),"text"in f&&t(1,o=f.text),"$$scope"in f&&t(3,i=f.$$scope)},[s,o,u,i,l]}class ht extends _e{constructor(e){super(),me(this,e,Za,Qa,fe,{isDisabled:0,text:1})}}function Ja(n){let e;return{c(){e=z("hr"),g(e,"class","svelte-gwcs5a")},m(t,l){S(t,e,l)},p:U,i:U,o:U,d(t){t&&$(e)}}}class Ka extends _e{constructor(e){super(),me(this,e,null,Ja,fe,{})}}function Ya(n){let e;return{c(){e=z("div"),e.innerHTML='No workflow loaded',g(e,"class","no-workflows svelte-1rvklz4")},m(t,l){S(t,e,l)},p:U,i:U,o:U,d(t){t&&$(e)}}}function Xa(n){let e,t,l,i=n[1]!=null&&hn(n),s=n[3]&&bn(n);return{c(){i&&i.c(),e=P(),s&&s.c(),t=he()},m(o,a){i&&i.m(o,a),S(o,e,a),s&&s.m(o,a),S(o,t,a),l=!0},p(o,a){o[1]!=null?i?(i.p(o,a),a&2&&v(i,1)):(i=hn(o),i.c(),v(i,1),i.m(e.parentNode,e)):i&&(Y(),w(i,1,1,()=>{i=null}),X()),o[3]?s?(s.p(o,a),a&8&&v(s,1)):(s=bn(o),s.c(),v(s,1),s.m(t.parentNode,t)):s&&(Y(),w(s,1,1,()=>{s=null}),X())},i(o){l||(v(i),v(s),l=!0)},o(o){w(i),w(s),l=!1},d(o){o&&($(e),$(t)),i&&i.d(o),s&&s.d(o)}}}function hn(n){let e,t,l,i,s,o;function a(u){n[18](u)}let r={classes:["root-container"],layoutState:n[1]};return n[5]!==void 0&&(r.dragItem=n[5]),t=new Ms({props:r}),qe.push(()=>ot(t,"dragItem",a)),{c(){e=z("div"),I(t.$$.fragment),g(e,"class","comfy-workflow-view svelte-1rvklz4")},m(u,f){S(u,e,f),T(t,e,null),i=!0,s||(o=F(e,"contextmenu",n[14]),s=!0)},p(u,f){const c={};f&2&&(c.layoutState=u[1]),!l&&f&32&&(l=!0,c.dragItem=u[5],rt(()=>l=!1)),t.$set(c)},i(u){i||(v(t.$$.fragment,u),i=!0)},o(u){w(t.$$.fragment,u),i=!1},d(u){u&&$(e),N(t),s=!1,o()}}}function bn(n){let e,t;const l=[n[7]];let i={$$slots:{default:[xa]},$$scope:{ctx:n}};for(let s=0;s{o[f]=null}),X(),t=o[e],t?t.p(r,u):(t=o[e]=s[e](r),t.c()),v(t,1),t.m(l.parentNode,l))},i(r){i||(v(t),i=!0)},o(r){w(t),i=!1},d(r){r&&$(l),o[e].d(r)}}}function tu(n,e,t){let l,i,s=U,o=()=>(s(),s=Et(f,se=>t(17,i=se)),f),a;ge(n,nt,se=>t(25,l=se)),ge(n,bt,se=>t(4,a=se)),n.$$.on_destroy.push(()=>s());let{app:r}=e,{workflow:u=null}=e,f,c;function d(se){const oe=a.currentSelection[0],K=i.allItems[oe];if(!K)return;const pe=K.dragItem,Se=K.parent;if(Se==null||Se.type!=="container")return;const Ie=i.allItems[Se.id],De=Ie.children.findIndex(Ee=>Ee.id===pe.id);if(De===-1)return;let Be;typeof se=="number"?Be=De+se:Be=se(De,Ie.children.length),f.moveItem(pe,Se,Be),f.set(i)}function m(){d(-1)}function p(){d(1)}function _(){d(()=>0)}function k(){d((se,oe)=>oe-1)}function h(se){const oe=a.currentSelection;Ae(bt,a.currentSelection=[],a),f.groupItems(oe,{direction:se?"horizontal":"vertical"})}let y=!1,M=!1;function D(){if(a.currentSelection[0]==null)return;const oe=i.allItems[a.currentSelection[0]];if(oe==null)return;const K=oe.dragItem;K.type==="container"&&(Ae(bt,a.currentSelection=[],a),f.ungroup(K))}let E={x:0,y:0},j=!1;async function R(se){l.uiUnlocked&&(se.preventDefault(),j&&(t(3,j=!1),await new Promise(oe=>setTimeout(oe,100))),t(7,E={x:se.clientX,y:se.clientY}),t(3,j=!0))}function A(){t(3,j=!1)}function L(se){c=se,t(5,c),t(1,f),t(17,i),t(0,u),t(3,j)}const W=()=>m(),q=()=>p(),ie=()=>_(),ce=()=>k(),$e=()=>h(!1),ee=()=>h(!0);return n.$$set=se=>{"app"in se&&t(16,r=se.app),"workflow"in se&&t(0,u=se.workflow)},n.$$.update=()=>{if(n.$$.dirty&1&&o(t(1,f=u==null?void 0:u.layout)),n.$$.dirty&10&&f&&Ae(f,i.isMenuOpen=j,i),n.$$.dirty&131088&&(t(2,y=!1),a.currentSelection.length===1)){const se=i.allItems[a.currentSelection[0]];if(se!=null){const oe=se.dragItem;t(2,y=oe.type==="container")}}if(n.$$.dirty&131092)if(y){const se=a.currentSelection[0],oe=i.allItems[se];t(6,M=oe.children.length===0)}else t(6,M=!1);n.$$.dirty&131074&&(f&&i.root?t(5,c=i.root):t(5,c=null))},[u,f,y,j,a,c,M,E,m,p,_,k,h,D,R,A,r,i,L,W,q,ie,ce,$e,ee]}class lu extends _e{constructor(e){super(),me(this,e,tu,eu,fe,{app:16,workflow:0})}}function vn(n){let e,t,l;return{c(){e=z("div"),g(e,"id","dropzone"),g(e,"class","dropzone svelte-3evzto")},m(i,s){S(i,e,s),n[8](e),t||(l=[F(e,"pointerdown",n[3]),F(e,"dragover",n[4]),F(e,"dragleave",n[3]),F(e,"drop",n[5])],t=!0)},p:U,d(i){i&&$(e),n[8](null),t=!1,Ge(l)}}}function nu(n){let e,t,l,i=!n[0]&&vn(n);return{c(){i&&i.c(),e=he()},m(s,o){i&&i.m(s,o),S(s,e,o),t||(l=F(window,"dragenter",n[2]),t=!0)},p(s,[o]){s[0]?i&&(i.d(1),i=null):i?i.p(s,o):(i=vn(s),i.c(),i.m(e.parentNode,e))},i:U,o:U,d(s){s&&$(e),i&&i.d(s),t=!1,l()}}}function iu(n,e,t){let l;ge(n,Yt,d=>t(7,l=d));let{app:i}=e,s=null,o=!1;function a(){s&&!o&&t(1,s.style.display="block",s)}function r(){s&&t(1,s.style.display="none",s)}function u(d){var m;o||d.dataTransfer!=null&&((m=d.dataTransfer.items)==null?void 0:m.length)>0&&(d.dataTransfer.dropEffect="copy",a(),d.preventDefault())}async function f(d){o||(d.preventDefault(),d.stopPropagation(),r(),d.dataTransfer!=null&&d.dataTransfer.files.length>0&&await i.handleFile(d.dataTransfer.files[0]))}function c(d){qe[d?"unshift":"push"](()=>{s=d,t(1,s)})}return n.$$set=d=>{"app"in d&&t(6,i=d.app)},n.$$.update=()=>{n.$$.dirty&128&&t(0,o=l.activeModals.length>0),n.$$.dirty&1&&o&&r()},[o,s,a,r,u,f,i,l,c]}class su extends _e{constructor(e){super(),me(this,e,iu,nu,fe,{app:6})}}function kn(n,e,t){const l=n.slice();l[14]=e[t][0],l[15]=e[t][1],l[20]=t;const i=l[15][0];l[16]=i;const s=l[4](l[16]);l[17]=s;const o=l[20]===Object.keys(l[0].errorsByID).length-1;return l[18]=o,l}function wn(n,e,t){const l=n.slice();l[21]=e[t];const i=l[21].errorType==="execution";return l[22]=i,l}function $n(n,e,t){const l=n.slice();return l[25]=e[t],l}function yn(n){let e,t,l=n[17].title+"",i,s;return{c(){e=z("span"),t=B("("),i=B(l),s=B(")"),g(e,"class","error-node-parent svelte-1f1oabo")},m(o,a){S(o,e,a),b(e,t),b(e,i),b(e,s)},p(o,a){a&1&&l!==(l=o[17].title+"")&&le(i,l)},d(o){o&&$(e)}}}function ou(n){let e,t=n[21].message+"",l;return{c(){e=z("span"),l=B(t),g(e,"class","error-message svelte-1f1oabo"),G(e,"execution-error",n[22])},m(i,s){S(i,e,s),b(e,l)},p(i,s){s&1&&t!==(t=i[21].message+"")&&le(l,t),s&1&&G(e,"execution-error",i[22])},d(i){i&&$(e)}}}function ru(n){var h,y;let e,t,l,i,s=n[2].title+"",o,a,r,u,f,c,d,m,p,_=(((y=(h=n[2])==null?void 0:h.properties)==null?void 0:y.tags)||[]).join(", ")+"",k;return{c(){e=z("div"),t=z("div"),l=z("span"),i=B('Node "'),o=B(s),a=B('" was missing tag used in workflow:'),r=z("span"),u=z("b"),f=B(n[1]),c=P(),d=z("div"),m=B("Tags on node: "),p=z("b"),k=B(_),g(l,"class","error-message svelte-1f1oabo"),we(r,"padding-left","0.2rem"),g(e,"class","error-input svelte-1f1oabo")},m(M,D){S(M,e,D),b(e,t),b(t,l),b(l,i),b(l,o),b(l,a),b(t,r),b(r,u),b(u,f),b(e,c),b(e,d),b(d,m),b(d,p),b(p,k)},p(M,D){var E,j;D&4&&s!==(s=M[2].title+"")&&le(o,s),D&2&&le(f,M[1]),D&4&&_!==(_=(((j=(E=M[2])==null?void 0:E.properties)==null?void 0:j.tags)||[]).join(", ")+"")&&le(k,_)},d(M){M&&$(e)}}}function Sn(n){let e,t,l=n[21].exceptionType+"",i,s;return{c(){e=z("span"),t=B("("),i=B(l),s=B(")")},m(o,a){S(o,e,a),b(e,t),b(e,i),b(e,s)},p(o,a){a&1&&l!==(l=o[21].exceptionType+"")&&le(i,l)},d(o){o&&$(e)}}}function zn(n){let e,t=n[21].exceptionMessage+"",l;return{c(){e=z("div"),l=B(t),we(e,"text-decoration","underline")},m(i,s){S(i,e,s),b(e,l)},p(i,s){s&1&&t!==(t=i[21].exceptionMessage+"")&&le(l,t)},d(i){i&&$(e)}}}function Cn(n){let e,t,l,i,s;function o(u,f){return u[1]?uu:au}let a=o(n),r=a(n);return{c(){e=z("div"),t=z("button"),t.innerHTML='',l=P(),r.c(),g(t,"class","jump-to-error locate svelte-1f1oabo"),we(e,"display","flex"),we(e,"flex-direction","row")},m(u,f){S(u,e,f),b(e,t),b(e,l),r.m(e,null),i||(s=F(t,"click",n[5]),i=!0)},p(u,f){a===(a=o(u))&&r?r.p(u,f):(r.d(1),r=a(u),r&&(r.c(),r.m(e,null)))},d(u){u&&$(e),r.d(),i=!1,s()}}}function au(n){let e;return{c(){e=z("span"),e.textContent="Find disconnected input"},m(t,l){S(t,e,l)},p:U,d(t){t&&$(e)}}}function uu(n){let e,t,l=n[2].title+"",i;return{c(){e=z("span"),t=B("Jump to node: "),i=B(l)},m(s,o){S(s,e,o),b(e,t),b(e,i)},p(s,o){o&4&&l!==(l=s[2].title+"")&&le(i,l)},d(s){s&&$(e)}}}function Mn(n){let e,t,l,i,s=n[21].input.name+"",o,a,r,u,f,c,d,m=n[21].input.config&&Pn(n),p=n[21].input.receivedValue&&In(n),_=n[21].input.receivedType&&Tn(n),k=n[21].input.config&&Nn(n);return{c(){e=z("div"),t=z("span"),l=B("Input: "),i=z("b"),o=B(s),a=P(),m&&m.c(),r=P(),p&&p.c(),u=P(),_&&_.c(),f=P(),k&&k.c(),c=he(),g(e,"class","error-input svelte-1f1oabo")},m(h,y){S(h,e,y),b(e,t),b(t,l),b(t,i),b(i,o),b(e,a),m&&m.m(e,null),S(h,r,y),p&&p.m(h,y),S(h,u,y),_&&_.m(h,y),S(h,f,y),k&&k.m(h,y),S(h,c,y),d=!0},p(h,y){(!d||y&1)&&s!==(s=h[21].input.name+"")&&le(o,s),h[21].input.config?m?m.p(h,y):(m=Pn(h),m.c(),m.m(e,null)):m&&(m.d(1),m=null),h[21].input.receivedValue?p?p.p(h,y):(p=In(h),p.c(),p.m(u.parentNode,u)):p&&(p.d(1),p=null),h[21].input.receivedType?_?_.p(h,y):(_=Tn(h),_.c(),_.m(f.parentNode,f)):_&&(_.d(1),_=null),h[21].input.config?k?(k.p(h,y),y&1&&v(k,1)):(k=Nn(h),k.c(),v(k,1),k.m(c.parentNode,c)):k&&(Y(),w(k,1,1,()=>{k=null}),X())},i(h){d||(v(k),d=!0)},o(h){w(k),d=!1},d(h){h&&($(e),$(r),$(u),$(f),$(c)),m&&m.d(),p&&p.d(h),_&&_.d(h),k&&k.d(h)}}}function Pn(n){let e,t,l=jn(n[21].input.config[0])+"",i,s;return{c(){e=z("span"),t=B("("),i=B(l),s=B(")")},m(o,a){S(o,e,a),b(e,t),b(e,i),b(e,s)},p(o,a){a&1&&l!==(l=jn(o[21].input.config[0])+"")&&le(i,l)},d(o){o&&$(e)}}}function In(n){let e,t,l,i,s=n[21].input.receivedValue+"",o;return{c(){e=z("div"),t=z("span"),l=B("Received value: "),i=z("b"),o=B(s)},m(a,r){S(a,e,r),b(e,t),b(t,l),b(t,i),b(i,o)},p(a,r){r&1&&s!==(s=a[21].input.receivedValue+"")&&le(o,s)},d(a){a&&$(e)}}}function Tn(n){let e,t,l,i,s=n[21].input.receivedType+"",o;return{c(){e=z("div"),t=z("span"),l=B("Received type: "),i=z("b"),o=B(s)},m(a,r){S(a,e,r),b(e,t),b(t,l),b(t,i),b(i,o)},p(a,r){r&1&&s!==(s=a[21].input.receivedType+"")&&le(o,s)},d(a){a&&$(e)}}}function Nn(n){let e,t,l;return t=new Ut({props:{label:"Input Config",open:!0,$$slots:{default:[fu]},$$scope:{ctx:n}}}),{c(){e=z("div"),I(t.$$.fragment),g(e,"class","error-traceback-wrapper svelte-1f1oabo")},m(i,s){S(i,e,s),T(t,e,null),l=!0},p(i,s){const o={};s&268435457&&(o.$$scope={dirty:s,ctx:i}),t.$set(o)},i(i){l||(v(t.$$.fragment,i),l=!0)},o(i){w(t.$$.fragment,i),l=!1},d(i){i&&$(e),N(t)}}}function fu(n){let e,t,l,i;return l=new Is({props:{json:n[21].input.config[1]}}),{c(){e=z("div"),t=z("div"),I(l.$$.fragment),g(t,"class","error-traceback-contents svelte-1f1oabo"),g(e,"class","error-traceback svelte-1f1oabo")},m(s,o){S(s,e,o),b(e,t),T(l,t,null),i=!0},p(s,o){const a={};o&1&&(a.json=s[21].input.config[1]),l.$set(a)},i(s){i||(v(l.$$.fragment,s),i=!0)},o(s){w(l.$$.fragment,s),i=!1},d(s){s&&$(e),N(l)}}}function Dn(n){let e,t,l;return t=new Ut({props:{label:"Traceback",open:!1,$$slots:{default:[cu]},$$scope:{ctx:n}}}),{c(){e=z("div"),I(t.$$.fragment),g(e,"class","error-traceback-wrapper svelte-1f1oabo")},m(i,s){S(i,e,s),T(t,e,null),l=!0},p(i,s){const o={};s&268435457&&(o.$$scope={dirty:s,ctx:i}),t.$set(o)},i(i){l||(v(t.$$.fragment,i),l=!0)},o(i){w(t.$$.fragment,i),l=!1},d(i){i&&$(e),N(t)}}}function En(n){let e,t=n[25]+"",l;return{c(){e=z("pre"),l=B(t)},m(i,s){S(i,e,s),b(e,l)},p(i,s){s&1&&t!==(t=i[25]+"")&&le(l,t)},d(i){i&&$(e)}}}function cu(n){let e,t,l=de(n[21].traceback),i=[];for(let s=0;s⮎',s=P(),o=z("div"),M.c(),a=P(),D&&D.c(),r=P(),E&&E.c(),u=P(),j&&j.c(),f=P(),R&&R.c(),c=P(),A&&A.c(),d=P(),g(i,"class","jump-to-error svelte-1f1oabo"),G(i,"execution-error",n[22]),g(o,"class","error-details-wrapper svelte-1f1oabo"),g(l,"class","error-details svelte-1f1oabo"),g(e,"class","error-entry svelte-1f1oabo")},m(L,W){S(L,e,W),b(e,t),b(t,l),b(l,i),b(l,s),b(l,o),M.m(o,null),b(o,a),D&&D.m(o,null),b(o,r),E&&E.m(o,null),b(o,u),j&&j.m(o,null),b(o,f),R&&R.m(o,null),b(e,c),A&&A.m(e,null),b(e,d),m=!0,p||(_=F(i,"click",k),p=!0)},p(L,W){n=L,(!m||W&1)&&G(i,"execution-error",n[22]),y===(y=h(n))&&M?M.p(n,W):(M.d(1),M=y(n),M&&(M.c(),M.m(o,a))),n[21].exceptionType?D?D.p(n,W):(D=Sn(n),D.c(),D.m(o,r)):D&&(D.d(1),D=null),n[21].exceptionMessage&&!n[22]?E?E.p(n,W):(E=zn(n),E.c(),E.m(o,u)):E&&(E.d(1),E=null),n[2]!=null?j?j.p(n,W):(j=Cn(n),j.c(),j.m(o,f)):j&&(j.d(1),j=null),n[21].input&&!n[1]?R?(R.p(n,W),W&3&&v(R,1)):(R=Mn(n),R.c(),v(R,1),R.m(o,null)):R&&(Y(),w(R,1,1,()=>{R=null}),X()),n[21].traceback?A?(A.p(n,W),W&1&&v(A,1)):(A=Dn(n),A.c(),v(A,1),A.m(e,d)):A&&(Y(),w(A,1,1,()=>{A=null}),X())},i(L){m||(v(R),v(A),m=!0)},o(L){w(R),w(A),m=!1},d(L){L&&$(e),M.d(),D&&D.d(),E&&E.d(),j&&j.d(),R&&R.d(),A&&A.d(),p=!1,_()}}}function qn(n){let e,t,l,i=n[16].comfyNodeType+"",s,o,a,r,u,f,c=n[17]&&yn(n),d=de(n[15]),m=[];for(let _=0;_w(m[_],1,1,()=>{m[_]=null});return{c(){e=z("div"),t=z("div"),l=z("span"),s=B(i),o=P(),c&&c.c(),a=P(),r=z("div");for(let _=0;_w(f[d],1,1,()=>{f[d]=null});return{c(){e=z("div"),t=z("div"),l=z("button"),l.textContent="✕",i=P(),s=z("div");for(let d=0;dt(11,l=h));let{app:i}=e,{errors:s}=e,o=null,a=null,r=null,u=null;function f(){i.lCanvas.clearErrors(),Ae(nt,l.activeError=null,l),c()}function c(){t(8,u=null),t(1,o=null),t(2,a=null),r=null}function d(h){const y=i.lCanvas.graph.getNodeByIdRecursive(h.nodeID);return y==null||!y.graph._is_subgraph?null:y.graph._subgraph_node}function m(){a!=null&&i.lCanvas.jumpToNodeAndInput(a,r)}function p(h){if(t(1,o=null),t(2,a=null),r=null,h.errorType!==Ps.RequiredInputMissing||h.input==null)return;const y=i.lCanvas.graph.getNodeByIdRecursive(h.nodeID),M=y.findInputSlotIndexByName(h.input.name);if(M===-1)return;const D=h.queueEntry.extraData.extra_pnginfo.comfyBoxPrompt.subgraphs[0],E=(q,ie)=>{if(!zl(q,D,!0))return!0;const[ce,$e,ee,se]=Ns(q,ie);return $e==null},j=new Ts(E),[R,A,L,W]=j.locateUpstream(y,M,null);L!=null&&W!=null&&(zl(R,D,!0)?(t(2,a=W),r=L):(t(2,a=R),t(1,o=D),r=null))}function _(h){i.lCanvas.jumpToError(h),p(h)}const k=h=>_(h);return n.$$set=h=>{"app"in h&&t(7,i=h.app),"errors"in h&&t(0,s=h.errors)},n.$$.update=()=>{n.$$.dirty&257&&u!=s&&(t(8,u=s),s.errors[0]&&_(s.errors[0]))},[s,o,a,f,d,m,_,i,u,k]}class mu extends _e{constructor(e){super(),me(this,e,_u,du,fe,{app:7,errors:0})}}function Bn(n){let e,t,l,i,s;return{c(){e=z("button"),t=B("Clear Errors"),e.disabled=l=n[3].graphTransitioning,g(e,"class","svelte-g3ewxz")},m(o,a){S(o,e,a),b(e,t),i||(s=F(e,"click",n[5]),i=!0)},p(o,a){a&8&&l!==(l=o[3].graphTransitioning)&&(e.disabled=l)},d(o){o&&$(e),i=!1,s()}}}function On(n){let e,t;return e=new mu({props:{app:n[0],errors:n[0].lCanvas.activeErrors}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i&1&&(s.app=l[0]),i&1&&(s.errors=l[0].lCanvas.activeErrors),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function pu(n){var M,D;let e,t,l,i,s,o,a,r,u,f,c,d,m,p,_,k;s=new su({props:{app:n[0]}});let h=n[2].activeError!=null&&Bn(n),y=n[2].activeError&&((D=(M=n[0])==null?void 0:M.lCanvas)==null?void 0:D.activeErrors)!=null&&On(n);return{c(){e=z("div"),t=z("div"),l=z("canvas"),i=P(),I(s.$$.fragment),o=P(),a=z("div"),r=z("span"),u=z("button"),f=B("Recenter"),d=P(),h&&h.c(),m=P(),y&&y.c(),g(l,"id","graph-canvas"),g(t,"class","canvas-wrapper pane-wrapper svelte-g3ewxz"),u.disabled=c=n[3].graphTransitioning,g(u,"class","svelte-g3ewxz"),g(r,"class","left svelte-g3ewxz"),g(a,"class","bar svelte-g3ewxz"),g(e,"class","wrapper litegraph svelte-g3ewxz")},m(E,j){S(E,e,j),b(e,t),b(t,l),n[6](l),b(t,i),T(s,t,null),b(e,o),b(e,a),b(a,r),b(r,u),b(u,f),b(r,d),h&&h.m(r,null),b(e,m),y&&y.m(e,null),p=!0,_||(k=F(u,"click",n[4]),_=!0)},p(E,[j]){var A,L;const R={};j&1&&(R.app=E[0]),s.$set(R),(!p||j&8&&c!==(c=E[3].graphTransitioning))&&(u.disabled=c),E[2].activeError!=null?h?h.p(E,j):(h=Bn(E),h.c(),h.m(r,null)):h&&(h.d(1),h=null),E[2].activeError&&((L=(A=E[0])==null?void 0:A.lCanvas)==null?void 0:L.activeErrors)!=null?y?(y.p(E,j),j&5&&v(y,1)):(y=On(E),y.c(),v(y,1),y.m(e,null)):y&&(Y(),w(y,1,1,()=>{y=null}),X())},i(E){p||(v(s.$$.fragment,E),v(y),p=!0)},o(E){w(s.$$.fragment,E),w(y),p=!1},d(E){E&&$(e),n[6](null),N(s),h&&h.d(),y&&y.d(),_=!1,k()}}}function gu(n,e,t){let l,i;ge(n,nt,f=>t(2,l=f)),ge(n,St,f=>t(3,i=f));let{app:s}=e,o;Ct(async()=>{var f;s!=null&&s.lCanvas&&(t(1,o=s.lCanvas.canvas),(f=s.lCanvas)==null||f.setCanvas(o))});function a(){var f;(f=s==null?void 0:s.lCanvas)==null||f.recenter()}function r(){Ae(nt,l.activeError=null,l)}function u(f){qe[f?"unshift":"push"](()=>{o=f,t(1,o)})}return n.$$set=f=>{"app"in f&&t(0,s=f.app)},[s,o,l,i,a,r,u]}class hu extends _e{constructor(e){super(),me(this,e,gu,pu,fe,{app:0})}}function bu(n){let e;return{c(){e=B(n[4])},m(t,l){S(t,e,l)},p(t,l){l&16&&le(e,t[4])},d(t){t&&$(e)}}}function vu(n){let e,t,l,i,s,o,a,r;return t=new ll({props:{$$slots:{default:[bu]},$$scope:{ctx:n}}}),{c(){e=z("label"),I(t.$$.fragment),l=P(),i=z("div"),s=z("input"),g(s,"type","number"),g(s,"min",n[1]),g(s,"max",n[2]),g(s,"step",n[3]),s.disabled=n[5],g(s,"class","svelte-1xg4716"),g(i,"class","number svelte-1xg4716"),g(e,"class","number-wrapper svelte-1xg4716")},m(u,f){S(u,e,f),T(t,e,null),b(e,l),b(e,i),b(i,s),it(s,n[0]),o=!0,a||(r=F(s,"input",n[6]),a=!0)},p(u,[f]){const c={};f&1040&&(c.$$scope={dirty:f,ctx:u}),t.$set(c),(!o||f&2)&&g(s,"min",u[1]),(!o||f&4)&&g(s,"max",u[2]),(!o||f&8)&&g(s,"step",u[3]),(!o||f&32)&&(s.disabled=u[5]),f&1&&Pt(s.value)!==u[0]&&it(s,u[0])},i(u){o||(v(t.$$.fragment,u),o=!0)},o(u){w(t.$$.fragment,u),o=!1},d(u){u&&$(e),N(t),a=!1,r()}}}function ku(n,e,t){let{value:l=0}=e,{min:i=-1024}=e,{max:s=1024}=e,{step:o=1}=e,{name:a=""}=e,{disabled:r=!1}=e,u=0;const f=ft();function c(m){m!=u&&f("change",m),u=m}function d(){l=Pt(this.value),t(0,l)}return n.$$set=m=>{"value"in m&&t(0,l=m.value),"min"in m&&t(1,i=m.min),"max"in m&&t(2,s=m.max),"step"in m&&t(3,o=m.step),"name"in m&&t(4,a=m.name),"disabled"in m&&t(5,r=m.disabled)},n.$$.update=()=>{n.$$.dirty&1,n.$$.dirty&1&&c(l)},[l,i,s,o,a,r,d]}class il extends _e{constructor(e){super(),me(this,e,ku,vu,fe,{value:0,min:1,max:2,step:3,name:4,disabled:5})}}function Rn(n,e,t){const l=n.slice();return l[0]=e[t],l}function wu(n){let e;return{c(){e=B(n[2])},m(t,l){S(t,e,l)},p(t,l){l&4&&le(e,t[2])},d(t){t&&$(e)}}}function Ln(n){let e,t=n[0]+"",l,i,s;return{c(){e=z("option"),l=B(t),i=P(),e.__value=s=n[0],it(e,e.__value)},m(o,a){S(o,e,a),b(e,l),b(e,i)},p(o,a){a&2&&t!==(t=o[0]+"")&&le(l,t),a&2&&s!==(s=o[0])&&(e.__value=s,it(e,e.__value))},d(o){o&&$(e)}}}function $u(n){let e,t,l,i,s,o,a,r;t=new ll({props:{$$slots:{default:[wu]},$$scope:{ctx:n}}});let u=de(n[1]),f=[];for(let c=0;cn[5].call(s)),g(i,"class","select svelte-rpnjx9"),g(e,"class","select-wrapper svelte-rpnjx9")},m(c,d){S(c,e,d),T(t,e,null),b(e,l),b(e,i),b(i,s);for(let m=0;m{"value"in d&&t(0,l=d.value),"values"in d&&t(1,i=d.values),"name"in d&&t(2,s=d.name),"disabled"in d&&t(3,o=d.disabled)},n.$$.update=()=>{n.$$.dirty&1,n.$$.dirty&1&&u(l)},[l,i,s,o,f,c]}class sl extends _e{constructor(e){super(),me(this,e,yu,$u,fe,{value:0,values:1,name:2,disabled:3})}}function Un(n,e,t){const l=n.slice();return l[41]=e[t],l}function Vn(n,e,t){const l=n.slice();return l[44]=e[t],l}function Hn(n){let e,t,l,i;return{c(){e=z("span"),t=B("("),l=B(n[4]),i=B(")"),g(e,"class","type svelte-1y2pwge")},m(s,o){S(s,e,o),b(e,t),b(e,l),b(e,i)},p(s,o){o[0]&16&&le(l,s[4])},d(s){s&&$(e)}}}function Wn(n){let e,t,l,i,s,o,a;return l=new co({props:{width:"100%",height:"100%"}}),{c(){e=z("div"),t=z("button"),I(l.$$.fragment),g(t,"class","mode-button ternary svelte-1y2pwge"),t.disabled=i=n[3]==null,g(t,"title","View in Graph"),g(e,"class","target-name-button svelte-1y2pwge")},m(r,u){S(r,e,u),b(e,t),T(l,t,null),s=!0,o||(a=F(t,"click",n[13]),o=!0)},p(r,u){(!s||u[0]&8&&i!==(i=r[3]==null))&&(t.disabled=i)},i(r){s||(v(l.$$.fragment,r),s=!0)},o(r){w(l.$$.fragment,r),s=!1},d(r){r&&$(e),N(l),o=!1,a()}}}function Gn(n){let e=n[0].id,t,l,i=Jn(n);return{c(){i.c(),t=he()},m(s,o){i.m(s,o),S(s,t,o),l=!0},p(s,o){o[0]&1&&fe(e,e=s[0].id)?(Y(),w(i,1,1,U),X(),i=Jn(s),i.c(),v(i,1),i.m(t.parentNode,t)):i.p(s,o)},i(s){l||(v(i),l=!0)},o(s){w(i),l=!1},d(s){s&&$(t),i.d(s)}}}function Su(n){let e,t,l,i,s;const o=[Tu,Iu,Pu,Mu],a=[];function r(u,f){return u[44].type==="string"?0:u[44].type==="boolean"?1:u[44].type==="number"?2:u[44].type==="enum"?3:-1}return~(t=r(n))&&(l=a[t]=o[t](n)),{c(){e=z("div"),l&&l.c(),i=P(),g(e,"class","props-entry svelte-1y2pwge")},m(u,f){S(u,e,f),~t&&a[t].m(e,null),b(e,i),s=!0},p(u,f){l&&l.p(u,f)},i(u){s||(v(l),s=!0)},o(u){w(l),s=!1},d(u){u&&$(e),~t&&a[t].d()}}}function zu(n){let e,t,l,i,s,o;const a=[Du,Nu],r=[];function u(f,c){return c[0]&8&&(e=null),c[0]&8&&(t=null),e==null&&(e=!!Fu(f[44],f[3])),e?0:(t==null&&(t=!!Qu(f[44],f[3])),t?1:-1)}return~(l=u(n,[-1,-1]))&&(i=r[l]=a[l](n)),{c(){i&&i.c(),s=he()},m(f,c){~l&&r[l].m(f,c),S(f,s,c),o=!0},p(f,c){let d=l;l=u(f,c),l===d?~l&&r[l].p(f,c):(i&&(Y(),w(r[d],1,1,()=>{r[d]=null}),X()),~l?(i=r[l],i?i.p(f,c):(i=r[l]=a[l](f),i.c()),v(i,1),i.m(s.parentNode,s)):i=null)},i(f){o||(v(i),o=!0)},o(f){w(i),o=!1},d(f){f&&$(s),~l&&r[l].d(f)}}}function Cu(n){let e,t,l,i,s;const o=[Wu,Hu,Vu,Uu],a=[];function r(u,f){return u[44].type==="string"?0:u[44].type==="boolean"?1:u[44].type==="number"?2:u[44].type==="enum"?3:-1}return~(t=r(n))&&(l=a[t]=o[t](n)),{c(){e=z("div"),l&&l.c(),i=P(),g(e,"class","props-entry svelte-1y2pwge")},m(u,f){S(u,e,f),~t&&a[t].m(e,null),b(e,i),s=!0},p(u,f){l&&l.p(u,f)},i(u){s||(v(l),s=!0)},o(u){w(l),s=!1},d(u){u&&$(e),~t&&a[t].d()}}}function Mu(n){let e,t;function l(...i){return n[37](n[44],...i)}return e=new sl({props:{name:n[44].name,value:n[11](n[44]),values:n[44].values,disabled:!n[6].uiUnlocked||!n[44].editable}}),e.$on("change",l),{c(){I(e.$$.fragment)},m(i,s){T(e,i,s),t=!0},p(i,s){n=i;const o={};s[0]&64&&(o.disabled=!n[6].uiUnlocked||!n[44].editable),e.$set(o)},i(i){t||(v(e.$$.fragment,i),t=!0)},o(i){w(e.$$.fragment,i),t=!1},d(i){N(e,i)}}}function Pu(n){let e,t;function l(...i){return n[36](n[44],...i)}return e=new il({props:{name:n[44].name,value:n[11](n[44]),step:n[44].step||1,min:n[44].min||-1024,max:n[44].max||1024,disabled:!n[6].uiUnlocked||!n[44].editable}}),e.$on("change",l),{c(){I(e.$$.fragment)},m(i,s){T(e,i,s),t=!0},p(i,s){n=i;const o={};s[0]&64&&(o.disabled=!n[6].uiUnlocked||!n[44].editable),e.$set(o)},i(i){t||(v(e.$$.fragment,i),t=!0)},o(i){w(e.$$.fragment,i),t=!1},d(i){N(e,i)}}}function Iu(n){let e,t;function l(...i){return n[35](n[44],...i)}return e=new vt({props:{value:n[11](n[44]),disabled:!n[6].uiUnlocked||!n[44].editable,label:n[44].name}}),e.$on("change",l),{c(){I(e.$$.fragment)},m(i,s){T(e,i,s),t=!0},p(i,s){n=i;const o={};s[0]&64&&(o.disabled=!n[6].uiUnlocked||!n[44].editable),e.$set(o)},i(i){t||(v(e.$$.fragment,i),t=!0)},o(i){w(e.$$.fragment,i),t=!1},d(i){N(e,i)}}}function Tu(n){let e,t;function l(...s){return n[33](n[44],...s)}function i(...s){return n[34](n[44],...s)}return e=new wt({props:{value:n[11](n[44]),label:n[44].name,disabled:!n[6].uiUnlocked||!n[44].editable,max_lines:n[44].multiline?5:1}}),e.$on("change",l),e.$on("input",i),{c(){I(e.$$.fragment)},m(s,o){T(e,s,o),t=!0},p(s,o){n=s;const a={};o[0]&64&&(a.disabled=!n[6].uiUnlocked||!n[44].editable),e.$set(a)},i(s){t||(v(e.$$.fragment,s),t=!0)},o(s){w(e.$$.fragment,s),t=!1},d(s){N(e,s)}}}function Nu(n){let e,t,l,i,s;const o=[ju,qu,Au,Eu],a=[];function r(u,f){return u[44].type==="string"?0:u[44].type==="boolean"?1:u[44].type==="number"?2:u[44].type==="enum"?3:-1}return~(t=r(n))&&(l=a[t]=o[t](n)),{c(){e=z("div"),l&&l.c(),i=P(),g(e,"class","props-entry svelte-1y2pwge")},m(u,f){S(u,e,f),~t&&a[t].m(e,null),b(e,i),s=!0},p(u,f){l&&l.p(u,f)},i(u){s||(v(l),s=!0)},o(u){w(l),s=!1},d(u){u&&$(e),~t&&a[t].d()}}}function Du(n){let e,t,l,i,s;const o=[Lu,Ru,Ou,Bu],a=[];function r(u,f){return u[44].type==="string"?0:u[44].type==="boolean"?1:u[44].type==="number"?2:u[44].type==="enum"?3:-1}return~(t=r(n))&&(l=a[t]=o[t](n)),{c(){e=z("div"),l&&l.c(),i=P(),g(e,"class","props-entry svelte-1y2pwge")},m(u,f){S(u,e,f),~t&&a[t].m(e,null),b(e,i),s=!0},p(u,f){l&&l.p(u,f)},i(u){s||(v(l),s=!0)},o(u){w(l),s=!1},d(u){u&&$(e),~t&&a[t].d()}}}function Eu(n){let e,t;function l(...i){return n[32](n[44],...i)}return e=new sl({props:{name:n[44].name,value:pt(n[3],n[44]),values:n[44].values,disabled:!n[6].uiUnlocked||!n[44].editable}}),e.$on("change",l),{c(){I(e.$$.fragment)},m(i,s){T(e,i,s),t=!0},p(i,s){n=i;const o={};s[0]&8&&(o.value=pt(n[3],n[44])),s[0]&64&&(o.disabled=!n[6].uiUnlocked||!n[44].editable),e.$set(o)},i(i){t||(v(e.$$.fragment,i),t=!0)},o(i){w(e.$$.fragment,i),t=!1},d(i){N(e,i)}}}function Au(n){let e,t;function l(...i){return n[31](n[44],...i)}return e=new il({props:{name:n[44].name,value:pt(n[3],n[44]),step:n[44].step||1,min:n[44].min||-1024,max:n[44].max||1024,disabled:!n[6].uiUnlocked||!n[44].editable}}),e.$on("change",l),{c(){I(e.$$.fragment)},m(i,s){T(e,i,s),t=!0},p(i,s){n=i;const o={};s[0]&8&&(o.value=pt(n[3],n[44])),s[0]&64&&(o.disabled=!n[6].uiUnlocked||!n[44].editable),e.$set(o)},i(i){t||(v(e.$$.fragment,i),t=!0)},o(i){w(e.$$.fragment,i),t=!1},d(i){N(e,i)}}}function qu(n){let e,t;function l(...i){return n[30](n[44],...i)}return e=new vt({props:{value:pt(n[3],n[44]),disabled:!n[6].uiUnlocked||!n[44].editable,label:n[44].name}}),e.$on("change",l),{c(){I(e.$$.fragment)},m(i,s){T(e,i,s),t=!0},p(i,s){n=i;const o={};s[0]&8&&(o.value=pt(n[3],n[44])),s[0]&64&&(o.disabled=!n[6].uiUnlocked||!n[44].editable),e.$set(o)},i(i){t||(v(e.$$.fragment,i),t=!0)},o(i){w(e.$$.fragment,i),t=!1},d(i){N(e,i)}}}function ju(n){let e,t;function l(...s){return n[28](n[44],...s)}function i(...s){return n[29](n[44],...s)}return e=new wt({props:{value:pt(n[3],n[44]),label:n[44].name,disabled:!n[6].uiUnlocked||!n[44].editable,max_lines:n[44].multiline?5:1}}),e.$on("change",l),e.$on("input",i),{c(){I(e.$$.fragment)},m(s,o){T(e,s,o),t=!0},p(s,o){n=s;const a={};o[0]&8&&(a.value=pt(n[3],n[44])),o[0]&64&&(a.disabled=!n[6].uiUnlocked||!n[44].editable),e.$set(a)},i(s){t||(v(e.$$.fragment,s),t=!0)},o(s){w(e.$$.fragment,s),t=!1},d(s){N(e,s)}}}function Bu(n){let e,t;function l(...i){return n[27](n[44],...i)}return e=new sl({props:{name:n[44].name,value:mt(n[3],n[44]),values:n[44].values,disabled:!n[6].uiUnlocked||!n[44].editable}}),e.$on("change",l),{c(){I(e.$$.fragment)},m(i,s){T(e,i,s),t=!0},p(i,s){n=i;const o={};s[0]&8&&(o.value=mt(n[3],n[44])),s[0]&64&&(o.disabled=!n[6].uiUnlocked||!n[44].editable),e.$set(o)},i(i){t||(v(e.$$.fragment,i),t=!0)},o(i){w(e.$$.fragment,i),t=!1},d(i){N(e,i)}}}function Ou(n){let e,t;function l(...i){return n[26](n[44],...i)}return e=new il({props:{name:n[44].name,value:mt(n[3],n[44]),step:n[44].step||1,min:n[44].min||-1024,max:n[44].max||1024,disabled:!n[6].uiUnlocked||!n[44].editable}}),e.$on("change",l),{c(){I(e.$$.fragment)},m(i,s){T(e,i,s),t=!0},p(i,s){n=i;const o={};s[0]&8&&(o.value=mt(n[3],n[44])),s[0]&64&&(o.disabled=!n[6].uiUnlocked||!n[44].editable),e.$set(o)},i(i){t||(v(e.$$.fragment,i),t=!0)},o(i){w(e.$$.fragment,i),t=!1},d(i){N(e,i)}}}function Ru(n){let e,t;function l(...i){return n[25](n[44],...i)}return e=new vt({props:{value:mt(n[3],n[44]),label:n[44].name,disabled:!n[6].uiUnlocked||!n[44].editable}}),e.$on("change",l),{c(){I(e.$$.fragment)},m(i,s){T(e,i,s),t=!0},p(i,s){n=i;const o={};s[0]&8&&(o.value=mt(n[3],n[44])),s[0]&64&&(o.disabled=!n[6].uiUnlocked||!n[44].editable),e.$set(o)},i(i){t||(v(e.$$.fragment,i),t=!0)},o(i){w(e.$$.fragment,i),t=!1},d(i){N(e,i)}}}function Lu(n){let e,t;function l(...s){return n[23](n[44],...s)}function i(...s){return n[24](n[44],...s)}return e=new wt({props:{value:mt(n[3],n[44]),label:n[44].name,disabled:!n[6].uiUnlocked||!n[44].editable,max_lines:n[44].multiline?5:1}}),e.$on("change",l),e.$on("input",i),{c(){I(e.$$.fragment)},m(s,o){T(e,s,o),t=!0},p(s,o){n=s;const a={};o[0]&8&&(a.value=mt(n[3],n[44])),o[0]&64&&(a.disabled=!n[6].uiUnlocked||!n[44].editable),e.$set(a)},i(s){t||(v(e.$$.fragment,s),t=!0)},o(s){w(e.$$.fragment,s),t=!1},d(s){N(e,s)}}}function Uu(n){let e,t;function l(...i){return n[22](n[44],...i)}return e=new sl({props:{name:n[44].name,value:_t(n[2],n[44]),values:n[44].values,disabled:!n[6].uiUnlocked||!n[44].editable}}),e.$on("change",l),{c(){I(e.$$.fragment)},m(i,s){T(e,i,s),t=!0},p(i,s){n=i;const o={};s[0]&4&&(o.value=_t(n[2],n[44])),s[0]&64&&(o.disabled=!n[6].uiUnlocked||!n[44].editable),e.$set(o)},i(i){t||(v(e.$$.fragment,i),t=!0)},o(i){w(e.$$.fragment,i),t=!1},d(i){N(e,i)}}}function Vu(n){let e,t;function l(...i){return n[21](n[44],...i)}return e=new il({props:{name:n[44].name,value:_t(n[2],n[44]),step:n[44].step||1,min:n[44].min||-1024,max:n[44].max||1024,disabled:!n[6].uiUnlocked||!n[44].editable}}),e.$on("change",l),{c(){I(e.$$.fragment)},m(i,s){T(e,i,s),t=!0},p(i,s){n=i;const o={};s[0]&4&&(o.value=_t(n[2],n[44])),s[0]&64&&(o.disabled=!n[6].uiUnlocked||!n[44].editable),e.$set(o)},i(i){t||(v(e.$$.fragment,i),t=!0)},o(i){w(e.$$.fragment,i),t=!1},d(i){N(e,i)}}}function Hu(n){let e,t;function l(...i){return n[20](n[44],...i)}return e=new vt({props:{value:_t(n[2],n[44]),disabled:!n[6].uiUnlocked||!n[44].editable,label:n[44].name}}),e.$on("change",l),{c(){I(e.$$.fragment)},m(i,s){T(e,i,s),t=!0},p(i,s){n=i;const o={};s[0]&4&&(o.value=_t(n[2],n[44])),s[0]&64&&(o.disabled=!n[6].uiUnlocked||!n[44].editable),e.$set(o)},i(i){t||(v(e.$$.fragment,i),t=!0)},o(i){w(e.$$.fragment,i),t=!1},d(i){N(e,i)}}}function Wu(n){let e,t;function l(...s){return n[18](n[44],...s)}function i(...s){return n[19](n[44],...s)}return e=new wt({props:{value:_t(n[2],n[44]),disabled:!n[6].uiUnlocked||!n[44].editable,label:n[44].name,max_lines:n[44].multiline?5:1}}),e.$on("change",l),e.$on("input",i),{c(){I(e.$$.fragment)},m(s,o){T(e,s,o),t=!0},p(s,o){n=s;const a={};o[0]&4&&(a.value=_t(n[2],n[44])),o[0]&64&&(a.disabled=!n[6].uiUnlocked||!n[44].editable),e.$set(a)},i(s){t||(v(e.$$.fragment,s),t=!0)},o(s){w(e.$$.fragment,s),t=!1},d(s){N(e,s)}}}function Fn(n,e){let t,l,i,s,o,a,r;const u=[Cu,zu,Su],f=[];function c(d,m){return m[0]&4&&(l=null),m[0]&12&&(i=null),l==null&&(l=!!Zu(d[44],d[2])),l?0:d[3]?1:(i==null&&(i=!!(!d[3]&&!d[2]&&d[7](d[44]))),i?2:-1)}return~(s=c(e,[-1,-1]))&&(o=f[s]=u[s](e)),{key:n,first:null,c(){t=he(),o&&o.c(),a=he(),this.first=t},m(d,m){S(d,t,m),~s&&f[s].m(d,m),S(d,a,m),r=!0},p(d,m){e=d;let p=s;s=c(e,m),s===p?~s&&f[s].p(e,m):(o&&(Y(),w(f[p],1,1,()=>{f[p]=null}),X()),~s?(o=f[s],o?o.p(e,m):(o=f[s]=u[s](e),o.c()),v(o,1),o.m(a.parentNode,a)):o=null)},i(d){r||(v(o),r=!0)},o(d){w(o),r=!1},d(d){d&&($(t),$(a)),~s&&f[s].d(d)}}}function Qn(n,e){let t,l,i,s,o=[],a=new Map,r,u,f=de(e[41].specs);const c=d=>d[44].id;for(let d=0;da[41].categoryName;for(let a=0;a{_=null}),X()),D[0]!=null&&D[1]!=null?k?(k.p(D,E),E[0]&3&&v(k,1)):(k=Gn(D),k.c(),v(k,1),k.m(d,null)):k&&(Y(),w(k,1,1,()=>{k=null}),X())},i(D){m||(v(_),v(k),m=!0)},o(D){w(_),w(k),m=!1},d(D){D&&$(e),p&&p.d(),_&&_.d(),k&&k.d()}}}function Fu(n,e){return e==null||n.location!=="nodeProps"||n.canShow&&!n.canShow(e)?!1:n.validNodeTypes?n.validNodeTypes.indexOf(e.type)!==-1:n.name in e.properties}function Qu(n,e){return e==null||n.location!=="nodeVars"||n.canShow&&!n.canShow(e)?!1:n.validNodeTypes?n.validNodeTypes.indexOf(e.type)!==-1:n.name in e}function Zu(n,e){if(e==null||n.location!=="widget")return!1;if(n.canShow)return n.canShow(e);if(n.validNodeTypes){if(e.type==="widget"){const t=e.node;return t?n.validNodeTypes.indexOf(t.type)!==-1:!1}else if(e.type==="container")return!1}return n.name in e.attrs}function _t(n,e){let t=n.attrs[e.name];return t==null?t=e.defaultValue:e.serialize&&(t=e.serialize(t)),t}function mt(n,e){let t=n.properties[e.name];return t==null?t=e.defaultValue:e.serialize&&(t=e.serialize(t)),t}function pt(n,e){let t=n[e.name];return t==null?t=e.defaultValue:e.serialize&&(t=e.serialize(t)),t}function Ju(n,e,t){let l,i,s=U,o=()=>(s(),s=Et(m,O=>t(15,i=O)),m),a,r,u,f;ge(n,Ml,O=>t(5,l=O)),ge(n,lt,O=>t(38,a=O)),ge(n,bt,O=>t(16,r=O)),ge(n,St,O=>t(17,u=O)),ge(n,nt,O=>t(6,f=O)),n.$$.on_destroy.push(()=>s());let{app:c}=e,{workflow:d}=e,m=null;o();let p=null,_=null,k="???";function h(O){return O.location!=="workflow"||d==null?!1:O.name in d.attrs}function y(O,V,ze){if(V==null||!O.editable)return;const Ce=O.name;O.deserialize&&(ze=O.deserialize(ze));const re=V.attrs[Ce];if(V.attrs[Ce]=ze,V.attrsChanged.set(At(V.attrsChanged)+1),O.onChanged&&O.onChanged(V,ze,re),_&&"propsChanged"in _){const Ze=_;Ze.propsChanged.set(At(Ze.propsChanged)+1)}O.refreshPanelOnChange&&R(),d.notifyModified()}function M(O,V){if(_==null||!O.editable)return;const ze=O.name;O.deserialize&&(V=O.deserialize(V));const Ce=_.properties[ze];t(3,_.properties[ze]=V,_),O.onChanged&&O.onChanged(_,V,Ce),"propsChanged"in _&&_.notifyPropsChanged(),O.refreshPanelOnChange&&R(),d.notifyModified()}function D(O,V){if(_==null||!O.editable)return;const ze=O.name;O.deserialize&&(V=O.deserialize(V));const Ce=_[ze];if(t(3,_[ze]=V,_),O.onChanged&&O.onChanged(_,V,Ce),"propsChanged"in _){const re=_;re.propsChanged.set(At(re.propsChanged)+1)}O.refreshPanelOnChange&&R(),d.notifyModified()}function E(O){if(d==null)throw new Error("Active workflow is null!");let V=d.attrs[O.name];return V==null?V=O.defaultValue:O.serialize&&(V=O.serialize(V)),V}function j(O,V){if(!O.editable)return;if(d==null)throw new Error("Active workflow is null!");const ze=O.name,Ce=V;t(0,d.attrs[ze]=V,d),lt.set(a),O.onChanged&&O.onChanged(i,V,Ce),O.refreshPanelOnChange&&R(),d.notifyModified()}function R(){Ae(Ml,l.refreshPropsPanel+=1,l)}const A=Lt(kl);async function L(){if(!A||(c==null?void 0:c.lCanvas)==null||d==null||_==null)return;const O=lt.setActiveWorkflow(c.lCanvas,d.id);O==null||!O.graph.getNodeByIdRecursive(_.id)||await A.openGraph(()=>{c.lCanvas.jumpToNode(_)})}const W=(O,V)=>y(O,p,V.detail),q=(O,V)=>y(O,p,V.detail),ie=(O,V)=>y(O,p,V.detail),ce=(O,V)=>y(O,p,V.detail),$e=(O,V)=>y(O,p,V.detail),ee=(O,V)=>M(O,V.detail),se=(O,V)=>M(O,V.detail),oe=(O,V)=>M(O,V.detail),K=(O,V)=>M(O,V.detail),pe=(O,V)=>M(O,V.detail),Se=(O,V)=>D(O,V.detail),Ie=(O,V)=>D(O,V.detail),De=(O,V)=>D(O,V.detail),Be=(O,V)=>D(O,V.detail),Ee=(O,V)=>D(O,V.detail),et=(O,V)=>j(O,V.detail),st=(O,V)=>j(O,V.detail),Ye=(O,V)=>j(O,V.detail),Qe=(O,V)=>j(O,V.detail),Xe=(O,V)=>j(O,V.detail);return n.$$set=O=>{"app"in O&&t(14,c=O.app),"workflow"in O&&t(0,d=O.workflow)},n.$$.update=()=>{if(n.$$.dirty[0]&1&&o(t(1,m=d==null?void 0:d.layout)),n.$$.dirty[0]&229390)if(u.isJumpingToNode&&Ae(St,u.isJumpingToNode=!1,u),m)if(r.currentSelection.length>0){t(3,_=null);const O=r.currentSelection.slice(-1)[0],V=i.allItems[O];V!=null&&(t(2,p=V.dragItem),p.type==="widget"&&t(3,_=p.node))}else if(r.currentSelectionNodes.length>0){if(t(2,p=null),t(3,_=r.currentSelectionNodes[0]),_!=null&&m!=null){const O=m.findLayoutForNode(_.id);O!=null&&t(2,p=O)}}else t(2,p=null),t(3,_=null);else t(2,p=null),t(3,_=null);if(n.$$.dirty[0]&4&&p){for(const O of Object.values(cl))for(const V of Object.values(O.specs))if(V.location==="widget"&&p.attrs[V.name]==null){if(!V.editable||V.canShow&&!V.canShow(p))continue;let ze=V.defaultValue;t(2,p.attrs[V.name]=ze,p),V.refreshPanelOnChange&&R()}}n.$$.dirty[0]&12&&(_!=null?t(4,k=_.type||"Node"):p?t(4,k="Group"):t(4,k=""))},[d,m,p,_,k,l,f,h,y,M,D,E,j,L,c,i,r,u,W,q,ie,ce,$e,ee,se,oe,K,pe,Se,Ie,De,Be,Ee,et,st,Ye,Qe,Xe]}class Ku extends _e{constructor(e){super(),me(this,e,Ju,Gu,fe,{app:14,workflow:0},null,[-1,-1])}}function Kn(n,e,t){const l=n.slice();return l[14]=e[t],l}function Yu(n){const e=n.slice(),t=e[3].uiUnlocked;return e[13]=t,e}function Xu(n){let e,t,l,i,s,o;return l=new Vi({props:{width:"100%",height:"8rem"}}),{c(){e=z("div"),t=z("div"),I(l.$$.fragment),i=P(),s=z("div"),s.textContent="(No templates)",g(t,"class","no-templates-icon svelte-8g5ifn"),g(s,"class","no-templates-message svelte-8g5ifn"),g(e,"class","no-templates-container svelte-8g5ifn")},m(a,r){S(a,e,r),b(e,t),T(l,t,null),b(e,i),b(e,s),o=!0},p:U,i(a){o||(v(l.$$.fragment,a),o=!0)},o(a){w(l.$$.fragment,a),o=!1},d(a){a&&$(e),N(l)}}}function xu(n){let e,t,l,i,s,o=[],a=new Map,r,u,f,c,d,m,p,_,k,h=n[0].toFixed(2)+"",y,M,D,E,j,R,A,L=de(n[2].filter(n[9]));const W=q=>q[14].id;for(let q=0;q{t=Xt(e,xt,{duration:200,easing:Ri}),t.start()})},o:U,d(l){l&&$(e)}}}function Xn(n,e){let t,l,i=e[14].template.metadata.title+"",s,o,a,r=e[14].template.metadata.description+"",u,f,c,d,m;function p(){return e[10](e[14])}let _=e[14][jt]&&Yn();return{key:n,first:null,c(){t=z("div"),l=z("div"),s=B(i),o=P(),a=z("div"),u=B(r),f=P(),_&&_.c(),c=he(),g(l,"class","template-name"),g(a,"class","template-desc svelte-8g5ifn"),g(t,"class","template-entry svelte-8g5ifn"),G(t,"built-in",e[14].template.isBuiltIn),G(t,"draggable",e[13]),this.first=t},m(k,h){S(k,t,h),b(t,l),b(l,s),b(t,o),b(t,a),b(a,u),S(k,f,h),_&&_.m(k,h),S(k,c,h),d||(m=F(t,"click",p),d=!0)},p(k,h){e=k,h&4&&i!==(i=e[14].template.metadata.title+"")&&le(s,i),h&4&&r!==(r=e[14].template.metadata.description+"")&&le(u,r),h&4&&G(t,"built-in",e[14].template.isBuiltIn),h&8&&G(t,"draggable",e[13]),e[14][jt]?_?h&4&&v(_,1):(_=Yn(),_.c(),v(_,1),_.m(c.parentNode,c)):_&&(_.d(1),_=null)},i(k){v(_)},o:U,d(k){k&&($(t),$(f),$(c)),_&&_.d(k),d=!1,m()}}}function ef(n){let e,t,l,i,s;const o=[xu,Xu],a=[];function r(f,c){return f[2].length>0?0:1}function u(f,c){return c===0?Yu(f):f}return l=r(n),i=a[l]=o[l](u(n,l)),{c(){e=z("div"),t=z("div"),i.c(),g(t,"class","template-entries svelte-8g5ifn"),g(e,"class","template-list svelte-8g5ifn")},m(f,c){S(f,e,c),b(e,t),a[l].m(t,null),s=!0},p(f,[c]){let d=l;l=r(f),l===d?a[l].p(u(f,l),c):(Y(),w(a[d],1,1,()=>{a[d]=null}),X(),i=a[l],i?i.p(u(f,l),c):(i=a[l]=o[l](u(f,l)),i.c()),v(i,1),i.m(t,null))},i(f){s||(v(i),s=!0)},o(f){w(i),s=!1},d(f){f&&$(e),a[l].d()}}}const xn=200;function tf(n,e,t){let l,i;ge(n,nt,k=>t(3,l=k)),ge(n,Gt,k=>t(8,i=k));let{app:s}=e,o=0,a=0,r=[];function u(k){t(2,r=Array.from(k).map(h=>({type:"template",id:As(),template:h,attrs:{...qs},attrsChanged:dt(0)}))),r.sort(h=>h.template.metadata.createdAt||0)}let f=!1;function c(k){const{trigger:h,id:y}=k.detail.info;if(h===js.DRAG_STARTED){const M=r.findIndex(E=>E.id===y),D=`${y}_copy_${Math.round(Math.random()*1e6)}`;k.detail.items=k.detail.items.filter(E=>!E[jt]),k.detail.items.splice(M,0,{...r[M],id:D}),t(2,r=k.detail.items),f=!0}else f?t(2,r):t(2,r=k.detail.items)}function d(k){f?(t(2,r),f=!1):t(2,r=k.detail.items)}function m(k){if(l.uiUnlocked)return;const h=E=>{const j=At(E.state);k.template.metadata.title=j.name||k.template.metadata.title,k.template.metadata.author=j.author||k.template.metadata.author,k.template.metadata.description=j.description||k.template.metadata.description},y=E=>{h(E);try{Gt.updateTemplate(k.template),ct("Saved template!",{type:"success"})}catch(j){ct(`Failed to save template: ${j}`,{type:"error",timeout:1e4})}},M=E=>{if(!confirm("Are you sure you want to delete this template?"))return!1;try{Gt.removeTemplate(k.template.id)?ct("Template deleted!",{type:"success"}):ct("Failed to delete template: not saved to local storage.",{type:"warning"})}catch(j){ct(`Failed to delete template: ${j}`,{type:"error",timeout:1e4})}},D=E=>{h(E);const j=Os(k.template),R=k.template.metadata.title||"template";Rs(`${R}.svg`,j,"image/svg+xml")};Yt.pushModal({svelteComponent:Bs,svelteProps:{templateAndSvg:k.template},showCloseButton:!1,closeOnClick:!1,buttons:[{name:"Save",variant:"primary",onClick:y,hidden:k.template.isBuiltIn},{name:"Download",variant:"secondary",onClick:D,closeOnClick:!1},{name:"Delete",variant:"secondary",onClick:M,hidden:k.template.isBuiltIn},{name:"Close",variant:"secondary",onClick:()=>{}}]})}const p=k=>k.id!==dl,_=k=>m(k);return n.$$set=k=>{"app"in k&&t(7,s=k.app)},n.$$.update=()=>{n.$$.dirty&257&&(i?(t(0,a=Es()),t(1,o=a/ji*100)):(t(1,o=0),t(0,a=0))),n.$$.dirty&256&&i&&u(Gt.getAllTemplates())},[a,o,r,l,c,d,m,s,i,p,_]}class lf extends _e{constructor(e){super(),me(this,e,tf,ef,fe,{app:7})}}function ei(n,e,t){const l=n.slice();return l[7]=e[t][0],l[8]=e[t][1],l}function nf(n){let e;return{c(){e=z("div"),e.textContent="(Blank)",g(e,"class","blank-panel")},m(t,l){S(t,e,l)},p:U,i:U,o:U,d(t){t&&$(e)}}}function sf(n){let e,t;return e=new Ca({props:{app:n[1]}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i&2&&(s.app=l[1]),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function of(n){let e,t;return e=new lf({props:{app:n[1]}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i&2&&(s.app=l[1]),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function rf(n){let e,t;return e=new Ku({props:{app:n[1],workflow:n[3].activeWorkflow}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i&2&&(s.app=l[1]),i&8&&(s.workflow=l[3].activeWorkflow),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function af(n){let e,t;return e=new hu({props:{app:n[1]}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i&2&&(s.app=l[1]),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function uf(n){let e,t;return e=new lu({props:{app:n[1],workflow:n[3].activeWorkflow}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i&2&&(s.app=l[1]),i&8&&(s.workflow=l[3].activeWorkflow),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function ti(n){let e,t,l=de(n[4]),i=[];for(let o=0;ow(i[o],1,1,()=>{i[o]=null});return{c(){e=z("div");for(let o=0;o{N(m,1)}),X()}r?(t=ut(r,u()),I(t.$$.fragment),v(t.$$.fragment,1),T(t,e,l)):t=null}(!s||d&1&&i!==(i=n[0]===n[7]))&&(e.disabled=i),(!s||d&17)&&G(e,"selected",n[0]===n[7])},i(c){s||(t&&v(t.$$.fragment,c),s=!0)},o(c){t&&w(t.$$.fragment,c),s=!1},d(c){c&&$(e),t&&N(t),o=!1,a()}}}function ff(n){let e,t,l,i,s,o;const a=[uf,af,rf,of,sf,nf],r=[];function u(c,d){return c[0]==="activeWorkflow"?0:c[0]==="graph"?1:c[0]==="properties"?2:c[0]==="templates"?3:c[0]==="queue"?4:5}l=u(n),i=r[l]=a[l](n);let f=n[2]&&ti(n);return{c(){e=z("div"),t=z("div"),i.c(),s=P(),f&&f.c(),g(t,"class","pane-wrapper svelte-1kdb6m0"),G(t,"has-switcher",n[2]),g(e,"class","pane svelte-1kdb6m0")},m(c,d){S(c,e,d),b(e,t),r[l].m(t,null),b(e,s),f&&f.m(e,null),o=!0},p(c,[d]){let m=l;l=u(c),l===m?r[l].p(c,d):(Y(),w(r[m],1,1,()=>{r[m]=null}),X(),i=r[l],i?i.p(c,d):(i=r[l]=a[l](c),i.c()),v(i,1),i.m(t,null)),(!o||d&4)&&G(t,"has-switcher",c[2]),c[2]?f?(f.p(c,d),d&4&&v(f,1)):(f=ti(c),f.c(),v(f,1),f.m(e,null)):f&&(Y(),w(f,1,1,()=>{f=null}),X())},i(c){o||(v(i),v(f),o=!0)},o(c){w(i),w(f),o=!1},d(c){c&&$(e),r[l].d(),f&&f.d()}}}function cf(n,e,t){let l;ge(n,lt,f=>t(3,l=f));let{app:i}=e,{mode:s="none"}=e,{showSwitcher:o=!1}=e;const a=[["properties",To],["templates",Vi],["queue",Ls]];function r(f){t(0,s=f)}const u=f=>r(f);return n.$$set=f=>{"app"in f&&t(1,i=f.app),"mode"in f&&t(0,s=f.mode),"showSwitcher"in f&&t(2,o=f.showSwitcher)},[s,i,o,l,a,r,u]}class ol extends _e{constructor(e){super(),me(this,e,cf,ff,fe,{app:1,mode:0,showSwitcher:2})}}function ni(n,e,t){const l=n.slice();return l[51]=e[t],l}function ul(n){const e=n.slice(),t=e[49].stack.split(` +`);return e[50]=t,e}function ii(n,e,t){const l=n.slice();l[54]=e[t];const i=lt.getWorkflow(l[54].id);return l[11]=i,l}function df(n){let e,t;return e=new ol({props:{app:n[0],mode:"properties",showSwitcher:!0}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i[0]&1&&(s.app=l[0]),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function _f(n){let e,t;return e=new ol({props:{app:n[0],mode:"activeWorkflow"}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i[0]&1&&(s.app=l[0]),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function mf(n){let e,t;return e=new ol({props:{app:n[0],mode:"graph"}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i[0]&1&&(s.app=l[0]),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function pf(n){let e,t,l,i,s;e=new qt({props:{$$slots:{default:[_f]},$$scope:{ctx:n}}});function o(r){n[31](r)}let a={$$slots:{default:[mf]},$$scope:{ctx:n}};return n[8]!==void 0&&(a.size=n[8]),l=new qt({props:a}),qe.push(()=>ot(l,"size",o)),{c(){I(e.$$.fragment),t=P(),I(l.$$.fragment)},m(r,u){T(e,r,u),S(r,t,u),T(l,r,u),s=!0},p(r,u){const f={};u[0]&1|u[1]&67108864&&(f.$$scope={dirty:u,ctx:r}),e.$set(f);const c={};u[0]&1|u[1]&67108864&&(c.$$scope={dirty:u,ctx:r}),!i&&u[0]&256&&(i=!0,c.size=r[8],rt(()=>i=!1)),l.$set(c)},i(r){s||(v(e.$$.fragment,r),v(l.$$.fragment,r),s=!0)},o(r){w(e.$$.fragment,r),w(l.$$.fragment,r),s=!1},d(r){r&&$(t),N(e,r),N(l,r)}}}function gf(n){let e,t;return e=new Qi({props:{theme:"comfy",horizontal:!0,$$slots:{default:[pf]},$$scope:{ctx:n}}}),e.$on("resize",n[13]),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i[0]&257|i[1]&67108864&&(s.$$scope={dirty:i,ctx:l}),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function hf(n){let e,t;return e=new ol({props:{app:n[0],mode:"queue",showSwitcher:!0}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i[0]&1&&(s.app=l[0]),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function bf(n){let e,t,l,i,s,o,a,r;function u(m){n[30](m)}let f={$$slots:{default:[df]},$$scope:{ctx:n}};n[9]!==void 0&&(f.size=n[9]),e=new qt({props:f}),qe.push(()=>ot(e,"size",u)),i=new qt({props:{$$slots:{default:[gf]},$$scope:{ctx:n}}});function c(m){n[32](m)}let d={$$slots:{default:[hf]},$$scope:{ctx:n}};return n[10]!==void 0&&(d.size=n[10]),o=new qt({props:d}),qe.push(()=>ot(o,"size",c)),{c(){I(e.$$.fragment),l=P(),I(i.$$.fragment),s=P(),I(o.$$.fragment)},m(m,p){T(e,m,p),S(m,l,p),T(i,m,p),S(m,s,p),T(o,m,p),r=!0},p(m,p){const _={};p[0]&1|p[1]&67108864&&(_.$$scope={dirty:p,ctx:m}),!t&&p[0]&512&&(t=!0,_.size=m[9],rt(()=>t=!1)),e.$set(_);const k={};p[0]&257|p[1]&67108864&&(k.$$scope={dirty:p,ctx:m}),i.$set(k);const h={};p[0]&1|p[1]&67108864&&(h.$$scope={dirty:p,ctx:m}),!a&&p[0]&1024&&(a=!0,h.size=m[10],rt(()=>a=!1)),o.$set(h)},i(m){r||(v(e.$$.fragment,m),v(i.$$.fragment,m),v(o.$$.fragment,m),r=!0)},o(m){w(e.$$.fragment,m),w(i.$$.fragment,m),w(o.$$.fragment,m),r=!1},d(m){m&&($(l),$(s)),N(e,m),N(i,m),N(o,m)}}}function si(n){let e;return{c(){e=B("*")},m(t,l){S(t,e,l)},d(t){t&&$(e)}}}function oi(n){let e,t;return{c(){e=z("div"),g(e,"class","drag-item-shadow svelte-ajxsor")},m(l,i){S(l,e,i)},p(l,i){},i(l){t||Rt(()=>{t=Xt(e,xt,{duration:200,easing:Ri}),t.start()})},o:U,d(l){l&&$(e)}}}function ri(n,e){let t,l,i=Jt(e[11].attrs.title,32)+"",s,o,a,r,u,f,c,d,m=e[11].isModified&&si();function p(...h){return e[34](e[11],...h)}let _=e[11][jt]&&oi();function k(){return e[35](e[54])}return{key:n,first:null,c(){t=z("button"),l=z("span"),s=B(i),o=P(),m&&m.c(),a=P(),r=z("button"),r.textContent="✕",u=P(),_&&_.c(),f=P(),g(l,"class","workflow-tab-title svelte-ajxsor"),g(r,"class","workflow-close-button svelte-ajxsor"),g(t,"class","workflow-tab svelte-ajxsor"),G(t,"selected",e[54].id===e[3].activeWorkflowID),this.first=t},m(h,y){S(h,t,y),b(t,l),b(l,s),b(l,o),m&&m.m(l,null),b(t,a),b(t,r),b(t,u),_&&_.m(t,null),b(t,f),c||(d=[F(r,"click",p),F(t,"click",k)],c=!0)},p(h,y){e=h,y[0]&16&&i!==(i=Jt(e[11].attrs.title,32)+"")&&le(s,i),e[11].isModified?m||(m=si(),m.c(),m.m(l,null)):m&&(m.d(1),m=null),e[11][jt]?_?y[0]&16&&v(_,1):(_=oi(),_.c(),v(_,1),_.m(t,f)):_&&(_.d(1),_=null),y[0]&24&&G(t,"selected",e[54].id===e[3].activeWorkflowID)},i(h){v(_)},o:U,d(h){h&&$(t),m&&m.d(),_&&_.d(),c=!1,Ge(d)}}}function ai(n){let e,t;return e=new Oe({props:{variant:"primary",disabled:n[6],$$slots:{default:[vf]},$$scope:{ctx:n}}}),e.$on("click",n[14]),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i[0]&64&&(s.disabled=l[6]),i[0]&2048|i[1]&67108864&&(s.$$scope={dirty:i,ctx:l}),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function vf(n){let e=n[11].attrs.queuePromptButtonName+"",t;return{c(){t=B(e)},m(l,i){S(l,t,i)},p(l,i){i[0]&2048&&e!==(e=l[11].attrs.queuePromptButtonName+"")&&le(t,e)},d(l){l&&$(t)}}}function kf(n){let e;return{c(){e=B("Toggle Graph")},m(t,l){S(t,e,l)},d(t){t&&$(e)}}}function wf(n){let e;return{c(){e=B("Toggle Left")},m(t,l){S(t,e,l)},d(t){t&&$(e)}}}function $f(n){let e;return{c(){e=B("Toggle Right")},m(t,l){S(t,e,l)},d(t){t&&$(e)}}}function yf(n){let e;return{c(){e=B("Save")},m(t,l){S(t,e,l)},d(t){t&&$(e)}}}function Sf(n){let e;return{c(){e=B("Save Local")},m(t,l){S(t,e,l)},d(t){t&&$(e)}}}function zf(n){let e;return{c(){e=B("Load")},m(t,l){S(t,e,l)},d(t){t&&$(e)}}}function Cf(n){let e;return{c(){e=B("Load Default")},m(t,l){S(t,e,l)},d(t){t&&$(e)}}}function Mf(n){let e;return{c(){e=B("Reset")},m(t,l){S(t,e,l)},d(t){t&&$(e)}}}function Pf(n){let e;return{c(){e=B("🔄")},m(t,l){S(t,e,l)},d(t){t&&$(e)}}}function ui(n){let e,t,l={ctx:n,current:null,token:null,hasCatch:!0,pending:Nf,then:Tf,catch:If,error:49};return Pl(t=n[7],l),{c(){e=he(),l.block.c()},m(i,s){S(i,e,s),l.block.m(i,l.anchor=s),l.mount=()=>e.parentNode,l.anchor=e},p(i,s){n=i,l.ctx=n,s[0]&128&&t!==(t=n[7])&&Pl(t,l)||Us(l,n,s)},d(i){i&&$(e),l.block.d(i),l.token=null,l=null}}}function If(n){let e,t,l,i,s=n[49]+"",o,a,r=n[49]!=null&&n[49].stack&&fi(ul(n));return{c(){e=z("div"),t=z("div"),t.textContent="Error loading app",l=P(),i=z("div"),o=B(s),a=P(),r&&r.c(),g(e,"class","comfy-loading-error svelte-ajxsor")},m(u,f){S(u,e,f),b(e,t),b(e,l),b(e,i),b(i,o),b(e,a),r&&r.m(e,null)},p(u,f){f[0]&128&&s!==(s=u[49]+"")&&le(o,s),u[49]!=null&&u[49].stack?r?r.p(ul(u),f):(r=fi(ul(u)),r.c(),r.m(e,null)):r&&(r.d(1),r=null)},d(u){u&&$(e),r&&r.d()}}}function fi(n){let e,t=de(n[50]),l=[];for(let i=0;iLoading...',g(e,"class","comfy-app-loading svelte-ajxsor")},m(t,l){S(t,e,l)},p:U,d(t){t&&$(e)}}}function Df(n){let e,t,l,i,s,o=[],a=new Map,r,u,f,c,d,m,p,_,k,h,y,M,D,E,j,R,A,L,W,q,ie,ce,$e,ee,se,oe,K,pe,Se,Ie,De,Be,Ee,et,st,Ye,Qe,Xe,O,V,ze,Ce,re,Ze,Q;t=new Qi({props:{theme:"comfy",$$slots:{default:[bf]},$$scope:{ctx:n}}}),t.$on("resize",n[13]);let Me=de(n[4].filter(n[33]));const Je=H=>H[54].id;for(let H=0;Hot(Se,"value",It));function Tt(H){n[37](H)}let Nt={label:"Hide Previews"};n[2].hidePreviews!==void 0&&(Nt.value=n[2].hidePreviews),Ee=new vt({props:Nt}),qe.push(()=>ot(Ee,"value",Tt));function rl(H){n[38](H)}let Ht={};n[2].uiUnlocked!==void 0&&(Ht.toggled=n[2].uiUnlocked),Qe=new La({props:Ht}),qe.push(()=>ot(Qe,"toggled",rl));let Le=n[7]&&ui(n);return{c(){e=z("div"),I(t.$$.fragment),l=P(),i=z("div"),s=z("div");for(let H=0;H{Pe=null}),X());const te={};C[0]&64&&(te.disabled=H[6]),C[1]&67108864&&(te.$$scope={dirty:C,ctx:H}),h.$set(te);const J={};C[0]&64&&(J.disabled=H[6]),C[1]&67108864&&(J.$$scope={dirty:C,ctx:H}),M.$set(J);const ue={};C[0]&64&&(ue.disabled=H[6]),C[1]&67108864&&(ue.$$scope={dirty:C,ctx:H}),E.$set(ue);const ne={};C[0]&64&&(ne.disabled=H[6]),C[1]&67108864&&(ne.$$scope={dirty:C,ctx:H}),R.$set(ne);const x={};C[0]&64&&(x.disabled=H[6]),C[1]&67108864&&(x.$$scope={dirty:C,ctx:H}),L.$set(x);const ae={};C[0]&64&&(ae.disabled=H[6]),C[1]&67108864&&(ae.$$scope={dirty:C,ctx:H}),q.$set(ae);const be={};C[0]&64&&(be.disabled=H[6]),C[1]&67108864&&(be.$$scope={dirty:C,ctx:H}),ce.$set(be);const ke={};C[0]&64&&(ke.disabled=H[6]),C[1]&67108864&&(ke.$$scope={dirty:C,ctx:H}),ee.$set(ke);const Re={};C[0]&64&&(Re.disabled=H[6]),C[1]&67108864&&(Re.$$scope={dirty:C,ctx:H}),oe.$set(Re);const Ke={};!Ie&&C[0]&4&&(Ie=!0,Ke.value=H[2].autoAddUI,rt(()=>Ie=!1)),Se.$set(Ke);const ye={};!et&&C[0]&4&&(et=!0,ye.value=H[2].hidePreviews,rt(()=>et=!1)),Ee.$set(ye);const tt={};!Xe&&C[0]&4&&(Xe=!0,tt.toggled=H[2].uiUnlocked,rt(()=>Xe=!1)),Qe.$set(tt),(!re||C[0]&64)&&G(e,"loading",H[6]),H[7]?Le?Le.p(H,C):(Le=ui(H),Le.c(),Le.m(Ce.parentNode,Ce)):Le&&(Le.d(1),Le=null)},i(H){if(!re){v(t.$$.fragment,H);for(let C=0;Ct(2,l=Q)),ge(n,nl,Q=>t(42,i=Q)),ge(n,St,Q=>t(43,s=Q)),ge(n,bt,Q=>t(44,o=Q)),ge(n,lt,Q=>t(3,a=Q));let{app:r}=e,{uiTheme:u="gradio-dark"}=e,f=null,c=[],d,m,p,_=!0,k=null;Ct(async()=>{t(7,k=r.setup().then(()=>{t(6,_=!1),y()})),y(),t(29,Ie=null)});async function h(){await r.refreshComboInNodes(void 0,void 0,!0)}function y(Q){clearTimeout(m),m=setTimeout(r.resizeCanvas.bind(r),250)}let M=0;function D(){const Q=d.querySelector("#graph-canvas");return Q?Q.closest(".splitpanes__pane"):null}function E(){r.runDefaultQueueAction()}function j(){M==0?(t(8,M=50),r.resizeCanvas()):t(8,M=0)}let R=0;function A(){R==0?(t(9,R=15),r.resizeCanvas()):t(9,R=0)}let L=20;function W(){L==0?(t(10,L=20),r.resizeCanvas()):t(10,L=0)}function q(){r.querySave()}function ie(){p&&(t(5,p.value=null,p),p.click())}function ce(){r.handleFile(p.files[0])}function $e(){r.saveStateToLocalStorage()}async function ee(){var Q=confirm("Would you like to load the default workflow in a new tab?");Q&&await r.initDefaultWorkflow()}async function se(){var Q=confirm("Are you sure you want to reset this workflow to its default state?");Q&&r.resetCurrentWorkflow()}function oe(){r.createNewWorkflow()}function K(Q,Me){Q.preventDefault(),Q.stopImmediatePropagation(),!(Me.isModified&&!confirm("This workflow has unsaved changes. Are you sure you want to close it?"))&&r.closeWorkflow(Me.id)}function pe(Q){t(4,c=Q.detail.items)}function Se(Q){t(4,c=Q.detail.items),lt.update(Me=>(Me.openedWorkflows=c.filter(Je=>Je.id!==dl).map(Je=>lt.getWorkflow(Je.id)),Me))}let Ie=null;async function De(Q){const Me=Math.max(50,M),Je=Me!=M;if(t(8,M=Me),Je){const Pe=D();Pe?(Pe.addEventListener("transitionend",Q,{once:!0}),await zt()):Q()}else Q()}async function Be(Q){Ee();const Me=At(i.queueCompleted).find(It=>It.entry.promptID===Q);if(!Me||!Me.error)return;const Je=lt.getWorkflow(Me.entry.extraData.workflowID);if(Je==null)return;lt.setActiveWorkflow(r.lCanvas,Je.id),Ae(nt,l.activeError=Q,l),t(29,Ie=l.activeError),await De(()=>{r.resizeCanvas(),r.lCanvas.draw(!0,!0),t(0,r.lCanvas.activeErrors=Vs(Je.id,Me.error,Me.entry),r),r.lCanvas.jumpToFirstError()})}function Ee(){r!=null&&r.lCanvas&&r.lCanvas.clearErrors()}tl(kl,{showError:Be,openGraph:De});function et(Q){R=Q,t(9,R)}function st(Q){M=Q,t(8,M)}function Ye(Q){L=Q,t(10,L)}const Qe=Q=>Q.id!==dl,Xe=(Q,Me)=>K(Me,Q),O=Q=>r.setActiveWorkflow(Q.id);function V(Q){n.$$.not_equal(l.autoAddUI,Q)&&(l.autoAddUI=Q,nt.set(l))}function ze(Q){n.$$.not_equal(l.hidePreviews,Q)&&(l.hidePreviews=Q,nt.set(l))}function Ce(Q){n.$$.not_equal(l.uiUnlocked,Q)&&(l.uiUnlocked=Q,nt.set(l))}function re(Q){qe[Q?"unshift":"push"](()=>{d=Q,t(1,d)})}function Ze(Q){qe[Q?"unshift":"push"](()=>{p=Q,t(5,p)})}return n.$$set=Q=>{"app"in Q&&t(0,r=Q.app),"uiTheme"in Q&&t(28,u=Q.uiTheme)},n.$$.update=()=>{if(n.$$.dirty[0]&8&&t(11,f=a.activeWorkflow),n.$$.dirty[0]&8&&t(4,c=a.openedWorkflows.map(Q=>({id:Q.id}))),n.$$.dirty[0]&5&&r!=null&&r.lCanvas&&(t(0,r.lCanvas.allow_dragnodes=l.uiUnlocked,r),t(0,r.lCanvas.allow_interaction=l.uiUnlocked,r),l.uiUnlocked||(r.lCanvas.deselectAllNodes(),Ae(bt,o.currentSelectionNodes=[],o))),n.$$.dirty[0]&4&&l.uiEditMode&&Ae(bt,o.currentSelection=[],o),n.$$.dirty[0]&3&&d){const Q=D();Q&&(Q.ontransitionstart=()=>{Ae(St,s.graphTransitioning=!0,s)},Q.ontransitionend=()=>{Ae(St,s.graphTransitioning=!1,s),r.resizeCanvas()})}if(n.$$.dirty[0]&536870916){const Q=l.activeError;Q!=Ie&&(Q!=null?Be(Q):Ee(),t(29,Ie=l.activeError))}},[r,d,l,a,c,p,_,k,M,R,L,f,h,y,E,j,A,W,q,ie,ce,$e,ee,se,oe,K,pe,Se,u,Ie,et,st,Ye,Qe,Xe,O,V,ze,Ce,re,Ze]}class Af extends _e{constructor(e){super(),me(this,e,Ef,Df,fe,{app:0,uiTheme:28},null,[-1,-1])}}function di(n,e,t){const l=n.slice();return l[4]=e[t],l}function _i(n,e,t){const l=n.slice();return l[8]=e[t],l}function mi(n){let e,t=n[4].title+"",l;return{c(){e=z("h1"),l=B(t),we(e,"padding-bottom","1rem")},m(i,s){S(i,e,s),b(e,l)},p(i,s){s&1&&t!==(t=i[4].title+"")&&le(l,t)},d(i){i&&$(e)}}}function qf(n){let e,t,l=n[4]!=null&&n[4].title!=null&&mi(n);return{c(){e=z("div"),l&&l.c(),t=P(),g(e,"slot","header"),g(e,"class","modal-header")},m(i,s){S(i,e,s),l&&l.m(e,null),b(e,t)},p(i,s){i[4]!=null&&i[4].title!=null?l?l.p(i,s):(l=mi(i),l.c(),l.m(e,t)):l&&(l.d(1),l=null)},d(i){i&&$(e),l&&l.d()}}}function pi(n){let e,t,l;const i=[n[4].svelteProps,{_modal:n[4]}];var s=n[4].svelteComponent;function o(a){let r={};for(let u=0;u{N(f,1)}),X()}s?(e=ut(s,o()),I(e.$$.fragment),v(e.$$.fragment,1),T(e,t.parentNode,t)):e=null}else s&&e.$set(u)},i(a){l||(e&&v(e.$$.fragment,a),l=!0)},o(a){e&&w(e.$$.fragment,a),l=!1},d(a){a&&$(t),e&&N(e,a)}}}function jf(n){let e,t,l,i=n[4]!=null&&n[4].svelteComponent!=null&&pi(n);return{c(){e=z("div"),i&&i.c(),t=P(),g(e,"class","modal-body svelte-19hxz9n")},m(s,o){S(s,e,o),i&&i.m(e,null),S(s,t,o),l=!0},p(s,o){s[4]!=null&&s[4].svelteComponent!=null?i?(i.p(s,o),o&1&&v(i,1)):(i=pi(s),i.c(),v(i,1),i.m(e,null)):i&&(Y(),w(i,1,1,()=>{i=null}),X())},i(s){l||(v(i),l=!0)},o(s){w(i),l=!1},d(s){s&&($(e),$(t)),i&&i.d()}}}function gi(n){let e,t,l=de(n[4].buttons),i=[];for(let o=0;ow(i[o],1,1,()=>{i[o]=null});return{c(){for(let o=0;o{l=null}),X()):l?(l.p(i,s),s&1&&v(l,1)):(l=hi(i),l.c(),v(l,1),l.m(e.parentNode,e))},i(i){t||(v(l),t=!0)},o(i){w(l),t=!1},d(i){i&&$(e),l&&l.d(i)}}}function vi(n){let e,t;return e=new Oe({props:{variant:"secondary",$$slots:{default:[Of]},$$scope:{ctx:n}}}),e.$on("click",function(){Mt(n[7])&&n[7].apply(this,arguments)}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){n=l;const s={};i&2048&&(s.$$scope={dirty:i,ctx:n}),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function Of(n){let e;return{c(){e=B("Close")},m(t,l){S(t,e,l)},d(t){t&&$(e)}}}function Rf(n){var a;let e,t,l,i,s=n[4]!=null&&((a=n[4].buttons)==null?void 0:a.length)>0&&gi(n),o=n[4].showCloseButton&&vi(n);return{c(){e=z("div"),s&&s.c(),t=P(),o&&o.c(),l=P(),g(e,"slot","buttons"),g(e,"class","buttons svelte-19hxz9n")},m(r,u){S(r,e,u),s&&s.m(e,null),b(e,t),o&&o.m(e,null),b(e,l),i=!0},p(r,u){var f;r[4]!=null&&((f=r[4].buttons)==null?void 0:f.length)>0?s?(s.p(r,u),u&1&&v(s,1)):(s=gi(r),s.c(),v(s,1),s.m(e,t)):s&&(Y(),w(s,1,1,()=>{s=null}),X()),r[4].showCloseButton?o?(o.p(r,u),u&1&&v(o,1)):(o=vi(r),o.c(),v(o,1),o.m(e,l)):o&&(Y(),w(o,1,1,()=>{o=null}),X())},i(r){i||(v(s),v(o),i=!0)},o(r){w(s),w(o),i=!1},d(r){r&&$(e),s&&s.d(),o&&o.d()}}}function ki(n,e){let t,l,i;function s(){return e[3](e[4])}return l=new Ki({props:{showModal:!0,closeOnClick:e[4].closeOnClick,$$slots:{buttons:[Rf,({closeDialog:o})=>({7:o}),({closeDialog:o})=>o?128:0],default:[jf],header:[qf]},$$scope:{ctx:e}}}),l.$on("close",s),{key:n,first:null,c(){t=he(),I(l.$$.fragment),this.first=t},m(o,a){S(o,t,a),T(l,o,a),i=!0},p(o,a){e=o;const r={};a&1&&(r.closeOnClick=e[4].closeOnClick),a&2177&&(r.$$scope={dirty:a,ctx:e}),l.$set(r)},i(o){i||(v(l.$$.fragment,o),i=!0)},o(o){w(l.$$.fragment,o),i=!1},d(o){o&&$(t),N(l,o)}}}function Lf(n){let e=[],t=new Map,l,i,s=de(n[0].activeModals);const o=a=>a[4].id;for(let a=0;at(0,l=a));function i(a){a!=null&&Yt.closeModal(a.id)}return[l,i,(a,r,u)=>Uf(a,r,u),a=>i(a)]}class Hf extends _e{constructor(e){super(),me(this,e,Vf,Lf,fe,{})}}function wi(n){let e,t,l;return t=new ll({props:{$$slots:{default:[Wf]},$$scope:{ctx:n}}}),{c(){e=z("label"),I(t.$$.fragment),g(e,"class","svelte-1sgq6sv")},m(i,s){S(i,e,s),T(t,e,null),l=!0},p(i,s){const o={};s&4104&&(o.$$scope={dirty:s,ctx:i}),t.$set(o)},i(i){l||(v(t.$$.fragment,i),l=!0)},o(i){w(t.$$.fragment,i),l=!1},d(i){i&&$(e),N(t)}}}function Wf(n){let e;return{c(){e=B(n[3])},m(t,l){S(t,e,l)},p(t,l){l&8&&le(e,t[3])},d(t){t&&$(e)}}}function Gf(n){let e,t,l,i,s,o,a,r=n[3]&&wi(n);return{c(){e=z("div"),t=z("div"),r&&r.c(),l=P(),i=z("input"),g(i,"data-testid","number-input"),g(i,"type","number"),g(i,"min",n[0]),g(i,"max",n[1]),g(i,"step",n[2]),i.disabled=n[4],g(i,"class","svelte-1sgq6sv"),g(t,"class","head svelte-1sgq6sv"),g(e,"class","wrap svelte-1sgq6sv")},m(u,f){S(u,e,f),b(e,t),r&&r.m(t,null),b(t,l),b(t,i),it(i,n[5]),s=!0,o||(a=[F(i,"input",n[10]),F(i,"input",n[6]),F(i,"blur",n[8]),F(i,"pointerup",n[7])],o=!0)},p(u,[f]){u[3]?r?(r.p(u,f),f&8&&v(r,1)):(r=wi(u),r.c(),v(r,1),r.m(t,l)):r&&(Y(),w(r,1,1,()=>{r=null}),X()),(!s||f&1)&&g(i,"min",u[0]),(!s||f&2)&&g(i,"max",u[1]),(!s||f&4)&&g(i,"step",u[2]),(!s||f&16)&&(i.disabled=u[4]),f&32&&Pt(i.value)!==u[5]&&it(i,u[5])},i(u){s||(v(r),s=!0)},o(u){w(r),s=!1},d(u){u&&$(e),r&&r.d(),o=!1,Ge(a)}}}function Ff(n,e,t){let{value:l=0}=e,{min:i=null}=e,{max:s=null}=e,{step:o=1}=e,{label:a=""}=e,{disabled:r=!1}=e,u=l;const f=ft();function c(_){const k=_.currentTarget;parseFloat(k.value),t(5,u=Math.min(Math.max(u,i),s)),t(9,l=u),f("release",l)}function d(_){f("release",l)}const m=()=>{t(9,l=Math.min(Math.max(l,i),s)),f("release",l)};function p(){u=Pt(this.value),t(5,u),t(9,l)}return n.$$set=_=>{"value"in _&&t(9,l=_.value),"min"in _&&t(0,i=_.min),"max"in _&&t(1,s=_.max),"step"in _&&t(2,o=_.step),"label"in _&&t(3,a=_.label),"disabled"in _&&t(4,r=_.disabled)},n.$$.update=()=>{n.$$.dirty&512&&(t(5,u=l),f("change",l))},[i,s,o,a,r,u,c,d,m,l,p]}class Qf extends _e{constructor(e){super(),me(this,e,Ff,Gf,fe,{value:9,min:0,max:1,step:2,label:3,disabled:4})}}function $i(n,e,t){const l=n.slice();l[16]=e[t];const i=l[1][l[16].name];return l[17]=i,l}function yi(n,e,t){const l=n.slice();l[20]=e[t],l[23]=t;const i=l[16].options.values[l[23]].value===l[17];return l[21]=i,l}function Zf(n){const e=n.slice(),t=Ws[e[0]];return e[15]=t,e}function Si(n,e,t){const l=n.slice();return l[24]=e[t],l}function zi(n){let e,t,l;function i(){return n[9](n[24])}return{c(){e=z("div"),e.textContent=`${Li(n[24])} `,g(e,"class","comfy-settings-category svelte-1r3delf"),G(e,"selected",n[0]===n[24])},m(s,o){S(s,e,o),t||(l=F(e,"click",i),t=!0)},p(s,o){n=s,o&1&&G(e,"selected",n[0]===n[24])},d(s){s&&$(e),t=!1,l()}}}function Jf(n){let e;return{c(){e=B("Please select a category.")},m(t,l){S(t,e,l)},p:U,i:U,o:U,d(t){t&&$(e)}}}function Kf(n){let e=n[1],t,l,i=Pi(n);return{c(){i.c(),t=he()},m(s,o){i.m(s,o),S(s,t,o),l=!0},p(s,o){o&2&&fe(e,e=s[1])?(Y(),w(i,1,1,U),X(),i=Pi(s),i.c(),v(i,1),i.m(t.parentNode,t)):i.p(s,o)},i(s){l||(v(i),l=!0)},o(s){w(i),l=!1},d(s){s&&$(t),i.d(s)}}}function Yf(n){let e,t=n[16].type+"",l,i;return{c(){e=B("(Unknown config type "),l=B(t),i=B(")")},m(s,o){S(s,e,o),S(s,l,o),S(s,i,o)},p(s,o){o&1&&t!==(t=s[16].type+"")&&le(l,t)},i:U,o:U,d(s){s&&($(e),$(l),$(i))}}}function Xf(n){let e,t=n[16].description+"",l,i,s,o,a,r,u=de(n[16].options.values),f=[];for(let d=0;d{c[_]=null}),X(),a=c[o],a?a.p(m,p):(a=c[o]=f[o](m),a.c()),v(a,1),a.m(e,r))},i(m){u||(v(a),u=!0)},o(m){w(a),u=!1},d(m){m&&$(e),c[o].d()}}}function Pi(n){let e,t,l=de(n[15]),i=[];for(let o=0;ow(i[o],1,1,()=>{i[o]=null});return{c(){e=z("div");for(let o=0;o{E[W]=null}),X(),o=E[s],o?o.p(R(A,s),L):(o=E[s]=D[s](R(A,s)),o.c()),v(o,1),o.m(i,a));const q={};L&134217728&&(q.$$scope={dirty:L,ctx:A}),c.$set(q);const ie={};L&134217728&&(ie.$$scope={dirty:L,ctx:A}),p.$set(ie)},i(A){h||(v(o),v(c.$$.fragment,A),v(p.$$.fragment,A),v(k.$$.fragment,A),h=!0)},o(A){w(o),w(c.$$.fragment,A),w(p.$$.fragment,A),w(k.$$.fragment,A),h=!1},d(A){A&&$(e),Fe(M,A),E[s].d(),N(c),N(p),N(k)}}}function oc(n,e,t){let l;ge(n,Dt,y=>t(1,l=y));let{app:i}=e,s=_l[0],o={};const a={intro:{duration:200},theme:{"--toastBarHeight":0}};function r(y){t(0,s=y)}function u(y,M){Dt.validateConfigOption(y,M)||(M=y.defaultValue),o[y.name]=M}function f(y,M){const E=M.target.selectedIndex;u(y,y.options.values[E].value)}function c(){for(const[M,D]of Object.entries(o)){const E=Hs[M];Dt.setConfigOption(E,D,!0)}o={};const y=JSON.stringify(l);localStorage.setItem("config",y),ct("Config applied!",{type:"success"})}function d(){confirm("Are you sure you want to reset the config to the defaults?")&&(Dt.loadDefault(!0),ct("Config reset!"))}const m=y=>r(y),p=(y,M)=>u(y,M.detail),_=(y,M)=>u(y,M.detail),k=(y,M)=>u(y,M.detail),h=(y,M)=>f(y,M);return n.$$set=y=>{"app"in y&&t(8,i=y.app)},[s,l,a,r,u,f,c,d,i,m,p,_,k,h]}class rc extends _e{constructor(e){super(),me(this,e,oc,sc,fe,{app:8})}}const{document:ac}=Gs;function uc(n){let e,t;return e=new Af({props:{app:n[0],uiTheme:Xi}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i&1&&(s.app=l[0]),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function fc(n){let e,t;return e=new rc({props:{app:n[0]}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i&1&&(s.app=l[0]),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function cc(n){let e,t,l,i;return e=new jl({props:{id:"generate",name:"Generate",icon:Fs,$$slots:{default:[uc]},$$scope:{ctx:n}}}),l=new jl({props:{id:"settings",name:"Settings",icon:po,$$slots:{default:[fc]},$$scope:{ctx:n}}}),{c(){I(e.$$.fragment),t=P(),I(l.$$.fragment)},m(s,o){T(e,s,o),S(s,t,o),T(l,s,o),i=!0},p(s,o){const a={};o&129&&(a.$$scope={dirty:o,ctx:s}),e.$set(a);const r={};o&129&&(r.$$scope={dirty:o,ctx:s}),l.$set(r)},i(s){i||(v(e.$$.fragment,s),v(l.$$.fragment,s),i=!0)},o(s){w(e.$$.fragment,s),w(l.$$.fragment,s),i=!1},d(s){s&&$(t),N(e,s),N(l,s)}}}function dc(n){let e,t,l,i,s,o,a,r,u,f,c,d,m,p;return s=new Vo({props:{selected:"generate",$$slots:{default:[cc]},$$scope:{ctx:n}}}),a=new Eo({}),u=new Hf({}),c=new Ui({props:{options:n[1]}}),{c(){e=he(),t=P(),l=z("div"),i=z("div"),I(s.$$.fragment),o=P(),I(a.$$.fragment),r=P(),I(u.$$.fragment),f=P(),I(c.$$.fragment),g(i,"id","container"),g(i,"class","svelte-x6ngdp"),g(l,"id","main"),g(l,"class","svelte-x6ngdp"),G(l,"dark",Xi==="gradio-dark")},m(_,k){b(ac.head,e),S(_,t,k),S(_,l,k),b(l,i),T(s,i,null),b(l,o),T(a,l,null),b(l,r),T(u,l,null),S(_,f,k),T(c,_,k),d=!0,m||(p=F(window,"beforeunload",n[2]),m=!0)},p(_,[k]){const h={};k&129&&(h.$$scope={dirty:k,ctx:_}),s.$set(h)},i(_){d||(v(s.$$.fragment,_),v(a.$$.fragment,_),v(u.$$.fragment,_),v(c.$$.fragment,_),d=!0)},o(_){w(s.$$.fragment,_),w(a.$$.fragment,_),w(u.$$.fragment,_),w(c.$$.fragment,_),d=!1},d(_){_&&($(t),$(l),$(f)),$(e),N(s),N(a),N(u),N(c,_),m=!1,p()}}}let Xi="gradio-dark";function _c(n,e,t){let l,i,s;ge(n,lt,f=>t(5,l=f)),ge(n,Dt,f=>t(6,i=f)),ge(n,nt,f=>t(4,s=f));let{app:o=void 0}=e,a=!1;const r={intro:{duration:200},theme:{"--toastBarHeight":0}};function u(f){if(!i.confirmWhenUnloadingUnsavedChanges)return;l.openedWorkflows.some(d=>d.isModified)&&(f.preventDefault(),f.returnValue="")}return n.$$set=f=>{"app"in f&&t(0,o=f.app)},n.$$.update=()=>{n.$$.dirty&24&&s.uiUnlocked&&!a&&(t(3,a=!0),ct("Right-click to open context menu."))},document.getElementById("app-root").classList.add("dark"),[o,r,u,a,s]}class mc extends _e{constructor(e){super(),me(this,e,_c,dc,fe,{app:0})}}function pc(n){let e,t;return e=new mc({props:{app:n[0]}}),{c(){I(e.$$.fragment)},m(l,i){T(e,l,i),t=!0},p(l,i){const s={};i&1&&(s.app=l[0]),e.$set(s)},i(l){t||(v(e.$$.fragment,l),t=!0)},o(l){w(e.$$.fragment,l),t=!1},d(l){N(e,l)}}}function gc(n){let e;return{c(){e=z("div"),e.textContent="Redirecting..."},m(t,l){S(t,e,l)},p:U,i:U,o:U,d(t){t&&$(e)}}}function hc(n){let e,t,l,i;const s=[gc,pc],o=[];function a(r,u){return r[1]?0:1}return e=a(n),t=o[e]=s[e](n),{c(){t.c(),l=he()},m(r,u){o[e].m(r,u),S(r,l,u),i=!0},p(r,[u]){let f=e;e=a(r),e===f?o[e].p(r,u):(Y(),w(o[f],1,1,()=>{o[f]=null}),X(),t=o[e],t?t.p(r,u):(t=o[e]=s[e](r),t.c()),v(t,1),t.m(l.parentNode,l))},i(r){i||(v(t),i=!0)},o(r){w(t),i=!1},d(r){r&&$(l),o[e].d(r)}}}function bc(n,e,t){let{app:l}=e,{isMobile:i}=e;return n.$$set=s=>{"app"in s&&t(0,l=s.app),"isMobile"in s&&t(1,i=s.isMobile)},[l,i]}class vc extends _e{constructor(e){super(),me(this,e,bc,hc,fe,{app:0,isMobile:1})}}const xi=Qs(navigator.userAgent),kc=new URLSearchParams(window.location.search);kc.get("desktop")!=="true"&&xi&&(window.location.href="/mobile/");Zs();const es=new Js;window.app=es;new vc({target:document.getElementById("app-root"),props:{app:es,isMobile:xi}}); +//# sourceMappingURL=main-2562103c.js.map diff --git a/assets/main-2562103c.js.map b/assets/main-2562103c.js.map new file mode 100644 index 0000000..9b019cc --- /dev/null +++ b/assets/main-2562103c.js.map @@ -0,0 +1 @@ +{"version":3,"file":"main-2562103c.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"} \ No newline at end of file diff --git a/assets/mobile-b32e0a74.js b/assets/mobile-b32e0a74.js new file mode 100644 index 0000000..84e977c --- /dev/null +++ b/assets/mobile-b32e0a74.js @@ -0,0 +1,197 @@ +import{bz as at,S as We,b as je,s as Xe,Y as U,a as Ee,e as Z,V as Ae,f as z,$ as x,a0 as $,a1 as Q,D as Ge,o as C,k as M,p as F,W as De,bA as pt,u as gt,bB as bt,bC as J,v as kt,X as Be,bD as Je,a4 as mt,ad as $e,bE as hs,bF as yt,a5 as Ld,G as Lt,c as V,d as se,g as N,j as le,I as Dd,a3 as Rd,m as oe,bG as es,ab as ia,ac as zn,z as Ze,B as be,C as ve,F as _e,bH as $a,A as _s,E as as,bI as kn,bJ as Hp,bK as zp,h as ht,bL as Fn,bM as Qa,aO as Dt,aD as Yt,a7 as ge,bN as Hd,a8 as we,x as dt,r as ln,bO as ie,aa as Fp,t as wt,bP as Np,aH as Rt,Z as Kn,_ as ks,a9 as $t,q as Pt,a$ as Ct,aB as zd,am as ts,aK as Ka,bm as Vp,bv as Yp,aJ as qp,bQ as Fd,a6 as Gt,af as is,aI as Zn,bh as ra,aE as Wp,ao as Nd,bR as jp,bS as Xp,aq as Vd,ar as Yd,aL as Gp,aU as Up,bu as xp,bn as Za,bo as $p,bx as Qp,by as Kp}from"./global-dc583974.js";function tt(t){const{color:e,textColor:n,bgColor:s,borderColor:a,rippleColor:i,dark:o}=t;return{dark:o,[`color-${e}`]:e,[`text-color-${n}`]:n,[`bg-color-${s}`]:s,[`border-color-${a}`]:a,[`ripple-color-${i}`]:i}}function ka(t){const{force:e,reloadCurrent:n,reloadPrevious:s,reloadAll:a,reloadDetail:i,animate:o,ignoreCache:r,routeTabId:l,view:f,transition:c,openIn:u}=t;let d;"animate"in t&&typeof o<"u"&&(d=o.toString());let m;return"reloadDetail"in t&&typeof i<"u"&&(m=i.toString()),{"data-force":e||void 0,"data-reload-current":n||void 0,"data-reload-all":a||void 0,"data-reload-previous":s||void 0,"data-reload-detail":m,"data-animate":d,"data-ignore-cache":r||void 0,"data-route-tab-id":l||void 0,"data-view":at(f)?f:void 0,"data-transition":at(c)?c:void 0,"data-open-in":at(u)?u:void 0}}function Ea(t){const{back:e,linkBack:n,external:s,preventRouter:a}=t;return{back:e||n,external:s,"prevent-router":a}}function Ca(t){const{searchbarEnable:e,searchbarDisable:n,searchbarClear:s,searchbarToggle:a,panelOpen:i,panelClose:o,panelToggle:r,popupOpen:l,popupClose:f,actionsOpen:c,actionsClose:u,popoverOpen:d,popoverClose:m,loginScreenOpen:h,loginScreenClose:p,sheetOpen:b,sheetClose:g,sortableEnable:v,sortableDisable:_,sortableToggle:k,cardOpen:E,cardClose:S}=t;return{"data-searchbar":at(e)&&e||at(n)&&n||at(s)&&s||at(a)&&a||void 0,"data-panel":at(i)&&i||at(o)&&o||at(r)&&r||void 0,"data-popup":at(l)&&l||at(f)&&f||void 0,"data-actions":at(c)&&c||at(u)&&u||void 0,"data-popover":at(d)&&d||at(m)&&m||void 0,"data-sheet":at(b)&&b||at(g)&&g||void 0,"data-login-screen":at(h)&&h||at(p)&&p||void 0,"data-sortable":at(v)&&v||at(_)&&_||at(k)&&k||void 0,"data-card":at(E)&&E||at(S)&&S||void 0}}function ya(t){const{searchbarEnable:e,searchbarDisable:n,searchbarClear:s,searchbarToggle:a,panelOpen:i,panelClose:o,panelToggle:r,popupOpen:l,popupClose:f,actionsClose:c,actionsOpen:u,popoverOpen:d,popoverClose:m,loginScreenOpen:h,loginScreenClose:p,sheetOpen:b,sheetClose:g,sortableEnable:v,sortableDisable:_,sortableToggle:k,cardOpen:E,cardPreventOpen:S,cardClose:I}=t;return{"searchbar-enable":e||e==="","searchbar-disable":n||n==="","searchbar-clear":s||s==="","searchbar-toggle":a||a==="","panel-close":o||o==="","panel-open":i||i==="","panel-toggle":r||r==="","popup-close":f||f==="","popup-open":l||l==="","actions-close":c||c==="","actions-open":u||u==="","popover-close":m||m==="","popover-open":d||d==="","sheet-close":g||g==="","sheet-open":b||b==="","login-screen-close":p||p==="","login-screen-open":h||h==="","sortable-enable":v||v==="","sortable-disable":_||_==="","sortable-toggle":k||k==="","card-close":I||I==="","card-open":E||E==="","card-prevent-open":S||S===""}}const Zp=["color","colorTheme","textColor","bgColor","borderColor","rippleColor","dark","force","reloadCurrent","reloadPrevious","reloadAll","reloadDetail","animate","ignoreCache","routeTabId","view","transition","openIn","back","linkBack","external","preventRouter","searchbarEnable","searchbarDisable","searchbarClear","searchbarToggle","panelOpen","panelClose","panelToggle","popupOpen","popupClose","actionsOpen","actionsClose","popoverOpen","popoverClose","loginScreenOpen","loginScreenClose","sheetOpen","sheetClose","sortableEnable","sortableDisable","sortableToggle","cardOpen","cardClose"];function Re(t){t===void 0&&(t={});const e={};return Object.keys(t).filter(n=>!Zp.includes(n)).forEach(n=>{n.indexOf("on")!==0&&(e[n]=t[n])}),e}const rs=function(t){let{isOpened:e,isClosing:n}=t===void 0?{}:t;return{"modal-in":e&&!n,"modal-out":n}},Jp=t=>({popup:t[0]&4}),Ja=t=>({popup:t[2]});function em(t){let e,n;const s=t[19].default,a=U(s,t,t[18],Ja);let i=[{class:t[3]},{style:t[0]},Re(t[4])],o={};for(let r=0;r{const H={el:S,on:{swipeStart:y,swipeMove:w,swipeEnd:D,swipeClose:O,open:L,opened:j,close:W,closed:Y}};typeof b<"u"&&(H.closeByBackdropClick=b),typeof g<"u"&&(H.closeOnEscape=g),typeof m<"u"&&(H.animate=m),typeof h<"u"&&(H.backdrop=h),typeof p<"u"&&(H.backdropEl=p),typeof v<"u"&&(H.swipeToClose=v),typeof _<"u"&&(H.swipeHandler=_),typeof E<"u"&&(H.containerEl=E),bt(()=>{n(2,I=J.f7.popup.create(H)),d&&I.open(!1,!0)})}),kt(()=>{I&&I.destroy(),n(2,I=null)});function X(H){$e[H?"unshift":"push"](()=>{S=H,n(1,S)})}return t.$$set=H=>{n(33,e=Ee(Ee({},e),Be(H))),n(4,i=De(e,a)),"class"in H&&n(6,f=H.class),"style"in H&&n(0,c=H.style),"tabletFullscreen"in H&&n(7,u=H.tabletFullscreen),"opened"in H&&n(5,d=H.opened),"animate"in H&&n(8,m=H.animate),"backdrop"in H&&n(9,h=H.backdrop),"backdropEl"in H&&n(10,p=H.backdropEl),"closeByBackdropClick"in H&&n(11,b=H.closeByBackdropClick),"closeOnEscape"in H&&n(12,g=H.closeOnEscape),"swipeToClose"in H&&n(13,v=H.swipeToClose),"swipeHandler"in H&&n(14,_=H.swipeHandler),"push"in H&&n(15,k=H.push),"containerEl"in H&&n(16,E=H.containerEl),"$$scope"in H&&n(18,r=H.$$scope)},t.$$.update=()=>{n(3,s=Je(f,"popup",{"popup-tablet-fullscreen":u,"popup-push":k},rs(T),tt(e))),t.$$.dirty[0]&32&&q(d)},e=Be(e),[c,S,I,s,i,d,f,u,m,h,p,b,g,v,_,k,E,A,r,o,X]}let nm=class extends We{constructor(e){super(),je(this,e,tm,em,Xe,{class:6,style:0,tabletFullscreen:7,opened:5,animate:8,backdrop:9,backdropEl:10,closeByBackdropClick:11,closeOnEscape:12,swipeToClose:13,swipeHandler:14,push:15,containerEl:16,instance:17},null,[-1,-1])}get instance(){return this.$$.ctx[17]}};const sm=(t,e)=>{let n;const{initialUrl:s}=t.getInitialUrl(),a=t.findMatchingRoute(s);let i={};a&&a.route&&a.route.options&&(i=a.route.options.props);const o=r=>r.master===!0?!0:typeof r.master=="function"?r.master(t.app):!1;return a&&a.route&&(a.route.component||a.route.asyncComponent)&&!o(a.route)&&(n={component:a.route.component||a.route.asyncComponent,initialComponent:e,id:hs(),isAsync:!!a.route.asyncComponent,props:{f7route:a,f7router:t,...a.params,...i}}),{initialPage:n,initialRoute:a}},Is=(t,e)=>{const n=o=>{t()===o&&e("tabShow",[o])},s=o=>{t()===o&&e("tabHide",[o])},a=()=>{t()&&bt(()=>{yt.on("tabShow",n),yt.on("tabHide",s)})},i=()=>{yt&&(yt.off("tabShow",n),yt.off("tabHide",s))};gt(()=>{a()}),kt(()=>{i()})};function am(t){let e;const n=t[3].default,s=U(n,t,t[2],null);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,[i]){s&&s.p&&(!e||i&4)&&x(s,n,a,a[2],e?Q(n,a[2],i,null):$(a[2]),null)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function im(t,e,n){let{$$slots:s={},$$scope:a}=e,{route:i=void 0}=e,{router:o=void 0}=e;return Ld("RouterContext",{route:i,router:o}),t.$$set=r=>{"route"in r&&n(0,i=r.route),"router"in r&&n(1,o=r.router),"$$scope"in r&&n(2,a=r.$$scope)},[i,o,a,s]}class rm extends We{constructor(e){super(),je(this,e,im,am,Xe,{route:0,router:1})}}function ei(t,e,n){const s=t.slice();return s[31]=e[n],s}const lm=t=>({view:t[0]&8}),ti=t=>({view:t[3]});function om(t){let e,n,s;const a=[t[31].props];var i=t[31].component;function o(r){let l={};for(let f=0;f{_e(c,1)}),oe()}i?(e=_s(i,o()),be(e.$$.fragment),C(e.$$.fragment,1),ve(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(r){s||(e&&C(e.$$.fragment,r),s=!0)},o(r){e&&M(e.$$.fragment,r),s=!1},d(r){r&&F(n),e&&_e(e,r)}}}function ni(t,e){let n,s,a;return s=new rm({props:{route:e[31].props.f7route,router:e[31].props.f7router,$$slots:{default:[om]},$$scope:{ctx:e}}}),{key:t,first:null,c(){n=Ze(),be(s.$$.fragment),this.first=n},m(i,o){z(i,n,o),ve(s,i,o),a=!0},p(i,o){e=i;const r={};o[0]&16&&(r.route=e[31].props.f7route),o[0]&16&&(r.router=e[31].props.f7router),o[0]&4112&&(r.$$scope={dirty:o,ctx:e}),s.$set(r)},i(i){a||(C(s.$$.fragment,i),a=!0)},o(i){M(s.$$.fragment,i),a=!1},d(i){i&&F(n),_e(s,i)}}}function fm(t){let e,n,s=[],a=new Map,i;const o=t[10].default,r=U(o,t,t[12],ti);let l=Lt(t[4]);const f=c=>c[31].id;for(let c=0;ck,u),gt(()=>{bt(()=>{if(S)E.el=k,E.pages=A,E.setPages=Y=>{ia().then(()=>{n(4,A=Y)})},v&&v.isAsync&&!v.initialComponent?v.component().then(()=>{setTimeout(()=>{S.init(k),v&&(v.el=S.router.currentPageEl,_&&_.route&&_.route.keepAlive&&(_.route.keepAliveData={pageEl:v.el}))},100)}):(S.init(k),v&&(v.el=S.router.currentPageEl,_&&_.route&&_.route.keepAlive&&(_.route.keepAliveData={pageEl:v.el})));else{const Y=$a();E={el:k,routerId:Y,pages:A,instance:S,setPages(B){ia().then(()=>{n(4,A=B)})}},J.f7routers.views.push(E),E.instance=J.f7.views.create(k,{routerId:Y,...es(e),browserHistoryInitialMatch:p,on:{init:T}}),n(3,S=E.instance)}l&&(S.on("resize",y),S.on("swipebackMove",w),S.on("swipebackBeforeChange",D),S.on("swipebackAfterChange",O),S.on("swipebackBeforeReset",L),S.on("swipebackAfterReset",j))})}),zn(()=>{E&&J.f7events.emit("viewRouterDidUpdate",E)}),kt(()=>{S&&(S.off("resize",y),S.off("swipebackMove",w),S.off("swipebackBeforeChange",D),S.off("swipebackAfterChange",O),S.off("swipebackBeforeReset",L),S.off("swipebackAfterReset",j),S.destroy&&S.destroy(),n(3,S=null)),J.f7routers.views.splice(J.f7routers.views.indexOf(E),1),E=null});function W(Y){$e[Y?"unshift":"push"](()=>{k=Y,n(2,k)})}return t.$$set=Y=>{n(30,e=Ee(Ee({},e),Be(Y))),"id"in Y&&n(0,o=Y.id),"style"in Y&&n(1,r=Y.style),"init"in Y&&n(6,l=Y.init),"url"in Y&&n(7,f=Y.url),"class"in Y&&n(8,c=Y.class),"$$scope"in Y&&n(12,i=Y.$$scope)},t.$$.update=()=>{n(5,s=Je(c,"view",{"view-main":d,"tab-active":h,tab:m},tt(e)))},e=Be(e),[o,r,k,S,A,s,l,f,c,I,a,W,i]}let Nn=class extends We{constructor(e){super(),je(this,e,cm,fm,Xe,{id:0,style:1,init:6,url:7,class:8,instance:9},null,[-1,-1])}get instance(){return this.$$.ctx[9]}};const um=t=>({loginScreen:t&4}),si=t=>({loginScreen:t[2]});function dm(t){let e,n;const s=t[11].default,a=U(s,t,t[10],si);let i=[{class:t[3]},{style:t[0]},Re(t[4])],o={};for(let r=0;r{const A={el:h,on:{open:v,opened:_,close:k,closed:E}};typeof d<"u"&&(A.animate=d),typeof m<"u"&&(A.containerEl=d),bt(()=>{n(2,p=J.f7.loginScreen.create(A)),u&&p.open(!1)})}),kt(()=>{p&&p.destroy(),n(2,p=null)});function T(A){$e[A?"unshift":"push"](()=>{h=A,n(1,h)})}return t.$$set=A=>{n(21,e=Ee(Ee({},e),Be(A))),n(4,i=De(e,a)),"class"in A&&n(6,f=A.class),"style"in A&&n(0,c=A.style),"opened"in A&&n(5,u=A.opened),"animate"in A&&n(7,d=A.animate),"containerEl"in A&&n(8,m=A.containerEl),"$$scope"in A&&n(10,r=A.$$scope)},t.$$.update=()=>{n(3,s=Je(f,"login-screen",rs(b),tt(e))),t.$$.dirty&32&&I(u)},e=Be(e),[c,h,p,s,i,u,f,d,m,g,r,o,T]}class mm extends We{constructor(e){super(),je(this,e,pm,dm,Xe,{class:6,style:0,opened:5,animate:7,containerEl:8,instance:9})}get instance(){return this.$$.ctx[9]}}const hm=t=>({sheet:t[0]&8}),ai=t=>({sheet:t[3]}),gm=t=>({sheet:t[0]&8}),ii=t=>({sheet:t[3]}),bm=t=>({sheet:t[0]&8}),ri=t=>({sheet:t[3]});function vm(t){let e,n,s,a,i;const o=t[26].fixed,r=U(o,t,t[25],ri),l=t[26].default,f=U(l,t,t[25],ii),c=t[26].static,u=U(c,t,t[25],ai);let d=[{class:t[4]},{style:t[0]},Re(t[5])],m={};for(let h=0;h{const K={el:w,on:{open:W,opened:Y,close:B,closed:q,stepOpen:H,stepClose:G,stepProgress:X,_swipeStep(pe){n(23,L.swipeStep=pe,L)}}};typeof g<"u"&&(K.backdrop=g),typeof m<"u"&&(K.animate=m),typeof v<"u"&&(K.backdropEl=v),typeof _<"u"&&(K.closeByBackdropClick=_),typeof k<"u"&&(K.closeByOutsideClick=k),typeof E<"u"&&(K.closeOnEscape=E),typeof I<"u"&&(K.swipeToClose=I),typeof T<"u"&&(K.swipeToStep=T),typeof A<"u"&&(K.swipeHandler=A),typeof y<"u"&&(K.containerEl=y),bt(()=>{if(w&&D){const pe=J.f7.$,ke=pe(D).children(".navbar, .toolbar, .tabbar, .searchbar");ke.length&&pe(w).prepend(ke)}n(3,O=J.f7.sheet.create(K)),d&&O.open(!1)})}),kt(()=>{O&&O.destroy(),n(3,O=null)});function ne(K){$e[K?"unshift":"push"](()=>{D=K,n(2,D)})}function me(K){$e[K?"unshift":"push"](()=>{w=K,n(1,w)})}return t.$$set=K=>{n(39,e=Ee(Ee({},e),Be(K))),n(5,o=De(e,i)),"class"in K&&n(7,c=K.class),"style"in K&&n(0,u=K.style),"opened"in K&&n(6,d=K.opened),"animate"in K&&n(8,m=K.animate),"top"in K&&n(9,h=K.top),"bottom"in K&&n(10,p=K.bottom),"position"in K&&n(11,b=K.position),"backdrop"in K&&n(12,g=K.backdrop),"backdropEl"in K&&n(13,v=K.backdropEl),"closeByBackdropClick"in K&&n(14,_=K.closeByBackdropClick),"closeByOutsideClick"in K&&n(15,k=K.closeByOutsideClick),"closeOnEscape"in K&&n(16,E=K.closeOnEscape),"push"in K&&n(17,S=K.push),"swipeToClose"in K&&n(18,I=K.swipeToClose),"swipeToStep"in K&&n(19,T=K.swipeToStep),"swipeHandler"in K&&n(20,A=K.swipeHandler),"containerEl"in K&&n(21,y=K.containerEl),"$$scope"in K&&n(25,l=K.$$scope)},t.$$.update=()=>{t.$$.dirty[0]&3584&&n(24,s=(()=>b||(h?"top":"bottom"))()),n(4,a=Je(c,"sheet-modal",`sheet-modal-${s}`,{"sheet-modal-push":S,"modal-in-swipe-step":L.swipeStep},rs(L),tt(e))),t.$$.dirty[0]&64&&ye(d)},e=Be(e),[u,w,D,O,a,o,d,c,m,h,p,b,g,v,_,k,E,S,I,T,A,y,j,L,s,l,r,ne,me]}let km=class extends We{constructor(e){super(),je(this,e,_m,vm,Xe,{class:7,style:0,opened:6,animate:8,top:9,bottom:10,position:11,backdrop:12,backdropEl:13,closeByBackdropClick:14,closeByOutsideClick:15,closeOnEscape:16,push:17,swipeToClose:18,swipeToStep:19,swipeHandler:20,containerEl:21,instance:22},null,[-1,-1])}get instance(){return this.$$.ctx[22]}};const Em=t=>({popover:t&8}),li=t=>({popover:t[3]});function oi(t){let e;return{c(){e=Z("div"),se(e,"class","popover-arrow")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function Cm(t){let e,n,s,a,i=t[1]!==!1&&oi();const o=t[19].default,r=U(o,t,t[18],li);let l=[{class:t[4]},{style:t[0]},Re(t[5])],f={};for(let c=0;c{const Y={el:S,on:{open:y,opened:w,close:D,closed:O}};m&&(Y.targetEl=m),typeof d<"u"&&(Y.animate=d),typeof g<"u"&&(Y.closeByBackdropClick=g),typeof v<"u"&&(Y.closeByOutsideClick=v),typeof _<"u"&&(Y.closeOnEscape=_),typeof h<"u"&&(Y.arrow=h),typeof p<"u"&&(Y.backdrop=p),typeof b<"u"&&(Y.backdropEl=b),typeof k<"u"&&(Y.containerEl=k),typeof E<"u"&&(Y.verticalPosition=E),bt(()=>{n(3,I=J.f7.popover.create(Y)),u&&I.open(m,!1)})}),kt(()=>{I&&I.destroy(),n(3,I=null)});function W(Y){$e[Y?"unshift":"push"](()=>{S=Y,n(2,S)})}return t.$$set=Y=>{n(29,e=Ee(Ee({},e),Be(Y))),n(5,i=De(e,a)),"class"in Y&&n(7,f=Y.class),"style"in Y&&n(0,c=Y.style),"opened"in Y&&n(6,u=Y.opened),"animate"in Y&&n(8,d=Y.animate),"targetEl"in Y&&n(9,m=Y.targetEl),"arrow"in Y&&n(1,h=Y.arrow),"backdrop"in Y&&n(10,p=Y.backdrop),"backdropEl"in Y&&n(11,b=Y.backdropEl),"closeByBackdropClick"in Y&&n(12,g=Y.closeByBackdropClick),"closeByOutsideClick"in Y&&n(13,v=Y.closeByOutsideClick),"closeOnEscape"in Y&&n(14,_=Y.closeOnEscape),"containerEl"in Y&&n(15,k=Y.containerEl),"verticalPosition"in Y&&n(16,E=Y.verticalPosition),"$$scope"in Y&&n(18,r=Y.$$scope)},t.$$.update=()=>{n(4,s=Je(f,"popover",rs(T),tt(e))),t.$$.dirty&64&&j(u)},e=Be(e),[c,h,S,I,s,i,u,f,d,m,p,b,g,v,_,k,E,A,r,o,W]}let wm=class extends We{constructor(e){super(),je(this,e,ym,Cm,Xe,{class:7,style:0,opened:6,animate:8,targetEl:9,arrow:1,backdrop:10,backdropEl:11,closeByBackdropClick:12,closeByOutsideClick:13,closeOnEscape:14,containerEl:15,verticalPosition:16,instance:17})}get instance(){return this.$$.ctx[17]}};const Sm=t=>({panel:t[0]&8}),fi=t=>({panel:t[3]});function ci(t){let e;return{c(){e=Z("div"),se(e,"class","panel-resize-handler")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function Tm(t){let e,n,s;const a=t[31].default,i=U(a,t,t[30],fi);let o=t[0]&&ci(),r=[{class:t[4]},{"data-f7-slot":t[1]},Re(t[5])],l={};for(let f=0;f{bt(()=>{const ee=J.f7.$;ee(".panel-backdrop").length===0&&ee('
    ').insertBefore(B);const Fe=es({el:B,resizable:E,backdrop:S,backdropEl:I,containerEl:T,closeByBackdropClick:A,visibleBreakpoint:y,collapsedBreakpoint:w,swipe:D,swipeNoFollow:O,swipeOnlyClose:L,swipeActiveArea:j,swipeThreshold:W,on:{open:pe,opened:ke,close:he,closed:re,backdropClick:Ce,swipe:Pe,swipeOpen:Ve,collapsedBreakpoint:He,breakpoint:Me,resize:ze}});n(3,q=J.f7.panel.create(Fe)),k&&q.open(!1)})}),kt(()=>{q&&q.destroy&&q.destroy(),n(3,q=null)});function fe(ee){$e[ee?"unshift":"push"](()=>{B=ee,n(2,B)})}return t.$$set=ee=>{n(51,e=Ee(Ee({},e),Be(ee))),n(5,r=De(e,o)),"class"in ee&&n(7,u=ee.class),"side"in ee&&n(8,d=ee.side),"effect"in ee&&n(9,m=ee.effect),"cover"in ee&&n(10,h=ee.cover),"reveal"in ee&&n(11,p=ee.reveal),"push"in ee&&n(12,b=ee.push),"floating"in ee&&n(13,g=ee.floating),"left"in ee&&n(14,v=ee.left),"right"in ee&&n(15,_=ee.right),"opened"in ee&&n(6,k=ee.opened),"resizable"in ee&&n(0,E=ee.resizable),"backdrop"in ee&&n(16,S=ee.backdrop),"backdropEl"in ee&&n(17,I=ee.backdropEl),"containerEl"in ee&&n(18,T=ee.containerEl),"closeByBackdropClick"in ee&&n(19,A=ee.closeByBackdropClick),"visibleBreakpoint"in ee&&n(20,y=ee.visibleBreakpoint),"collapsedBreakpoint"in ee&&n(21,w=ee.collapsedBreakpoint),"swipe"in ee&&n(22,D=ee.swipe),"swipeNoFollow"in ee&&n(23,O=ee.swipeNoFollow),"swipeOnlyClose"in ee&&n(24,L=ee.swipeOnlyClose),"swipeActiveArea"in ee&&n(25,j=ee.swipeActiveArea),"swipeThreshold"in ee&&n(26,W=ee.swipeThreshold),"f7Slot"in ee&&n(1,Y=ee.f7Slot),"$$scope"in ee&&n(30,f=ee.$$scope)},t.$$.update=()=>{t.$$.dirty[0]&49408&&n(29,s=d||(v?"left":_?"right":"left")),t.$$.dirty[0]&14848&&n(28,a=m||(p?"reveal":b?"push":g?"floating":"cover")),n(4,i=Je(u,"panel",{"panel-in":X.isOpened&&!X.isClosing&&!X.isBreakpoint,"panel-in-breakpoint":X.isBreakpoint,"panel-in-collapsed":X.isCollapsed,"panel-resizable":E,[`panel-${s}`]:s,[`panel-${a}`]:a},tt(e))),t.$$.dirty[0]&1&&ye(E),t.$$.dirty[0]&64&&K(k)},e=Be(e),[E,Y,B,q,i,r,k,u,d,m,h,p,b,g,v,_,S,I,T,A,y,w,D,O,L,j,W,H,a,s,f,l,fe]}let Pm=class extends We{constructor(e){super(),je(this,e,Mm,Tm,Xe,{class:7,side:8,effect:9,cover:10,reveal:11,push:12,floating:13,left:14,right:15,opened:6,resizable:0,backdrop:16,backdropEl:17,containerEl:18,closeByBackdropClick:19,visibleBreakpoint:20,collapsedBreakpoint:21,swipe:22,swipeNoFollow:23,swipeOnlyClose:24,swipeActiveArea:25,swipeThreshold:26,f7Slot:1,instance:27},null,[-1,-1])}get instance(){return this.$$.ctx[27]}};function ui(t){let e,n;return e=new nm({props:{className:"popup-router-open-in","data-url":t[1],$$slots:{default:[Im]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&2&&(i["data-url"]=s[1]),a&70&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function Im(t){let e,n;return e=new Nn({props:{linksView:t[2],url:t[1],ignoreOpenIn:!0}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&4&&(i.linksView=s[2]),a&2&&(i.url=s[1]),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function di(t){let e,n;return e=new mm({props:{className:"login-screen-router-open-in","data-url":t[1],$$slots:{default:[Am]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&2&&(i["data-url"]=s[1]),a&70&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function Am(t){let e,n;return e=new Nn({props:{linksView:t[2],url:t[1],ignoreOpenIn:!0}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&4&&(i.linksView=s[2]),a&2&&(i.url=s[1]),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function pi(t){let e,n;return e=new km({props:{className:"sheet-modal-router-open-in","data-url":t[1],$$slots:{default:[Om]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&2&&(i["data-url"]=s[1]),a&70&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function Om(t){let e,n;return e=new Nn({props:{linksView:t[2],url:t[1],ignoreOpenIn:!0}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&4&&(i.linksView=s[2]),a&2&&(i.url=s[1]),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function mi(t){let e,n;return e=new wm({props:{className:"popover-router-open-in",targetEl:t[3],"data-url":t[1],$$slots:{default:[Bm]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&8&&(i.targetEl=s[3]),a&2&&(i["data-url"]=s[1]),a&70&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function Bm(t){let e,n;return e=new Nn({props:{linksView:t[2],url:t[1],ignoreOpenIn:!0}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&4&&(i.linksView=s[2]),a&2&&(i.url=s[1]),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function hi(t){let e,n;return e=new Pm({props:{side:t[4],effect:t[5],className:"panel-router-open-in","data-url":t[1],$$slots:{default:[Lm]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&16&&(i.side=s[4]),a&32&&(i.effect=s[5]),a&2&&(i["data-url"]=s[1]),a&70&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function Lm(t){let e,n;return e=new Nn({props:{linksView:t[2],url:t[1],ignoreOpenIn:!0}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&4&&(i.linksView=s[2]),a&2&&(i.url=s[1]),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function Dm(t){let e,n,s,a,i=t[0].indexOf("panel")===0,o,r,l=t[0]==="popup"&&ui(t),f=t[0]==="loginScreen"&&di(t),c=t[0]==="sheet"&&pi(t),u=t[0]==="popover"&&mi(t),d=i&&hi(t);return{c(){l&&l.c(),e=V(),f&&f.c(),n=V(),c&&c.c(),s=V(),u&&u.c(),a=V(),d&&d.c(),o=Ze()},m(m,h){l&&l.m(m,h),z(m,e,h),f&&f.m(m,h),z(m,n,h),c&&c.m(m,h),z(m,s,h),u&&u.m(m,h),z(m,a,h),d&&d.m(m,h),z(m,o,h),r=!0},p(m,[h]){m[0]==="popup"?l?(l.p(m,h),h&1&&C(l,1)):(l=ui(m),l.c(),C(l,1),l.m(e.parentNode,e)):l&&(le(),M(l,1,1,()=>{l=null}),oe()),m[0]==="loginScreen"?f?(f.p(m,h),h&1&&C(f,1)):(f=di(m),f.c(),C(f,1),f.m(n.parentNode,n)):f&&(le(),M(f,1,1,()=>{f=null}),oe()),m[0]==="sheet"?c?(c.p(m,h),h&1&&C(c,1)):(c=pi(m),c.c(),C(c,1),c.m(s.parentNode,s)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),m[0]==="popover"?u?(u.p(m,h),h&1&&C(u,1)):(u=mi(m),u.c(),C(u,1),u.m(a.parentNode,a)):u&&(le(),M(u,1,1,()=>{u=null}),oe()),h&1&&(i=m[0].indexOf("panel")===0),i?d?(d.p(m,h),h&1&&C(d,1)):(d=hi(m),d.c(),C(d,1),d.m(o.parentNode,o)):d&&(le(),M(d,1,1,()=>{d=null}),oe())},i(m){r||(C(l),C(f),C(c),C(u),C(d),r=!0)},o(m){M(l),M(f),M(c),M(u),M(d),r=!1},d(m){m&&(F(e),F(n),F(s),F(a),F(o)),l&&l.d(m),f&&f.d(m),c&&c.d(m),u&&u.d(m),d&&d.d(m)}}}function Rm(t,e,n){let{openIn:s}=e,{url:a}=e,{viewSelector:i}=e,{targetEl:o}=e,{side:r}=e,{effect:l}=e;return t.$$set=f=>{"openIn"in f&&n(0,s=f.openIn),"url"in f&&n(1,a=f.url),"viewSelector"in f&&n(2,i=f.viewSelector),"targetEl"in f&&n(3,o=f.targetEl),"side"in f&&n(4,r=f.side),"effect"in f&&n(5,l=f.effect)},[s,a,i,o,r,l]}class Hm extends We{constructor(e){super(),je(this,e,Rm,Dm,Xe,{openIn:0,url:1,viewSelector:2,targetEl:3,side:4,effect:5})}}const zm=(t,e,n)=>{const s={url:e,route:{path:e,options:{...n,openIn:void 0,props:{...n.props||{},url:e,openIn:n.openIn,viewSelector:t.view.selector}}}},a={...n};if(a.component=Hm,n.openIn==="popup"&&(s.route.popup=a),n.openIn==="loginScreen"&&(s.route.loginScreen=a),n.openIn==="sheet"&&(s.route.sheet=a),n.openIn==="popover"&&(a.targetEl=n.clickedEl||n.targetEl,s.route.popover=a,s.route.options.props.targetEl=a.targetEl),n.openIn.indexOf("panel")>=0){const i=n.openIn.split(":");s.route.options.props.side=i[1]||"left",s.route.options.props.effect=i[2]||"cover",s.route.panel=a}return t.navigate(s)},gi=t=>{const e=[];for(let n=0;nt.length!==e.length?!1:new Set([...t,...e]).size===t.length,Nm={proto:{openIn(t,e,n){return zm(t,e,n)},pageComponentLoader(t){let{routerEl:e,component:n,options:s,resolve:a,reject:i}=t;const o=this,r=o.id,l=e;let f;if(J.f7routers.views.forEach(h=>{(h.el&&h.el===e||h.routerId&&h.routerId===r)&&(f=h)}),!f){i();return}const c={component:n,id:hs(),props:kn({f7route:s.route,f7router:o},s.route.params,s.props||{})};let u;const d=gi(l);function m(h){if(h!==f||u)return;const p=gi(l);if(Fm(d,p))return;J.f7events.off("viewRouterDidUpdate",m);const b=l.children[l.children.length-1];c.el=b,a(b),u=!0}J.f7events.on("viewRouterDidUpdate",m),f.pages.push(c),f.setPages(f.pages)},removePage(t){if(!t)return;const e=this;let n;if("length"in t&&t[0]?n=t[0].f7Page:n=t.f7Page,n&&n.route&&n.route.route&&n.route.route.keepAlive){e.app.$(t).remove();return}let s;J.f7routers.views.forEach(o=>{o.el&&o.el===e.el&&(s=o)});let a;if("length"in t){if(t.length===0)return;a=t[0]}else a=t;if(!a)return;let i;s.pages.forEach((o,r)=>{o.el===a&&(i=!0,s.pages.splice(r,1),s.setPages(s.pages))}),i||a.parentNode.removeChild(a)},tabComponentLoader(t){let{tabEl:e,component:n,options:s,resolve:a,reject:i}=t===void 0?{}:t;const o=this;e||i();let r;if(J.f7routers.tabs.forEach(d=>{d.el&&d.el===e&&(r=d)}),!r){i();return}const f={id:hs(),component:n,props:kn({f7route:s.route,f7router:o},s.route.route&&s.route.route.tab&&s.route.route.tab.options&&s.route.route.tab.options.props||{},s.route.params,s.props||{})};let c;function u(d){if(d!==r||c)return;J.f7events.off("tabRouterDidUpdate",u);const m=e.children[0];a(m),c=!0}J.f7events.on("tabRouterDidUpdate",u),r.setTabContent(f)},removeTabContent(t){if(!t)return;let e;if(J.f7routers.tabs.forEach(n=>{n.el&&n.el===t&&(e=n)}),!e){t.innerHTML="";return}e.setTabContent(null)},modalComponentLoader(t){let{component:e,options:n,resolve:s,reject:a}=t===void 0?{}:t;const i=this,o=J.f7routers.modals;if(!o){a();return}const r={component:e,id:hs(),props:kn({f7route:n.route,f7router:i},n.route.params,n.props||{})};let l;function f(){if(l)return;J.f7events.off("modalsRouterDidUpdate",f);const c=o.el.children[o.el.children.length-1];r.el=c,s(c),l=!0}J.f7events.on("modalsRouterDidUpdate",f),o.modals.push(r),o.setModals(o.modals)},removeModal(t){const e=J.f7routers.modals;if(!e)return;let n;e.modals.forEach(s=>{s.el===t&&(n=s)}),e.modals.splice(e.modals.indexOf(n),1),e.setModals(e.modals)}}},la={name:"sveltePlugin",installed:!1,install(t){t===void 0&&(t={});const e=this;if(J.Framework7=e,la.installed)return;la.installed=!0,Hp();const{theme:n,userAgent:s}=t;if(n==="md"&&(J.theme.md=!0),n==="ios"&&(J.theme.md=!0),(typeof window>"u"?!!s:!0)&&(!n||n==="auto")){const i=e.getDevice({userAgent:s},!0);J.theme.ios=!!i.ios,J.theme.ios,J.theme.md=!J.theme.ios,J.theme.md}bt(()=>{zp()}),e.Router.use(Nm)}},Vm=t=>({}),bi=t=>({});function vi(t){let e,n;const s=t[9].media,a=U(s,t,t[8],bi);return{c(){e=Z("div"),a&&a.c(),se(e,"class","actions-button-media")},m(i,o){z(i,e,o),a&&a.m(e,null),n=!0},p(i,o){a&&a.p&&(!n||o&256)&&x(a,s,i,i[8],n?Q(s,i[8],o,Vm):$(i[8]),bi)},i(i){n||(C(a,i),n=!0)},o(i){M(a,i),n=!1},d(i){i&&F(e),a&&a.d(i)}}}function Ym(t){let e,n,s,a,i,o,r=t[2]&&vi(t);const l=t[9].default,f=U(l,t,t[8],null);let c=[{class:t[1]},Re(t[4])],u={};for(let d=0;d{r=null}),oe()),f&&f.p&&(!a||m&256)&&x(f,l,d,d[8],a?Q(l,d[8],m,null):$(d[8]),null),Ae(e,u=Ge(c,[(!a||m&2)&&{class:d[1]},m&16&&Re(d[4])]))},i(d){a||(C(r),C(f,d),a=!0)},o(d){M(r),M(f,d),a=!1},d(d){d&&F(e),r&&r.d(),f&&f.d(d),t[10](null),i=!1,o()}}}function qm(t,e,n){let s,a;const i=["class","strong","close"];let o=De(e,i),{$$slots:r={},$$scope:l}=e;const f=Fn(r),c=pt(mt,e);let{class:u=void 0}=e,{strong:d=!1}=e,{close:m=!0}=e,h;function p(){if(m&&J.f7){const g=J.f7.$;J.f7.actions.close(g(h).parents(".actions-modal"))}c("click")}function b(g){$e[g?"unshift":"push"](()=>{h=g,n(0,h)})}return t.$$set=g=>{n(12,e=Ee(Ee({},e),Be(g))),n(4,o=De(e,i)),"class"in g&&n(5,u=g.class),"strong"in g&&n(6,d=g.strong),"close"in g&&n(7,m=g.close),"$$scope"in g&&n(8,l=g.$$scope)},t.$$.update=()=>{n(1,a=Je(u,{"actions-button":!0,"actions-button-strong":d},tt(e)))},n(2,s=f.media),e=Be(e),[h,a,s,p,o,u,d,m,l,r,b]}class Ns extends We{constructor(e){super(),je(this,e,qm,Ym,Xe,{class:5,strong:6,close:7})}}function Wm(t){let e,n;const s=t[4].default,a=U(s,t,t[3],null);let i=[{class:t[0]},Re(t[1])],o={};for(let r=0;r{n(5,e=Ee(Ee({},e),Be(f))),n(1,i=De(e,a)),"class"in f&&n(2,l=f.class),"$$scope"in f&&n(3,r=f.$$scope)},t.$$.update=()=>{n(0,s=Je(l,"actions-group",tt(e)))},e=Be(e),[s,i,l,r,o]}class Xm extends We{constructor(e){super(),je(this,e,jm,Wm,Xe,{class:2})}}function Gm(t){let e,n,s,a;const i=t[6].default,o=U(i,t,t[5],null);let r=[{class:t[0]},Re(t[2])],l={};for(let f=0;f{n(8,e=Ee(Ee({},e),Be(d))),n(2,i=De(e,a)),"class"in d&&n(3,f=d.class),"strong"in d&&n(4,c=d.strong),"$$scope"in d&&n(5,r=d.$$scope)},t.$$.update=()=>{n(0,s=Je(f,"actions-label",{"actions-button-strong":c},tt(e)))},e=Be(e),[s,u,i,f,c,r,o]}class xm extends We{constructor(e){super(),je(this,e,Um,Gm,Xe,{class:3,strong:4})}}const $m=t=>({actions:t&4}),_i=t=>({actions:t[2]});function Qm(t){let e,n;const s=t[20].default,a=U(s,t,t[19],_i);let i=[{class:t[3]},{style:t[0]},Re(t[4])],o={};for(let r=0;r{const B={el:I,on:{open:w,opened:D,close:O,closed:L}};b&&(B.targetEl=b),typeof h<"u"&&(B.convertToPopover=h),typeof p<"u"&&(B.forceToPopover=p),typeof g<"u"&&(B.backdrop=g),typeof v<"u"&&(B.backdropEl=v),typeof _<"u"&&(B.closeByBackdropClick=_),typeof k<"u"&&(B.closeByOutsideClick=k),typeof E<"u"&&(B.closeOnEscape=E),typeof d<"u"&&(B.animate=d),typeof S<"u"&&(B.containerEl=S),bt(()=>{n(2,T=J.f7.actions.create(B)),u&&T.open(!1)})}),kt(()=>{T&&T.destroy(),n(2,T=null)});function Y(B){$e[B?"unshift":"push"](()=>{I=B,n(1,I)})}return t.$$set=B=>{n(30,e=Ee(Ee({},e),Be(B))),n(4,i=De(e,a)),"class"in B&&n(6,f=B.class),"style"in B&&n(0,c=B.style),"opened"in B&&n(5,u=B.opened),"animate"in B&&n(7,d=B.animate),"grid"in B&&n(8,m=B.grid),"convertToPopover"in B&&n(9,h=B.convertToPopover),"forceToPopover"in B&&n(10,p=B.forceToPopover),"target"in B&&n(11,b=B.target),"backdrop"in B&&n(12,g=B.backdrop),"backdropEl"in B&&n(13,v=B.backdropEl),"closeByBackdropClick"in B&&n(14,_=B.closeByBackdropClick),"closeByOutsideClick"in B&&n(15,k=B.closeByOutsideClick),"closeOnEscape"in B&&n(16,E=B.closeOnEscape),"containerEl"in B&&n(17,S=B.containerEl),"$$scope"in B&&n(19,r=B.$$scope)},t.$$.update=()=>{n(3,s=Je(f,"actions-modal",{"actions-grid":m},rs(A),tt(e))),t.$$.dirty&32&&W(u)},e=Be(e),[c,I,T,s,i,u,f,d,m,h,p,b,g,v,_,k,E,S,y,r,o,Y]}let Zm=class extends We{constructor(e){super(),je(this,e,Km,Qm,Xe,{class:6,style:0,opened:5,animate:7,grid:8,convertToPopover:9,forceToPopover:10,target:11,backdrop:12,backdropEl:13,closeByBackdropClick:14,closeByOutsideClick:15,closeOnEscape:16,containerEl:17,instance:18})}get instance(){return this.$$.ctx[18]}};function ki(t,e,n){const s=t.slice();return s[5]=e[n],s}function Ei(t,e){let n,s,a,i;const o=[e[5].props];var r=e[5].component;function l(f){let c={};for(let u=0;u{_e(d,1)}),oe()}r?(s=_s(r,l()),be(s.$$.fragment),C(s.$$.fragment,1),ve(s,a.parentNode,a)):s=null}else r&&s.$set(u)},i(f){i||(s&&C(s.$$.fragment,f),i=!0)},o(f){s&&M(s.$$.fragment,f),i=!1},d(f){f&&(F(n),F(a)),s&&_e(s,f)}}}function Jm(t){let e,n=[],s=new Map,a,i=Lt(t[0]);const o=r=>r[5].id;for(let r=0;r{i={el:a,modals:s,setModals(r){ia().then(()=>{n(0,s=r)})}},J.f7routers.modals=i}),zn(()=>{i&&J.f7events.emit("modalsRouterDidUpdate",i)}),kt(()=>{i&&(J.f7routers.modals=null,i=null)});function o(r){$e[r?"unshift":"push"](()=>{a=r,n(1,a)})}return[s,a,o]}class th extends We{constructor(e){super(),je(this,e,eh,Jm,Xe,{})}}function nh(t){let e,n,s,a;const i=t[4].default,o=U(i,t,t[3],null);return s=new th({}),{c(){e=Z("div"),o&&o.c(),n=V(),be(s.$$.fragment),se(e,"class",t[1])},m(r,l){z(r,e,l),o&&o.m(e,null),N(e,n),ve(s,e,null),t[5](e),a=!0},p(r,[l]){o&&o.p&&(!a||l&8)&&x(o,i,r,r[3],a?Q(i,r[3],l,null):$(r[3]),null),(!a||l&2)&&se(e,"class",r[1])},i(r){a||(C(o,r),C(s.$$.fragment,r),a=!0)},o(r){M(o,r),M(s.$$.fragment,r),a=!1},d(r){r&&F(e),o&&o.d(r),_e(s),t[5](null)}}}function sh(t,e,n){let s,{$$slots:a={},$$scope:i}=e,{class:o=void 0}=e,r;(!J.f7||typeof window>"u")&&Qa(r,es(e),!1),gt(()=>{const f=r.parentNode;if(f&&f!==document.body&&f.parentNode===document.body&&(f.style.height="100%"),J.f7){J.f7.init(r);return}Qa(r,es(e),!0)});function l(f){$e[f?"unshift":"push"](()=>{r=f,n(0,r)})}return t.$$set=f=>{n(6,e=Ee(Ee({},e),Be(f))),"class"in f&&n(2,o=f.class),"$$scope"in f&&n(3,i=f.$$scope)},t.$$.update=()=>{n(1,s=Je(o,"framework7-root",tt(e)))},e=Be(e),[r,s,o,i,a,l]}class ah extends We{constructor(e){super(),je(this,e,sh,nh,Xe,{class:2})}}const bn=(t,e)=>{let n=null;const{tooltip:s,tooltipTrigger:a}=e;return t&&s&&bt(()=>{n=J.f7.tooltip.create({targetEl:t,text:s,trigger:a})}),{update(i){let{tooltip:o}=i===void 0?{}:i;if(!o&&n){n.destroy(),n=null;return}if(o&&!n&&J.f7){n=J.f7.tooltip.create({targetEl:t,text:o,trigger:a});return}!o||!n||n.setText(o)},destroy(){n&&n.destroy&&(n.destroy(),n=null)}}};function ih(t){let e,n,s,a,i;const o=t[6].default,r=U(o,t,t[5],null);let l=[{class:t[2]},Re(t[3])],f={};for(let c=0;c{n(7,e=Ee(Ee({},e),Be(u))),n(3,i=De(e,a)),"class"in u&&n(4,l=u.class),"tooltip"in u&&n(0,f=u.tooltip),"tooltipTrigger"in u&&n(1,c=u.tooltipTrigger),"$$scope"in u&&n(5,r=u.$$scope)},t.$$.update=()=>{n(2,s=Je(l,"badge",tt(e)))},e=Be(e),[f,c,s,i,l,r,o]}class zt extends We{constructor(e){super(),je(this,e,rh,ih,Xe,{class:4,tooltip:0,tooltipTrigger:1})}}function lh(t){let e,n;const s=t[34].default,a=U(s,t,t[33],null);let i=[{class:t[1]},Re(t[2])],o={};for(let r=0;rce,l);function ye(ne){$e[ne?"unshift":"push"](()=>{ce=ne,n(0,ce)})}return t.$$set=ne=>{n(37,e=Ee(Ee({},e),Be(ne))),n(2,i=De(e,a)),"inset"in ne&&n(3,f=ne.inset),"insetIos"in ne&&n(4,c=ne.insetIos),"insetMd"in ne&&n(5,u=ne.insetMd),"xsmallInset"in ne&&n(6,d=ne.xsmallInset),"xsmallInsetIos"in ne&&n(7,m=ne.xsmallInsetIos),"xsmallInsetMd"in ne&&n(8,h=ne.xsmallInsetMd),"smallInset"in ne&&n(9,p=ne.smallInset),"smallInsetIos"in ne&&n(10,b=ne.smallInsetIos),"smallInsetMd"in ne&&n(11,g=ne.smallInsetMd),"mediumInset"in ne&&n(12,v=ne.mediumInset),"mediumInsetIos"in ne&&n(13,_=ne.mediumInsetIos),"mediumInsetMd"in ne&&n(14,k=ne.mediumInsetMd),"largeInset"in ne&&n(15,E=ne.largeInset),"largeInsetIos"in ne&&n(16,S=ne.largeInsetIos),"largeInsetMd"in ne&&n(17,I=ne.largeInsetMd),"xlargeInset"in ne&&n(18,T=ne.xlargeInset),"xlargeInsetIos"in ne&&n(19,A=ne.xlargeInsetIos),"xlargeInsetMd"in ne&&n(20,y=ne.xlargeInsetMd),"strong"in ne&&n(21,w=ne.strong),"strongIos"in ne&&n(22,D=ne.strongIos),"strongMd"in ne&&n(23,O=ne.strongMd),"tabs"in ne&&n(24,L=ne.tabs),"tab"in ne&&n(25,j=ne.tab),"tabActive"in ne&&n(26,W=ne.tabActive),"accordionList"in ne&&n(27,Y=ne.accordionList),"accordionOpposite"in ne&&n(28,B=ne.accordionOpposite),"outline"in ne&&n(29,q=ne.outline),"outlineMd"in ne&&n(30,X=ne.outlineMd),"outlineIos"in ne&&n(31,H=ne.outlineIos),"class"in ne&&n(32,G=ne.class),"$$scope"in ne&&n(33,r=ne.$$scope)},t.$$.update=()=>{n(1,s=Je(G,"block",{inset:f,"inset-ios":c,"inset-md":u,"xsmall-inset":d,"xsmall-inset-ios":m,"xsmall-inset-md":h,"small-inset":p,"small-inset-ios":b,"small-inset-md":g,"medium-inset":v,"medium-inset-ios":_,"medium-inset-md":k,"large-inset":E,"large-inset-ios":S,"large-inset-md":I,"xlarge-inset":T,"xlarge-inset-ios":A,"xlarge-inset-md":y,"block-strong":w,"block-strong-ios":D,"block-strong-md":O,"accordion-list":Y,"accordion-opposite":B,tabs:L,tab:j,"tab-active":W,"block-outline":q,"block-outline-md":X,"block-outline-ios":H},tt(e)))},e=Be(e),[ce,s,i,f,c,u,d,m,h,p,b,g,v,_,k,E,S,I,T,A,y,w,D,O,L,j,W,Y,B,q,X,H,G,r,o,ye]}class wa extends We{constructor(e){super(),je(this,e,oh,lh,Xe,{inset:3,insetIos:4,insetMd:5,xsmallInset:6,xsmallInsetIos:7,xsmallInsetMd:8,smallInset:9,smallInsetIos:10,smallInsetMd:11,mediumInset:12,mediumInsetIos:13,mediumInsetMd:14,largeInset:15,largeInsetIos:16,largeInsetMd:17,xlargeInset:18,xlargeInsetIos:19,xlargeInsetMd:20,strong:21,strongIos:22,strongMd:23,tabs:24,tab:25,tabActive:26,accordionList:27,accordionOpposite:28,outline:29,outlineMd:30,outlineIos:31,class:32},null,[-1,-1])}}const ls=(t,e)=>(t&&e&&(t.f7RouteProps=e),{update(n){t&&t.f7RouteProps&&!n?delete t.f7RouteProps:t&&n&&(t.f7RouteProps=n)},destroy(){t&&e&&delete t.f7RouteProps}}),qd=function(t){t===void 0&&(t={});const{icon:e,iconMaterial:n,iconF7:s,iconMd:a,iconIos:i,iconColor:o,iconSize:r,iconBadge:l,badgeColor:f,iconBadgeColor:c}=t;return e||n||s||a||i?{props:{material:n,f7:s,icon:e,md:a,ios:i,color:o,size:r},badge:l||l===0?{props:{color:f||c},content:l}:null}:null},os=t=>{const e=J.f7?J.theme:null;return J.f7||bt(()=>{t(J.theme)}),e};function fh(t){let e,n=(t[4]||"")+"",s,a,i,o,r,l;const f=t[20].default,c=U(f,t,t[19],null);let u=[{style:t[3]},{class:t[5]},Re(t[6])],d={};for(let m=0;m{n(15,S=w)}),I={icon:!0},T;function A(w){let D=m||h;return g&&w&&w.md&&(g.indexOf("material:")>=0||g.indexOf("f7:")>=0)?D=g.split(":")[1]:b&&w&&w.ios&&(b.indexOf("material:")>=0||b.indexOf("f7:")>=0)&&(D=b.split(":")[1]),D}function y(w){$e[w?"unshift":"push"](()=>{E=w,n(2,E)})}return t.$$set=w=>{n(23,e=Ee(Ee({},e),Be(w))),n(6,l=De(e,r)),"style"in w&&n(7,u=w.style),"class"in w&&n(8,d=w.class),"material"in w&&n(9,m=w.material),"f7"in w&&n(10,h=w.f7),"icon"in w&&n(11,p=w.icon),"ios"in w&&n(12,b=w.ios),"md"in w&&n(13,g=w.md),"tooltip"in w&&n(0,v=w.tooltip),"tooltipTrigger"in w&&n(1,_=w.tooltipTrigger),"size"in w&&n(14,k=w.size),"$$scope"in w&&n(19,c=w.$$scope)},t.$$.update=()=>{if(t.$$.dirty&45056&&S&&(S.ios&&n(17,T=b),S.md&&n(17,T=g)),t.$$.dirty&134656)if(T){n(16,I={icon:!0});const w=T.split(":"),D=w[0],O=w[1];D==="material"||D==="f7"?(n(16,I["material-icons"]=D==="material",I),n(16,I["f7-icons"]=D==="f7",I),D==="icon"&&n(16,I[O]=!0,I)):(T.includes(":")&&n(17,T=T.split(" ").map(L=>L.replace("icon:","")).join(" ")),n(16,I[T]=!0,I)),p&&n(16,I[p]=!0,I)}else n(16,I={icon:!0,"material-icons":m,"f7-icons":h}),p&&n(16,I[p]=!0,I);n(5,s=Je(d,I,tt(e))),t.$$.dirty&32768&&n(4,a=A(S)),t.$$.dirty&16384&&n(18,i=typeof k=="number"||parseFloat(k)===k*1?`${k}px`:k),t.$$.dirty&262272&&n(3,o=(u||"")+(i?`;font-size: ${i}; width: ${i}; height: ${i}`.replace(";;",""):""))},e=Be(e),[v,_,E,o,a,s,l,u,d,m,h,p,b,g,k,S,I,T,i,c,f,y]}class uh extends We{constructor(e){super(),je(this,e,ch,fh,Xe,{style:7,class:8,material:9,f7:10,icon:11,ios:12,md:13,tooltip:0,tooltipTrigger:1,size:14})}}function Ci(t){let e,n;const s=[t[0].badge.props];let a={$$slots:{default:[dh]},$$scope:{ctx:t}};for(let i=0;i{s=null}),oe())},i(a){n||(C(s),n=!0)},o(a){M(s),n=!1},d(a){a&&F(e),s&&s.d(a)}}}function mh(t){let e,n;const s=[t[0].props];let a={$$slots:{default:[ph]},$$scope:{ctx:t}};for(let i=0;i{"icon"in a&&n(0,s=a.icon)},[s]}class fs extends We{constructor(e){super(),je(this,e,hh,mh,Xe,{icon:0})}}function gh(t){let e;return{c(){e=Z("span"),se(e,"class","preloader-inner")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function bh(t){let e;return{c(){e=Z("span"),e.innerHTML=' ',se(e,"class","preloader-inner")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function vh(t){let e;return{c(){e=Z("span"),e.innerHTML='',se(e,"class","preloader-inner")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function _h(t){let e;function n(r,l){return r[0]&&r[0].md?vh:r[0]&&r[0].ios?bh:gh}let s=n(t),a=s(t),i=[{style:t[2]},{class:t[1]},Re(t[3])],o={};for(let r=0;r{n(0,u=d)});return t.$$set=d=>{n(8,e=Ee(Ee({},e),Be(d))),n(3,r=De(e,o)),"style"in d&&n(4,l=d.style),"class"in d&&n(5,f=d.class),"size"in d&&n(6,c=d.size)},t.$$.update=()=>{t.$$.dirty&64&&n(7,s=c&&typeof c=="string"&&c.indexOf("px")>=0?c.replace("px",""):c),t.$$.dirty&144&&n(2,a=((l||"")+(s?`;width: ${s}px; height: ${s}px; --f7-preloader-size: ${s}px`:"")).replace(";;",";")),n(1,i=Je(f,{preloader:!0},tt(e)))},e=Be(e),[u,i,a,r,l,f,c,s]}let Mn=class extends We{constructor(e){super(),je(this,e,kh,_h,Xe,{style:4,class:5,size:6})}};function Eh(t){let e,n,s,a,i,o,r,l;const f=[wh,yh],c=[];function u(h,p){return h[4]?0:1}n=u(t),s=c[n]=f[n](t);let d=[{class:t[10]},t[11]],m={};for(let h=0;h{c[b]=null}),oe(),s=c[n],s?s.p(h,p):(s=c[n]=f[n](h),s.c()),C(s,1),s.m(e,null)),Ae(e,m=Ge(d,[(!o||p[0]&1024)&&{class:h[10]},p[0]&2048&&h[11]])),a&&Yt(a.update)&&p[0]&8&&a.update.call(null,h[3]),i&&Yt(i.update)&&p[0]&6&&i.update.call(null,{tooltip:h[1],tooltipTrigger:h[2]})},i(h){o||(C(s),o=!0)},o(h){M(s),o=!1},d(h){h&&F(e),c[n].d(),t[47](null),r=!1,ln(l)}}}function Ch(t){let e,n,s,a,i,o,r,l;const f=[Th,Sh],c=[];function u(h,p){return h[4]?0:1}n=u(t),s=c[n]=f[n](t);let d=[{class:t[10]},t[11]],m={};for(let h=0;h{c[b]=null}),oe(),s=c[n],s?s.p(h,p):(s=c[n]=f[n](h),s.c()),C(s,1),s.m(e,null)),Ae(e,m=Ge(d,[(!o||p[0]&1024)&&{class:h[10]},p[0]&2048&&h[11]])),a&&Yt(a.update)&&p[0]&8&&a.update.call(null,h[3]),i&&Yt(i.update)&&p[0]&6&&i.update.call(null,{tooltip:h[1],tooltipTrigger:h[2]})},i(h){o||(C(s),o=!0)},o(h){M(s),o=!1},d(h){h&&F(e),c[n].d(),t[46](null),r=!1,ln(l)}}}function yh(t){let e,n,s,a=t[8]&&yi(t),i=typeof t[0]<"u"&&wi(t);const o=t[45].default,r=U(o,t,t[44],null);return{c(){a&&a.c(),e=V(),i&&i.c(),n=V(),r&&r.c()},m(l,f){a&&a.m(l,f),z(l,e,f),i&&i.m(l,f),z(l,n,f),r&&r.m(l,f),s=!0},p(l,f){l[8]?a?(a.p(l,f),f[0]&256&&C(a,1)):(a=yi(l),a.c(),C(a,1),a.m(e.parentNode,e)):a&&(le(),M(a,1,1,()=>{a=null}),oe()),typeof l[0]<"u"?i?i.p(l,f):(i=wi(l),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),r&&r.p&&(!s||f[1]&8192)&&x(r,o,l,l[44],s?Q(o,l[44],f,null):$(l[44]),null)},i(l){s||(C(a),C(r,l),s=!0)},o(l){M(a),M(r,l),s=!1},d(l){l&&(F(e),F(n)),a&&a.d(l),i&&i.d(l),r&&r.d(l)}}}function wh(t){let e,n,s,a,i,o;e=new Mn({props:{size:t[5],color:t[6]}});let r=t[8]&&Si(t),l=typeof t[0]<"u"&&Ti(t);const f=t[45].default,c=U(f,t,t[44],null);return{c(){be(e.$$.fragment),n=V(),s=Z("span"),r&&r.c(),a=V(),l&&l.c(),i=V(),c&&c.c()},m(u,d){ve(e,u,d),z(u,n,d),z(u,s,d),r&&r.m(s,null),N(s,a),l&&l.m(s,null),N(s,i),c&&c.m(s,null),o=!0},p(u,d){const m={};d[0]&32&&(m.size=u[5]),d[0]&64&&(m.color=u[6]),e.$set(m),u[8]?r?(r.p(u,d),d[0]&256&&C(r,1)):(r=Si(u),r.c(),C(r,1),r.m(s,a)):r&&(le(),M(r,1,1,()=>{r=null}),oe()),typeof u[0]<"u"?l?l.p(u,d):(l=Ti(u),l.c(),l.m(s,i)):l&&(l.d(1),l=null),c&&c.p&&(!o||d[1]&8192)&&x(c,f,u,u[44],o?Q(f,u[44],d,null):$(u[44]),null)},i(u){o||(C(e.$$.fragment,u),C(r),C(c,u),o=!0)},o(u){M(e.$$.fragment,u),M(r),M(c,u),o=!1},d(u){u&&(F(n),F(s)),_e(e,u),r&&r.d(),l&&l.d(),c&&c.d(u)}}}function yi(t){let e,n;return e=new fs({props:{icon:t[8]}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&256&&(i.icon=s[8]),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function wi(t){let e,n=ie(t[0])+"",s;return{c(){e=Z("span"),s=ge(n)},m(a,i){z(a,e,i),N(e,s)},p(a,i){i[0]&1&&n!==(n=ie(a[0])+"")&&we(s,n)},d(a){a&&F(e)}}}function Si(t){let e,n;return e=new fs({props:{icon:t[8]}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&256&&(i.icon=s[8]),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function Ti(t){let e,n=ie(t[0])+"",s;return{c(){e=Z("span"),s=ge(n)},m(a,i){z(a,e,i),N(e,s)},p(a,i){i[0]&1&&n!==(n=ie(a[0])+"")&&we(s,n)},d(a){a&&F(e)}}}function Sh(t){let e,n,s,a=t[8]&&Mi(t),i=typeof t[0]<"u"&&Pi(t);const o=t[45].default,r=U(o,t,t[44],null);return{c(){a&&a.c(),e=V(),i&&i.c(),n=V(),r&&r.c()},m(l,f){a&&a.m(l,f),z(l,e,f),i&&i.m(l,f),z(l,n,f),r&&r.m(l,f),s=!0},p(l,f){l[8]?a?(a.p(l,f),f[0]&256&&C(a,1)):(a=Mi(l),a.c(),C(a,1),a.m(e.parentNode,e)):a&&(le(),M(a,1,1,()=>{a=null}),oe()),typeof l[0]<"u"?i?i.p(l,f):(i=Pi(l),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),r&&r.p&&(!s||f[1]&8192)&&x(r,o,l,l[44],s?Q(o,l[44],f,null):$(l[44]),null)},i(l){s||(C(a),C(r,l),s=!0)},o(l){M(a),M(r,l),s=!1},d(l){l&&(F(e),F(n)),a&&a.d(l),i&&i.d(l),r&&r.d(l)}}}function Th(t){let e,n,s,a,i,o;e=new Mn({props:{size:t[5],color:t[6]}});let r=t[8]&&Ii(t),l=typeof t[0]<"u"&&Ai(t);const f=t[45].default,c=U(f,t,t[44],null);return{c(){be(e.$$.fragment),n=V(),s=Z("span"),r&&r.c(),a=V(),l&&l.c(),i=V(),c&&c.c()},m(u,d){ve(e,u,d),z(u,n,d),z(u,s,d),r&&r.m(s,null),N(s,a),l&&l.m(s,null),N(s,i),c&&c.m(s,null),o=!0},p(u,d){const m={};d[0]&32&&(m.size=u[5]),d[0]&64&&(m.color=u[6]),e.$set(m),u[8]?r?(r.p(u,d),d[0]&256&&C(r,1)):(r=Ii(u),r.c(),C(r,1),r.m(s,a)):r&&(le(),M(r,1,1,()=>{r=null}),oe()),typeof u[0]<"u"?l?l.p(u,d):(l=Ai(u),l.c(),l.m(s,i)):l&&(l.d(1),l=null),c&&c.p&&(!o||d[1]&8192)&&x(c,f,u,u[44],o?Q(f,u[44],d,null):$(u[44]),null)},i(u){o||(C(e.$$.fragment,u),C(r),C(c,u),o=!0)},o(u){M(e.$$.fragment,u),M(r),M(c,u),o=!1},d(u){u&&(F(n),F(s)),_e(e,u),r&&r.d(),l&&l.d(),c&&c.d(u)}}}function Mi(t){let e,n;return e=new fs({props:{icon:t[8]}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&256&&(i.icon=s[8]),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function Pi(t){let e,n=ie(t[0])+"",s;return{c(){e=Z("span"),s=ge(n)},m(a,i){z(a,e,i),N(e,s)},p(a,i){i[0]&1&&n!==(n=ie(a[0])+"")&&we(s,n)},d(a){a&&F(e)}}}function Ii(t){let e,n;return e=new fs({props:{icon:t[8]}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&256&&(i.icon=s[8]),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function Ai(t){let e,n=ie(t[0])+"",s;return{c(){e=Z("span"),s=ge(n)},m(a,i){z(a,e,i),N(e,s)},p(a,i){i[0]&1&&n!==(n=ie(a[0])+"")&&we(s,n)},d(a){a&&F(e)}}}function Mh(t){let e,n,s,a;const i=[Ch,Eh],o=[];function r(l,f){return l[9]==="button"?0:1}return e=r(t),n=o[e]=i[e](t),{c(){n.c(),s=Ze()},m(l,f){o[e].m(l,f),z(l,s,f),a=!0},p(l,f){let c=e;e=r(l),e===c?o[e].p(l,f):(le(),M(o[c],1,1,()=>{o[c]=null}),oe(),n=o[e],n?n.p(l,f):(n=o[e]=i[e](l),n.c()),C(n,1),n.m(s.parentNode,s))},i(l){a||(C(n),a=!0)},o(l){M(n),a=!1},d(l){l&&F(s),o[e].d(l)}}}function Ph(t,e,n){let s,a,i,o,r;const l=["class","text","tabLink","tabLinkActive","type","href","target","round","roundMd","roundIos","fill","fillMd","fillIos","tonal","tonalMd","tonalIos","large","largeMd","largeIos","small","smallMd","smallIos","raised","raisedMd","raisedIos","outline","outlineMd","outlineIos","active","disabled","tooltip","tooltipTrigger","routeProps","preloader","preloaderSize","preloaderColor","loading"];let f=De(e,l),{$$slots:c={},$$scope:u}=e;const d=pt(mt,e);let{class:m=void 0}=e,{text:h=void 0}=e,{tabLink:p=void 0}=e,{tabLinkActive:b=!1}=e,{type:g=void 0}=e,{href:v="#"}=e,{target:_=void 0}=e,{round:k=!1}=e,{roundMd:E=!1}=e,{roundIos:S=!1}=e,{fill:I=!1}=e,{fillMd:T=!1}=e,{fillIos:A=!1}=e,{tonal:y=!1}=e,{tonalMd:w=!1}=e,{tonalIos:D=!1}=e,{large:O=!1}=e,{largeMd:L=!1}=e,{largeIos:j=!1}=e,{small:W=!1}=e,{smallMd:Y=!1}=e,{smallIos:B=!1}=e,{raised:q=!1}=e,{raisedMd:X=!1}=e,{raisedIos:H=!1}=e,{outline:G=!1}=e,{outlineMd:ce=!1}=e,{outlineIos:ye=!1}=e,{active:ne=!1}=e,{disabled:me=!1}=e,{tooltip:K=void 0}=e,{tooltipTrigger:pe=void 0}=e,{routeProps:ke=void 0}=e,{preloader:he=!1}=e,{preloaderSize:re=void 0}=e,{preloaderColor:Ce=void 0}=e,{loading:Pe=!1}=e,Ve;function Me(){d("click")}function He(fe){$e[fe?"unshift":"push"](()=>{Ve=fe,n(7,Ve)})}function ze(fe){$e[fe?"unshift":"push"](()=>{Ve=fe,n(7,Ve)})}return t.$$set=fe=>{n(49,e=Ee(Ee({},e),Be(fe))),n(50,f=De(e,l)),"class"in fe&&n(13,m=fe.class),"text"in fe&&n(0,h=fe.text),"tabLink"in fe&&n(14,p=fe.tabLink),"tabLinkActive"in fe&&n(15,b=fe.tabLinkActive),"type"in fe&&n(16,g=fe.type),"href"in fe&&n(17,v=fe.href),"target"in fe&&n(18,_=fe.target),"round"in fe&&n(19,k=fe.round),"roundMd"in fe&&n(20,E=fe.roundMd),"roundIos"in fe&&n(21,S=fe.roundIos),"fill"in fe&&n(22,I=fe.fill),"fillMd"in fe&&n(23,T=fe.fillMd),"fillIos"in fe&&n(24,A=fe.fillIos),"tonal"in fe&&n(25,y=fe.tonal),"tonalMd"in fe&&n(26,w=fe.tonalMd),"tonalIos"in fe&&n(27,D=fe.tonalIos),"large"in fe&&n(28,O=fe.large),"largeMd"in fe&&n(29,L=fe.largeMd),"largeIos"in fe&&n(30,j=fe.largeIos),"small"in fe&&n(31,W=fe.small),"smallMd"in fe&&n(32,Y=fe.smallMd),"smallIos"in fe&&n(33,B=fe.smallIos),"raised"in fe&&n(34,q=fe.raised),"raisedMd"in fe&&n(35,X=fe.raisedMd),"raisedIos"in fe&&n(36,H=fe.raisedIos),"outline"in fe&&n(37,G=fe.outline),"outlineMd"in fe&&n(38,ce=fe.outlineMd),"outlineIos"in fe&&n(39,ye=fe.outlineIos),"active"in fe&&n(40,ne=fe.active),"disabled"in fe&&n(41,me=fe.disabled),"tooltip"in fe&&n(1,K=fe.tooltip),"tooltipTrigger"in fe&&n(2,pe=fe.tooltipTrigger),"routeProps"in fe&&n(3,ke=fe.routeProps),"preloader"in fe&&n(4,he=fe.preloader),"preloaderSize"in fe&&n(5,re=fe.preloaderSize),"preloaderColor"in fe&&n(6,Ce=fe.preloaderColor),"loading"in fe&&n(42,Pe=fe.loading),"$$scope"in fe&&n(44,u=fe.$$scope)},t.$$.update=()=>{t.$$.dirty[0]&131072&&n(43,s=v===!0?"#":v||void 0),n(11,a=kn({href:s,target:_,type:g,"data-tab":at(p)&&p||void 0,...Re(f)},ka(e),Ca(e))),n(10,i=Je(m,"button",{"tab-link":p||p==="","tab-link-active":b,"button-round":k,"button-round-ios":S,"button-round-md":E,"button-fill":I,"button-fill-ios":A,"button-fill-md":T,"button-tonal":y,"button-tonal-ios":D,"button-tonal-md":w,"button-large":O,"button-large-ios":j,"button-large-md":L,"button-small":W,"button-small-ios":B,"button-small-md":Y,"button-raised":q,"button-raised-ios":H,"button-raised-md":X,"button-active":ne,"button-outline":G,"button-outline-ios":ye,"button-outline-md":ce,"button-preloader":he,"button-loading":Pe,disabled:me},tt(e),Ea(e),ya(e))),t.$$.dirty[0]&65536&&n(9,o=g==="submit"||g==="reset"||g==="button"?"button":"a"),n(8,r=qd(e))},e=Be(e),[h,K,pe,ke,he,re,Ce,Ve,r,o,i,a,Me,m,p,b,g,v,_,k,E,S,I,T,A,y,w,D,O,L,j,W,Y,B,q,X,H,G,ce,ye,ne,me,Pe,s,u,c,He,ze]}class Oi extends We{constructor(e){super(),je(this,e,Ph,Mh,Xe,{class:13,text:0,tabLink:14,tabLinkActive:15,type:16,href:17,target:18,round:19,roundMd:20,roundIos:21,fill:22,fillMd:23,fillIos:24,tonal:25,tonalMd:26,tonalIos:27,large:28,largeMd:29,largeIos:30,small:31,smallMd:32,smallIos:33,raised:34,raisedMd:35,raisedIos:36,outline:37,outlineMd:38,outlineIos:39,active:40,disabled:41,tooltip:1,tooltipTrigger:2,routeProps:3,preloader:4,preloaderSize:5,preloaderColor:6,loading:42},null,[-1,-1])}}function Ih(t){let e,n;const s=t[5].default,a=U(s,t,t[4],null);let i=[{class:t[0]},Re(t[1])],o={};for(let r=0;r{n(6,e=Ee(Ee({},e),Be(c))),n(1,i=De(e,a)),"class"in c&&n(2,l=c.class),"padding"in c&&n(3,f=c.padding),"$$scope"in c&&n(4,r=c.$$scope)},t.$$.update=()=>{n(0,s=Je(l,"card-content",{"card-content-padding":f},tt(e)))},e=Be(e),[s,i,l,f,r,o]}class Wd extends We{constructor(e){super(),je(this,e,Ah,Ih,Xe,{class:2,padding:3})}}function Oh(t){let e,n;const s=t[4].default,a=U(s,t,t[3],null);let i=[{class:t[0]},Re(t[1])],o={};for(let r=0;r{n(5,e=Ee(Ee({},e),Be(f))),n(1,i=De(e,a)),"class"in f&&n(2,l=f.class),"$$scope"in f&&n(3,r=f.$$scope)},t.$$.update=()=>{n(0,s=Je(l,"card-footer",tt(e)))},e=Be(e),[s,i,l,r,o]}class jd extends We{constructor(e){super(),je(this,e,Bh,Oh,Xe,{class:2})}}function Lh(t){let e,n;const s=t[4].default,a=U(s,t,t[3],null);let i=[{class:t[0]},Re(t[1])],o={};for(let r=0;r{n(5,e=Ee(Ee({},e),Be(f))),n(1,i=De(e,a)),"class"in f&&n(2,l=f.class),"$$scope"in f&&n(3,r=f.$$scope)},t.$$.update=()=>{n(0,s=Je(l,"card-header",tt(e)))},e=Be(e),[s,i,l,r,o]}class Xd extends We{constructor(e){super(),je(this,e,Dh,Lh,Xe,{class:2})}}const Rh=t=>({}),Bi=t=>({}),Hh=t=>({}),Li=t=>({}),zh=t=>({}),Di=t=>({});function Ri(t){let e,n;return e=new Xd({props:{$$slots:{default:[Fh]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&1|a[1]&1&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function Fh(t){let e=ie(t[0])+"",n,s,a;const i=t[29].header,o=U(i,t,t[31],Di);return{c(){n=ge(e),s=V(),o&&o.c()},m(r,l){z(r,n,l),z(r,s,l),o&&o.m(r,l),a=!0},p(r,l){(!a||l[0]&1)&&e!==(e=ie(r[0])+"")&&we(n,e),o&&o.p&&(!a||l[1]&1)&&x(o,i,r,r[31],a?Q(i,r[31],l,zh):$(r[31]),Di)},i(r){a||(C(o,r),a=!0)},o(r){M(o,r),a=!1},d(r){r&&(F(n),F(s)),o&&o.d(r)}}}function Hi(t){let e,n;return e=new Wd({props:{padding:t[12],$$slots:{default:[Nh]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&4096&&(i.padding=s[12]),a[0]&2|a[1]&1&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function Nh(t){let e=ie(t[1])+"",n,s,a;const i=t[29].content,o=U(i,t,t[31],Li);return{c(){n=ge(e),s=V(),o&&o.c()},m(r,l){z(r,n,l),z(r,s,l),o&&o.m(r,l),a=!0},p(r,l){(!a||l[0]&2)&&e!==(e=ie(r[1])+"")&&we(n,e),o&&o.p&&(!a||l[1]&1)&&x(o,i,r,r[31],a?Q(i,r[31],l,Hh):$(r[31]),Li)},i(r){a||(C(o,r),a=!0)},o(r){M(o,r),a=!1},d(r){r&&(F(n),F(s)),o&&o.d(r)}}}function zi(t){let e,n;return e=new jd({props:{$$slots:{default:[Vh]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&4|a[1]&1&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function Vh(t){let e=ie(t[2])+"",n,s,a;const i=t[29].footer,o=U(i,t,t[31],Bi);return{c(){n=ge(e),s=V(),o&&o.c()},m(r,l){z(r,n,l),z(r,s,l),o&&o.m(r,l),a=!0},p(r,l){(!a||l[0]&4)&&e!==(e=ie(r[2])+"")&&we(n,e),o&&o.p&&(!a||l[1]&1)&&x(o,i,r,r[31],a?Q(i,r[31],l,Rh):$(r[31]),Bi)},i(r){a||(C(o,r),a=!0)},o(r){M(o,r),a=!1},d(r){r&&(F(n),F(s)),o&&o.d(r)}}}function Yh(t){let e,n,s,a,i,o,r,l,f,c,u,d,m=(typeof t[0]<"u"||t[16])&&Ri(t),h=(typeof t[1]<"u"||t[15])&&Hi(t),p=(typeof t[2]<"u"||t[14])&&zi(t);const b=t[29].default,g=U(b,t,t[31],null);let v=[{class:t[17]},{"data-animate":i=typeof t[3]>"u"?t[3]:t[3].toString()},{"data-hide-navbar-on-open":o=typeof t[4]>"u"?t[4]:t[4].toString()},{"data-hide-toolbar-on-open":r=typeof t[5]>"u"?t[5]:t[5].toString()},{"data-hide-statusbar-on-open":l=typeof t[6]>"u"?t[6]:t[6].toString()},{"data-scrollable-el":t[7]},{"data-swipe-to-close":f=typeof t[8]>"u"?t[8]:t[8].toString()},{"data-close-by-backdrop-click":c=typeof t[9]>"u"?t[9]:t[9].toString()},{"data-backdrop":u=typeof t[10]>"u"?t[10]:t[10].toString()},{"data-backdrop-el":t[11]},Re(t[18])],_={};for(let k=0;k{m=null}),oe()),typeof k[1]<"u"||k[15]?h?(h.p(k,E),E[0]&32770&&C(h,1)):(h=Hi(k),h.c(),C(h,1),h.m(e,s)):h&&(le(),M(h,1,1,()=>{h=null}),oe()),typeof k[2]<"u"||k[14]?p?(p.p(k,E),E[0]&16388&&C(p,1)):(p=zi(k),p.c(),C(p,1),p.m(e,a)):p&&(le(),M(p,1,1,()=>{p=null}),oe()),g&&g.p&&(!d||E[1]&1)&&x(g,b,k,k[31],d?Q(b,k[31],E,null):$(k[31]),null),Ae(e,_=Ge(v,[(!d||E[0]&131072)&&{class:k[17]},(!d||E[0]&8&&i!==(i=typeof k[3]>"u"?k[3]:k[3].toString()))&&{"data-animate":i},(!d||E[0]&16&&o!==(o=typeof k[4]>"u"?k[4]:k[4].toString()))&&{"data-hide-navbar-on-open":o},(!d||E[0]&32&&r!==(r=typeof k[5]>"u"?k[5]:k[5].toString()))&&{"data-hide-toolbar-on-open":r},(!d||E[0]&64&&l!==(l=typeof k[6]>"u"?k[6]:k[6].toString()))&&{"data-hide-statusbar-on-open":l},(!d||E[0]&128)&&{"data-scrollable-el":k[7]},(!d||E[0]&256&&f!==(f=typeof k[8]>"u"?k[8]:k[8].toString()))&&{"data-swipe-to-close":f},(!d||E[0]&512&&c!==(c=typeof k[9]>"u"?k[9]:k[9].toString()))&&{"data-close-by-backdrop-click":c},(!d||E[0]&1024&&u!==(u=typeof k[10]>"u"?k[10]:k[10].toString()))&&{"data-backdrop":u},(!d||E[0]&2048)&&{"data-backdrop-el":k[11]},E[0]&262144&&Re(k[18])]))},i(k){d||(C(m),C(h),C(p),C(g,k),d=!0)},o(k){M(m),M(h),M(p),M(g,k),d=!1},d(k){k&&F(e),m&&m.d(),h&&h.d(),p&&p.d(),g&&g.d(k),t[30](null)}}}function qh(t,e,n){let s,a,i,o;const r=["class","title","content","footer","raised","outline","outlineIos","outlineMd","headerDivider","footerDivider","expandable","expandableAnimateWidth","expandableOpened","animate","hideNavbarOnOpen","hideToolbarOnOpen","hideStatusbarOnOpen","scrollableEl","swipeToClose","closeByBackdropClick","backdrop","backdropEl","padding"];let l=De(e,r),{$$slots:f={},$$scope:c}=e;const u=Fn(f),d=pt(mt,e);let{class:m=void 0}=e,{title:h=void 0}=e,{content:p=void 0}=e,{footer:b=void 0}=e,{raised:g=!1}=e,{outline:v=!1}=e,{outlineIos:_=!1}=e,{outlineMd:k=!1}=e,{headerDivider:E=!1}=e,{footerDivider:S=!1}=e,{expandable:I=!1}=e,{expandableAnimateWidth:T=!1}=e,{expandableOpened:A=!1}=e,{animate:y=void 0}=e,{hideNavbarOnOpen:w=void 0}=e,{hideToolbarOnOpen:D=void 0}=e,{hideStatusbarOnOpen:O=void 0}=e,{scrollableEl:L=void 0}=e,{swipeToClose:j=void 0}=e,{closeByBackdropClick:W=void 0}=e,{backdrop:Y=void 0}=e,{backdropEl:B=void 0}=e,{padding:q=!0}=e,X;function H(){J.f7.card.open(X)}function G(){J.f7.card.close(X)}let ce=!1;function ye(re){if(!ce){ce=!0;return}re?H():G()}function ne(re,Ce){re===X&&d("cardBeforeOpen",[X,Ce])}function me(re){re===X&&(d("cardOpen",[X]),n(19,A=!0))}function K(re,Ce){re===X&&d("cardOpened",[X,Ce])}function pe(re){re===X&&d("cardClose",[X])}function ke(re,Ce){re===X&&(d("cardClosed",[X,Ce]),n(19,A=!1))}gt(()=>{I&&bt(()=>{J.f7.on("cardBeforeOpen",ne),J.f7.on("cardOpen",me),J.f7.on("cardOpened",K),J.f7.on("cardClose",pe),J.f7.on("cardClosed",ke),I&&A&&X&&J.f7.card.open(X,!1)})}),kt(()=>{I&&(!J.f7||!X||(J.f7.off("cardBeforeOpen",ne),J.f7.off("cardOpen",me),J.f7.off("cardOpened",K),J.f7.off("cardClose",pe),J.f7.off("cardClosed",ke)))});function he(re){$e[re?"unshift":"push"](()=>{X=re,n(13,X)})}return t.$$set=re=>{n(43,e=Ee(Ee({},e),Be(re))),n(18,l=De(e,r)),"class"in re&&n(20,m=re.class),"title"in re&&n(0,h=re.title),"content"in re&&n(1,p=re.content),"footer"in re&&n(2,b=re.footer),"raised"in re&&n(21,g=re.raised),"outline"in re&&n(22,v=re.outline),"outlineIos"in re&&n(23,_=re.outlineIos),"outlineMd"in re&&n(24,k=re.outlineMd),"headerDivider"in re&&n(25,E=re.headerDivider),"footerDivider"in re&&n(26,S=re.footerDivider),"expandable"in re&&n(27,I=re.expandable),"expandableAnimateWidth"in re&&n(28,T=re.expandableAnimateWidth),"expandableOpened"in re&&n(19,A=re.expandableOpened),"animate"in re&&n(3,y=re.animate),"hideNavbarOnOpen"in re&&n(4,w=re.hideNavbarOnOpen),"hideToolbarOnOpen"in re&&n(5,D=re.hideToolbarOnOpen),"hideStatusbarOnOpen"in re&&n(6,O=re.hideStatusbarOnOpen),"scrollableEl"in re&&n(7,L=re.scrollableEl),"swipeToClose"in re&&n(8,j=re.swipeToClose),"closeByBackdropClick"in re&&n(9,W=re.closeByBackdropClick),"backdrop"in re&&n(10,Y=re.backdrop),"backdropEl"in re&&n(11,B=re.backdropEl),"padding"in re&&n(12,q=re.padding),"$$scope"in re&&n(31,c=re.$$scope)},t.$$.update=()=>{n(17,s=Je(m,"card",{"card-outline":v,"card-outline-ios":_,"card-outline-md":k,"card-raised":g,"card-header-divider":E,"card-footer-divider":S,"card-expandable":I,"card-expandable-animate-width":T},tt(e))),t.$$.dirty[0]&524288&&ye(A)},n(16,a=u.header),n(15,i=u.content),n(14,o=u.footer),e=Be(e),[h,p,b,y,w,D,O,L,j,W,Y,B,q,X,o,i,a,s,l,A,m,g,v,_,k,E,S,I,T,f,he,c]}let Wh=class extends We{constructor(e){super(),je(this,e,qh,Yh,Xe,{class:20,title:0,content:1,footer:2,raised:21,outline:22,outlineIos:23,outlineMd:24,headerDivider:25,footerDivider:26,expandable:27,expandableAnimateWidth:28,expandableOpened:19,animate:3,hideNavbarOnOpen:4,hideToolbarOnOpen:5,hideStatusbarOnOpen:6,scrollableEl:7,swipeToClose:8,closeByBackdropClick:9,backdrop:10,backdropEl:11,padding:12},null,[-1,-1])}};const Gd=(t,e,n)=>{let s;gt(()=>{bt(()=>{if(t.smartSelect){const a=kn({el:n()},t.smartSelectParams||{});s=J.f7.smartSelect.create(a),e(s)}})}),kt(()=>{s&&s.destroy&&s.destroy(),s=null,e(s)})},Ud=(t,e)=>{const n=Fp(t);if(!n)return;const{value:s,subscribe:a,unsubscribe:i}=n;return a(e),kt(()=>{i(e)}),s};function Fi(t){let e,n;return e=new fs({props:{icon:t[8]}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&256&&(i.icon=s[8]),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function Ni(t){let e,n=ie(t[0])+"",s,a,i,o=typeof t[1]<"u"&&Vi(t);return{c(){e=Z("span"),s=ge(n),a=V(),o&&o.c(),wt(e,"tabbar-label",t[6])},m(r,l){z(r,e,l),N(e,s),N(e,a),o&&o.m(e,null),i=!0},p(r,l){(!i||l[0]&1)&&n!==(n=ie(r[0])+"")&&we(s,n),typeof r[1]<"u"?o?(o.p(r,l),l[0]&2&&C(o,1)):(o=Vi(r),o.c(),C(o,1),o.m(e,null)):o&&(le(),M(o,1,1,()=>{o=null}),oe()),(!i||l[0]&64)&&wt(e,"tabbar-label",r[6])},i(r){i||(C(o),i=!0)},o(r){M(o),i=!1},d(r){r&&F(e),o&&o.d()}}}function Vi(t){let e,n;return e=new zt({props:{color:t[2],$$slots:{default:[jh]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&4&&(i.color=s[2]),a[0]&536870914&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function jh(t){let e=ie(t[1])+"",n;return{c(){n=ge(e)},m(s,a){z(s,n,a)},p(s,a){a[0]&2&&e!==(e=ie(s[1])+"")&&we(n,e)},d(s){s&&F(n)}}}function Xh(t){let e,n,s,a,i,o,r,l,f=t[8]&&Fi(t);const c=t[27].default,u=U(c,t,t[29],null);let d=(typeof t[0]<"u"||typeof t[1]<"u")&&Ni(t),m=[{class:t[9]},t[10]],h={};for(let p=0;p{f=null}),oe()),u&&u.p&&(!o||b[0]&536870912)&&x(u,c,p,p[29],o?Q(c,p[29],b,null):$(p[29]),null),typeof p[0]<"u"||typeof p[1]<"u"?d?(d.p(p,b),b[0]&3&&C(d,1)):(d=Ni(p),d.c(),C(d,1),d.m(e,null)):d&&(le(),M(d,1,1,()=>{d=null}),oe()),Ae(e,h=Ge(m,[(!o||b[0]&512)&&{class:p[9]},b[0]&1024&&p[10]])),a&&Yt(a.update)&&b[0]&24&&a.update.call(null,{tooltip:p[3],tooltipTrigger:p[4]}),i&&Yt(i.update)&&b[0]&32&&i.update.call(null,p[5])},i(p){o||(C(f),C(u,p),C(d),o=!0)},o(p){M(f),M(u,p),M(d),o=!1},d(p){p&&F(e),f&&f.d(),u&&u.d(p),d&&d.d(),t[28](null),r=!1,ln(l)}}}function Gh(t,e,n){let s,a,i,o,r,l,f;const c=["class","noLinkClass","text","tabLink","tabLinkActive","tabbarLabel","iconOnly","badge","badgeColor","href","target","tooltip","tooltipTrigger","routeProps","smartSelect","smartSelectParams","smartSelectInstance"];let u=De(e,c),{$$slots:d={},$$scope:m}=e;const h=Fn(d),p=pt(mt,e);let{class:b=void 0}=e,{noLinkClass:g=!1}=e,{text:v=void 0}=e,{tabLink:_=void 0}=e,{tabLinkActive:k=!1}=e,{tabbarLabel:E=!1}=e,{iconOnly:S=!1}=e,{badge:I=void 0}=e,{badgeColor:T=void 0}=e,{href:A="#"}=e,{target:y=void 0}=e,{tooltip:w=void 0}=e,{tooltipTrigger:D=void 0}=e,{routeProps:O=void 0}=e,{smartSelect:L=!1}=e,{smartSelectParams:j=void 0}=e,W,Y;function B(){return Y}let q=Ud("TabbarContext",G=>{n(23,q=G)})||{};function X(){p("click")}Gd({smartSelect:L,smartSelectParams:j},G=>{Y=G},()=>W);function H(G){$e[G?"unshift":"push"](()=>{W=G,n(7,W)})}return t.$$set=G=>{n(32,e=Ee(Ee({},e),Be(G))),n(34,u=De(e,c)),"class"in G&&n(12,b=G.class),"noLinkClass"in G&&n(13,g=G.noLinkClass),"text"in G&&n(0,v=G.text),"tabLink"in G&&n(14,_=G.tabLink),"tabLinkActive"in G&&n(15,k=G.tabLinkActive),"tabbarLabel"in G&&n(16,E=G.tabbarLabel),"iconOnly"in G&&n(17,S=G.iconOnly),"badge"in G&&n(1,I=G.badge),"badgeColor"in G&&n(2,T=G.badgeColor),"href"in G&&n(18,A=G.href),"target"in G&&n(19,y=G.target),"tooltip"in G&&n(3,w=G.tooltip),"tooltipTrigger"in G&&n(4,D=G.tooltipTrigger),"routeProps"in G&&n(5,O=G.routeProps),"smartSelect"in G&&n(20,L=G.smartSelect),"smartSelectParams"in G&&n(21,j=G.smartSelectParams),"$$scope"in G&&n(29,m=G.$$scope)},t.$$.update=()=>{t.$$.dirty[0]&8454144&&n(6,s=E||q.tabbarHasIcons),t.$$.dirty[0]&262144&&n(26,a=A===!0?"#":A||void 0),n(10,i=kn({href:a,target:y,"data-tab":at(_)&&_||void 0,...Re(u)},ka(e),Ca(e))),t.$$.dirty[0]&33685505&&n(24,r=S||!v&&!o),n(9,l=Je(b,{link:!(g||s),"icon-only":r,"tab-link":_||_==="","tab-link-active":k,"smart-select":L},tt(e),Ea(e),ya(e))),n(8,f=qd(e))},n(25,o=h.default),e=Be(e),[v,I,T,w,D,O,s,W,f,l,i,X,b,g,_,k,E,S,A,y,L,j,B,q,r,o,a,d,H,m]}class xt extends We{constructor(e){super(),je(this,e,Gh,Xh,Xe,{class:12,noLinkClass:13,text:0,tabLink:14,tabLinkActive:15,tabbarLabel:16,iconOnly:17,badge:1,badgeColor:2,href:18,target:19,tooltip:3,tooltipTrigger:4,routeProps:5,smartSelect:20,smartSelectParams:21,smartSelectInstance:22},null,[-1,-1])}get smartSelectInstance(){return this.$$.ctx[22]}}const xd=(t,e)=>{const n=[],s=o=>{n.push(o)},a=o=>{n.indexOf(o)>=0&&n.splice(n.indexOf,o)},i=()=>{n.forEach(o=>{o(e())})};Ld(t,{value:e(),subscribe:s,unsubscribe:a}),Np(()=>{i()})},Uh=t=>({}),Yi=t=>({}),xh=t=>({}),qi=t=>({}),$h=t=>({}),Wi=t=>({}),Qh=t=>({}),ji=t=>({}),Kh=t=>({}),Xi=t=>({}),Zh=t=>({}),Gi=t=>({}),Jh=t=>({}),Ui=t=>({}),eg=t=>({}),xi=t=>({}),tg=t=>({}),$i=t=>({}),ng=t=>({}),Qi=t=>({}),sg=t=>({}),Ki=t=>({}),ag=t=>({}),Zi=t=>({}),ig=t=>({}),Ji=t=>({}),rg=t=>({}),er=t=>({}),lg=t=>({}),tr=t=>({}),og=t=>({}),nr=t=>({}),fg=t=>({}),sr=t=>({}),cg=t=>({}),ar=t=>({}),ug=t=>({}),ir=t=>({}),dg=t=>({}),rr=t=>({}),pg=t=>({}),lr=t=>({}),mg=t=>({}),or=t=>({}),hg=t=>({}),fr=t=>({}),gg=t=>({}),cr=t=>({}),bg=t=>({}),ur=t=>({}),vg=t=>({}),dr=t=>({}),_g=t=>({}),pr=t=>({}),kg=t=>({}),mr=t=>({}),Eg=t=>({}),hr=t=>({}),Cg=t=>({}),gr=t=>({}),yg=t=>({}),br=t=>({}),wg=t=>({}),vr=t=>({}),Sg=t=>({}),_r=t=>({}),Tg=t=>({}),kr=t=>({}),Mg=t=>({}),Er=t=>({}),Pg=t=>({}),Cr=t=>({}),Ig=t=>({}),yr=t=>({}),Ag=t=>({}),wr=t=>({}),Og=t=>({}),Sr=t=>({}),Bg=t=>({}),Tr=t=>({}),Lg=t=>({}),Mr=t=>({}),Dg=t=>({}),Pr=t=>({}),Rg=t=>({}),Ir=t=>({}),Hg=t=>({}),Ar=t=>({}),zg=t=>({}),Or=t=>({}),Fg=t=>({}),Br=t=>({}),Ng=t=>({}),Lr=t=>({}),Vg=t=>({}),Dr=t=>({}),Yg=t=>({}),Rr=t=>({}),qg=t=>({}),Hr=t=>({}),Wg=t=>({}),zr=t=>({}),jg=t=>({}),Fr=t=>({}),Xg=t=>({}),Nr=t=>({}),Gg=t=>({}),Vr=t=>({}),Ug=t=>({}),Yr=t=>({}),xg=t=>({}),qr=t=>({}),$g=t=>({}),Wr=t=>({}),Qg=t=>({}),jr=t=>({}),Kg=t=>({}),Xr=t=>({}),Zg=t=>({}),Gr=t=>({}),Jg=t=>({}),Ur=t=>({}),e0=t=>({}),xr=t=>({}),t0=t=>({}),$r=t=>({}),n0=t=>({}),Qr=t=>({}),s0=t=>({}),Kr=t=>({}),a0=t=>({}),Zr=t=>({}),i0=t=>({}),Jr=t=>({}),r0=t=>({}),el=t=>({}),l0=t=>({}),tl=t=>({}),o0=t=>({}),nl=t=>({}),f0=t=>({}),sl=t=>({}),c0=t=>({}),al=t=>({}),u0=t=>({}),il=t=>({}),d0=t=>({}),rl=t=>({}),p0=t=>({}),ll=t=>({}),m0=t=>({}),ol=t=>({}),h0=t=>({}),fl=t=>({}),g0=t=>({}),cl=t=>({}),b0=t=>({}),ul=t=>({}),v0=t=>({}),dl=t=>({}),_0=t=>({}),pl=t=>({}),k0=t=>({}),ml=t=>({}),E0=t=>({}),hl=t=>({}),C0=t=>({}),gl=t=>({}),y0=t=>({}),bl=t=>({}),w0=t=>({}),vl=t=>({}),S0=t=>({}),_l=t=>({}),T0=t=>({}),kl=t=>({}),M0=t=>({}),El=t=>({}),P0=t=>({}),Cl=t=>({}),I0=t=>({}),yl=t=>({}),A0=t=>({}),wl=t=>({}),O0=t=>({}),Sl=t=>({}),B0=t=>({}),Tl=t=>({}),L0=t=>({}),Ml=t=>({}),D0=t=>({}),Pl=t=>({}),R0=t=>({}),Il=t=>({}),H0=t=>({}),Al=t=>({}),z0=t=>({}),Ol=t=>({}),F0=t=>({}),Bl=t=>({}),N0=t=>({}),Ll=t=>({}),V0=t=>({}),Dl=t=>({}),Y0=t=>({}),Rl=t=>({}),q0=t=>({}),Hl=t=>({}),W0=t=>({}),zl=t=>({}),j0=t=>({}),Fl=t=>({}),X0=t=>({}),Nl=t=>({}),G0=t=>({}),Vl=t=>({}),U0=t=>({}),Yl=t=>({}),x0=t=>({}),ql=t=>({}),$0=t=>({}),Wl=t=>({}),Q0=t=>({}),jl=t=>({}),K0=t=>({}),Xl=t=>({}),Z0=t=>({}),Gl=t=>({}),J0=t=>({}),Ul=t=>({}),eb=t=>({}),xl=t=>({}),tb=t=>({}),$l=t=>({}),nb=t=>({}),Ql=t=>({}),sb=t=>({}),Kl=t=>({}),ab=t=>({}),Zl=t=>({}),ib=t=>({}),Jl=t=>({}),rb=t=>({}),eo=t=>({}),lb=t=>({}),to=t=>({}),ob=t=>({}),no=t=>({}),fb=t=>({}),so=t=>({}),cb=t=>({}),ao=t=>({}),ub=t=>({}),io=t=>({}),db=t=>({}),ro=t=>({}),pb=t=>({}),lo=t=>({}),mb=t=>({}),oo=t=>({}),hb=t=>({}),fo=t=>({}),gb=t=>({}),co=t=>({}),bb=t=>({}),uo=t=>({}),vb=t=>({}),po=t=>({}),_b=t=>({}),mo=t=>({}),kb=t=>({}),ho=t=>({}),Eb=t=>({}),go=t=>({}),Cb=t=>({}),bo=t=>({}),yb=t=>({}),vo=t=>({}),wb=t=>({}),_o=t=>({}),Sb=t=>({}),ko=t=>({}),Tb=t=>({}),Eo=t=>({}),Mb=t=>({}),Co=t=>({}),Pb=t=>({}),yo=t=>({}),Ib=t=>({}),wo=t=>({}),Ab=t=>({}),So=t=>({}),Ob=t=>({}),To=t=>({}),Bb=t=>({}),Mo=t=>({}),Lb=t=>({}),Po=t=>({}),Db=t=>({}),Io=t=>({}),Rb=t=>({}),Ao=t=>({}),Hb=t=>({}),Oo=t=>({}),zb=t=>({}),Bo=t=>({}),Fb=t=>({}),Lo=t=>({}),Nb=t=>({}),Do=t=>({}),Vb=t=>({}),Ro=t=>({}),Yb=t=>({}),Ho=t=>({}),qb=t=>({}),zo=t=>({}),Wb=t=>({}),Fo=t=>({});function jb(t){let e,n,s,a,i,o,r,l,f,c,u,d;const m=t[69]["root-start"],h=U(m,t,t[83],Fo),p=[$b,xb,Ub],b=[];function g(y,w){return y[13]?0:y[37]?1:2}s=g(t),a=b[s]=p[s](t);let v=t[44]&&t[14]!==!1&&!t[43]&&Gc(),_=(t[13]||t[15])&&Uc(t);const k=t[69].root,E=U(k,t,t[83],qi),S=t[69]["root-end"],I=U(S,t,t[83],Yi);let T=[{class:t[41]},{"data-virtual-list-index":t[23]},Re(t[47])],A={};for(let y=0;y{b[D]=null}),oe(),a=b[s],a?a.p(y,w):(a=b[s]=p[s](y),a.c()),C(a,1),a.m(e,i)),y[44]&&y[14]!==!1&&!y[43]?v||(v=Gc(),v.c(),v.m(e,o)):v&&(v.d(1),v=null),y[13]||y[15]?_?(_.p(y,w),w[0]&40960&&C(_,1)):(_=Uc(y),_.c(),C(_,1),_.m(e,r)):_&&(le(),M(_,1,1,()=>{_=null}),oe()),E&&E.p&&(!c||w[2]&2097152)&&x(E,k,y,y[83],c?Q(k,y[83],w,xh):$(y[83]),qi),I&&I.p&&(!c||w[2]&2097152)&&x(I,S,y,y[83],c?Q(S,y[83],w,Uh):$(y[83]),Yi),Ae(e,A=Ge(T,[(!c||w[1]&1024)&&{class:y[41]},(!c||w[0]&8388608)&&{"data-virtual-list-index":y[23]},w[1]&65536&&Re(y[47])])),f&&Yt(f.update)&&w[0]&384&&f.update.call(null,{tooltip:y[7],tooltipTrigger:y[8]})},i(y){c||(C(h,y),C(a),C(_),C(E,y),C(I,y),c=!0)},o(y){M(h,y),M(a),M(_),M(E,y),M(I,y),c=!1},d(y){y&&F(e),h&&h.d(y),b[s].d(),v&&v.d(),_&&_.d(),E&&E.d(y),I&&I.d(y),t[82](null),u=!1,d()}}}function Xb(t){let e,n=ie(t[1])+"",s,a,i,o,r,l;const f=t[69].default,c=U(f,t,t[83],null);let u=[{class:t[41]},{"data-virtual-list-index":t[23]},Re(t[47])],d={};for(let m=0;m{o[c]=null}),oe(),n=o[e],n?n.p(l,f):(n=o[e]=i[e](l),n.c()),C(n,1),n.m(s.parentNode,s))},i(l){a||(C(n),a=!0)},o(l){M(n),a=!1},d(l){l&&F(s),o[e].d(l)}}}function xb(t){let e,n,s,a,i,o,r,l,f,c,u,d,m,h,p,b;const g=t[69]["content-start"],v=U(g,t,t[83],dl);let _=t[44]&&t[14]!==!1&&t[43]&&wf(),k=t[36]&&Sf(t);const E=t[69]["inner-start"],S=U(E,t,t[83],cl),I=[lv,rv],T=[];function A(B,q){return B[25]?0:1}l=A(t),f=T[l]=I[l](t);const y=t[69]["inner-end"],w=U(y,t,t[83],Wr),D=t[69].content,O=U(D,t,t[83],qr),L=t[69]["content-end"],j=U(L,t,t[83],Yr);let W=[{class:t[39]},t[38]],Y={};for(let B=0;B{k=null}),oe()),S&&S.p&&(!h||q[2]&2097152)&&x(S,E,B,B[83],h?Q(E,B[83],q,g0):$(B[83]),cl);let X=l;l=A(B),l===X?T[l].p(B,q):(le(),M(T[X],1,1,()=>{T[X]=null}),oe(),f=T[l],f?f.p(B,q):(f=T[l]=I[l](B),f.c()),C(f,1),f.m(o,c)),w&&w.p&&(!h||q[2]&2097152)&&x(w,y,B,B[83],h?Q(y,B[83],q,$g):$(B[83]),Wr),O&&O.p&&(!h||q[2]&2097152)&&x(O,D,B,B[83],h?Q(D,B[83],q,xg):$(B[83]),qr),j&&j.p&&(!h||q[2]&2097152)&&x(j,L,B,B[83],h?Q(L,B[83],q,Ug):$(B[83]),Yr),(!h||q[1]&512)&&se(n,"class",B[40]),Ae(e,Y=Ge(W,[(!h||q[1]&256)&&{class:B[39]},q[1]&128&&B[38]])),m&&Yt(m.update)&&q[0]&16777216&&m.update.call(null,B[24])},i(B){h||(C(v,B),C(k),C(S,B),C(f),C(w,B),C(O,B),C(j,B),h=!0)},o(B){M(v,B),M(k),M(S,B),M(f),M(w,B),M(O,B),M(j,B),h=!1},d(B){B&&F(e),v&&v.d(B),_&&_.d(),k&&k.d(),S&&S.d(B),T[l].d(),w&&w.d(B),t[77](null),O&&O.d(B),j&&j.d(B),t[78](null),p=!1,ln(b)}}}function $b(t){let e,n,s,a;const i=[uv,cv],o=[];function r(l,f){return l[37]?0:1}return n=r(t),s=o[n]=i[n](t),{c(){e=Z("div"),s.c(),se(e,"class","swipeout-content")},m(l,f){z(l,e,f),o[n].m(e,null),a=!0},p(l,f){let c=n;n=r(l),n===c?o[n].p(l,f):(le(),M(o[c],1,1,()=>{o[c]=null}),oe(),s=o[n],s?s.p(l,f):(s=o[n]=i[n](l),s.c()),C(s,1),s.m(e,null))},i(l){a||(C(s),a=!0)},o(l){M(s),a=!1},d(l){l&&F(e),o[n].d()}}}function Qb(t){let e,n,s,a,i,o,r,l,f,c,u,d,m,h;const p=t[69]["content-start"],b=U(p,t,t[83],mr);let g=t[44]&&t[14]!==!1&&t[43]&&No(),v=t[36]&&Vo(t);const _=t[69]["inner-start"],k=U(_,t,t[83],dr),E=[Jb,Zb],S=[];function I(L,j){return L[25]?0:1}r=I(t),l=S[r]=E[r](t);const T=t[69]["inner-end"],A=U(T,t,t[83],Xi),y=t[69].content,w=U(y,t,t[83],ji),D=t[69]["content-end"],O=U(D,t,t[83],Wi);return{c(){e=Z("div"),b&&b.c(),n=V(),g&&g.c(),s=V(),v&&v.c(),a=V(),i=Z("div"),k&&k.c(),o=V(),l.c(),f=V(),A&&A.c(),c=V(),w&&w.c(),u=V(),O&&O.c(),se(i,"class","item-inner"),se(e,"class",t[40])},m(L,j){z(L,e,j),b&&b.m(e,null),N(e,n),g&&g.m(e,null),N(e,s),v&&v.m(e,null),N(e,a),N(e,i),k&&k.m(i,null),N(i,o),S[r].m(i,null),N(i,f),A&&A.m(i,null),t[81](i),N(e,c),w&&w.m(e,null),N(e,u),O&&O.m(e,null),d=!0,m||(h=ht(e,"click",t[45]),m=!0)},p(L,j){b&&b.p&&(!d||j[2]&2097152)&&x(b,p,L,L[83],d?Q(p,L[83],j,kg):$(L[83]),mr),L[44]&&L[14]!==!1&&L[43]?g||(g=No(),g.c(),g.m(e,s)):g&&(g.d(1),g=null),L[36]?v?(v.p(L,j),j[1]&32&&C(v,1)):(v=Vo(L),v.c(),C(v,1),v.m(e,a)):v&&(le(),M(v,1,1,()=>{v=null}),oe()),k&&k.p&&(!d||j[2]&2097152)&&x(k,_,L,L[83],d?Q(_,L[83],j,vg):$(L[83]),dr);let W=r;r=I(L),r===W?S[r].p(L,j):(le(),M(S[W],1,1,()=>{S[W]=null}),oe(),l=S[r],l?l.p(L,j):(l=S[r]=E[r](L),l.c()),C(l,1),l.m(i,f)),A&&A.p&&(!d||j[2]&2097152)&&x(A,T,L,L[83],d?Q(T,L[83],j,Kh):$(L[83]),Xi),w&&w.p&&(!d||j[2]&2097152)&&x(w,y,L,L[83],d?Q(y,L[83],j,Qh):$(L[83]),ji),O&&O.p&&(!d||j[2]&2097152)&&x(O,D,L,L[83],d?Q(D,L[83],j,$h):$(L[83]),Wi),(!d||j[1]&512)&&se(e,"class",L[40])},i(L){d||(C(b,L),C(v),C(k,L),C(l),C(A,L),C(w,L),C(O,L),d=!0)},o(L){M(b,L),M(v),M(k,L),M(l),M(A,L),M(w,L),M(O,L),d=!1},d(L){L&&F(e),b&&b.d(L),g&&g.d(),v&&v.d(),k&&k.d(L),S[r].d(),A&&A.d(L),t[81](null),w&&w.d(L),O&&O.d(L),m=!1,h()}}}function Kb(t){let e,n,s,a,i,o,r,l,f,c,u,d,m,h,p,b,g,v,_,k,E;const S=t[69]["content-start"],I=U(S,t,t[83],Vr);let T=t[44]&&t[14]!==!1&&t[43]&&af(),A=t[36]&&rf(t);const y=t[69]["inner-start"],w=U(y,t,t[83],Fr),D=[sv,nv],O=[];function L(H,G){return H[25]?0:1}h=L(t),p=O[h]=D[h](t);const j=t[69]["inner-end"],W=U(j,t,t[83],br),Y=t[69].content,B=U(Y,t,t[83],gr),q=t[69]["content-end"],X=U(q,t,t[83],hr);return{c(){e=Z("label"),I&&I.c(),n=V(),T&&T.c(),s=V(),a=Z("input"),r=V(),l=Z("i"),c=V(),A&&A.c(),u=V(),d=Z("div"),w&&w.c(),m=V(),p.c(),b=V(),W&&W.c(),g=V(),B&&B.c(),v=V(),X&&X.c(),a.value=i=typeof t[19]>"u"?"":t[19],se(a,"name",t[18]),a.checked=t[0],a.readOnly=t[20],a.disabled=t[22],a.required=t[21],se(a,"type",o=t[17]?"radio":"checkbox"),se(l,"class",f=`icon icon-${t[17]?"radio":"checkbox"}`),se(d,"class","item-inner"),se(e,"class",t[40])},m(H,G){z(H,e,G),I&&I.m(e,null),N(e,n),T&&T.m(e,null),N(e,s),N(e,a),t[79](a),N(e,r),N(e,l),N(e,c),A&&A.m(e,null),N(e,u),N(e,d),w&&w.m(d,null),N(d,m),O[h].m(d,null),N(d,b),W&&W.m(d,null),t[80](d),N(e,g),B&&B.m(e,null),N(e,v),X&&X.m(e,null),_=!0,k||(E=[ht(a,"change",t[46]),ht(e,"click",t[45])],k=!0)},p(H,G){I&&I.p&&(!_||G[2]&2097152)&&x(I,S,H,H[83],_?Q(S,H[83],G,Gg):$(H[83]),Vr),H[44]&&H[14]!==!1&&H[43]?T||(T=af(),T.c(),T.m(e,s)):T&&(T.d(1),T=null),(!_||G[0]&524288&&i!==(i=typeof H[19]>"u"?"":H[19])&&a.value!==i)&&(a.value=i),(!_||G[0]&262144)&&se(a,"name",H[18]),(!_||G[0]&1)&&(a.checked=H[0]),(!_||G[0]&1048576)&&(a.readOnly=H[20]),(!_||G[0]&4194304)&&(a.disabled=H[22]),(!_||G[0]&2097152)&&(a.required=H[21]),(!_||G[0]&131072&&o!==(o=H[17]?"radio":"checkbox"))&&se(a,"type",o),(!_||G[0]&131072&&f!==(f=`icon icon-${H[17]?"radio":"checkbox"}`))&&se(l,"class",f),H[36]?A?(A.p(H,G),G[1]&32&&C(A,1)):(A=rf(H),A.c(),C(A,1),A.m(e,u)):A&&(le(),M(A,1,1,()=>{A=null}),oe()),w&&w.p&&(!_||G[2]&2097152)&&x(w,y,H,H[83],_?Q(y,H[83],G,jg):$(H[83]),Fr);let ce=h;h=L(H),h===ce?O[h].p(H,G):(le(),M(O[ce],1,1,()=>{O[ce]=null}),oe(),p=O[h],p?p.p(H,G):(p=O[h]=D[h](H),p.c()),C(p,1),p.m(d,b)),W&&W.p&&(!_||G[2]&2097152)&&x(W,j,H,H[83],_?Q(j,H[83],G,yg):$(H[83]),br),B&&B.p&&(!_||G[2]&2097152)&&x(B,Y,H,H[83],_?Q(Y,H[83],G,Cg):$(H[83]),gr),X&&X.p&&(!_||G[2]&2097152)&&x(X,q,H,H[83],_?Q(q,H[83],G,Eg):$(H[83]),hr),(!_||G[1]&512)&&se(e,"class",H[40])},i(H){_||(C(I,H),C(A),C(w,H),C(p),C(W,H),C(B,H),C(X,H),_=!0)},o(H){M(I,H),M(A),M(w,H),M(p),M(W,H),M(B,H),M(X,H),_=!1},d(H){H&&F(e),I&&I.d(H),T&&T.d(),t[79](null),A&&A.d(),w&&w.d(H),O[h].d(),W&&W.d(H),t[80](null),B&&B.d(H),X&&X.d(H),k=!1,ln(E)}}}function No(t){let e;return{c(){e=Z("div"),se(e,"class","sortable-handler")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function Vo(t){let e,n,s,a=typeof t[3]<"u"&&Yo(t);const i=t[69].media,o=U(i,t,t[83],pr);return{c(){e=Z("div"),a&&a.c(),n=V(),o&&o.c(),se(e,"class","item-media")},m(r,l){z(r,e,l),a&&a.m(e,null),N(e,n),o&&o.m(e,null),s=!0},p(r,l){typeof r[3]<"u"?a?a.p(r,l):(a=Yo(r),a.c(),a.m(e,n)):a&&(a.d(1),a=null),o&&o.p&&(!s||l[2]&2097152)&&x(o,i,r,r[83],s?Q(i,r[83],l,_g):$(r[83]),pr)},i(r){s||(C(o,r),s=!0)},o(r){M(o,r),s=!1},d(r){r&&F(e),a&&a.d(),o&&o.d(r)}}}function Yo(t){let e,n;return{c(){e=Z("img"),Rt(e.src,n=t[3])||se(e,"src",n)},m(s,a){z(s,e,a)},p(s,a){a[0]&8&&!Rt(e.src,n=s[3])&&se(e,"src",n)},d(s){s&&F(e)}}}function Zb(t){let e,n,s,a,i,o,r;const l=t[69]["before-title"],f=U(l,t,t[83],er);let c=(t[35]||t[34]||t[33])&&qo(t);const u=t[69]["after-title"],d=U(u,t,t[83],Qi);let m=t[30]&&Xo(t);const h=t[69].inner,p=U(h,t,t[83],Gi);let b=!(t[13]||t[15])&&xo(t);return{c(){f&&f.c(),e=V(),c&&c.c(),n=V(),d&&d.c(),s=V(),m&&m.c(),a=V(),p&&p.c(),i=V(),b&&b.c(),o=Ze()},m(g,v){f&&f.m(g,v),z(g,e,v),c&&c.m(g,v),z(g,n,v),d&&d.m(g,v),z(g,s,v),m&&m.m(g,v),z(g,a,v),p&&p.m(g,v),z(g,i,v),b&&b.m(g,v),z(g,o,v),r=!0},p(g,v){f&&f.p&&(!r||v[2]&2097152)&&x(f,l,g,g[83],r?Q(l,g[83],v,rg):$(g[83]),er),g[35]||g[34]||g[33]?c?(c.p(g,v),v[1]&28&&C(c,1)):(c=qo(g),c.c(),C(c,1),c.m(n.parentNode,n)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!r||v[2]&2097152)&&x(d,u,g,g[83],r?Q(u,g[83],v,ng):$(g[83]),Qi),g[30]?m?(m.p(g,v),v[0]&1073741824&&C(m,1)):(m=Xo(g),m.c(),C(m,1),m.m(a.parentNode,a)):m&&(le(),M(m,1,1,()=>{m=null}),oe()),p&&p.p&&(!r||v[2]&2097152)&&x(p,h,g,g[83],r?Q(h,g[83],v,Zh):$(g[83]),Gi),g[13]||g[15]?b&&(le(),M(b,1,1,()=>{b=null}),oe()):b?(b.p(g,v),v[0]&40960&&C(b,1)):(b=xo(g),b.c(),C(b,1),b.m(o.parentNode,o))},i(g){r||(C(f,g),C(c),C(d,g),C(m),C(p,g),C(b),r=!0)},o(g){M(f,g),M(c),M(d,g),M(m),M(p,g),M(b),r=!1},d(g){g&&(F(e),F(n),F(s),F(a),F(i),F(o)),f&&f.d(g),c&&c.d(g),d&&d.d(g),m&&m.d(g),p&&p.d(g),b&&b.d(g)}}}function Jb(t){let e,n,s,a,i,o,r,l,f,c,u,d,m=t[34]&&$o(t);const h=t[69]["before-title"],p=U(h,t,t[83],cr);let b=t[35]&&Qo(t);const g=t[69]["after-title"],v=U(g,t,t[83],or);let _=t[30]&&Ko(t),k=t[32]&&ef(t),E=t[31]&&tf(t);const S=t[69].inner,I=U(S,t,t[83],nr);let T=!(t[13]||t[15])&&nf(t),A=t[33]&&sf(t);return{c(){m&&m.c(),e=V(),n=Z("div"),p&&p.c(),s=V(),b&&b.c(),a=V(),v&&v.c(),i=V(),_&&_.c(),o=V(),k&&k.c(),r=V(),E&&E.c(),l=V(),I&&I.c(),f=V(),T&&T.c(),c=V(),A&&A.c(),u=Ze(),se(n,"class","item-title-row")},m(y,w){m&&m.m(y,w),z(y,e,w),z(y,n,w),p&&p.m(n,null),N(n,s),b&&b.m(n,null),N(n,a),v&&v.m(n,null),N(n,i),_&&_.m(n,null),z(y,o,w),k&&k.m(y,w),z(y,r,w),E&&E.m(y,w),z(y,l,w),I&&I.m(y,w),z(y,f,w),T&&T.m(y,w),z(y,c,w),A&&A.m(y,w),z(y,u,w),d=!0},p(y,w){y[34]?m?(m.p(y,w),w[1]&8&&C(m,1)):(m=$o(y),m.c(),C(m,1),m.m(e.parentNode,e)):m&&(le(),M(m,1,1,()=>{m=null}),oe()),p&&p.p&&(!d||w[2]&2097152)&&x(p,h,y,y[83],d?Q(h,y[83],w,gg):$(y[83]),cr),y[35]?b?(b.p(y,w),w[1]&16&&C(b,1)):(b=Qo(y),b.c(),C(b,1),b.m(n,a)):b&&(le(),M(b,1,1,()=>{b=null}),oe()),v&&v.p&&(!d||w[2]&2097152)&&x(v,g,y,y[83],d?Q(g,y[83],w,mg):$(y[83]),or),y[30]?_?(_.p(y,w),w[0]&1073741824&&C(_,1)):(_=Ko(y),_.c(),C(_,1),_.m(n,null)):_&&(le(),M(_,1,1,()=>{_=null}),oe()),y[32]?k?(k.p(y,w),w[1]&2&&C(k,1)):(k=ef(y),k.c(),C(k,1),k.m(r.parentNode,r)):k&&(le(),M(k,1,1,()=>{k=null}),oe()),y[31]?E?(E.p(y,w),w[1]&1&&C(E,1)):(E=tf(y),E.c(),C(E,1),E.m(l.parentNode,l)):E&&(le(),M(E,1,1,()=>{E=null}),oe()),I&&I.p&&(!d||w[2]&2097152)&&x(I,S,y,y[83],d?Q(S,y[83],w,og):$(y[83]),nr),y[13]||y[15]?T&&(le(),M(T,1,1,()=>{T=null}),oe()):T?(T.p(y,w),w[0]&40960&&C(T,1)):(T=nf(y),T.c(),C(T,1),T.m(c.parentNode,c)),y[33]?A?(A.p(y,w),w[1]&4&&C(A,1)):(A=sf(y),A.c(),C(A,1),A.m(u.parentNode,u)):A&&(le(),M(A,1,1,()=>{A=null}),oe())},i(y){d||(C(m),C(p,y),C(b),C(v,y),C(_),C(k),C(E),C(I,y),C(T),C(A),d=!0)},o(y){M(m),M(p,y),M(b),M(v,y),M(_),M(k),M(E),M(I,y),M(T),M(A),d=!1},d(y){y&&(F(e),F(n),F(o),F(r),F(l),F(f),F(c),F(u)),m&&m.d(y),p&&p.d(y),b&&b.d(),v&&v.d(y),_&&_.d(),k&&k.d(y),E&&E.d(y),I&&I.d(y),T&&T.d(y),A&&A.d(y)}}}function qo(t){let e,n,s=ie(t[1])+"",a,i,o,r,l=t[34]&&Wo(t);const f=t[69].title,c=U(f,t,t[83],Zi);let u=t[33]&&jo(t);return{c(){e=Z("div"),l&&l.c(),n=V(),a=ge(s),i=V(),c&&c.c(),o=V(),u&&u.c(),se(e,"class","item-title")},m(d,m){z(d,e,m),l&&l.m(e,null),N(e,n),N(e,a),N(e,i),c&&c.m(e,null),N(e,o),u&&u.m(e,null),r=!0},p(d,m){d[34]?l?(l.p(d,m),m[1]&8&&C(l,1)):(l=Wo(d),l.c(),C(l,1),l.m(e,n)):l&&(le(),M(l,1,1,()=>{l=null}),oe()),(!r||m[0]&2)&&s!==(s=ie(d[1])+"")&&we(a,s),c&&c.p&&(!r||m[2]&2097152)&&x(c,f,d,d[83],r?Q(f,d[83],m,ag):$(d[83]),Zi),d[33]?u?(u.p(d,m),m[1]&4&&C(u,1)):(u=jo(d),u.c(),C(u,1),u.m(e,null)):u&&(le(),M(u,1,1,()=>{u=null}),oe())},i(d){r||(C(l),C(c,d),C(u),r=!0)},o(d){M(l),M(c,d),M(u),r=!1},d(d){d&&F(e),l&&l.d(),c&&c.d(d),u&&u.d()}}}function Wo(t){let e,n=ie(t[5])+"",s,a,i;const o=t[69].header,r=U(o,t,t[83],Ji);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-header")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&32)&&n!==(n=ie(l[5])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,ig):$(l[83]),Ji)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function jo(t){let e,n=ie(t[6])+"",s,a,i;const o=t[69].footer,r=U(o,t,t[83],Ki);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-footer")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&64)&&n!==(n=ie(l[6])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,sg):$(l[83]),Ki)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Xo(t){let e,n,s,a,i,o;const r=t[69]["after-start"],l=U(r,t,t[83],$i);let f=typeof t[9]<"u"&&Go(t),c=typeof t[10]<"u"&&Uo(t);const u=t[69].after,d=U(u,t,t[83],xi),m=t[69]["after-end"],h=U(m,t,t[83],Ui);return{c(){e=Z("div"),l&&l.c(),n=V(),f&&f.c(),s=V(),c&&c.c(),a=V(),d&&d.c(),i=V(),h&&h.c(),se(e,"class","item-after")},m(p,b){z(p,e,b),l&&l.m(e,null),N(e,n),f&&f.m(e,null),N(e,s),c&&c.m(e,null),N(e,a),d&&d.m(e,null),N(e,i),h&&h.m(e,null),o=!0},p(p,b){l&&l.p&&(!o||b[2]&2097152)&&x(l,r,p,p[83],o?Q(r,p[83],b,tg):$(p[83]),$i),typeof p[9]<"u"?f?f.p(p,b):(f=Go(p),f.c(),f.m(e,s)):f&&(f.d(1),f=null),typeof p[10]<"u"?c?(c.p(p,b),b[0]&1024&&C(c,1)):(c=Uo(p),c.c(),C(c,1),c.m(e,a)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!o||b[2]&2097152)&&x(d,u,p,p[83],o?Q(u,p[83],b,eg):$(p[83]),xi),h&&h.p&&(!o||b[2]&2097152)&&x(h,m,p,p[83],o?Q(m,p[83],b,Jh):$(p[83]),Ui)},i(p){o||(C(l,p),C(c),C(d,p),C(h,p),o=!0)},o(p){M(l,p),M(c),M(d,p),M(h,p),o=!1},d(p){p&&F(e),l&&l.d(p),f&&f.d(),c&&c.d(),d&&d.d(p),h&&h.d(p)}}}function Go(t){let e,n=ie(t[9])+"",s;return{c(){e=Z("span"),s=ge(n)},m(a,i){z(a,e,i),N(e,s)},p(a,i){i[0]&512&&n!==(n=ie(a[9])+"")&&we(s,n)},d(a){a&&F(e)}}}function Uo(t){let e,n;return e=new zt({props:{color:t[11],$$slots:{default:[ev]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&2048&&(i.color=s[11]),a[0]&1024|a[2]&2097152&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function ev(t){let e=ie(t[10])+"",n;return{c(){n=ge(e)},m(s,a){z(s,n,a)},p(s,a){a[0]&1024&&e!==(e=ie(s[10])+"")&&we(n,e)},d(s){s&&F(n)}}}function xo(t){let e;const n=t[69].default,s=U(n,t,t[83],null);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,i){s&&s.p&&(!e||i[2]&2097152)&&x(s,n,a,a[83],e?Q(n,a[83],i,null):$(a[83]),null)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function $o(t){let e,n=ie(t[5])+"",s,a,i;const o=t[69].header,r=U(o,t,t[83],ur);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-header")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&32)&&n!==(n=ie(l[5])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,bg):$(l[83]),ur)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Qo(t){let e,n=ie(t[1])+"",s,a,i;const o=t[69].title,r=U(o,t,t[83],fr);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-title")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&2)&&n!==(n=ie(l[1])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,hg):$(l[83]),fr)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Ko(t){let e,n,s,a,i,o;const r=t[69]["after-start"],l=U(r,t,t[83],lr);let f=typeof t[9]<"u"&&Zo(t),c=typeof t[10]<"u"&&Jo(t);const u=t[69].after,d=U(u,t,t[83],rr),m=t[69]["after-end"],h=U(m,t,t[83],ir);return{c(){e=Z("div"),l&&l.c(),n=V(),f&&f.c(),s=V(),c&&c.c(),a=V(),d&&d.c(),i=V(),h&&h.c(),se(e,"class","item-after")},m(p,b){z(p,e,b),l&&l.m(e,null),N(e,n),f&&f.m(e,null),N(e,s),c&&c.m(e,null),N(e,a),d&&d.m(e,null),N(e,i),h&&h.m(e,null),o=!0},p(p,b){l&&l.p&&(!o||b[2]&2097152)&&x(l,r,p,p[83],o?Q(r,p[83],b,pg):$(p[83]),lr),typeof p[9]<"u"?f?f.p(p,b):(f=Zo(p),f.c(),f.m(e,s)):f&&(f.d(1),f=null),typeof p[10]<"u"?c?(c.p(p,b),b[0]&1024&&C(c,1)):(c=Jo(p),c.c(),C(c,1),c.m(e,a)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!o||b[2]&2097152)&&x(d,u,p,p[83],o?Q(u,p[83],b,dg):$(p[83]),rr),h&&h.p&&(!o||b[2]&2097152)&&x(h,m,p,p[83],o?Q(m,p[83],b,ug):$(p[83]),ir)},i(p){o||(C(l,p),C(c),C(d,p),C(h,p),o=!0)},o(p){M(l,p),M(c),M(d,p),M(h,p),o=!1},d(p){p&&F(e),l&&l.d(p),f&&f.d(),c&&c.d(),d&&d.d(p),h&&h.d(p)}}}function Zo(t){let e,n=ie(t[9])+"",s;return{c(){e=Z("span"),s=ge(n)},m(a,i){z(a,e,i),N(e,s)},p(a,i){i[0]&512&&n!==(n=ie(a[9])+"")&&we(s,n)},d(a){a&&F(e)}}}function Jo(t){let e,n;return e=new zt({props:{color:t[11],$$slots:{default:[tv]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&2048&&(i.color=s[11]),a[0]&1024|a[2]&2097152&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function tv(t){let e=ie(t[10])+"",n;return{c(){n=ge(e)},m(s,a){z(s,n,a)},p(s,a){a[0]&1024&&e!==(e=ie(s[10])+"")&&we(n,e)},d(s){s&&F(n)}}}function ef(t){let e,n=ie(t[4])+"",s,a,i;const o=t[69].subtitle,r=U(o,t,t[83],ar);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-subtitle")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&16)&&n!==(n=ie(l[4])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,cg):$(l[83]),ar)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function tf(t){let e,n=ie(t[2])+"",s,a,i;const o=t[69].text,r=U(o,t,t[83],sr);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-text")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&4)&&n!==(n=ie(l[2])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,fg):$(l[83]),sr)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function nf(t){let e;const n=t[69].default,s=U(n,t,t[83],null);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,i){s&&s.p&&(!e||i[2]&2097152)&&x(s,n,a,a[83],e?Q(n,a[83],i,null):$(a[83]),null)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function sf(t){let e,n=ie(t[6])+"",s,a,i;const o=t[69].footer,r=U(o,t,t[83],tr);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-footer")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&64)&&n!==(n=ie(l[6])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,lg):$(l[83]),tr)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function af(t){let e;return{c(){e=Z("div"),se(e,"class","sortable-handler")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function rf(t){let e,n,s,a=typeof t[3]<"u"&&lf(t);const i=t[69].media,o=U(i,t,t[83],Nr);return{c(){e=Z("div"),a&&a.c(),n=V(),o&&o.c(),se(e,"class","item-media")},m(r,l){z(r,e,l),a&&a.m(e,null),N(e,n),o&&o.m(e,null),s=!0},p(r,l){typeof r[3]<"u"?a?a.p(r,l):(a=lf(r),a.c(),a.m(e,n)):a&&(a.d(1),a=null),o&&o.p&&(!s||l[2]&2097152)&&x(o,i,r,r[83],s?Q(i,r[83],l,Xg):$(r[83]),Nr)},i(r){s||(C(o,r),s=!0)},o(r){M(o,r),s=!1},d(r){r&&F(e),a&&a.d(),o&&o.d(r)}}}function lf(t){let e,n;return{c(){e=Z("img"),Rt(e.src,n=t[3])||se(e,"src",n)},m(s,a){z(s,e,a)},p(s,a){a[0]&8&&!Rt(e.src,n=s[3])&&se(e,"src",n)},d(s){s&&F(e)}}}function nv(t){let e,n,s,a,i,o,r;const l=t[69]["before-title"],f=U(l,t,t[83],Tr);let c=(t[35]||t[34]||t[33])&&of(t);const u=t[69]["after-title"],d=U(u,t,t[83],Cr);let m=t[30]&&uf(t);const h=t[69].inner,p=U(h,t,t[83],vr);let b=!(t[13]||t[15])&&mf(t);return{c(){f&&f.c(),e=V(),c&&c.c(),n=V(),d&&d.c(),s=V(),m&&m.c(),a=V(),p&&p.c(),i=V(),b&&b.c(),o=Ze()},m(g,v){f&&f.m(g,v),z(g,e,v),c&&c.m(g,v),z(g,n,v),d&&d.m(g,v),z(g,s,v),m&&m.m(g,v),z(g,a,v),p&&p.m(g,v),z(g,i,v),b&&b.m(g,v),z(g,o,v),r=!0},p(g,v){f&&f.p&&(!r||v[2]&2097152)&&x(f,l,g,g[83],r?Q(l,g[83],v,Bg):$(g[83]),Tr),g[35]||g[34]||g[33]?c?(c.p(g,v),v[1]&28&&C(c,1)):(c=of(g),c.c(),C(c,1),c.m(n.parentNode,n)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!r||v[2]&2097152)&&x(d,u,g,g[83],r?Q(u,g[83],v,Pg):$(g[83]),Cr),g[30]?m?(m.p(g,v),v[0]&1073741824&&C(m,1)):(m=uf(g),m.c(),C(m,1),m.m(a.parentNode,a)):m&&(le(),M(m,1,1,()=>{m=null}),oe()),p&&p.p&&(!r||v[2]&2097152)&&x(p,h,g,g[83],r?Q(h,g[83],v,wg):$(g[83]),vr),g[13]||g[15]?b&&(le(),M(b,1,1,()=>{b=null}),oe()):b?(b.p(g,v),v[0]&40960&&C(b,1)):(b=mf(g),b.c(),C(b,1),b.m(o.parentNode,o))},i(g){r||(C(f,g),C(c),C(d,g),C(m),C(p,g),C(b),r=!0)},o(g){M(f,g),M(c),M(d,g),M(m),M(p,g),M(b),r=!1},d(g){g&&(F(e),F(n),F(s),F(a),F(i),F(o)),f&&f.d(g),c&&c.d(g),d&&d.d(g),m&&m.d(g),p&&p.d(g),b&&b.d(g)}}}function sv(t){let e,n,s,a,i,o,r,l,f,c,u,d,m=t[34]&&hf(t);const h=t[69]["before-title"],p=U(h,t,t[83],Hr);let b=t[35]&&gf(t);const g=t[69]["after-title"],v=U(g,t,t[83],Dr);let _=t[30]&&bf(t),k=t[32]&&kf(t),E=t[31]&&Ef(t);const S=t[69].inner,I=U(S,t,t[83],Pr);let T=!(t[13]||t[15])&&Cf(t),A=t[33]&&yf(t);return{c(){m&&m.c(),e=V(),n=Z("div"),p&&p.c(),s=V(),b&&b.c(),a=V(),v&&v.c(),i=V(),_&&_.c(),o=V(),k&&k.c(),r=V(),E&&E.c(),l=V(),I&&I.c(),f=V(),T&&T.c(),c=V(),A&&A.c(),u=Ze(),se(n,"class","item-title-row")},m(y,w){m&&m.m(y,w),z(y,e,w),z(y,n,w),p&&p.m(n,null),N(n,s),b&&b.m(n,null),N(n,a),v&&v.m(n,null),N(n,i),_&&_.m(n,null),z(y,o,w),k&&k.m(y,w),z(y,r,w),E&&E.m(y,w),z(y,l,w),I&&I.m(y,w),z(y,f,w),T&&T.m(y,w),z(y,c,w),A&&A.m(y,w),z(y,u,w),d=!0},p(y,w){y[34]?m?(m.p(y,w),w[1]&8&&C(m,1)):(m=hf(y),m.c(),C(m,1),m.m(e.parentNode,e)):m&&(le(),M(m,1,1,()=>{m=null}),oe()),p&&p.p&&(!d||w[2]&2097152)&&x(p,h,y,y[83],d?Q(h,y[83],w,qg):$(y[83]),Hr),y[35]?b?(b.p(y,w),w[1]&16&&C(b,1)):(b=gf(y),b.c(),C(b,1),b.m(n,a)):b&&(le(),M(b,1,1,()=>{b=null}),oe()),v&&v.p&&(!d||w[2]&2097152)&&x(v,g,y,y[83],d?Q(g,y[83],w,Vg):$(y[83]),Dr),y[30]?_?(_.p(y,w),w[0]&1073741824&&C(_,1)):(_=bf(y),_.c(),C(_,1),_.m(n,null)):_&&(le(),M(_,1,1,()=>{_=null}),oe()),y[32]?k?(k.p(y,w),w[1]&2&&C(k,1)):(k=kf(y),k.c(),C(k,1),k.m(r.parentNode,r)):k&&(le(),M(k,1,1,()=>{k=null}),oe()),y[31]?E?(E.p(y,w),w[1]&1&&C(E,1)):(E=Ef(y),E.c(),C(E,1),E.m(l.parentNode,l)):E&&(le(),M(E,1,1,()=>{E=null}),oe()),I&&I.p&&(!d||w[2]&2097152)&&x(I,S,y,y[83],d?Q(S,y[83],w,Dg):$(y[83]),Pr),y[13]||y[15]?T&&(le(),M(T,1,1,()=>{T=null}),oe()):T?(T.p(y,w),w[0]&40960&&C(T,1)):(T=Cf(y),T.c(),C(T,1),T.m(c.parentNode,c)),y[33]?A?(A.p(y,w),w[1]&4&&C(A,1)):(A=yf(y),A.c(),C(A,1),A.m(u.parentNode,u)):A&&(le(),M(A,1,1,()=>{A=null}),oe())},i(y){d||(C(m),C(p,y),C(b),C(v,y),C(_),C(k),C(E),C(I,y),C(T),C(A),d=!0)},o(y){M(m),M(p,y),M(b),M(v,y),M(_),M(k),M(E),M(I,y),M(T),M(A),d=!1},d(y){y&&(F(e),F(n),F(o),F(r),F(l),F(f),F(c),F(u)),m&&m.d(y),p&&p.d(y),b&&b.d(),v&&v.d(y),_&&_.d(),k&&k.d(y),E&&E.d(y),I&&I.d(y),T&&T.d(y),A&&A.d(y)}}}function of(t){let e,n,s=ie(t[1])+"",a,i,o,r,l=t[34]&&ff(t);const f=t[69].title,c=U(f,t,t[83],wr);let u=t[33]&&cf(t);return{c(){e=Z("div"),l&&l.c(),n=V(),a=ge(s),i=V(),c&&c.c(),o=V(),u&&u.c(),se(e,"class","item-title")},m(d,m){z(d,e,m),l&&l.m(e,null),N(e,n),N(e,a),N(e,i),c&&c.m(e,null),N(e,o),u&&u.m(e,null),r=!0},p(d,m){d[34]?l?(l.p(d,m),m[1]&8&&C(l,1)):(l=ff(d),l.c(),C(l,1),l.m(e,n)):l&&(le(),M(l,1,1,()=>{l=null}),oe()),(!r||m[0]&2)&&s!==(s=ie(d[1])+"")&&we(a,s),c&&c.p&&(!r||m[2]&2097152)&&x(c,f,d,d[83],r?Q(f,d[83],m,Ag):$(d[83]),wr),d[33]?u?(u.p(d,m),m[1]&4&&C(u,1)):(u=cf(d),u.c(),C(u,1),u.m(e,null)):u&&(le(),M(u,1,1,()=>{u=null}),oe())},i(d){r||(C(l),C(c,d),C(u),r=!0)},o(d){M(l),M(c,d),M(u),r=!1},d(d){d&&F(e),l&&l.d(),c&&c.d(d),u&&u.d()}}}function ff(t){let e,n=ie(t[5])+"",s,a,i;const o=t[69].header,r=U(o,t,t[83],Sr);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-header")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&32)&&n!==(n=ie(l[5])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,Og):$(l[83]),Sr)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function cf(t){let e,n=ie(t[6])+"",s,a,i;const o=t[69].footer,r=U(o,t,t[83],yr);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-footer")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&64)&&n!==(n=ie(l[6])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,Ig):$(l[83]),yr)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function uf(t){let e,n,s,a,i,o;const r=t[69]["after-start"],l=U(r,t,t[83],Er);let f=typeof t[9]<"u"&&df(t),c=typeof t[10]<"u"&&pf(t);const u=t[69].after,d=U(u,t,t[83],kr),m=t[69]["after-end"],h=U(m,t,t[83],_r);return{c(){e=Z("div"),l&&l.c(),n=V(),f&&f.c(),s=V(),c&&c.c(),a=V(),d&&d.c(),i=V(),h&&h.c(),se(e,"class","item-after")},m(p,b){z(p,e,b),l&&l.m(e,null),N(e,n),f&&f.m(e,null),N(e,s),c&&c.m(e,null),N(e,a),d&&d.m(e,null),N(e,i),h&&h.m(e,null),o=!0},p(p,b){l&&l.p&&(!o||b[2]&2097152)&&x(l,r,p,p[83],o?Q(r,p[83],b,Mg):$(p[83]),Er),typeof p[9]<"u"?f?f.p(p,b):(f=df(p),f.c(),f.m(e,s)):f&&(f.d(1),f=null),typeof p[10]<"u"?c?(c.p(p,b),b[0]&1024&&C(c,1)):(c=pf(p),c.c(),C(c,1),c.m(e,a)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!o||b[2]&2097152)&&x(d,u,p,p[83],o?Q(u,p[83],b,Tg):$(p[83]),kr),h&&h.p&&(!o||b[2]&2097152)&&x(h,m,p,p[83],o?Q(m,p[83],b,Sg):$(p[83]),_r)},i(p){o||(C(l,p),C(c),C(d,p),C(h,p),o=!0)},o(p){M(l,p),M(c),M(d,p),M(h,p),o=!1},d(p){p&&F(e),l&&l.d(p),f&&f.d(),c&&c.d(),d&&d.d(p),h&&h.d(p)}}}function df(t){let e,n=ie(t[9])+"",s;return{c(){e=Z("span"),s=ge(n)},m(a,i){z(a,e,i),N(e,s)},p(a,i){i[0]&512&&n!==(n=ie(a[9])+"")&&we(s,n)},d(a){a&&F(e)}}}function pf(t){let e,n;return e=new zt({props:{color:t[11],$$slots:{default:[av]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&2048&&(i.color=s[11]),a[0]&1024|a[2]&2097152&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function av(t){let e=ie(t[10])+"",n;return{c(){n=ge(e)},m(s,a){z(s,n,a)},p(s,a){a[0]&1024&&e!==(e=ie(s[10])+"")&&we(n,e)},d(s){s&&F(n)}}}function mf(t){let e;const n=t[69].default,s=U(n,t,t[83],null);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,i){s&&s.p&&(!e||i[2]&2097152)&&x(s,n,a,a[83],e?Q(n,a[83],i,null):$(a[83]),null)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function hf(t){let e,n=ie(t[5])+"",s,a,i;const o=t[69].header,r=U(o,t,t[83],zr);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-header")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&32)&&n!==(n=ie(l[5])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,Wg):$(l[83]),zr)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function gf(t){let e,n=ie(t[1])+"",s,a,i;const o=t[69].title,r=U(o,t,t[83],Rr);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-title")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&2)&&n!==(n=ie(l[1])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,Yg):$(l[83]),Rr)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function bf(t){let e,n,s,a,i,o;const r=t[69]["after-start"],l=U(r,t,t[83],Lr);let f=typeof t[9]<"u"&&vf(t),c=typeof t[10]<"u"&&_f(t);const u=t[69].after,d=U(u,t,t[83],Br),m=t[69]["after-end"],h=U(m,t,t[83],Or);return{c(){e=Z("div"),l&&l.c(),n=V(),f&&f.c(),s=V(),c&&c.c(),a=V(),d&&d.c(),i=V(),h&&h.c(),se(e,"class","item-after")},m(p,b){z(p,e,b),l&&l.m(e,null),N(e,n),f&&f.m(e,null),N(e,s),c&&c.m(e,null),N(e,a),d&&d.m(e,null),N(e,i),h&&h.m(e,null),o=!0},p(p,b){l&&l.p&&(!o||b[2]&2097152)&&x(l,r,p,p[83],o?Q(r,p[83],b,Ng):$(p[83]),Lr),typeof p[9]<"u"?f?f.p(p,b):(f=vf(p),f.c(),f.m(e,s)):f&&(f.d(1),f=null),typeof p[10]<"u"?c?(c.p(p,b),b[0]&1024&&C(c,1)):(c=_f(p),c.c(),C(c,1),c.m(e,a)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!o||b[2]&2097152)&&x(d,u,p,p[83],o?Q(u,p[83],b,Fg):$(p[83]),Br),h&&h.p&&(!o||b[2]&2097152)&&x(h,m,p,p[83],o?Q(m,p[83],b,zg):$(p[83]),Or)},i(p){o||(C(l,p),C(c),C(d,p),C(h,p),o=!0)},o(p){M(l,p),M(c),M(d,p),M(h,p),o=!1},d(p){p&&F(e),l&&l.d(p),f&&f.d(),c&&c.d(),d&&d.d(p),h&&h.d(p)}}}function vf(t){let e,n=ie(t[9])+"",s;return{c(){e=Z("span"),s=ge(n)},m(a,i){z(a,e,i),N(e,s)},p(a,i){i[0]&512&&n!==(n=ie(a[9])+"")&&we(s,n)},d(a){a&&F(e)}}}function _f(t){let e,n;return e=new zt({props:{color:t[11],$$slots:{default:[iv]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&2048&&(i.color=s[11]),a[0]&1024|a[2]&2097152&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function iv(t){let e=ie(t[10])+"",n;return{c(){n=ge(e)},m(s,a){z(s,n,a)},p(s,a){a[0]&1024&&e!==(e=ie(s[10])+"")&&we(n,e)},d(s){s&&F(n)}}}function kf(t){let e,n=ie(t[4])+"",s,a,i;const o=t[69].subtitle,r=U(o,t,t[83],Ar);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-subtitle")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&16)&&n!==(n=ie(l[4])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,Hg):$(l[83]),Ar)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Ef(t){let e,n=ie(t[2])+"",s,a,i;const o=t[69].text,r=U(o,t,t[83],Ir);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-text")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&4)&&n!==(n=ie(l[2])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,Rg):$(l[83]),Ir)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Cf(t){let e;const n=t[69].default,s=U(n,t,t[83],null);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,i){s&&s.p&&(!e||i[2]&2097152)&&x(s,n,a,a[83],e?Q(n,a[83],i,null):$(a[83]),null)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function yf(t){let e,n=ie(t[6])+"",s,a,i;const o=t[69].footer,r=U(o,t,t[83],Mr);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-footer")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&64)&&n!==(n=ie(l[6])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,Lg):$(l[83]),Mr)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function wf(t){let e;return{c(){e=Z("div"),se(e,"class","sortable-handler")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function Sf(t){let e,n,s,a=typeof t[3]<"u"&&Tf(t);const i=t[69].media,o=U(i,t,t[83],ul);return{c(){e=Z("div"),a&&a.c(),n=V(),o&&o.c(),se(e,"class","item-media")},m(r,l){z(r,e,l),a&&a.m(e,null),N(e,n),o&&o.m(e,null),s=!0},p(r,l){typeof r[3]<"u"?a?a.p(r,l):(a=Tf(r),a.c(),a.m(e,n)):a&&(a.d(1),a=null),o&&o.p&&(!s||l[2]&2097152)&&x(o,i,r,r[83],s?Q(i,r[83],l,b0):$(r[83]),ul)},i(r){s||(C(o,r),s=!0)},o(r){M(o,r),s=!1},d(r){r&&F(e),a&&a.d(),o&&o.d(r)}}}function Tf(t){let e,n;return{c(){e=Z("img"),Rt(e.src,n=t[3])||se(e,"src",n)},m(s,a){z(s,e,a)},p(s,a){a[0]&8&&!Rt(e.src,n=s[3])&&se(e,"src",n)},d(s){s&&F(e)}}}function rv(t){let e,n,s,a,i,o,r;const l=t[69]["before-title"],f=U(l,t,t[83],Zr);let c=(t[35]||t[34]||t[33])&&Mf(t);const u=t[69]["after-title"],d=U(u,t,t[83],xr);let m=t[30]&&Af(t);const h=t[69].inner,p=U(h,t,t[83],jr);let b=!(t[13]||t[15])&&Lf(t);return{c(){f&&f.c(),e=V(),c&&c.c(),n=V(),d&&d.c(),s=V(),m&&m.c(),a=V(),p&&p.c(),i=V(),b&&b.c(),o=Ze()},m(g,v){f&&f.m(g,v),z(g,e,v),c&&c.m(g,v),z(g,n,v),d&&d.m(g,v),z(g,s,v),m&&m.m(g,v),z(g,a,v),p&&p.m(g,v),z(g,i,v),b&&b.m(g,v),z(g,o,v),r=!0},p(g,v){f&&f.p&&(!r||v[2]&2097152)&&x(f,l,g,g[83],r?Q(l,g[83],v,a0):$(g[83]),Zr),g[35]||g[34]||g[33]?c?(c.p(g,v),v[1]&28&&C(c,1)):(c=Mf(g),c.c(),C(c,1),c.m(n.parentNode,n)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!r||v[2]&2097152)&&x(d,u,g,g[83],r?Q(u,g[83],v,e0):$(g[83]),xr),g[30]?m?(m.p(g,v),v[0]&1073741824&&C(m,1)):(m=Af(g),m.c(),C(m,1),m.m(a.parentNode,a)):m&&(le(),M(m,1,1,()=>{m=null}),oe()),p&&p.p&&(!r||v[2]&2097152)&&x(p,h,g,g[83],r?Q(h,g[83],v,Qg):$(g[83]),jr),g[13]||g[15]?b&&(le(),M(b,1,1,()=>{b=null}),oe()):b?(b.p(g,v),v[0]&40960&&C(b,1)):(b=Lf(g),b.c(),C(b,1),b.m(o.parentNode,o))},i(g){r||(C(f,g),C(c),C(d,g),C(m),C(p,g),C(b),r=!0)},o(g){M(f,g),M(c),M(d,g),M(m),M(p,g),M(b),r=!1},d(g){g&&(F(e),F(n),F(s),F(a),F(i),F(o)),f&&f.d(g),c&&c.d(g),d&&d.d(g),m&&m.d(g),p&&p.d(g),b&&b.d(g)}}}function lv(t){let e,n,s,a,i,o,r,l,f,c,u,d,m=t[34]&&Df(t);const h=t[69]["before-title"],p=U(h,t,t[83],ol);let b=t[35]&&Rf(t);const g=t[69]["after-title"],v=U(g,t,t[83],rl);let _=t[30]&&Hf(t),k=t[32]&&Nf(t),E=t[31]&&Vf(t);const S=t[69].inner,I=U(S,t,t[83],el);let T=!(t[13]||t[15])&&Yf(t),A=t[33]&&qf(t);return{c(){m&&m.c(),e=V(),n=Z("div"),p&&p.c(),s=V(),b&&b.c(),a=V(),v&&v.c(),i=V(),_&&_.c(),o=V(),k&&k.c(),r=V(),E&&E.c(),l=V(),I&&I.c(),f=V(),T&&T.c(),c=V(),A&&A.c(),u=Ze(),se(n,"class","item-title-row")},m(y,w){m&&m.m(y,w),z(y,e,w),z(y,n,w),p&&p.m(n,null),N(n,s),b&&b.m(n,null),N(n,a),v&&v.m(n,null),N(n,i),_&&_.m(n,null),z(y,o,w),k&&k.m(y,w),z(y,r,w),E&&E.m(y,w),z(y,l,w),I&&I.m(y,w),z(y,f,w),T&&T.m(y,w),z(y,c,w),A&&A.m(y,w),z(y,u,w),d=!0},p(y,w){y[34]?m?(m.p(y,w),w[1]&8&&C(m,1)):(m=Df(y),m.c(),C(m,1),m.m(e.parentNode,e)):m&&(le(),M(m,1,1,()=>{m=null}),oe()),p&&p.p&&(!d||w[2]&2097152)&&x(p,h,y,y[83],d?Q(h,y[83],w,m0):$(y[83]),ol),y[35]?b?(b.p(y,w),w[1]&16&&C(b,1)):(b=Rf(y),b.c(),C(b,1),b.m(n,a)):b&&(le(),M(b,1,1,()=>{b=null}),oe()),v&&v.p&&(!d||w[2]&2097152)&&x(v,g,y,y[83],d?Q(g,y[83],w,d0):$(y[83]),rl),y[30]?_?(_.p(y,w),w[0]&1073741824&&C(_,1)):(_=Hf(y),_.c(),C(_,1),_.m(n,null)):_&&(le(),M(_,1,1,()=>{_=null}),oe()),y[32]?k?(k.p(y,w),w[1]&2&&C(k,1)):(k=Nf(y),k.c(),C(k,1),k.m(r.parentNode,r)):k&&(le(),M(k,1,1,()=>{k=null}),oe()),y[31]?E?(E.p(y,w),w[1]&1&&C(E,1)):(E=Vf(y),E.c(),C(E,1),E.m(l.parentNode,l)):E&&(le(),M(E,1,1,()=>{E=null}),oe()),I&&I.p&&(!d||w[2]&2097152)&&x(I,S,y,y[83],d?Q(S,y[83],w,r0):$(y[83]),el),y[13]||y[15]?T&&(le(),M(T,1,1,()=>{T=null}),oe()):T?(T.p(y,w),w[0]&40960&&C(T,1)):(T=Yf(y),T.c(),C(T,1),T.m(c.parentNode,c)),y[33]?A?(A.p(y,w),w[1]&4&&C(A,1)):(A=qf(y),A.c(),C(A,1),A.m(u.parentNode,u)):A&&(le(),M(A,1,1,()=>{A=null}),oe())},i(y){d||(C(m),C(p,y),C(b),C(v,y),C(_),C(k),C(E),C(I,y),C(T),C(A),d=!0)},o(y){M(m),M(p,y),M(b),M(v,y),M(_),M(k),M(E),M(I,y),M(T),M(A),d=!1},d(y){y&&(F(e),F(n),F(o),F(r),F(l),F(f),F(c),F(u)),m&&m.d(y),p&&p.d(y),b&&b.d(),v&&v.d(y),_&&_.d(),k&&k.d(y),E&&E.d(y),I&&I.d(y),T&&T.d(y),A&&A.d(y)}}}function Mf(t){let e,n,s=ie(t[1])+"",a,i,o,r,l=t[34]&&Pf(t);const f=t[69].title,c=U(f,t,t[83],Qr);let u=t[33]&&If(t);return{c(){e=Z("div"),l&&l.c(),n=V(),a=ge(s),i=V(),c&&c.c(),o=V(),u&&u.c(),se(e,"class","item-title")},m(d,m){z(d,e,m),l&&l.m(e,null),N(e,n),N(e,a),N(e,i),c&&c.m(e,null),N(e,o),u&&u.m(e,null),r=!0},p(d,m){d[34]?l?(l.p(d,m),m[1]&8&&C(l,1)):(l=Pf(d),l.c(),C(l,1),l.m(e,n)):l&&(le(),M(l,1,1,()=>{l=null}),oe()),(!r||m[0]&2)&&s!==(s=ie(d[1])+"")&&we(a,s),c&&c.p&&(!r||m[2]&2097152)&&x(c,f,d,d[83],r?Q(f,d[83],m,n0):$(d[83]),Qr),d[33]?u?(u.p(d,m),m[1]&4&&C(u,1)):(u=If(d),u.c(),C(u,1),u.m(e,null)):u&&(le(),M(u,1,1,()=>{u=null}),oe())},i(d){r||(C(l),C(c,d),C(u),r=!0)},o(d){M(l),M(c,d),M(u),r=!1},d(d){d&&F(e),l&&l.d(),c&&c.d(d),u&&u.d()}}}function Pf(t){let e,n=ie(t[5])+"",s,a,i;const o=t[69].header,r=U(o,t,t[83],Kr);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-header")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&32)&&n!==(n=ie(l[5])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,s0):$(l[83]),Kr)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function If(t){let e,n=ie(t[6])+"",s,a,i;const o=t[69].footer,r=U(o,t,t[83],$r);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-footer")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&64)&&n!==(n=ie(l[6])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,t0):$(l[83]),$r)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Af(t){let e,n,s,a,i,o;const r=t[69]["after-start"],l=U(r,t,t[83],Ur);let f=typeof t[9]<"u"&&Of(t),c=typeof t[10]<"u"&&Bf(t);const u=t[69].after,d=U(u,t,t[83],Gr),m=t[69]["after-end"],h=U(m,t,t[83],Xr);return{c(){e=Z("div"),l&&l.c(),n=V(),f&&f.c(),s=V(),c&&c.c(),a=V(),d&&d.c(),i=V(),h&&h.c(),se(e,"class","item-after")},m(p,b){z(p,e,b),l&&l.m(e,null),N(e,n),f&&f.m(e,null),N(e,s),c&&c.m(e,null),N(e,a),d&&d.m(e,null),N(e,i),h&&h.m(e,null),o=!0},p(p,b){l&&l.p&&(!o||b[2]&2097152)&&x(l,r,p,p[83],o?Q(r,p[83],b,Jg):$(p[83]),Ur),typeof p[9]<"u"?f?f.p(p,b):(f=Of(p),f.c(),f.m(e,s)):f&&(f.d(1),f=null),typeof p[10]<"u"?c?(c.p(p,b),b[0]&1024&&C(c,1)):(c=Bf(p),c.c(),C(c,1),c.m(e,a)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!o||b[2]&2097152)&&x(d,u,p,p[83],o?Q(u,p[83],b,Zg):$(p[83]),Gr),h&&h.p&&(!o||b[2]&2097152)&&x(h,m,p,p[83],o?Q(m,p[83],b,Kg):$(p[83]),Xr)},i(p){o||(C(l,p),C(c),C(d,p),C(h,p),o=!0)},o(p){M(l,p),M(c),M(d,p),M(h,p),o=!1},d(p){p&&F(e),l&&l.d(p),f&&f.d(),c&&c.d(),d&&d.d(p),h&&h.d(p)}}}function Of(t){let e,n=ie(t[9])+"",s;return{c(){e=Z("span"),s=ge(n)},m(a,i){z(a,e,i),N(e,s)},p(a,i){i[0]&512&&n!==(n=ie(a[9])+"")&&we(s,n)},d(a){a&&F(e)}}}function Bf(t){let e,n;return e=new zt({props:{color:t[11],$$slots:{default:[ov]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&2048&&(i.color=s[11]),a[0]&1024|a[2]&2097152&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function ov(t){let e=ie(t[10])+"",n;return{c(){n=ge(e)},m(s,a){z(s,n,a)},p(s,a){a[0]&1024&&e!==(e=ie(s[10])+"")&&we(n,e)},d(s){s&&F(n)}}}function Lf(t){let e;const n=t[69].default,s=U(n,t,t[83],null);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,i){s&&s.p&&(!e||i[2]&2097152)&&x(s,n,a,a[83],e?Q(n,a[83],i,null):$(a[83]),null)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function Df(t){let e,n=ie(t[5])+"",s,a,i;const o=t[69].header,r=U(o,t,t[83],fl);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-header")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&32)&&n!==(n=ie(l[5])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,h0):$(l[83]),fl)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Rf(t){let e,n=ie(t[1])+"",s,a,i;const o=t[69].title,r=U(o,t,t[83],ll);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-title")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&2)&&n!==(n=ie(l[1])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,p0):$(l[83]),ll)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Hf(t){let e,n,s,a,i,o;const r=t[69]["after-start"],l=U(r,t,t[83],il);let f=typeof t[9]<"u"&&zf(t),c=typeof t[10]<"u"&&Ff(t);const u=t[69].after,d=U(u,t,t[83],al),m=t[69]["after-end"],h=U(m,t,t[83],sl);return{c(){e=Z("div"),l&&l.c(),n=V(),f&&f.c(),s=V(),c&&c.c(),a=V(),d&&d.c(),i=V(),h&&h.c(),se(e,"class","item-after")},m(p,b){z(p,e,b),l&&l.m(e,null),N(e,n),f&&f.m(e,null),N(e,s),c&&c.m(e,null),N(e,a),d&&d.m(e,null),N(e,i),h&&h.m(e,null),o=!0},p(p,b){l&&l.p&&(!o||b[2]&2097152)&&x(l,r,p,p[83],o?Q(r,p[83],b,u0):$(p[83]),il),typeof p[9]<"u"?f?f.p(p,b):(f=zf(p),f.c(),f.m(e,s)):f&&(f.d(1),f=null),typeof p[10]<"u"?c?(c.p(p,b),b[0]&1024&&C(c,1)):(c=Ff(p),c.c(),C(c,1),c.m(e,a)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!o||b[2]&2097152)&&x(d,u,p,p[83],o?Q(u,p[83],b,c0):$(p[83]),al),h&&h.p&&(!o||b[2]&2097152)&&x(h,m,p,p[83],o?Q(m,p[83],b,f0):$(p[83]),sl)},i(p){o||(C(l,p),C(c),C(d,p),C(h,p),o=!0)},o(p){M(l,p),M(c),M(d,p),M(h,p),o=!1},d(p){p&&F(e),l&&l.d(p),f&&f.d(),c&&c.d(),d&&d.d(p),h&&h.d(p)}}}function zf(t){let e,n=ie(t[9])+"",s;return{c(){e=Z("span"),s=ge(n)},m(a,i){z(a,e,i),N(e,s)},p(a,i){i[0]&512&&n!==(n=ie(a[9])+"")&&we(s,n)},d(a){a&&F(e)}}}function Ff(t){let e,n;return e=new zt({props:{color:t[11],$$slots:{default:[fv]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&2048&&(i.color=s[11]),a[0]&1024|a[2]&2097152&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function fv(t){let e=ie(t[10])+"",n;return{c(){n=ge(e)},m(s,a){z(s,n,a)},p(s,a){a[0]&1024&&e!==(e=ie(s[10])+"")&&we(n,e)},d(s){s&&F(n)}}}function Nf(t){let e,n=ie(t[4])+"",s,a,i;const o=t[69].subtitle,r=U(o,t,t[83],nl);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-subtitle")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&16)&&n!==(n=ie(l[4])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,o0):$(l[83]),nl)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Vf(t){let e,n=ie(t[2])+"",s,a,i;const o=t[69].text,r=U(o,t,t[83],tl);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-text")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&4)&&n!==(n=ie(l[2])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,l0):$(l[83]),tl)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Yf(t){let e;const n=t[69].default,s=U(n,t,t[83],null);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,i){s&&s.p&&(!e||i[2]&2097152)&&x(s,n,a,a[83],e?Q(n,a[83],i,null):$(a[83]),null)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function qf(t){let e,n=ie(t[6])+"",s,a,i;const o=t[69].footer,r=U(o,t,t[83],Jr);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-footer")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&64)&&n!==(n=ie(l[6])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,i0):$(l[83]),Jr)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function cv(t){let e,n,s,a;const i=[pv,dv],o=[];function r(l,f){return l[16]||l[17]?0:1}return e=r(t),n=o[e]=i[e](t),{c(){n.c(),s=Ze()},m(l,f){o[e].m(l,f),z(l,s,f),a=!0},p(l,f){let c=e;e=r(l),e===c?o[e].p(l,f):(le(),M(o[c],1,1,()=>{o[c]=null}),oe(),n=o[e],n?n.p(l,f):(n=o[e]=i[e](l),n.c()),C(n,1),n.m(s.parentNode,s))},i(l){a||(C(n),a=!0)},o(l){M(n),a=!1},d(l){l&&F(s),o[e].d(l)}}}function uv(t){let e,n,s,a,i,o,r,l,f,c,u,d,m,h,p,b;const g=t[69]["content-start"],v=U(g,t,t[83],zo);let _=t[44]&&t[14]!==!1&&t[43]&&Mc(),k=t[36]&&Pc(t);const E=t[69]["inner-start"],S=U(E,t,t[83],Ro),I=[yv,Cv],T=[];function A(B,q){return B[25]?0:1}l=A(t),f=T[l]=I[l](t);const y=t[69]["inner-end"],w=U(y,t,t[83],mo),D=t[69].content,O=U(D,t,t[83],po),L=t[69]["content-end"],j=U(L,t,t[83],uo);let W=[{class:t[39]},t[38]],Y={};for(let B=0;B{k=null}),oe()),S&&S.p&&(!h||q[2]&2097152)&&x(S,E,B,B[83],h?Q(E,B[83],q,Vb):$(B[83]),Ro);let X=l;l=A(B),l===X?T[l].p(B,q):(le(),M(T[X],1,1,()=>{T[X]=null}),oe(),f=T[l],f?f.p(B,q):(f=T[l]=I[l](B),f.c()),C(f,1),f.m(o,c)),w&&w.p&&(!h||q[2]&2097152)&&x(w,y,B,B[83],h?Q(y,B[83],q,_b):$(B[83]),mo),O&&O.p&&(!h||q[2]&2097152)&&x(O,D,B,B[83],h?Q(D,B[83],q,vb):$(B[83]),po),j&&j.p&&(!h||q[2]&2097152)&&x(j,L,B,B[83],h?Q(L,B[83],q,bb):$(B[83]),uo),(!h||q[1]&512)&&se(n,"class",B[40]),Ae(e,Y=Ge(W,[(!h||q[1]&256)&&{class:B[39]},q[1]&128&&B[38]])),m&&Yt(m.update)&&q[0]&16777216&&m.update.call(null,B[24])},i(B){h||(C(v,B),C(k),C(S,B),C(f),C(w,B),C(O,B),C(j,B),h=!0)},o(B){M(v,B),M(k),M(S,B),M(f),M(w,B),M(O,B),M(j,B),h=!1},d(B){B&&F(e),v&&v.d(B),_&&_.d(),k&&k.d(),S&&S.d(B),T[l].d(),w&&w.d(B),t[72](null),O&&O.d(B),j&&j.d(B),t[73](null),p=!1,ln(b)}}}function dv(t){let e,n,s,a,i,o,r,l,f,c,u,d,m,h;const p=t[69]["content-start"],b=U(p,t,t[83],Fl);let g=t[44]&&t[14]!==!1&&t[43]&&Wf(),v=t[36]&&jf(t);const _=t[69]["inner-start"],k=U(_,t,t[83],Hl),E=[hv,mv],S=[];function I(L,j){return L[25]?0:1}r=I(t),l=S[r]=E[r](t);const T=t[69]["inner-end"],A=U(T,t,t[83],hl),y=t[69].content,w=U(y,t,t[83],ml),D=t[69]["content-end"],O=U(D,t,t[83],pl);return{c(){e=Z("div"),b&&b.c(),n=V(),g&&g.c(),s=V(),v&&v.c(),a=V(),i=Z("div"),k&&k.c(),o=V(),l.c(),f=V(),A&&A.c(),c=V(),w&&w.c(),u=V(),O&&O.c(),se(i,"class","item-inner"),se(e,"class",t[40])},m(L,j){z(L,e,j),b&&b.m(e,null),N(e,n),g&&g.m(e,null),N(e,s),v&&v.m(e,null),N(e,a),N(e,i),k&&k.m(i,null),N(i,o),S[r].m(i,null),N(i,f),A&&A.m(i,null),t[76](i),N(e,c),w&&w.m(e,null),N(e,u),O&&O.m(e,null),d=!0,m||(h=ht(e,"click",t[45]),m=!0)},p(L,j){b&&b.p&&(!d||j[2]&2097152)&&x(b,p,L,L[83],d?Q(p,L[83],j,j0):$(L[83]),Fl),L[44]&&L[14]!==!1&&L[43]?g||(g=Wf(),g.c(),g.m(e,s)):g&&(g.d(1),g=null),L[36]?v?(v.p(L,j),j[1]&32&&C(v,1)):(v=jf(L),v.c(),C(v,1),v.m(e,a)):v&&(le(),M(v,1,1,()=>{v=null}),oe()),k&&k.p&&(!d||j[2]&2097152)&&x(k,_,L,L[83],d?Q(_,L[83],j,q0):$(L[83]),Hl);let W=r;r=I(L),r===W?S[r].p(L,j):(le(),M(S[W],1,1,()=>{S[W]=null}),oe(),l=S[r],l?l.p(L,j):(l=S[r]=E[r](L),l.c()),C(l,1),l.m(i,f)),A&&A.p&&(!d||j[2]&2097152)&&x(A,T,L,L[83],d?Q(T,L[83],j,E0):$(L[83]),hl),w&&w.p&&(!d||j[2]&2097152)&&x(w,y,L,L[83],d?Q(y,L[83],j,k0):$(L[83]),ml),O&&O.p&&(!d||j[2]&2097152)&&x(O,D,L,L[83],d?Q(D,L[83],j,_0):$(L[83]),pl),(!d||j[1]&512)&&se(e,"class",L[40])},i(L){d||(C(b,L),C(v),C(k,L),C(l),C(A,L),C(w,L),C(O,L),d=!0)},o(L){M(b,L),M(v),M(k,L),M(l),M(A,L),M(w,L),M(O,L),d=!1},d(L){L&&F(e),b&&b.d(L),g&&g.d(),v&&v.d(),k&&k.d(L),S[r].d(),A&&A.d(L),t[76](null),w&&w.d(L),O&&O.d(L),m=!1,h()}}}function pv(t){let e,n,s,a,i,o,r,l,f,c,u,d,m,h,p,b,g,v,_,k,E;const S=t[69]["content-start"],I=U(S,t,t[83],co);let T=t[44]&&t[14]!==!1&&t[43]&&oc(),A=t[36]&&fc(t);const y=t[69]["inner-start"],w=U(y,t,t[83],oo),D=[_v,vv],O=[];function L(H,G){return H[25]?0:1}h=L(t),p=O[h]=D[h](t);const j=t[69]["inner-end"],W=U(j,t,t[83],Yl),Y=t[69].content,B=U(Y,t,t[83],Vl),q=t[69]["content-end"],X=U(q,t,t[83],Nl);return{c(){e=Z("label"),I&&I.c(),n=V(),T&&T.c(),s=V(),a=Z("input"),r=V(),l=Z("i"),c=V(),A&&A.c(),u=V(),d=Z("div"),w&&w.c(),m=V(),p.c(),b=V(),W&&W.c(),g=V(),B&&B.c(),v=V(),X&&X.c(),a.value=i=typeof t[19]>"u"?"":t[19],se(a,"name",t[18]),a.checked=t[0],a.readOnly=t[20],a.disabled=t[22],a.required=t[21],se(a,"type",o=t[17]?"radio":"checkbox"),se(l,"class",f=`icon icon-${t[17]?"radio":"checkbox"}`),se(d,"class","item-inner"),se(e,"class",t[40])},m(H,G){z(H,e,G),I&&I.m(e,null),N(e,n),T&&T.m(e,null),N(e,s),N(e,a),t[74](a),N(e,r),N(e,l),N(e,c),A&&A.m(e,null),N(e,u),N(e,d),w&&w.m(d,null),N(d,m),O[h].m(d,null),N(d,b),W&&W.m(d,null),t[75](d),N(e,g),B&&B.m(e,null),N(e,v),X&&X.m(e,null),_=!0,k||(E=[ht(a,"change",t[46]),ht(e,"click",t[45])],k=!0)},p(H,G){I&&I.p&&(!_||G[2]&2097152)&&x(I,S,H,H[83],_?Q(S,H[83],G,gb):$(H[83]),co),H[44]&&H[14]!==!1&&H[43]?T||(T=oc(),T.c(),T.m(e,s)):T&&(T.d(1),T=null),(!_||G[0]&524288&&i!==(i=typeof H[19]>"u"?"":H[19])&&a.value!==i)&&(a.value=i),(!_||G[0]&262144)&&se(a,"name",H[18]),(!_||G[0]&1)&&(a.checked=H[0]),(!_||G[0]&1048576)&&(a.readOnly=H[20]),(!_||G[0]&4194304)&&(a.disabled=H[22]),(!_||G[0]&2097152)&&(a.required=H[21]),(!_||G[0]&131072&&o!==(o=H[17]?"radio":"checkbox"))&&se(a,"type",o),(!_||G[0]&131072&&f!==(f=`icon icon-${H[17]?"radio":"checkbox"}`))&&se(l,"class",f),H[36]?A?(A.p(H,G),G[1]&32&&C(A,1)):(A=fc(H),A.c(),C(A,1),A.m(e,u)):A&&(le(),M(A,1,1,()=>{A=null}),oe()),w&&w.p&&(!_||G[2]&2097152)&&x(w,y,H,H[83],_?Q(y,H[83],G,mb):$(H[83]),oo);let ce=h;h=L(H),h===ce?O[h].p(H,G):(le(),M(O[ce],1,1,()=>{O[ce]=null}),oe(),p=O[h],p?p.p(H,G):(p=O[h]=D[h](H),p.c()),C(p,1),p.m(d,b)),W&&W.p&&(!_||G[2]&2097152)&&x(W,j,H,H[83],_?Q(j,H[83],G,U0):$(H[83]),Yl),B&&B.p&&(!_||G[2]&2097152)&&x(B,Y,H,H[83],_?Q(Y,H[83],G,G0):$(H[83]),Vl),X&&X.p&&(!_||G[2]&2097152)&&x(X,q,H,H[83],_?Q(q,H[83],G,X0):$(H[83]),Nl),(!_||G[1]&512)&&se(e,"class",H[40])},i(H){_||(C(I,H),C(A),C(w,H),C(p),C(W,H),C(B,H),C(X,H),_=!0)},o(H){M(I,H),M(A),M(w,H),M(p),M(W,H),M(B,H),M(X,H),_=!1},d(H){H&&F(e),I&&I.d(H),T&&T.d(),t[74](null),A&&A.d(),w&&w.d(H),O[h].d(),W&&W.d(H),t[75](null),B&&B.d(H),X&&X.d(H),k=!1,ln(E)}}}function Wf(t){let e;return{c(){e=Z("div"),se(e,"class","sortable-handler")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function jf(t){let e,n,s,a=typeof t[3]<"u"&&Xf(t);const i=t[69].media,o=U(i,t,t[83],zl);return{c(){e=Z("div"),a&&a.c(),n=V(),o&&o.c(),se(e,"class","item-media")},m(r,l){z(r,e,l),a&&a.m(e,null),N(e,n),o&&o.m(e,null),s=!0},p(r,l){typeof r[3]<"u"?a?a.p(r,l):(a=Xf(r),a.c(),a.m(e,n)):a&&(a.d(1),a=null),o&&o.p&&(!s||l[2]&2097152)&&x(o,i,r,r[83],s?Q(i,r[83],l,W0):$(r[83]),zl)},i(r){s||(C(o,r),s=!0)},o(r){M(o,r),s=!1},d(r){r&&F(e),a&&a.d(),o&&o.d(r)}}}function Xf(t){let e,n;return{c(){e=Z("img"),Rt(e.src,n=t[3])||se(e,"src",n)},m(s,a){z(s,e,a)},p(s,a){a[0]&8&&!Rt(e.src,n=s[3])&&se(e,"src",n)},d(s){s&&F(e)}}}function mv(t){let e,n,s,a,i,o,r;const l=t[69]["before-title"],f=U(l,t,t[83],wl);let c=(t[35]||t[34]||t[33])&&Gf(t);const u=t[69]["after-title"],d=U(u,t,t[83],kl);let m=t[30]&&$f(t);const h=t[69].inner,p=U(h,t,t[83],gl);let b=!(t[13]||t[15])&&Zf(t);return{c(){f&&f.c(),e=V(),c&&c.c(),n=V(),d&&d.c(),s=V(),m&&m.c(),a=V(),p&&p.c(),i=V(),b&&b.c(),o=Ze()},m(g,v){f&&f.m(g,v),z(g,e,v),c&&c.m(g,v),z(g,n,v),d&&d.m(g,v),z(g,s,v),m&&m.m(g,v),z(g,a,v),p&&p.m(g,v),z(g,i,v),b&&b.m(g,v),z(g,o,v),r=!0},p(g,v){f&&f.p&&(!r||v[2]&2097152)&&x(f,l,g,g[83],r?Q(l,g[83],v,A0):$(g[83]),wl),g[35]||g[34]||g[33]?c?(c.p(g,v),v[1]&28&&C(c,1)):(c=Gf(g),c.c(),C(c,1),c.m(n.parentNode,n)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!r||v[2]&2097152)&&x(d,u,g,g[83],r?Q(u,g[83],v,T0):$(g[83]),kl),g[30]?m?(m.p(g,v),v[0]&1073741824&&C(m,1)):(m=$f(g),m.c(),C(m,1),m.m(a.parentNode,a)):m&&(le(),M(m,1,1,()=>{m=null}),oe()),p&&p.p&&(!r||v[2]&2097152)&&x(p,h,g,g[83],r?Q(h,g[83],v,C0):$(g[83]),gl),g[13]||g[15]?b&&(le(),M(b,1,1,()=>{b=null}),oe()):b?(b.p(g,v),v[0]&40960&&C(b,1)):(b=Zf(g),b.c(),C(b,1),b.m(o.parentNode,o))},i(g){r||(C(f,g),C(c),C(d,g),C(m),C(p,g),C(b),r=!0)},o(g){M(f,g),M(c),M(d,g),M(m),M(p,g),M(b),r=!1},d(g){g&&(F(e),F(n),F(s),F(a),F(i),F(o)),f&&f.d(g),c&&c.d(g),d&&d.d(g),m&&m.d(g),p&&p.d(g),b&&b.d(g)}}}function hv(t){let e,n,s,a,i,o,r,l,f,c,u,d,m=t[34]&&Jf(t);const h=t[69]["before-title"],p=U(h,t,t[83],Dl);let b=t[35]&&ec(t);const g=t[69]["after-title"],v=U(g,t,t[83],Bl);let _=t[30]&&tc(t),k=t[32]&&ac(t),E=t[31]&&ic(t);const S=t[69].inner,I=U(S,t,t[83],Tl);let T=!(t[13]||t[15])&&rc(t),A=t[33]&&lc(t);return{c(){m&&m.c(),e=V(),n=Z("div"),p&&p.c(),s=V(),b&&b.c(),a=V(),v&&v.c(),i=V(),_&&_.c(),o=V(),k&&k.c(),r=V(),E&&E.c(),l=V(),I&&I.c(),f=V(),T&&T.c(),c=V(),A&&A.c(),u=Ze(),se(n,"class","item-title-row")},m(y,w){m&&m.m(y,w),z(y,e,w),z(y,n,w),p&&p.m(n,null),N(n,s),b&&b.m(n,null),N(n,a),v&&v.m(n,null),N(n,i),_&&_.m(n,null),z(y,o,w),k&&k.m(y,w),z(y,r,w),E&&E.m(y,w),z(y,l,w),I&&I.m(y,w),z(y,f,w),T&&T.m(y,w),z(y,c,w),A&&A.m(y,w),z(y,u,w),d=!0},p(y,w){y[34]?m?(m.p(y,w),w[1]&8&&C(m,1)):(m=Jf(y),m.c(),C(m,1),m.m(e.parentNode,e)):m&&(le(),M(m,1,1,()=>{m=null}),oe()),p&&p.p&&(!d||w[2]&2097152)&&x(p,h,y,y[83],d?Q(h,y[83],w,V0):$(y[83]),Dl),y[35]?b?(b.p(y,w),w[1]&16&&C(b,1)):(b=ec(y),b.c(),C(b,1),b.m(n,a)):b&&(le(),M(b,1,1,()=>{b=null}),oe()),v&&v.p&&(!d||w[2]&2097152)&&x(v,g,y,y[83],d?Q(g,y[83],w,F0):$(y[83]),Bl),y[30]?_?(_.p(y,w),w[0]&1073741824&&C(_,1)):(_=tc(y),_.c(),C(_,1),_.m(n,null)):_&&(le(),M(_,1,1,()=>{_=null}),oe()),y[32]?k?(k.p(y,w),w[1]&2&&C(k,1)):(k=ac(y),k.c(),C(k,1),k.m(r.parentNode,r)):k&&(le(),M(k,1,1,()=>{k=null}),oe()),y[31]?E?(E.p(y,w),w[1]&1&&C(E,1)):(E=ic(y),E.c(),C(E,1),E.m(l.parentNode,l)):E&&(le(),M(E,1,1,()=>{E=null}),oe()),I&&I.p&&(!d||w[2]&2097152)&&x(I,S,y,y[83],d?Q(S,y[83],w,B0):$(y[83]),Tl),y[13]||y[15]?T&&(le(),M(T,1,1,()=>{T=null}),oe()):T?(T.p(y,w),w[0]&40960&&C(T,1)):(T=rc(y),T.c(),C(T,1),T.m(c.parentNode,c)),y[33]?A?(A.p(y,w),w[1]&4&&C(A,1)):(A=lc(y),A.c(),C(A,1),A.m(u.parentNode,u)):A&&(le(),M(A,1,1,()=>{A=null}),oe())},i(y){d||(C(m),C(p,y),C(b),C(v,y),C(_),C(k),C(E),C(I,y),C(T),C(A),d=!0)},o(y){M(m),M(p,y),M(b),M(v,y),M(_),M(k),M(E),M(I,y),M(T),M(A),d=!1},d(y){y&&(F(e),F(n),F(o),F(r),F(l),F(f),F(c),F(u)),m&&m.d(y),p&&p.d(y),b&&b.d(),v&&v.d(y),_&&_.d(),k&&k.d(y),E&&E.d(y),I&&I.d(y),T&&T.d(y),A&&A.d(y)}}}function Gf(t){let e,n,s=ie(t[1])+"",a,i,o,r,l=t[34]&&Uf(t);const f=t[69].title,c=U(f,t,t[83],Cl);let u=t[33]&&xf(t);return{c(){e=Z("div"),l&&l.c(),n=V(),a=ge(s),i=V(),c&&c.c(),o=V(),u&&u.c(),se(e,"class","item-title")},m(d,m){z(d,e,m),l&&l.m(e,null),N(e,n),N(e,a),N(e,i),c&&c.m(e,null),N(e,o),u&&u.m(e,null),r=!0},p(d,m){d[34]?l?(l.p(d,m),m[1]&8&&C(l,1)):(l=Uf(d),l.c(),C(l,1),l.m(e,n)):l&&(le(),M(l,1,1,()=>{l=null}),oe()),(!r||m[0]&2)&&s!==(s=ie(d[1])+"")&&we(a,s),c&&c.p&&(!r||m[2]&2097152)&&x(c,f,d,d[83],r?Q(f,d[83],m,P0):$(d[83]),Cl),d[33]?u?(u.p(d,m),m[1]&4&&C(u,1)):(u=xf(d),u.c(),C(u,1),u.m(e,null)):u&&(le(),M(u,1,1,()=>{u=null}),oe())},i(d){r||(C(l),C(c,d),C(u),r=!0)},o(d){M(l),M(c,d),M(u),r=!1},d(d){d&&F(e),l&&l.d(),c&&c.d(d),u&&u.d()}}}function Uf(t){let e,n=ie(t[5])+"",s,a,i;const o=t[69].header,r=U(o,t,t[83],yl);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-header")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&32)&&n!==(n=ie(l[5])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,I0):$(l[83]),yl)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function xf(t){let e,n=ie(t[6])+"",s,a,i;const o=t[69].footer,r=U(o,t,t[83],El);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-footer")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&64)&&n!==(n=ie(l[6])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,M0):$(l[83]),El)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function $f(t){let e,n,s,a,i,o;const r=t[69]["after-start"],l=U(r,t,t[83],_l);let f=typeof t[9]<"u"&&Qf(t),c=typeof t[10]<"u"&&Kf(t);const u=t[69].after,d=U(u,t,t[83],vl),m=t[69]["after-end"],h=U(m,t,t[83],bl);return{c(){e=Z("div"),l&&l.c(),n=V(),f&&f.c(),s=V(),c&&c.c(),a=V(),d&&d.c(),i=V(),h&&h.c(),se(e,"class","item-after")},m(p,b){z(p,e,b),l&&l.m(e,null),N(e,n),f&&f.m(e,null),N(e,s),c&&c.m(e,null),N(e,a),d&&d.m(e,null),N(e,i),h&&h.m(e,null),o=!0},p(p,b){l&&l.p&&(!o||b[2]&2097152)&&x(l,r,p,p[83],o?Q(r,p[83],b,S0):$(p[83]),_l),typeof p[9]<"u"?f?f.p(p,b):(f=Qf(p),f.c(),f.m(e,s)):f&&(f.d(1),f=null),typeof p[10]<"u"?c?(c.p(p,b),b[0]&1024&&C(c,1)):(c=Kf(p),c.c(),C(c,1),c.m(e,a)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!o||b[2]&2097152)&&x(d,u,p,p[83],o?Q(u,p[83],b,w0):$(p[83]),vl),h&&h.p&&(!o||b[2]&2097152)&&x(h,m,p,p[83],o?Q(m,p[83],b,y0):$(p[83]),bl)},i(p){o||(C(l,p),C(c),C(d,p),C(h,p),o=!0)},o(p){M(l,p),M(c),M(d,p),M(h,p),o=!1},d(p){p&&F(e),l&&l.d(p),f&&f.d(),c&&c.d(),d&&d.d(p),h&&h.d(p)}}}function Qf(t){let e,n=ie(t[9])+"",s;return{c(){e=Z("span"),s=ge(n)},m(a,i){z(a,e,i),N(e,s)},p(a,i){i[0]&512&&n!==(n=ie(a[9])+"")&&we(s,n)},d(a){a&&F(e)}}}function Kf(t){let e,n;return e=new zt({props:{color:t[11],$$slots:{default:[gv]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&2048&&(i.color=s[11]),a[0]&1024|a[2]&2097152&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function gv(t){let e=ie(t[10])+"",n;return{c(){n=ge(e)},m(s,a){z(s,n,a)},p(s,a){a[0]&1024&&e!==(e=ie(s[10])+"")&&we(n,e)},d(s){s&&F(n)}}}function Zf(t){let e;const n=t[69].default,s=U(n,t,t[83],null);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,i){s&&s.p&&(!e||i[2]&2097152)&&x(s,n,a,a[83],e?Q(n,a[83],i,null):$(a[83]),null)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function Jf(t){let e,n=ie(t[5])+"",s,a,i;const o=t[69].header,r=U(o,t,t[83],Rl);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-header")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&32)&&n!==(n=ie(l[5])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,Y0):$(l[83]),Rl)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function ec(t){let e,n=ie(t[1])+"",s,a,i;const o=t[69].title,r=U(o,t,t[83],Ll);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-title")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&2)&&n!==(n=ie(l[1])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,N0):$(l[83]),Ll)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function tc(t){let e,n,s,a,i,o;const r=t[69]["after-start"],l=U(r,t,t[83],Ol);let f=typeof t[9]<"u"&&nc(t),c=typeof t[10]<"u"&&sc(t);const u=t[69].after,d=U(u,t,t[83],Al),m=t[69]["after-end"],h=U(m,t,t[83],Il);return{c(){e=Z("div"),l&&l.c(),n=V(),f&&f.c(),s=V(),c&&c.c(),a=V(),d&&d.c(),i=V(),h&&h.c(),se(e,"class","item-after")},m(p,b){z(p,e,b),l&&l.m(e,null),N(e,n),f&&f.m(e,null),N(e,s),c&&c.m(e,null),N(e,a),d&&d.m(e,null),N(e,i),h&&h.m(e,null),o=!0},p(p,b){l&&l.p&&(!o||b[2]&2097152)&&x(l,r,p,p[83],o?Q(r,p[83],b,z0):$(p[83]),Ol),typeof p[9]<"u"?f?f.p(p,b):(f=nc(p),f.c(),f.m(e,s)):f&&(f.d(1),f=null),typeof p[10]<"u"?c?(c.p(p,b),b[0]&1024&&C(c,1)):(c=sc(p),c.c(),C(c,1),c.m(e,a)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!o||b[2]&2097152)&&x(d,u,p,p[83],o?Q(u,p[83],b,H0):$(p[83]),Al),h&&h.p&&(!o||b[2]&2097152)&&x(h,m,p,p[83],o?Q(m,p[83],b,R0):$(p[83]),Il)},i(p){o||(C(l,p),C(c),C(d,p),C(h,p),o=!0)},o(p){M(l,p),M(c),M(d,p),M(h,p),o=!1},d(p){p&&F(e),l&&l.d(p),f&&f.d(),c&&c.d(),d&&d.d(p),h&&h.d(p)}}}function nc(t){let e,n=ie(t[9])+"",s;return{c(){e=Z("span"),s=ge(n)},m(a,i){z(a,e,i),N(e,s)},p(a,i){i[0]&512&&n!==(n=ie(a[9])+"")&&we(s,n)},d(a){a&&F(e)}}}function sc(t){let e,n;return e=new zt({props:{color:t[11],$$slots:{default:[bv]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&2048&&(i.color=s[11]),a[0]&1024|a[2]&2097152&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function bv(t){let e=ie(t[10])+"",n;return{c(){n=ge(e)},m(s,a){z(s,n,a)},p(s,a){a[0]&1024&&e!==(e=ie(s[10])+"")&&we(n,e)},d(s){s&&F(n)}}}function ac(t){let e,n=ie(t[4])+"",s,a,i;const o=t[69].subtitle,r=U(o,t,t[83],Pl);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-subtitle")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&16)&&n!==(n=ie(l[4])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,D0):$(l[83]),Pl)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function ic(t){let e,n=ie(t[2])+"",s,a,i;const o=t[69].text,r=U(o,t,t[83],Ml);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-text")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&4)&&n!==(n=ie(l[2])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,L0):$(l[83]),Ml)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function rc(t){let e;const n=t[69].default,s=U(n,t,t[83],null);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,i){s&&s.p&&(!e||i[2]&2097152)&&x(s,n,a,a[83],e?Q(n,a[83],i,null):$(a[83]),null)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function lc(t){let e,n=ie(t[6])+"",s,a,i;const o=t[69].footer,r=U(o,t,t[83],Sl);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-footer")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&64)&&n!==(n=ie(l[6])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,O0):$(l[83]),Sl)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function oc(t){let e;return{c(){e=Z("div"),se(e,"class","sortable-handler")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function fc(t){let e,n,s,a=typeof t[3]<"u"&&cc(t);const i=t[69].media,o=U(i,t,t[83],fo);return{c(){e=Z("div"),a&&a.c(),n=V(),o&&o.c(),se(e,"class","item-media")},m(r,l){z(r,e,l),a&&a.m(e,null),N(e,n),o&&o.m(e,null),s=!0},p(r,l){typeof r[3]<"u"?a?a.p(r,l):(a=cc(r),a.c(),a.m(e,n)):a&&(a.d(1),a=null),o&&o.p&&(!s||l[2]&2097152)&&x(o,i,r,r[83],s?Q(i,r[83],l,hb):$(r[83]),fo)},i(r){s||(C(o,r),s=!0)},o(r){M(o,r),s=!1},d(r){r&&F(e),a&&a.d(),o&&o.d(r)}}}function cc(t){let e,n;return{c(){e=Z("img"),Rt(e.src,n=t[3])||se(e,"src",n)},m(s,a){z(s,e,a)},p(s,a){a[0]&8&&!Rt(e.src,n=s[3])&&se(e,"src",n)},d(s){s&&F(e)}}}function vv(t){let e,n,s,a,i,o,r;const l=t[69]["before-title"],f=U(l,t,t[83],Ql);let c=(t[35]||t[34]||t[33])&&uc(t);const u=t[69]["after-title"],d=U(u,t,t[83],Gl);let m=t[30]&&mc(t);const h=t[69].inner,p=U(h,t,t[83],ql);let b=!(t[13]||t[15])&&bc(t);return{c(){f&&f.c(),e=V(),c&&c.c(),n=V(),d&&d.c(),s=V(),m&&m.c(),a=V(),p&&p.c(),i=V(),b&&b.c(),o=Ze()},m(g,v){f&&f.m(g,v),z(g,e,v),c&&c.m(g,v),z(g,n,v),d&&d.m(g,v),z(g,s,v),m&&m.m(g,v),z(g,a,v),p&&p.m(g,v),z(g,i,v),b&&b.m(g,v),z(g,o,v),r=!0},p(g,v){f&&f.p&&(!r||v[2]&2097152)&&x(f,l,g,g[83],r?Q(l,g[83],v,nb):$(g[83]),Ql),g[35]||g[34]||g[33]?c?(c.p(g,v),v[1]&28&&C(c,1)):(c=uc(g),c.c(),C(c,1),c.m(n.parentNode,n)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!r||v[2]&2097152)&&x(d,u,g,g[83],r?Q(u,g[83],v,Z0):$(g[83]),Gl),g[30]?m?(m.p(g,v),v[0]&1073741824&&C(m,1)):(m=mc(g),m.c(),C(m,1),m.m(a.parentNode,a)):m&&(le(),M(m,1,1,()=>{m=null}),oe()),p&&p.p&&(!r||v[2]&2097152)&&x(p,h,g,g[83],r?Q(h,g[83],v,x0):$(g[83]),ql),g[13]||g[15]?b&&(le(),M(b,1,1,()=>{b=null}),oe()):b?(b.p(g,v),v[0]&40960&&C(b,1)):(b=bc(g),b.c(),C(b,1),b.m(o.parentNode,o))},i(g){r||(C(f,g),C(c),C(d,g),C(m),C(p,g),C(b),r=!0)},o(g){M(f,g),M(c),M(d,g),M(m),M(p,g),M(b),r=!1},d(g){g&&(F(e),F(n),F(s),F(a),F(i),F(o)),f&&f.d(g),c&&c.d(g),d&&d.d(g),m&&m.d(g),p&&p.d(g),b&&b.d(g)}}}function _v(t){let e,n,s,a,i,o,r,l,f,c,u,d,m=t[34]&&vc(t);const h=t[69]["before-title"],p=U(h,t,t[83],ro);let b=t[35]&&_c(t);const g=t[69]["after-title"],v=U(g,t,t[83],ao);let _=t[30]&&kc(t),k=t[32]&&yc(t),E=t[31]&&wc(t);const S=t[69].inner,I=U(S,t,t[83],Zl);let T=!(t[13]||t[15])&&Sc(t),A=t[33]&&Tc(t);return{c(){m&&m.c(),e=V(),n=Z("div"),p&&p.c(),s=V(),b&&b.c(),a=V(),v&&v.c(),i=V(),_&&_.c(),o=V(),k&&k.c(),r=V(),E&&E.c(),l=V(),I&&I.c(),f=V(),T&&T.c(),c=V(),A&&A.c(),u=Ze(),se(n,"class","item-title-row")},m(y,w){m&&m.m(y,w),z(y,e,w),z(y,n,w),p&&p.m(n,null),N(n,s),b&&b.m(n,null),N(n,a),v&&v.m(n,null),N(n,i),_&&_.m(n,null),z(y,o,w),k&&k.m(y,w),z(y,r,w),E&&E.m(y,w),z(y,l,w),I&&I.m(y,w),z(y,f,w),T&&T.m(y,w),z(y,c,w),A&&A.m(y,w),z(y,u,w),d=!0},p(y,w){y[34]?m?(m.p(y,w),w[1]&8&&C(m,1)):(m=vc(y),m.c(),C(m,1),m.m(e.parentNode,e)):m&&(le(),M(m,1,1,()=>{m=null}),oe()),p&&p.p&&(!d||w[2]&2097152)&&x(p,h,y,y[83],d?Q(h,y[83],w,db):$(y[83]),ro),y[35]?b?(b.p(y,w),w[1]&16&&C(b,1)):(b=_c(y),b.c(),C(b,1),b.m(n,a)):b&&(le(),M(b,1,1,()=>{b=null}),oe()),v&&v.p&&(!d||w[2]&2097152)&&x(v,g,y,y[83],d?Q(g,y[83],w,cb):$(y[83]),ao),y[30]?_?(_.p(y,w),w[0]&1073741824&&C(_,1)):(_=kc(y),_.c(),C(_,1),_.m(n,null)):_&&(le(),M(_,1,1,()=>{_=null}),oe()),y[32]?k?(k.p(y,w),w[1]&2&&C(k,1)):(k=yc(y),k.c(),C(k,1),k.m(r.parentNode,r)):k&&(le(),M(k,1,1,()=>{k=null}),oe()),y[31]?E?(E.p(y,w),w[1]&1&&C(E,1)):(E=wc(y),E.c(),C(E,1),E.m(l.parentNode,l)):E&&(le(),M(E,1,1,()=>{E=null}),oe()),I&&I.p&&(!d||w[2]&2097152)&&x(I,S,y,y[83],d?Q(S,y[83],w,ab):$(y[83]),Zl),y[13]||y[15]?T&&(le(),M(T,1,1,()=>{T=null}),oe()):T?(T.p(y,w),w[0]&40960&&C(T,1)):(T=Sc(y),T.c(),C(T,1),T.m(c.parentNode,c)),y[33]?A?(A.p(y,w),w[1]&4&&C(A,1)):(A=Tc(y),A.c(),C(A,1),A.m(u.parentNode,u)):A&&(le(),M(A,1,1,()=>{A=null}),oe())},i(y){d||(C(m),C(p,y),C(b),C(v,y),C(_),C(k),C(E),C(I,y),C(T),C(A),d=!0)},o(y){M(m),M(p,y),M(b),M(v,y),M(_),M(k),M(E),M(I,y),M(T),M(A),d=!1},d(y){y&&(F(e),F(n),F(o),F(r),F(l),F(f),F(c),F(u)),m&&m.d(y),p&&p.d(y),b&&b.d(),v&&v.d(y),_&&_.d(),k&&k.d(y),E&&E.d(y),I&&I.d(y),T&&T.d(y),A&&A.d(y)}}}function uc(t){let e,n,s=ie(t[1])+"",a,i,o,r,l=t[34]&&dc(t);const f=t[69].title,c=U(f,t,t[83],xl);let u=t[33]&&pc(t);return{c(){e=Z("div"),l&&l.c(),n=V(),a=ge(s),i=V(),c&&c.c(),o=V(),u&&u.c(),se(e,"class","item-title")},m(d,m){z(d,e,m),l&&l.m(e,null),N(e,n),N(e,a),N(e,i),c&&c.m(e,null),N(e,o),u&&u.m(e,null),r=!0},p(d,m){d[34]?l?(l.p(d,m),m[1]&8&&C(l,1)):(l=dc(d),l.c(),C(l,1),l.m(e,n)):l&&(le(),M(l,1,1,()=>{l=null}),oe()),(!r||m[0]&2)&&s!==(s=ie(d[1])+"")&&we(a,s),c&&c.p&&(!r||m[2]&2097152)&&x(c,f,d,d[83],r?Q(f,d[83],m,eb):$(d[83]),xl),d[33]?u?(u.p(d,m),m[1]&4&&C(u,1)):(u=pc(d),u.c(),C(u,1),u.m(e,null)):u&&(le(),M(u,1,1,()=>{u=null}),oe())},i(d){r||(C(l),C(c,d),C(u),r=!0)},o(d){M(l),M(c,d),M(u),r=!1},d(d){d&&F(e),l&&l.d(),c&&c.d(d),u&&u.d()}}}function dc(t){let e,n=ie(t[5])+"",s,a,i;const o=t[69].header,r=U(o,t,t[83],$l);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-header")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&32)&&n!==(n=ie(l[5])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,tb):$(l[83]),$l)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function pc(t){let e,n=ie(t[6])+"",s,a,i;const o=t[69].footer,r=U(o,t,t[83],Ul);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-footer")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&64)&&n!==(n=ie(l[6])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,J0):$(l[83]),Ul)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function mc(t){let e,n,s,a,i,o;const r=t[69]["after-start"],l=U(r,t,t[83],Xl);let f=typeof t[9]<"u"&&hc(t),c=typeof t[10]<"u"&&gc(t);const u=t[69].after,d=U(u,t,t[83],jl),m=t[69]["after-end"],h=U(m,t,t[83],Wl);return{c(){e=Z("div"),l&&l.c(),n=V(),f&&f.c(),s=V(),c&&c.c(),a=V(),d&&d.c(),i=V(),h&&h.c(),se(e,"class","item-after")},m(p,b){z(p,e,b),l&&l.m(e,null),N(e,n),f&&f.m(e,null),N(e,s),c&&c.m(e,null),N(e,a),d&&d.m(e,null),N(e,i),h&&h.m(e,null),o=!0},p(p,b){l&&l.p&&(!o||b[2]&2097152)&&x(l,r,p,p[83],o?Q(r,p[83],b,K0):$(p[83]),Xl),typeof p[9]<"u"?f?f.p(p,b):(f=hc(p),f.c(),f.m(e,s)):f&&(f.d(1),f=null),typeof p[10]<"u"?c?(c.p(p,b),b[0]&1024&&C(c,1)):(c=gc(p),c.c(),C(c,1),c.m(e,a)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!o||b[2]&2097152)&&x(d,u,p,p[83],o?Q(u,p[83],b,Q0):$(p[83]),jl),h&&h.p&&(!o||b[2]&2097152)&&x(h,m,p,p[83],o?Q(m,p[83],b,$0):$(p[83]),Wl)},i(p){o||(C(l,p),C(c),C(d,p),C(h,p),o=!0)},o(p){M(l,p),M(c),M(d,p),M(h,p),o=!1},d(p){p&&F(e),l&&l.d(p),f&&f.d(),c&&c.d(),d&&d.d(p),h&&h.d(p)}}}function hc(t){let e,n=ie(t[9])+"",s;return{c(){e=Z("span"),s=ge(n)},m(a,i){z(a,e,i),N(e,s)},p(a,i){i[0]&512&&n!==(n=ie(a[9])+"")&&we(s,n)},d(a){a&&F(e)}}}function gc(t){let e,n;return e=new zt({props:{color:t[11],$$slots:{default:[kv]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&2048&&(i.color=s[11]),a[0]&1024|a[2]&2097152&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function kv(t){let e=ie(t[10])+"",n;return{c(){n=ge(e)},m(s,a){z(s,n,a)},p(s,a){a[0]&1024&&e!==(e=ie(s[10])+"")&&we(n,e)},d(s){s&&F(n)}}}function bc(t){let e;const n=t[69].default,s=U(n,t,t[83],null);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,i){s&&s.p&&(!e||i[2]&2097152)&&x(s,n,a,a[83],e?Q(n,a[83],i,null):$(a[83]),null)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function vc(t){let e,n=ie(t[5])+"",s,a,i;const o=t[69].header,r=U(o,t,t[83],lo);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-header")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&32)&&n!==(n=ie(l[5])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,pb):$(l[83]),lo)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function _c(t){let e,n=ie(t[1])+"",s,a,i;const o=t[69].title,r=U(o,t,t[83],io);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-title")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&2)&&n!==(n=ie(l[1])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,ub):$(l[83]),io)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function kc(t){let e,n,s,a,i,o;const r=t[69]["after-start"],l=U(r,t,t[83],so);let f=typeof t[9]<"u"&&Ec(t),c=typeof t[10]<"u"&&Cc(t);const u=t[69].after,d=U(u,t,t[83],no),m=t[69]["after-end"],h=U(m,t,t[83],to);return{c(){e=Z("div"),l&&l.c(),n=V(),f&&f.c(),s=V(),c&&c.c(),a=V(),d&&d.c(),i=V(),h&&h.c(),se(e,"class","item-after")},m(p,b){z(p,e,b),l&&l.m(e,null),N(e,n),f&&f.m(e,null),N(e,s),c&&c.m(e,null),N(e,a),d&&d.m(e,null),N(e,i),h&&h.m(e,null),o=!0},p(p,b){l&&l.p&&(!o||b[2]&2097152)&&x(l,r,p,p[83],o?Q(r,p[83],b,fb):$(p[83]),so),typeof p[9]<"u"?f?f.p(p,b):(f=Ec(p),f.c(),f.m(e,s)):f&&(f.d(1),f=null),typeof p[10]<"u"?c?(c.p(p,b),b[0]&1024&&C(c,1)):(c=Cc(p),c.c(),C(c,1),c.m(e,a)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!o||b[2]&2097152)&&x(d,u,p,p[83],o?Q(u,p[83],b,ob):$(p[83]),no),h&&h.p&&(!o||b[2]&2097152)&&x(h,m,p,p[83],o?Q(m,p[83],b,lb):$(p[83]),to)},i(p){o||(C(l,p),C(c),C(d,p),C(h,p),o=!0)},o(p){M(l,p),M(c),M(d,p),M(h,p),o=!1},d(p){p&&F(e),l&&l.d(p),f&&f.d(),c&&c.d(),d&&d.d(p),h&&h.d(p)}}}function Ec(t){let e,n=ie(t[9])+"",s;return{c(){e=Z("span"),s=ge(n)},m(a,i){z(a,e,i),N(e,s)},p(a,i){i[0]&512&&n!==(n=ie(a[9])+"")&&we(s,n)},d(a){a&&F(e)}}}function Cc(t){let e,n;return e=new zt({props:{color:t[11],$$slots:{default:[Ev]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&2048&&(i.color=s[11]),a[0]&1024|a[2]&2097152&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function Ev(t){let e=ie(t[10])+"",n;return{c(){n=ge(e)},m(s,a){z(s,n,a)},p(s,a){a[0]&1024&&e!==(e=ie(s[10])+"")&&we(n,e)},d(s){s&&F(n)}}}function yc(t){let e,n=ie(t[4])+"",s,a,i;const o=t[69].subtitle,r=U(o,t,t[83],eo);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-subtitle")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&16)&&n!==(n=ie(l[4])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,rb):$(l[83]),eo)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function wc(t){let e,n=ie(t[2])+"",s,a,i;const o=t[69].text,r=U(o,t,t[83],Jl);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-text")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&4)&&n!==(n=ie(l[2])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,ib):$(l[83]),Jl)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Sc(t){let e;const n=t[69].default,s=U(n,t,t[83],null);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,i){s&&s.p&&(!e||i[2]&2097152)&&x(s,n,a,a[83],e?Q(n,a[83],i,null):$(a[83]),null)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function Tc(t){let e,n=ie(t[6])+"",s,a,i;const o=t[69].footer,r=U(o,t,t[83],Kl);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-footer")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&64)&&n!==(n=ie(l[6])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,sb):$(l[83]),Kl)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Mc(t){let e;return{c(){e=Z("div"),se(e,"class","sortable-handler")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function Pc(t){let e,n,s,a=typeof t[3]<"u"&&Ic(t);const i=t[69].media,o=U(i,t,t[83],Ho);return{c(){e=Z("div"),a&&a.c(),n=V(),o&&o.c(),se(e,"class","item-media")},m(r,l){z(r,e,l),a&&a.m(e,null),N(e,n),o&&o.m(e,null),s=!0},p(r,l){typeof r[3]<"u"?a?a.p(r,l):(a=Ic(r),a.c(),a.m(e,n)):a&&(a.d(1),a=null),o&&o.p&&(!s||l[2]&2097152)&&x(o,i,r,r[83],s?Q(i,r[83],l,Yb):$(r[83]),Ho)},i(r){s||(C(o,r),s=!0)},o(r){M(o,r),s=!1},d(r){r&&F(e),a&&a.d(),o&&o.d(r)}}}function Ic(t){let e,n;return{c(){e=Z("img"),Rt(e.src,n=t[3])||se(e,"src",n)},m(s,a){z(s,e,a)},p(s,a){a[0]&8&&!Rt(e.src,n=s[3])&&se(e,"src",n)},d(s){s&&F(e)}}}function Cv(t){let e,n,s,a,i,o,r;const l=t[69]["before-title"],f=U(l,t,t[83],yo);let c=(t[35]||t[34]||t[33])&&Ac(t);const u=t[69]["after-title"],d=U(u,t,t[83],_o);let m=t[30]&&Lc(t);const h=t[69].inner,p=U(h,t,t[83],ho);let b=!(t[13]||t[15])&&Hc(t);return{c(){f&&f.c(),e=V(),c&&c.c(),n=V(),d&&d.c(),s=V(),m&&m.c(),a=V(),p&&p.c(),i=V(),b&&b.c(),o=Ze()},m(g,v){f&&f.m(g,v),z(g,e,v),c&&c.m(g,v),z(g,n,v),d&&d.m(g,v),z(g,s,v),m&&m.m(g,v),z(g,a,v),p&&p.m(g,v),z(g,i,v),b&&b.m(g,v),z(g,o,v),r=!0},p(g,v){f&&f.p&&(!r||v[2]&2097152)&&x(f,l,g,g[83],r?Q(l,g[83],v,Pb):$(g[83]),yo),g[35]||g[34]||g[33]?c?(c.p(g,v),v[1]&28&&C(c,1)):(c=Ac(g),c.c(),C(c,1),c.m(n.parentNode,n)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!r||v[2]&2097152)&&x(d,u,g,g[83],r?Q(u,g[83],v,wb):$(g[83]),_o),g[30]?m?(m.p(g,v),v[0]&1073741824&&C(m,1)):(m=Lc(g),m.c(),C(m,1),m.m(a.parentNode,a)):m&&(le(),M(m,1,1,()=>{m=null}),oe()),p&&p.p&&(!r||v[2]&2097152)&&x(p,h,g,g[83],r?Q(h,g[83],v,kb):$(g[83]),ho),g[13]||g[15]?b&&(le(),M(b,1,1,()=>{b=null}),oe()):b?(b.p(g,v),v[0]&40960&&C(b,1)):(b=Hc(g),b.c(),C(b,1),b.m(o.parentNode,o))},i(g){r||(C(f,g),C(c),C(d,g),C(m),C(p,g),C(b),r=!0)},o(g){M(f,g),M(c),M(d,g),M(m),M(p,g),M(b),r=!1},d(g){g&&(F(e),F(n),F(s),F(a),F(i),F(o)),f&&f.d(g),c&&c.d(g),d&&d.d(g),m&&m.d(g),p&&p.d(g),b&&b.d(g)}}}function yv(t){let e,n,s,a,i,o,r,l,f,c,u,d,m=t[34]&&zc(t);const h=t[69]["before-title"],p=U(h,t,t[83],Lo);let b=t[35]&&Fc(t);const g=t[69]["after-title"],v=U(g,t,t[83],Oo);let _=t[30]&&Nc(t),k=t[32]&&qc(t),E=t[31]&&Wc(t);const S=t[69].inner,I=U(S,t,t[83],So);let T=!(t[13]||t[15])&&jc(t),A=t[33]&&Xc(t);return{c(){m&&m.c(),e=V(),n=Z("div"),p&&p.c(),s=V(),b&&b.c(),a=V(),v&&v.c(),i=V(),_&&_.c(),o=V(),k&&k.c(),r=V(),E&&E.c(),l=V(),I&&I.c(),f=V(),T&&T.c(),c=V(),A&&A.c(),u=Ze(),se(n,"class","item-title-row")},m(y,w){m&&m.m(y,w),z(y,e,w),z(y,n,w),p&&p.m(n,null),N(n,s),b&&b.m(n,null),N(n,a),v&&v.m(n,null),N(n,i),_&&_.m(n,null),z(y,o,w),k&&k.m(y,w),z(y,r,w),E&&E.m(y,w),z(y,l,w),I&&I.m(y,w),z(y,f,w),T&&T.m(y,w),z(y,c,w),A&&A.m(y,w),z(y,u,w),d=!0},p(y,w){y[34]?m?(m.p(y,w),w[1]&8&&C(m,1)):(m=zc(y),m.c(),C(m,1),m.m(e.parentNode,e)):m&&(le(),M(m,1,1,()=>{m=null}),oe()),p&&p.p&&(!d||w[2]&2097152)&&x(p,h,y,y[83],d?Q(h,y[83],w,Fb):$(y[83]),Lo),y[35]?b?(b.p(y,w),w[1]&16&&C(b,1)):(b=Fc(y),b.c(),C(b,1),b.m(n,a)):b&&(le(),M(b,1,1,()=>{b=null}),oe()),v&&v.p&&(!d||w[2]&2097152)&&x(v,g,y,y[83],d?Q(g,y[83],w,Hb):$(y[83]),Oo),y[30]?_?(_.p(y,w),w[0]&1073741824&&C(_,1)):(_=Nc(y),_.c(),C(_,1),_.m(n,null)):_&&(le(),M(_,1,1,()=>{_=null}),oe()),y[32]?k?(k.p(y,w),w[1]&2&&C(k,1)):(k=qc(y),k.c(),C(k,1),k.m(r.parentNode,r)):k&&(le(),M(k,1,1,()=>{k=null}),oe()),y[31]?E?(E.p(y,w),w[1]&1&&C(E,1)):(E=Wc(y),E.c(),C(E,1),E.m(l.parentNode,l)):E&&(le(),M(E,1,1,()=>{E=null}),oe()),I&&I.p&&(!d||w[2]&2097152)&&x(I,S,y,y[83],d?Q(S,y[83],w,Ab):$(y[83]),So),y[13]||y[15]?T&&(le(),M(T,1,1,()=>{T=null}),oe()):T?(T.p(y,w),w[0]&40960&&C(T,1)):(T=jc(y),T.c(),C(T,1),T.m(c.parentNode,c)),y[33]?A?(A.p(y,w),w[1]&4&&C(A,1)):(A=Xc(y),A.c(),C(A,1),A.m(u.parentNode,u)):A&&(le(),M(A,1,1,()=>{A=null}),oe())},i(y){d||(C(m),C(p,y),C(b),C(v,y),C(_),C(k),C(E),C(I,y),C(T),C(A),d=!0)},o(y){M(m),M(p,y),M(b),M(v,y),M(_),M(k),M(E),M(I,y),M(T),M(A),d=!1},d(y){y&&(F(e),F(n),F(o),F(r),F(l),F(f),F(c),F(u)),m&&m.d(y),p&&p.d(y),b&&b.d(),v&&v.d(y),_&&_.d(),k&&k.d(y),E&&E.d(y),I&&I.d(y),T&&T.d(y),A&&A.d(y)}}}function Ac(t){let e,n,s=ie(t[1])+"",a,i,o,r,l=t[34]&&Oc(t);const f=t[69].title,c=U(f,t,t[83],Eo);let u=t[33]&&Bc(t);return{c(){e=Z("div"),l&&l.c(),n=V(),a=ge(s),i=V(),c&&c.c(),o=V(),u&&u.c(),se(e,"class","item-title")},m(d,m){z(d,e,m),l&&l.m(e,null),N(e,n),N(e,a),N(e,i),c&&c.m(e,null),N(e,o),u&&u.m(e,null),r=!0},p(d,m){d[34]?l?(l.p(d,m),m[1]&8&&C(l,1)):(l=Oc(d),l.c(),C(l,1),l.m(e,n)):l&&(le(),M(l,1,1,()=>{l=null}),oe()),(!r||m[0]&2)&&s!==(s=ie(d[1])+"")&&we(a,s),c&&c.p&&(!r||m[2]&2097152)&&x(c,f,d,d[83],r?Q(f,d[83],m,Tb):$(d[83]),Eo),d[33]?u?(u.p(d,m),m[1]&4&&C(u,1)):(u=Bc(d),u.c(),C(u,1),u.m(e,null)):u&&(le(),M(u,1,1,()=>{u=null}),oe())},i(d){r||(C(l),C(c,d),C(u),r=!0)},o(d){M(l),M(c,d),M(u),r=!1},d(d){d&&F(e),l&&l.d(),c&&c.d(d),u&&u.d()}}}function Oc(t){let e,n=ie(t[5])+"",s,a,i;const o=t[69].header,r=U(o,t,t[83],Co);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-header")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&32)&&n!==(n=ie(l[5])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,Mb):$(l[83]),Co)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Bc(t){let e,n=ie(t[6])+"",s,a,i;const o=t[69].footer,r=U(o,t,t[83],ko);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-footer")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&64)&&n!==(n=ie(l[6])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,Sb):$(l[83]),ko)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Lc(t){let e,n,s,a,i,o;const r=t[69]["after-start"],l=U(r,t,t[83],vo);let f=typeof t[9]<"u"&&Dc(t),c=typeof t[10]<"u"&&Rc(t);const u=t[69].after,d=U(u,t,t[83],bo),m=t[69]["after-end"],h=U(m,t,t[83],go);return{c(){e=Z("div"),l&&l.c(),n=V(),f&&f.c(),s=V(),c&&c.c(),a=V(),d&&d.c(),i=V(),h&&h.c(),se(e,"class","item-after")},m(p,b){z(p,e,b),l&&l.m(e,null),N(e,n),f&&f.m(e,null),N(e,s),c&&c.m(e,null),N(e,a),d&&d.m(e,null),N(e,i),h&&h.m(e,null),o=!0},p(p,b){l&&l.p&&(!o||b[2]&2097152)&&x(l,r,p,p[83],o?Q(r,p[83],b,yb):$(p[83]),vo),typeof p[9]<"u"?f?f.p(p,b):(f=Dc(p),f.c(),f.m(e,s)):f&&(f.d(1),f=null),typeof p[10]<"u"?c?(c.p(p,b),b[0]&1024&&C(c,1)):(c=Rc(p),c.c(),C(c,1),c.m(e,a)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!o||b[2]&2097152)&&x(d,u,p,p[83],o?Q(u,p[83],b,Cb):$(p[83]),bo),h&&h.p&&(!o||b[2]&2097152)&&x(h,m,p,p[83],o?Q(m,p[83],b,Eb):$(p[83]),go)},i(p){o||(C(l,p),C(c),C(d,p),C(h,p),o=!0)},o(p){M(l,p),M(c),M(d,p),M(h,p),o=!1},d(p){p&&F(e),l&&l.d(p),f&&f.d(),c&&c.d(),d&&d.d(p),h&&h.d(p)}}}function Dc(t){let e,n=ie(t[9])+"",s;return{c(){e=Z("span"),s=ge(n)},m(a,i){z(a,e,i),N(e,s)},p(a,i){i[0]&512&&n!==(n=ie(a[9])+"")&&we(s,n)},d(a){a&&F(e)}}}function Rc(t){let e,n;return e=new zt({props:{color:t[11],$$slots:{default:[wv]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&2048&&(i.color=s[11]),a[0]&1024|a[2]&2097152&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function wv(t){let e=ie(t[10])+"",n;return{c(){n=ge(e)},m(s,a){z(s,n,a)},p(s,a){a[0]&1024&&e!==(e=ie(s[10])+"")&&we(n,e)},d(s){s&&F(n)}}}function Hc(t){let e;const n=t[69].default,s=U(n,t,t[83],null);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,i){s&&s.p&&(!e||i[2]&2097152)&&x(s,n,a,a[83],e?Q(n,a[83],i,null):$(a[83]),null)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function zc(t){let e,n=ie(t[5])+"",s,a,i;const o=t[69].header,r=U(o,t,t[83],Do);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-header")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&32)&&n!==(n=ie(l[5])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,Nb):$(l[83]),Do)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Fc(t){let e,n=ie(t[1])+"",s,a,i;const o=t[69].title,r=U(o,t,t[83],Bo);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-title")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&2)&&n!==(n=ie(l[1])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,zb):$(l[83]),Bo)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Nc(t){let e,n,s,a,i,o;const r=t[69]["after-start"],l=U(r,t,t[83],Ao);let f=typeof t[9]<"u"&&Vc(t),c=typeof t[10]<"u"&&Yc(t);const u=t[69].after,d=U(u,t,t[83],Io),m=t[69]["after-end"],h=U(m,t,t[83],Po);return{c(){e=Z("div"),l&&l.c(),n=V(),f&&f.c(),s=V(),c&&c.c(),a=V(),d&&d.c(),i=V(),h&&h.c(),se(e,"class","item-after")},m(p,b){z(p,e,b),l&&l.m(e,null),N(e,n),f&&f.m(e,null),N(e,s),c&&c.m(e,null),N(e,a),d&&d.m(e,null),N(e,i),h&&h.m(e,null),o=!0},p(p,b){l&&l.p&&(!o||b[2]&2097152)&&x(l,r,p,p[83],o?Q(r,p[83],b,Rb):$(p[83]),Ao),typeof p[9]<"u"?f?f.p(p,b):(f=Vc(p),f.c(),f.m(e,s)):f&&(f.d(1),f=null),typeof p[10]<"u"?c?(c.p(p,b),b[0]&1024&&C(c,1)):(c=Yc(p),c.c(),C(c,1),c.m(e,a)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!o||b[2]&2097152)&&x(d,u,p,p[83],o?Q(u,p[83],b,Db):$(p[83]),Io),h&&h.p&&(!o||b[2]&2097152)&&x(h,m,p,p[83],o?Q(m,p[83],b,Lb):$(p[83]),Po)},i(p){o||(C(l,p),C(c),C(d,p),C(h,p),o=!0)},o(p){M(l,p),M(c),M(d,p),M(h,p),o=!1},d(p){p&&F(e),l&&l.d(p),f&&f.d(),c&&c.d(),d&&d.d(p),h&&h.d(p)}}}function Vc(t){let e,n=ie(t[9])+"",s;return{c(){e=Z("span"),s=ge(n)},m(a,i){z(a,e,i),N(e,s)},p(a,i){i[0]&512&&n!==(n=ie(a[9])+"")&&we(s,n)},d(a){a&&F(e)}}}function Yc(t){let e,n;return e=new zt({props:{color:t[11],$$slots:{default:[Sv]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&2048&&(i.color=s[11]),a[0]&1024|a[2]&2097152&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function Sv(t){let e=ie(t[10])+"",n;return{c(){n=ge(e)},m(s,a){z(s,n,a)},p(s,a){a[0]&1024&&e!==(e=ie(s[10])+"")&&we(n,e)},d(s){s&&F(n)}}}function qc(t){let e,n=ie(t[4])+"",s,a,i;const o=t[69].subtitle,r=U(o,t,t[83],Mo);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-subtitle")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&16)&&n!==(n=ie(l[4])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,Bb):$(l[83]),Mo)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Wc(t){let e,n=ie(t[2])+"",s,a,i;const o=t[69].text,r=U(o,t,t[83],To);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-text")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&4)&&n!==(n=ie(l[2])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,Ob):$(l[83]),To)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function jc(t){let e;const n=t[69].default,s=U(n,t,t[83],null);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,i){s&&s.p&&(!e||i[2]&2097152)&&x(s,n,a,a[83],e?Q(n,a[83],i,null):$(a[83]),null)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function Xc(t){let e,n=ie(t[6])+"",s,a,i;const o=t[69].footer,r=U(o,t,t[83],wo);return{c(){e=Z("div"),s=ge(n),a=V(),r&&r.c(),se(e,"class","item-footer")},m(l,f){z(l,e,f),N(e,s),N(e,a),r&&r.m(e,null),i=!0},p(l,f){(!i||f[0]&64)&&n!==(n=ie(l[6])+"")&&we(s,n),r&&r.p&&(!i||f[2]&2097152)&&x(r,o,l,l[83],i?Q(o,l[83],f,Ib):$(l[83]),wo)},i(l){i||(C(r,l),i=!0)},o(l){M(r,l),i=!1},d(l){l&&F(e),r&&r.d(l)}}}function Gc(t){let e;return{c(){e=Z("div"),se(e,"class","sortable-handler")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function Uc(t){let e;const n=t[69].default,s=U(n,t,t[83],null);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,i){s&&s.p&&(!e||i[2]&2097152)&&x(s,n,a,a[83],e?Q(n,a[83],i,null):$(a[83]),null)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function Tv(t){let e=ie(t[1])+"",n;return{c(){n=ge(e)},m(s,a){z(s,n,a)},p(s,a){a[0]&2&&e!==(e=ie(s[1])+"")&&we(n,e)},d(s){s&&F(n)}}}function Mv(t){let e,n,s,a;const i=[Gb,Xb,jb],o=[];function r(l,f){return l[12]?0:l[42]?1:2}return e=r(t),n=o[e]=i[e](t),{c(){n.c(),s=Ze()},m(l,f){o[e].m(l,f),z(l,s,f),a=!0},p(l,f){let c=e;e=r(l),e===c?o[e].p(l,f):(le(),M(o[c],1,1,()=>{o[c]=null}),oe(),n=o[e],n?n.p(l,f):(n=o[e]=i[e](l),n.c()),C(n,1),n.m(s.parentNode,s))},i(l){a||(C(n),a=!0)},o(l){M(n),a=!1},d(l){l&&F(s),o[e].d(l)}}}function Pv(t,e,n){let s,a,i,o,r,l,f,c,u,d,m,h,p,b,g,v;const _=["class","title","text","media","subtitle","header","footer","tooltip","tooltipTrigger","link","tabLink","tabLinkActive","selected","href","target","after","badge","badgeColor","mediaItem","mediaList","groupTitle","swipeout","swipeoutOpened","sortable","sortableOpposite","accordionItem","accordionItemOpened","smartSelect","smartSelectParams","noChevron","chevronCenter","checkbox","checkboxIcon","radio","radioIcon","checked","indeterminate","name","value","readonly","required","disabled","virtualListIndex","routeProps","smartSelectInstance"];let k=De(e,_),{$$slots:E={},$$scope:S}=e;const I=Fn(E),T=pt(mt,e);let{class:A=void 0}=e,{title:y=void 0}=e,{text:w=void 0}=e,{media:D=void 0}=e,{subtitle:O=void 0}=e,{header:L=void 0}=e,{footer:j=void 0}=e,{tooltip:W=void 0}=e,{tooltipTrigger:Y=void 0}=e,{link:B=void 0}=e,{tabLink:q=void 0}=e,{tabLinkActive:X=!1}=e,{selected:H=!1}=e,{href:G=void 0}=e,{target:ce=void 0}=e,{after:ye=void 0}=e,{badge:ne=void 0}=e,{badgeColor:me=void 0}=e,{mediaItem:K=!1}=e,{mediaList:pe=!1}=e,{groupTitle:ke=!1}=e,{swipeout:he=!1}=e,{swipeoutOpened:re=!1}=e,{sortable:Ce=void 0}=e,{sortableOpposite:Pe=void 0}=e,{accordionItem:Ve=!1}=e,{accordionItemOpened:Me=!1}=e,{smartSelect:He=!1}=e,{smartSelectParams:ze=void 0}=e,{noChevron:fe=void 0}=e,{chevronCenter:ee=void 0}=e,{checkbox:Fe=void 0}=e,{checkboxIcon:Ue=void 0}=e,{radio:qe=void 0}=e,{radioIcon:Oe=void 0}=e,{checked:et=void 0}=e,{indeterminate:Ie=void 0}=e,{name:xe=void 0}=e,{value:Te=void 0}=e,{readonly:Tt=void 0}=e,{required:cn=void 0}=e,{disabled:Kt=void 0}=e,{virtualListIndex:un=void 0}=e,{routeProps:vn=void 0}=e,nt,de,st,ut,ue;function vt(){return ue}let At=Ud("ListContext",ae=>{n(68,At=ae||{})})||{},La=!1;function kp(ae){if(!La){La=!0;return}he&&(ae?J.f7.swipeout.open(nt):J.f7.swipeout.close(nt))}function Ep(ae){ae.target.tagName.toLowerCase()!=="input"&&T("click",ae)}function Da(ae){ae===nt&&T("swipeoutOverswipeEnter")}function Ra(ae){ae===nt&&T("swipeoutOverswipeExit")}function Ha(ae){ae===nt&&T("swipeoutDeleted")}function za(ae){ae===nt&&T("swipeoutDelete")}function Fa(ae){ae===nt&&T("swipeoutClose")}function Na(ae){ae===nt&&T("swipeoutClosed")}function Va(ae){ae===nt&&T("swipeoutOpen")}function Ya(ae){ae===nt&&T("swipeoutOpened")}function qa(ae,qn){ae===nt&&T("swipeout",qn)}function Wa(ae,qn){ae===nt&&T("accordionBeforeClose",[qn])}function ja(ae){ae===nt&&T("accordionClose")}function Xa(ae){ae===nt&&T("accordionClosed")}function Ga(ae,qn){ae===nt&&T("accordionBeforeOpen",[qn])}function Ua(ae){ae===nt&&T("accordionOpen")}function xa(ae){ae===nt&&T("accordionOpened")}function Cp(ae){T("change",[ae]),n(0,et=ae.target.checked)}Gd({smartSelect:He,smartSelectParams:ze},ae=>{ue=ae},()=>de),gt(()=>{Ie&&ut&&n(29,ut.indeterminate=!0,ut),bt(()=>{he&&(J.f7.on("swipeoutOpen",Va),J.f7.on("swipeoutOpened",Ya),J.f7.on("swipeoutClose",Fa),J.f7.on("swipeoutClosed",Na),J.f7.on("swipeoutDelete",za),J.f7.on("swipeoutDeleted",Ha),J.f7.on("swipeoutOverswipeEnter",Da),J.f7.on("swipeoutOverswipeExit",Ra),J.f7.on("swipeout",qa)),Ve&&(J.f7.on("accordionBeforeOpen",Ga),J.f7.on("accordionOpen",Ua),J.f7.on("accordionOpened",xa),J.f7.on("accordionBeforeClose",Wa),J.f7.on("accordionClose",ja),J.f7.on("accordionClosed",Xa)),re&&J.f7.swipeout.open(nt)})}),zn(()=>{ut&&n(29,ut.indeterminate=Ie,ut)}),kt(()=>{J.f7&&(he&&(J.f7.off("swipeoutOpen",Va),J.f7.off("swipeoutOpened",Ya),J.f7.off("swipeoutClose",Fa),J.f7.off("swipeoutClosed",Na),J.f7.off("swipeoutDelete",za),J.f7.off("swipeoutDeleted",Ha),J.f7.off("swipeoutOverswipeEnter",Da),J.f7.off("swipeoutOverswipeExit",Ra),J.f7.off("swipeout",qa)),Ve&&(J.f7.off("accordionBeforeOpen",Ga),J.f7.off("accordionOpen",Ua),J.f7.off("accordionOpened",xa),J.f7.off("accordionBeforeClose",Wa),J.f7.off("accordionClose",ja),J.f7.off("accordionClosed",Xa)))});function yp(ae){$e[ae?"unshift":"push"](()=>{nt=ae,n(26,nt)})}function wp(ae){$e[ae?"unshift":"push"](()=>{nt=ae,n(26,nt)})}function Sp(ae){$e[ae?"unshift":"push"](()=>{st=ae,n(28,st)})}function Tp(ae){$e[ae?"unshift":"push"](()=>{de=ae,n(27,de)})}function Mp(ae){$e[ae?"unshift":"push"](()=>{ut=ae,n(29,ut)})}function Pp(ae){$e[ae?"unshift":"push"](()=>{st=ae,n(28,st)})}function Ip(ae){$e[ae?"unshift":"push"](()=>{st=ae,n(28,st)})}function Ap(ae){$e[ae?"unshift":"push"](()=>{st=ae,n(28,st)})}function Op(ae){$e[ae?"unshift":"push"](()=>{de=ae,n(27,de)})}function Bp(ae){$e[ae?"unshift":"push"](()=>{ut=ae,n(29,ut)})}function Lp(ae){$e[ae?"unshift":"push"](()=>{st=ae,n(28,st)})}function Dp(ae){$e[ae?"unshift":"push"](()=>{st=ae,n(28,st)})}function Rp(ae){$e[ae?"unshift":"push"](()=>{nt=ae,n(26,nt)})}return t.$$set=ae=>{n(104,e=Ee(Ee({},e),Be(ae))),n(47,k=De(e,_)),"class"in ae&&n(48,A=ae.class),"title"in ae&&n(1,y=ae.title),"text"in ae&&n(2,w=ae.text),"media"in ae&&n(3,D=ae.media),"subtitle"in ae&&n(4,O=ae.subtitle),"header"in ae&&n(5,L=ae.header),"footer"in ae&&n(6,j=ae.footer),"tooltip"in ae&&n(7,W=ae.tooltip),"tooltipTrigger"in ae&&n(8,Y=ae.tooltipTrigger),"link"in ae&&n(49,B=ae.link),"tabLink"in ae&&n(50,q=ae.tabLink),"tabLinkActive"in ae&&n(51,X=ae.tabLinkActive),"selected"in ae&&n(52,H=ae.selected),"href"in ae&&n(53,G=ae.href),"target"in ae&&n(54,ce=ae.target),"after"in ae&&n(9,ye=ae.after),"badge"in ae&&n(10,ne=ae.badge),"badgeColor"in ae&&n(11,me=ae.badgeColor),"mediaItem"in ae&&n(55,K=ae.mediaItem),"mediaList"in ae&&n(56,pe=ae.mediaList),"groupTitle"in ae&&n(12,ke=ae.groupTitle),"swipeout"in ae&&n(13,he=ae.swipeout),"swipeoutOpened"in ae&&n(57,re=ae.swipeoutOpened),"sortable"in ae&&n(14,Ce=ae.sortable),"sortableOpposite"in ae&&n(58,Pe=ae.sortableOpposite),"accordionItem"in ae&&n(15,Ve=ae.accordionItem),"accordionItemOpened"in ae&&n(59,Me=ae.accordionItemOpened),"smartSelect"in ae&&n(60,He=ae.smartSelect),"smartSelectParams"in ae&&n(61,ze=ae.smartSelectParams),"noChevron"in ae&&n(62,fe=ae.noChevron),"chevronCenter"in ae&&n(63,ee=ae.chevronCenter),"checkbox"in ae&&n(16,Fe=ae.checkbox),"checkboxIcon"in ae&&n(64,Ue=ae.checkboxIcon),"radio"in ae&&n(17,qe=ae.radio),"radioIcon"in ae&&n(65,Oe=ae.radioIcon),"checked"in ae&&n(0,et=ae.checked),"indeterminate"in ae&&n(66,Ie=ae.indeterminate),"name"in ae&&n(18,xe=ae.name),"value"in ae&&n(19,Te=ae.value),"readonly"in ae&&n(20,Tt=ae.readonly),"required"in ae&&n(21,cn=ae.required),"disabled"in ae&&n(22,Kt=ae.disabled),"virtualListIndex"in ae&&n(23,un=ae.virtualListIndex),"routeProps"in ae&&n(24,vn=ae.routeProps),"$$scope"in ae&&n(83,S=ae.$$scope)},t.$$.update=()=>{t.$$.dirty[1]&50331648|t.$$.dirty[2]&64&&n(25,s=pe||K||At.listIsMedia),t.$$.dirty[0]&16384|t.$$.dirty[2]&64&&n(44,a=Ce===!0||Ce===!1?Ce:At.listIsSortable),t.$$.dirty[1]&134217728|t.$$.dirty[2]&64&&n(43,i=Pe||At.listIsSortableOpposite),t.$$.dirty[2]&64&&n(42,o=At.listIsSimple),n(41,r=Je(A,{"list-group-title":ke,"media-item":s,swipeout:he,"accordion-item":Ve,"accordion-item-opened":Me,disabled:Kt&&!(qe||Fe),"no-chevron":fe,"chevron-center":ee,"disallow-sorting":Ce===!1},tt(e))),n(40,l=Je(A,"item-content",{"item-checkbox":Fe,"item-radio":qe,"item-checkbox-icon-start":Fe&&Ue==="start","item-checkbox-icon-end":Fe&&Ue==="end","item-radio-icon-start":qe&&Oe==="start","item-radio-icon-end":qe&&Oe==="end"},tt(e))),n(39,f=Je({"item-link":!0,"smart-select":He,"tab-link":q||q==="","tab-link-active":X,"item-selected":H},Ea(e),ya(e))),n(38,c={href:B===!0?"":B||G,target:ce,"data-tab":at(q)&&q||void 0,...ka(e),...Ca(e)}),t.$$.dirty[0]&32768|t.$$.dirty[1]&541327360&&n(37,u=B||G||He||Ve),t.$$.dirty[0]&8&&n(36,d=typeof D<"u"||I.media),t.$$.dirty[0]&2&&n(35,m=typeof y<"u"||I.title),t.$$.dirty[0]&32&&n(34,h=typeof L<"u"||I.header),t.$$.dirty[0]&64&&n(33,p=typeof j<"u"||I.footer),t.$$.dirty[0]&16&&n(32,b=typeof O<"u"||I.subtitle),t.$$.dirty[0]&4&&n(31,g=typeof w<"u"||I.text),t.$$.dirty[0]&1536&&n(30,v=typeof ye<"u"||typeof ne<"u"||I.after),t.$$.dirty[1]&67108864&&kp(re)},e=Be(e),[et,y,w,D,O,L,j,W,Y,ye,ne,me,ke,he,Ce,Ve,Fe,qe,xe,Te,Tt,cn,Kt,un,vn,s,nt,de,st,ut,v,g,b,p,h,m,d,u,c,f,l,r,o,i,a,Ep,Cp,k,A,B,q,X,H,G,ce,K,pe,re,Pe,Me,He,ze,fe,ee,Ue,Oe,Ie,vt,At,E,yp,wp,Sp,Tp,Mp,Pp,Ip,Ap,Op,Bp,Lp,Dp,Rp,S]}class $d extends We{constructor(e){super(),je(this,e,Pv,Mv,Xe,{class:48,title:1,text:2,media:3,subtitle:4,header:5,footer:6,tooltip:7,tooltipTrigger:8,link:49,tabLink:50,tabLinkActive:51,selected:52,href:53,target:54,after:9,badge:10,badgeColor:11,mediaItem:55,mediaList:56,groupTitle:12,swipeout:13,swipeoutOpened:57,sortable:14,sortableOpposite:58,accordionItem:15,accordionItemOpened:59,smartSelect:60,smartSelectParams:61,noChevron:62,chevronCenter:63,checkbox:16,checkboxIcon:64,radio:17,radioIcon:65,checked:0,indeterminate:66,name:18,value:19,readonly:20,required:21,disabled:22,virtualListIndex:23,routeProps:24,smartSelectInstance:67},null,[-1,-1,-1,-1])}get smartSelectInstance(){return this.$$.ctx[67]}}const Iv=t=>({}),xc=t=>({}),Av=t=>({}),$c=t=>({}),Ov=t=>({}),Qc=t=>({}),Bv=t=>({}),Kc=t=>({}),Lv=t=>({}),Zc=t=>({}),Dv=t=>({}),Jc=t=>({});function Rv(t){let e,n,s,a,i,o,r;const l=t[56]["before-list"],f=U(l,t,t[55],Qc),c=[Fv,zv],u=[];function d(g,v){return g[5]&&g[0]?0:1}s=d(t),a=u[s]=c[s](t);const m=t[56]["after-list"],h=U(m,t,t[55],xc);let p=[{class:t[4]},{"data-sortable-move-elements":o=typeof t[1]<"u"?t[1].toString():void 0},Re(t[7])],b={};for(let g=0;g{u[_]=null}),oe(),a=u[s],a?a.p(g,v):(a=u[s]=c[s](g),a.c()),C(a,1),a.m(e,i)),h&&h.p&&(!r||v[1]&16777216)&&x(h,m,g,g[55],r?Q(m,g[55],v,Iv):$(g[55]),xc),Ae(e,b=Ge(p,[(!r||v[0]&16)&&{class:g[4]},(!r||v[0]&2&&o!==(o=typeof g[1]<"u"?g[1].toString():void 0))&&{"data-sortable-move-elements":o},v[0]&128&&Re(g[7])]))},i(g){r||(C(f,g),C(a),C(h,g),r=!0)},o(g){M(f,g),M(a),M(h,g),r=!1},d(g){g&&F(e),f&&f.d(g),u[s].d(),h&&h.d(g),t[58](null)}}}function Hv(t){let e,n,s,a,i,o,r,l,f;const c=t[56]["before-list"],u=U(c,t,t[55],Jc),d=[Vv,Nv],m=[];function h(_,k){return _[5]&&_[0]?0:1}s=h(t),a=m[s]=d[s](t);const p=t[56]["after-list"],b=U(p,t,t[55],Kc);let g=[{class:t[4]},{"data-sortable-move-elements":o=typeof t[1]<"u"?t[1].toString():void 0},Re(t[7])],v={};for(let _=0;_{m[E]=null}),oe(),a=m[s],a?a.p(_,k):(a=m[s]=d[s](_),a.c()),C(a,1),a.m(e,i)),b&&b.p&&(!r||k[1]&16777216)&&x(b,p,_,_[55],r?Q(p,_[55],k,Bv):$(_[55]),Kc),Ae(e,v=Ge(g,[(!r||k[0]&16)&&{class:_[4]},(!r||k[0]&2&&o!==(o=typeof _[1]<"u"?_[1].toString():void 0))&&{"data-sortable-move-elements":o},k[0]&128&&Re(_[7])]))},i(_){r||(C(u,_),C(a),C(b,_),r=!0)},o(_){M(u,_),M(a),M(b,_),r=!1},d(_){_&&F(e),u&&u.d(_),m[s].d(),b&&b.d(_),t[57](null),l=!1,f()}}}function zv(t){let e;const n=t[56].default,s=U(n,t,t[55],null);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,i){s&&s.p&&(!e||i[1]&16777216)&&x(s,n,a,a[55],e?Q(n,a[55],i,null):$(a[55]),null)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function Fv(t){let e,n,s;const a=t[56].list,i=U(a,t,t[55],$c),o=t[56].default,r=U(o,t,t[55],null);return{c(){e=Z("ul"),i&&i.c(),n=V(),r&&r.c()},m(l,f){z(l,e,f),i&&i.m(e,null),N(e,n),r&&r.m(e,null),s=!0},p(l,f){i&&i.p&&(!s||f[1]&16777216)&&x(i,a,l,l[55],s?Q(a,l[55],f,Av):$(l[55]),$c),r&&r.p&&(!s||f[1]&16777216)&&x(r,o,l,l[55],s?Q(o,l[55],f,null):$(l[55]),null)},i(l){s||(C(i,l),C(r,l),s=!0)},o(l){M(i,l),M(r,l),s=!1},d(l){l&&F(e),i&&i.d(l),r&&r.d(l)}}}function Nv(t){let e;const n=t[56].default,s=U(n,t,t[55],null);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,i){s&&s.p&&(!e||i[1]&16777216)&&x(s,n,a,a[55],e?Q(n,a[55],i,null):$(a[55]),null)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function Vv(t){let e,n,s;const a=t[56].list,i=U(a,t,t[55],Zc),o=t[56].default,r=U(o,t,t[55],null);return{c(){e=Z("ul"),i&&i.c(),n=V(),r&&r.c()},m(l,f){z(l,e,f),i&&i.m(e,null),N(e,n),r&&r.m(e,null),s=!0},p(l,f){i&&i.p&&(!s||f[1]&16777216)&&x(i,a,l,l[55],s?Q(a,l[55],f,Lv):$(l[55]),Zc),r&&r.p&&(!s||f[1]&16777216)&&x(r,o,l,l[55],s?Q(o,l[55],f,null):$(l[55]),null)},i(l){s||(C(i,l),C(r,l),s=!0)},o(l){M(i,l),M(r,l),s=!1},d(l){l&&F(e),i&&i.d(l),r&&r.d(l)}}}function Yv(t){let e,n,s,a;const i=[Hv,Rv],o=[];function r(l,f){return l[2]?0:1}return e=r(t),n=o[e]=i[e](t),{c(){n.c(),s=Ze()},m(l,f){o[e].m(l,f),z(l,s,f),a=!0},p(l,f){let c=e;e=r(l),e===c?o[e].p(l,f):(le(),M(o[c],1,1,()=>{o[c]=null}),oe(),n=o[e],n?n.p(l,f):(n=o[e]=i[e](l),n.c()),C(n,1),n.m(s.parentNode,s))},i(l){a||(C(n),a=!0)},o(l){M(n),a=!1},d(l){l&&F(s),o[e].d(l)}}}function qv(t,e,n){let s,a;const i=["class","ul","inset","insetIos","insetMd","xsmallInset","xsmallInsetIos","xsmallInsetMd","smallInset","smallInsetIos","smallInsetMd","mediumInset","mediumInsetIos","mediumInsetMd","largeInset","largeInsetIos","largeInsetMd","xlargeInset","xlargeInsetIos","xlargeInsetMd","strong","strongIos","strongMd","outline","outlineIos","outlineMd","dividers","dividersIos","dividersMd","mediaList","sortable","sortableTapHold","sortableEnabled","sortableMoveElements","sortableOpposite","accordionList","accordionOpposite","contactsList","simpleList","linksList","menuList","noChevron","chevronCenter","tab","tabActive","form","formStoreData","virtualList","virtualListParams","virtualListInstance"];let o=De(e,i),{$$slots:r={},$$scope:l}=e;const f=Fn(r),c=pt(mt,e);let{class:u=void 0}=e,{ul:d=!0}=e,{inset:m=!1}=e,{insetIos:h=!1}=e,{insetMd:p=!1}=e,{xsmallInset:b=!1}=e,{xsmallInsetIos:g=!1}=e,{xsmallInsetMd:v=!1}=e,{smallInset:_=!1}=e,{smallInsetIos:k=!1}=e,{smallInsetMd:E=!1}=e,{mediumInset:S=!1}=e,{mediumInsetIos:I=!1}=e,{mediumInsetMd:T=!1}=e,{largeInset:A=!1}=e,{largeInsetIos:y=!1}=e,{largeInsetMd:w=!1}=e,{xlargeInset:D=!1}=e,{xlargeInsetIos:O=!1}=e,{xlargeInsetMd:L=!1}=e,{strong:j=!1}=e,{strongIos:W=!1}=e,{strongMd:Y=!1}=e,{outline:B=!1}=e,{outlineIos:q=!1}=e,{outlineMd:X=!1}=e,{dividers:H=!1}=e,{dividersIos:G=!1}=e,{dividersMd:ce=!1}=e,{mediaList:ye=!1}=e,{sortable:ne=!1}=e,{sortableTapHold:me=!1}=e,{sortableEnabled:K=!1}=e,{sortableMoveElements:pe=void 0}=e,{sortableOpposite:ke=!1}=e,{accordionList:he=!1}=e,{accordionOpposite:re=!1}=e,{contactsList:Ce=!1}=e,{simpleList:Pe=!1}=e,{linksList:Ve=!1}=e,{menuList:Me=!1}=e,{noChevron:He=!1}=e,{chevronCenter:ze=!1}=e,{tab:fe=!1}=e,{tabActive:ee=!1}=e,{form:Fe=!1}=e,{formStoreData:Ue=!1}=e,{virtualList:qe=!1}=e,{virtualListParams:Oe=void 0}=e,et,Ie;function xe(){return Ie}xd("ListContext",()=>({listIsMedia:ye,listIsSimple:Pe,listIsSortable:ne,listIsSortableOpposite:ke}));function Te(de){c("submit",[de])}function Tt(de){de===et&&c("sortableEnable")}function cn(de){de===et&&c("sortableDisable")}function Kt(de,st,ut){ut===et&&c("sortableSort",[st])}function un(de,st){st===et&&c("sortableMove",[de,st])}Is(()=>et,c),gt(()=>{bt(()=>{if(J.f7.on("sortableEnable",Tt),J.f7.on("sortableDisable",cn),J.f7.on("sortableSort",Kt),J.f7.on("sortableMove",un),!qe)return;const de=Oe||{};!de.renderItem&&!de.renderExternal||(Ie=J.f7.virtualList.create(kn({el:et,on:{itemBeforeInsert(st,ut){c("virtualItemBeforeInsert",[this,st,ut])},beforeClear(st){c("virtualBeforeClear",[this,st])},itemsBeforeInsert(st){c("virtualItemsBeforeInsert",[this,st])},itemsAfterInsert(st){c("virtualItemsAfterInsert",[this,st])}}},de)))})}),kt(()=>{J.f7&&(J.f7.off("sortableEnable",Tt),J.f7.off("sortableDisable",cn),J.f7.off("sortableSort",Kt),J.f7.off("sortableMove",un),Ie&&Ie.destroy&&(Ie.destroy(),Ie=null))});function vn(de){$e[de?"unshift":"push"](()=>{et=de,n(3,et)})}function nt(de){$e[de?"unshift":"push"](()=>{et=de,n(3,et)})}return t.$$set=de=>{n(65,e=Ee(Ee({},e),Be(de))),n(7,o=De(e,i)),"class"in de&&n(8,u=de.class),"ul"in de&&n(0,d=de.ul),"inset"in de&&n(9,m=de.inset),"insetIos"in de&&n(10,h=de.insetIos),"insetMd"in de&&n(11,p=de.insetMd),"xsmallInset"in de&&n(12,b=de.xsmallInset),"xsmallInsetIos"in de&&n(13,g=de.xsmallInsetIos),"xsmallInsetMd"in de&&n(14,v=de.xsmallInsetMd),"smallInset"in de&&n(15,_=de.smallInset),"smallInsetIos"in de&&n(16,k=de.smallInsetIos),"smallInsetMd"in de&&n(17,E=de.smallInsetMd),"mediumInset"in de&&n(18,S=de.mediumInset),"mediumInsetIos"in de&&n(19,I=de.mediumInsetIos),"mediumInsetMd"in de&&n(20,T=de.mediumInsetMd),"largeInset"in de&&n(21,A=de.largeInset),"largeInsetIos"in de&&n(22,y=de.largeInsetIos),"largeInsetMd"in de&&n(23,w=de.largeInsetMd),"xlargeInset"in de&&n(24,D=de.xlargeInset),"xlargeInsetIos"in de&&n(25,O=de.xlargeInsetIos),"xlargeInsetMd"in de&&n(26,L=de.xlargeInsetMd),"strong"in de&&n(27,j=de.strong),"strongIos"in de&&n(28,W=de.strongIos),"strongMd"in de&&n(29,Y=de.strongMd),"outline"in de&&n(30,B=de.outline),"outlineIos"in de&&n(31,q=de.outlineIos),"outlineMd"in de&&n(32,X=de.outlineMd),"dividers"in de&&n(33,H=de.dividers),"dividersIos"in de&&n(34,G=de.dividersIos),"dividersMd"in de&&n(35,ce=de.dividersMd),"mediaList"in de&&n(36,ye=de.mediaList),"sortable"in de&&n(37,ne=de.sortable),"sortableTapHold"in de&&n(38,me=de.sortableTapHold),"sortableEnabled"in de&&n(39,K=de.sortableEnabled),"sortableMoveElements"in de&&n(1,pe=de.sortableMoveElements),"sortableOpposite"in de&&n(40,ke=de.sortableOpposite),"accordionList"in de&&n(41,he=de.accordionList),"accordionOpposite"in de&&n(42,re=de.accordionOpposite),"contactsList"in de&&n(43,Ce=de.contactsList),"simpleList"in de&&n(44,Pe=de.simpleList),"linksList"in de&&n(45,Ve=de.linksList),"menuList"in de&&n(46,Me=de.menuList),"noChevron"in de&&n(47,He=de.noChevron),"chevronCenter"in de&&n(48,ze=de.chevronCenter),"tab"in de&&n(49,fe=de.tab),"tabActive"in de&&n(50,ee=de.tabActive),"form"in de&&n(2,Fe=de.form),"formStoreData"in de&&n(51,Ue=de.formStoreData),"virtualList"in de&&n(52,qe=de.virtualList),"virtualListParams"in de&&n(53,Oe=de.virtualListParams),"$$scope"in de&&n(55,l=de.$$scope)},t.$$.update=()=>{n(4,a=Je(u,"list",{inset:m,"inset-ios":h,"inset-md":p,"xsmall-inset":b,"xsmall-inset-ios":g,"xsmall-inset-md":v,"small-inset":_,"small-inset-ios":k,"small-inset-md":E,"medium-inset":S,"medium-inset-ios":I,"medium-inset-md":T,"large-inset":A,"large-inset-ios":y,"large-inset-md":w,"xlarge-inset":D,"xlarge-inset-ios":O,"xlarge-inset-md":L,"list-strong":j,"list-strong-ios":W,"list-strong-md":Y,"list-outline":B,"list-outline-ios":q,"list-outline-md":X,"list-dividers":H,"list-dividers-ios":G,"list-dividers-md":ce,"media-list":ye,"simple-list":Pe,"links-list":Ve,"menu-list":Me,sortable:ne,"sortable-tap-hold":me,"sortable-enabled":K,"sortable-opposite":ke,"accordion-list":he,"accordion-opposite":re,"contacts-list":Ce,"virtual-list":qe,tab:fe,"tab-active":ee,"form-store-data":Ue,"no-chevron":He,"chevron-center":ze},tt(e)))},n(5,s=f.default||f.list),e=Be(e),[d,pe,Fe,et,a,s,Te,o,u,m,h,p,b,g,v,_,k,E,S,I,T,A,y,w,D,O,L,j,W,Y,B,q,X,H,G,ce,ye,ne,me,K,ke,he,re,Ce,Pe,Ve,Me,He,ze,fe,ee,Ue,qe,Oe,xe,l,r,vn,nt]}class Qd extends We{constructor(e){super(),je(this,e,qv,Yv,Xe,{class:8,ul:0,inset:9,insetIos:10,insetMd:11,xsmallInset:12,xsmallInsetIos:13,xsmallInsetMd:14,smallInset:15,smallInsetIos:16,smallInsetMd:17,mediumInset:18,mediumInsetIos:19,mediumInsetMd:20,largeInset:21,largeInsetIos:22,largeInsetMd:23,xlargeInset:24,xlargeInsetIos:25,xlargeInsetMd:26,strong:27,strongIos:28,strongMd:29,outline:30,outlineIos:31,outlineMd:32,dividers:33,dividersIos:34,dividersMd:35,mediaList:36,sortable:37,sortableTapHold:38,sortableEnabled:39,sortableMoveElements:1,sortableOpposite:40,accordionList:41,accordionOpposite:42,contactsList:43,simpleList:44,linksList:45,menuList:46,noChevron:47,chevronCenter:48,tab:49,tabActive:50,form:2,formStoreData:51,virtualList:52,virtualListParams:53,virtualListInstance:54},null,[-1,-1,-1])}get virtualListInstance(){return this.$$.ctx[54]}}function eu(t){let e,n;return e=new xt({props:{href:t[1]||"#",back:!0,icon:"icon-back",force:t[2]||void 0,class:t[3]?void 0:"icon-only",text:t[3],onClick:t[5]}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&2&&(i.href=s[1]||"#"),a&4&&(i.force=s[2]||void 0),a&8&&(i.class=s[3]?void 0:"icon-only"),a&8&&(i.text=s[3]),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function Wv(t){let e,n,s,a=t[0]&&eu(t);const i=t[13].default,o=U(i,t,t[12],null);let r=[{class:t[4]},Re(t[6])],l={};for(let f=0;f{a=null}),oe()),o&&o.p&&(!s||c&4096)&&x(o,i,f,f[12],s?Q(i,f[12],c,null):$(f[12]),null),Ae(e,l=Ge(r,[(!s||c&16)&&{class:f[4]},c&64&&Re(f[6])]))},i(f){s||(C(a),C(o,f),s=!0)},o(f){M(a),M(o,f),s=!1},d(f){f&&F(e),a&&a.d(),o&&o.d(f)}}}function jv(t,e,n){let s,a,i;const o=["class","backLink","backLinkUrl","backLinkForce","backLinkShowText","sliding"];let r=De(e,o),{$$slots:l={},$$scope:f}=e;const c=pt(mt,e);let{class:u=void 0}=e,{backLink:d=void 0}=e,{backLinkUrl:m=void 0}=e,{backLinkForce:h=void 0}=e,{backLinkShowText:p=void 0}=e,{sliding:b=void 0}=e,g=os(_=>{n(10,g=_)});function v(){c("clickBack"),c("backClick")}return t.$$set=_=>{n(15,e=Ee(Ee({},e),Be(_))),n(6,r=De(e,o)),"class"in _&&n(7,u=_.class),"backLink"in _&&n(0,d=_.backLink),"backLinkUrl"in _&&n(1,m=_.backLinkUrl),"backLinkForce"in _&&n(2,h=_.backLinkForce),"backLinkShowText"in _&&n(8,p=_.backLinkShowText),"sliding"in _&&n(9,b=_.sliding),"$$scope"in _&&n(12,f=_.$$scope)},t.$$.update=()=>{n(4,s=Je(u,"left",{sliding:b},tt(e))),t.$$.dirty&256&&n(11,a=p),t.$$.dirty&3072&&typeof a>"u"&&n(11,a=g&&!g.md),t.$$.dirty&2049&&n(3,i=d!==!0&&a?d:void 0)},e=Be(e),[d,m,h,i,s,v,r,u,p,b,g,a,f,l]}class As extends We{constructor(e){super(),je(this,e,jv,Wv,Xe,{class:7,backLink:0,backLinkUrl:1,backLinkForce:2,backLinkShowText:8,sliding:9})}}function Xv(t){let e,n;const s=t[5].default,a=U(s,t,t[4],null);let i=[{class:t[0]},Re(t[1])],o={};for(let r=0;r{n(6,e=Ee(Ee({},e),Be(c))),n(1,i=De(e,a)),"class"in c&&n(2,l=c.class),"sliding"in c&&n(3,f=c.sliding),"$$scope"in c&&n(4,r=c.$$scope)},t.$$.update=()=>{n(0,s=Je(l,"right",{sliding:f},tt(e)))},e=Be(e),[s,i,l,f,r,o]}class Os extends We{constructor(e){super(),je(this,e,Gv,Xv,Xe,{class:2,sliding:3})}}function tu(t){let e=ie(t[0])+"",n;return{c(){n=ge(e)},m(s,a){z(s,n,a)},p(s,a){a&1&&e!==(e=ie(s[0])+"")&&we(n,e)},d(s){s&&F(n)}}}function nu(t){let e,n=ie(t[1])+"",s;return{c(){e=Z("span"),s=ge(n),se(e,"class","subtitle")},m(a,i){z(a,e,i),N(e,s)},p(a,i){i&2&&n!==(n=ie(a[1])+"")&&we(s,n)},d(a){a&&F(e)}}}function Uv(t){let e,n,s,a,i=typeof t[0]<"u"&&tu(t),o=typeof t[1]<"u"&&nu(t);const r=t[7].default,l=U(r,t,t[6],null);let f=[{class:t[2]},Re(t[3])],c={};for(let u=0;u{n(8,e=Ee(Ee({},e),Be(d))),n(3,i=De(e,a)),"class"in d&&n(4,l=d.class),"title"in d&&n(0,f=d.title),"subtitle"in d&&n(1,c=d.subtitle),"sliding"in d&&n(5,u=d.sliding),"$$scope"in d&&n(6,r=d.$$scope)},t.$$.update=()=>{n(2,s=Je(l,"title",{sliding:u},tt(e)))},e=Be(e),[f,c,s,i,l,u,r,o]}class Bs extends We{constructor(e){super(),je(this,e,xv,Uv,Xe,{class:4,title:0,subtitle:1,sliding:5})}}const $v=t=>({}),su=t=>({}),Qv=t=>({}),au=t=>({}),Kv=t=>({}),iu=t=>({}),Zv=t=>({}),ru=t=>({}),Jv=t=>({}),lu=t=>({}),e1=t=>({}),ou=t=>({}),t1=t=>({}),fu=t=>({}),n1=t=>({}),cu=t=>({});function uu(t){let e,n;return e=new As({props:{backLink:t[0],backLinkUrl:t[1],backLinkForce:t[2],backLinkShowText:t[3],onBackClick:t[15],$$slots:{default:[s1]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&1&&(i.backLink=s[0]),a[0]&2&&(i.backLinkUrl=s[1]),a[0]&4&&(i.backLinkForce=s[2]),a[0]&8&&(i.backLinkShowText=s[3]),a[1]&8192&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function s1(t){let e,n;const s=t[42]["nav-left"],a=U(s,t,t[44],fu),i=t[42].left,o=U(i,t,t[44],ou);return{c(){a&&a.c(),e=V(),o&&o.c()},m(r,l){a&&a.m(r,l),z(r,e,l),o&&o.m(r,l),n=!0},p(r,l){a&&a.p&&(!n||l[1]&8192)&&x(a,s,r,r[44],n?Q(s,r[44],l,t1):$(r[44]),fu),o&&o.p&&(!n||l[1]&8192)&&x(o,i,r,r[44],n?Q(i,r[44],l,e1):$(r[44]),ou)},i(r){n||(C(a,r),C(o,r),n=!0)},o(r){M(a,r),M(o,r),n=!1},d(r){r&&F(e),a&&a.d(r),o&&o.d(r)}}}function du(t){let e,n;return e=new Bs({props:{title:t[4],subtitle:t[5],$$slots:{default:[a1]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&16&&(i.title=s[4]),a[0]&32&&(i.subtitle=s[5]),a[1]&8192&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function a1(t){let e;const n=t[42].title,s=U(n,t,t[44],lu);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,i){s&&s.p&&(!e||i[1]&8192)&&x(s,n,a,a[44],e?Q(n,a[44],i,Jv):$(a[44]),lu)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function pu(t){let e,n;return e=new Os({props:{$$slots:{default:[i1]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[1]&8192&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function i1(t){let e,n;const s=t[42]["nav-right"],a=U(s,t,t[44],ru),i=t[42].right,o=U(i,t,t[44],iu);return{c(){a&&a.c(),e=V(),o&&o.c()},m(r,l){a&&a.m(r,l),z(r,e,l),o&&o.m(r,l),n=!0},p(r,l){a&&a.p&&(!n||l[1]&8192)&&x(a,s,r,r[44],n?Q(s,r[44],l,Zv):$(r[44]),ru),o&&o.p&&(!n||l[1]&8192)&&x(o,i,r,r[44],n?Q(i,r[44],l,Kv):$(r[44]),iu)},i(r){n||(C(a,r),C(o,r),n=!0)},o(r){M(a,r),M(o,r),n=!1},d(r){r&&F(e),a&&a.d(r),o&&o.d(r)}}}function mu(t){let e,n,s=ie(t[11])+"",a,i,o;const r=t[42]["title-large"],l=U(r,t,t[44],au);return{c(){e=Z("div"),n=Z("div"),a=ge(s),i=V(),l&&l.c(),se(n,"class","title-large-text"),se(e,"class","title-large")},m(f,c){z(f,e,c),N(e,n),N(n,a),N(n,i),l&&l.m(n,null),o=!0},p(f,c){(!o||c[0]&2048)&&s!==(s=ie(f[11])+"")&&we(a,s),l&&l.p&&(!o||c[1]&8192)&&x(l,r,f,f[44],o?Q(r,f[44],c,Qv):$(f[44]),au)},i(f){o||(C(l,f),o=!0)},o(f){M(l,f),o=!1},d(f){f&&F(e),l&&l.d(f)}}}function r1(t){let e,n,s,a,i,o,r,l,f,c,u;const d=t[42]["before-inner"],m=U(d,t,t[44],cu);let h=(t[0]||t[14])&&uu(t),p=(t[4]||t[5]||t[12])&&du(t),b=t[13]&&pu(t),g=(t[11]||t[10])&&mu(t);const v=t[42].default,_=U(v,t,t[44],null),k=t[42]["after-inner"],E=U(k,t,t[44],su);let S=[{class:t[9]},{"data-f7-slot":t[6]},Re(t[16])],I={};for(let T=0;T{h=null}),oe()),T[4]||T[5]||T[12]?p?(p.p(T,A),A[0]&4144&&C(p,1)):(p=du(T),p.c(),C(p,1),p.m(i,r)):p&&(le(),M(p,1,1,()=>{p=null}),oe()),T[13]?b?(b.p(T,A),A[0]&8192&&C(b,1)):(b=pu(T),b.c(),C(b,1),b.m(i,l)):b&&(le(),M(b,1,1,()=>{b=null}),oe()),T[11]||T[10]?g?(g.p(T,A),A[0]&3072&&C(g,1)):(g=mu(T),g.c(),C(g,1),g.m(i,f)):g&&(le(),M(g,1,1,()=>{g=null}),oe()),_&&_.p&&(!u||A[1]&8192)&&x(_,v,T,T[44],u?Q(v,T[44],A,null):$(T[44]),null),(!u||A[0]&256)&&se(i,"class",T[8]),E&&E.p&&(!u||A[1]&8192)&&x(E,k,T,T[44],u?Q(k,T[44],A,$v):$(T[44]),su),Ae(e,I=Ge(S,[(!u||A[0]&512)&&{class:T[9]},(!u||A[0]&64)&&{"data-f7-slot":T[6]},A[0]&65536&&Re(T[16])]))},i(T){u||(C(m,T),C(h),C(p),C(b),C(g),C(_,T),C(E,T),u=!0)},o(T){M(m,T),M(h),M(p),M(b),M(g),M(_,T),M(E,T),u=!1},d(T){T&&F(e),m&&m.d(T),h&&h.d(),p&&p.d(),b&&b.d(),g&&g.d(),_&&_.d(T),E&&E.d(T),t[43](null)}}}function l1(t,e,n){let s,a,i,o,r,l,f,c,u,d,m,h;const p=["class","backLink","backLinkUrl","backLinkForce","backLinkShowText","sliding","title","subtitle","hidden","outline","innerClass","innerClassName","large","largeTransparent","transparent","titleLarge","f7Slot","hide","show","size"];let b=De(e,p),{$$slots:g={},$$scope:v}=e;const _=Fn(g),k=pt(mt,e);let{class:E=void 0}=e,{backLink:S=void 0}=e,{backLinkUrl:I=void 0}=e,{backLinkForce:T=!1}=e,{backLinkShowText:A=void 0}=e,{sliding:y=!0}=e,{title:w=void 0}=e,{subtitle:D=void 0}=e,{hidden:O=!1}=e,{outline:L=!0}=e,{innerClass:j=void 0}=e,{innerClassName:W=void 0}=e,{large:Y=!1}=e,{largeTransparent:B=!1}=e,{transparent:q=!1}=e,{titleLarge:X=void 0}=e,{f7Slot:H="fixed"}=e,G,ce=os(Te=>{n(30,ce=Te)}),ye="",ne=!1,me=null,K=!1,pe=!1,ke=!1;function he(Te){J.f7.navbar.hide(G,Te)}function re(Te){J.f7.navbar.show(G,Te)}function Ce(){J.f7.navbar.size(G)}function Pe(Te){G===Te&&k("navbarHide")}function Ve(Te){G===Te&&k("navbarShow")}function Me(Te){G===Te&&(n(36,ke=!0),k("navbarTransparentShow"))}function He(Te){G===Te&&(n(36,ke=!1),k("navbarTransparentHide"))}function ze(Te){G===Te&&(n(32,ne=!1),k("navbarExpand"))}function fe(Te){G===Te&&(n(32,ne=!0),k("navbarCollapse"))}function ee(Te,Tt){G===Te&&n(31,ye=Tt&&`navbar-${Tt}`)}function Fe(Te,Tt){G===Te&&(n(33,me=Tt.role),n(34,K=Tt.detailRoot))}function Ue(Te){G===Te&&n(35,pe=!0)}function qe(Te){G===Te&&n(35,pe=!1)}function Oe(){k("clickBack")}function et(){J.f7.on("navbarShow",Ve),J.f7.on("navbarHide",Pe),J.f7.on("navbarCollapse",fe),J.f7.on("navbarExpand",ze),J.f7.on("navbarPosition",ee),J.f7.on("navbarRole",Fe),J.f7.on("navbarMasterStack",Ue),J.f7.on("navbarMasterUnstack",qe),J.f7.on("navbarTransparentShow",Me),J.f7.on("navbarTransparentHide",He)}function Ie(){J.f7.off("navbarShow",Ve),J.f7.off("navbarHide",Pe),J.f7.off("navbarCollapse",fe),J.f7.off("navbarExpand",ze),J.f7.off("navbarPosition",ee),J.f7.off("navbarRole",Fe),J.f7.off("navbarMasterStack",Ue),J.f7.off("navbarMasterUnstack",qe),J.f7.off("navbarTransparentShow",Me),J.f7.off("navbarTransparentHide",He)}gt(()=>{bt(()=>{et()})}),zn(()=>{J.f7&&J.f7.navbar.size(G)}),kt(()=>{J.f7&&Ie()});function xe(Te){$e[Te?"unshift":"push"](()=>{G=Te,n(7,G)})}return t.$$set=Te=>{n(58,e=Ee(Ee({},e),Be(Te))),n(16,b=De(e,p)),"class"in Te&&n(17,E=Te.class),"backLink"in Te&&n(0,S=Te.backLink),"backLinkUrl"in Te&&n(1,I=Te.backLinkUrl),"backLinkForce"in Te&&n(2,T=Te.backLinkForce),"backLinkShowText"in Te&&n(3,A=Te.backLinkShowText),"sliding"in Te&&n(18,y=Te.sliding),"title"in Te&&n(4,w=Te.title),"subtitle"in Te&&n(5,D=Te.subtitle),"hidden"in Te&&n(19,O=Te.hidden),"outline"in Te&&n(20,L=Te.outline),"innerClass"in Te&&n(21,j=Te.innerClass),"innerClassName"in Te&&n(22,W=Te.innerClassName),"large"in Te&&n(23,Y=Te.large),"largeTransparent"in Te&&n(24,B=Te.largeTransparent),"transparent"in Te&&n(25,q=Te.transparent),"titleLarge"in Te&&n(26,X=Te.titleLarge),"f7Slot"in Te&&n(6,H=Te.f7Slot),"$$scope"in Te&&n(44,v=Te.$$scope)},t.$$.update=()=>{t.$$.dirty[0]&75497488&&n(11,o=X||Y&&w),t.$$.dirty[0]&1073741824&&n(38,l=ce&&ce.ios&&J.f7&&!J.f7.params.navbar.iosCenterTitle),t.$$.dirty[0]&1073741824&&n(37,f=ce&&ce.md&&J.f7&&J.f7.params.navbar.mdCenterTitle),t.$$.dirty[0]&25165824&&n(41,c=Y||B),t.$$.dirty[0]&50331648|t.$$.dirty[1]&1024&&n(40,u=q||c&&B),t.$$.dirty[1]&544&&n(39,d=u&&ke),n(9,m=Je(E,"navbar",ye,{"navbar-hidden":O,"navbar-large":c,"navbar-large-collapsed":c&&ne,"navbar-transparent":u,"navbar-transparent-visible":d,"navbar-master":me==="master","navbar-master-detail":me==="detail","navbar-master-detail-root":K===!0,"navbar-master-stacked":pe===!0,"no-outline":!L},tt(e))),t.$$.dirty[0]&6553600|t.$$.dirty[1]&192&&n(8,h=Je("navbar-inner",j,W,{sliding:y,"navbar-inner-left-title":l,"navbar-inner-centered-title":f}))},n(14,s=_["nav-left"]||_.left),n(13,a=_["nav-right"]||_.right),n(12,i=_.title),n(10,r=_["title-large"]),e=Be(e),[S,I,T,A,w,D,H,G,h,m,r,o,i,a,s,Oe,b,E,y,O,L,j,W,Y,B,q,X,he,re,Ce,ce,ye,ne,me,K,pe,ke,f,l,d,u,c,g,xe,v]}let Ls=class extends We{constructor(e){super(),je(this,e,l1,r1,Xe,{class:17,backLink:0,backLinkUrl:1,backLinkForce:2,backLinkShowText:3,sliding:18,title:4,subtitle:5,hidden:19,outline:20,innerClass:21,innerClassName:22,large:23,largeTransparent:24,transparent:25,titleLarge:26,f7Slot:6,hide:27,show:28,size:29},null,[-1,-1])}get hide(){return this.$$.ctx[27]}get show(){return this.$$.ctx[28]}get size(){return this.$$.ctx[29]}};function hu(t){let e,n,s,a,i;return n=new Mn({}),{c(){e=Z("div"),be(n.$$.fragment),s=V(),a=Z("div"),se(a,"class","ptr-arrow"),se(e,"class","ptr-preloader")},m(o,r){z(o,e,r),ve(n,e,null),N(e,s),N(e,a),i=!0},i(o){i||(C(n.$$.fragment,o),i=!0)},o(o){M(n.$$.fragment,o),i=!1},d(o){o&&F(e),_e(n)}}}function gu(t){let e,n;return e=new Mn({props:{class:"infinite-scroll-preloader"}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function bu(t){let e,n;return e=new Mn({props:{class:"infinite-scroll-preloader"}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function vu(t){let e,n,s,a,i;return n=new Mn({}),{c(){e=Z("div"),be(n.$$.fragment),s=V(),a=Z("div"),se(a,"class","ptr-arrow"),se(e,"class","ptr-preloader")},m(o,r){z(o,e,r),ve(n,e,null),N(e,s),N(e,a),i=!0},i(o){i||(C(n.$$.fragment,o),i=!0)},o(o){M(n.$$.fragment,o),i=!1},d(o){o&&F(e),_e(n)}}}function o1(t){let e,n,s,a,i,o,r,l,f=t[0]&&t[2]&&!t[3]&&hu(),c=t[5]&&t[6]&&t[8]&&gu();const u=t[21].default,d=U(u,t,t[20],null);let m=t[5]&&!t[6]&&t[8]&&bu(),h=t[0]&&t[2]&&t[3]&&vu(),p=[{class:t[10]},{"data-ptr-distance":t[1]},{"data-ptr-mousewheel":o=t[4]||void 0},{"data-infinite-distance":r=t[7]||void 0},Re(t[11])],b={};for(let g=0;g{f=null}),oe()),g[5]&&g[6]&&g[8]?c?v[0]&352&&C(c,1):(c=gu(),c.c(),C(c,1),c.m(e,s)):c&&(le(),M(c,1,1,()=>{c=null}),oe()),d&&d.p&&(!l||v[0]&1048576)&&x(d,u,g,g[20],l?Q(u,g[20],v,null):$(g[20]),null),g[5]&&!g[6]&&g[8]?m?v[0]&352&&C(m,1):(m=bu(),m.c(),C(m,1),m.m(e,i)):m&&(le(),M(m,1,1,()=>{m=null}),oe()),g[0]&&g[2]&&g[3]?h?v[0]&13&&C(h,1):(h=vu(),h.c(),C(h,1),h.m(e,null)):h&&(le(),M(h,1,1,()=>{h=null}),oe()),Ae(e,b=Ge(p,[(!l||v[0]&1024)&&{class:g[10]},(!l||v[0]&2)&&{"data-ptr-distance":g[1]},(!l||v[0]&16&&o!==(o=g[4]||void 0))&&{"data-ptr-mousewheel":o},(!l||v[0]&128&&r!==(r=g[7]||void 0))&&{"data-infinite-distance":r},v[0]&2048&&Re(g[11])]))},i(g){l||(C(f),C(c),C(d,g),C(m),C(h),l=!0)},o(g){M(f),M(c),M(d,g),M(m),M(h),l=!1},d(g){g&&F(e),f&&f.d(),c&&c.d(),d&&d.d(g),m&&m.d(),h&&h.d(),t[22](null)}}}function f1(t,e,n){let s;const a=["tab","tabActive","ptr","ptrDistance","ptrPreloader","ptrBottom","ptrMousewheel","infinite","infiniteTop","infiniteDistance","infinitePreloader","hideBarsOnScroll","hideNavbarOnScroll","hideToolbarOnScroll","messagesContent","loginScreen","class"];let i=De(e,a),{$$slots:o={},$$scope:r}=e;const l=pt(mt,e);let{tab:f=!1}=e,{tabActive:c=!1}=e,{ptr:u=!1}=e,{ptrDistance:d=void 0}=e,{ptrPreloader:m=!0}=e,{ptrBottom:h=!1}=e,{ptrMousewheel:p=!1}=e,{infinite:b=!1}=e,{infiniteTop:g=!1}=e,{infiniteDistance:v=void 0}=e,{infinitePreloader:_=!0}=e,{hideBarsOnScroll:k=!1}=e,{hideNavbarOnScroll:E=!1}=e,{hideToolbarOnScroll:S=!1}=e,{messagesContent:I=!1}=e,{loginScreen:T=!1}=e,{class:A=void 0}=e,y;function w(X){X===y&&l("ptrPullStart")}function D(X){X===y&&l("ptrPullMove")}function O(X){X===y&&l("ptrPullEnd")}function L(X,H){X===y&&l("ptrRefresh",[H])}function j(X){X===y&&l("ptrDone")}function W(X){X===y&&l("infinite")}function Y(){u&&(J.f7.on("ptrPullStart",w),J.f7.on("ptrPullMove",D),J.f7.on("ptrPullEnd",O),J.f7.on("ptrRefresh",L),J.f7.on("ptrDone",j)),b&&J.f7.on("infinite",W)}function B(){u&&(J.f7.off("ptrPullStart",w),J.f7.off("ptrPullMove",D),J.f7.off("ptrPullEnd",O),J.f7.off("ptrRefresh",L),J.f7.off("ptrDone",j)),b&&J.f7.off("infinite",W)}Is(()=>y,l),gt(()=>{bt(()=>{Y()})}),kt(()=>{J.f7&&B()});function q(X){$e[X?"unshift":"push"](()=>{y=X,n(9,y)})}return t.$$set=X=>{n(32,e=Ee(Ee({},e),Be(X))),n(11,i=De(e,a)),"tab"in X&&n(12,f=X.tab),"tabActive"in X&&n(13,c=X.tabActive),"ptr"in X&&n(0,u=X.ptr),"ptrDistance"in X&&n(1,d=X.ptrDistance),"ptrPreloader"in X&&n(2,m=X.ptrPreloader),"ptrBottom"in X&&n(3,h=X.ptrBottom),"ptrMousewheel"in X&&n(4,p=X.ptrMousewheel),"infinite"in X&&n(5,b=X.infinite),"infiniteTop"in X&&n(6,g=X.infiniteTop),"infiniteDistance"in X&&n(7,v=X.infiniteDistance),"infinitePreloader"in X&&n(8,_=X.infinitePreloader),"hideBarsOnScroll"in X&&n(14,k=X.hideBarsOnScroll),"hideNavbarOnScroll"in X&&n(15,E=X.hideNavbarOnScroll),"hideToolbarOnScroll"in X&&n(16,S=X.hideToolbarOnScroll),"messagesContent"in X&&n(17,I=X.messagesContent),"loginScreen"in X&&n(18,T=X.loginScreen),"class"in X&&n(19,A=X.class),"$$scope"in X&&n(20,r=X.$$scope)},t.$$.update=()=>{n(10,s=Je(A,"page-content",{tab:f,"tab-active":c,"ptr-content":u,"ptr-bottom":h,"infinite-scroll-content":b,"infinite-scroll-top":g,"hide-bars-on-scroll":k,"hide-navbar-on-scroll":E,"hide-toolbar-on-scroll":S,"messages-content":I,"login-screen-content":T},tt(e)))},e=Be(e),[u,d,m,h,p,b,g,v,_,y,s,i,f,c,k,E,S,I,T,A,r,o,q]}class c1 extends We{constructor(e){super(),je(this,e,f1,o1,Xe,{tab:12,tabActive:13,ptr:0,ptrDistance:1,ptrPreloader:2,ptrBottom:3,ptrMousewheel:4,infinite:5,infiniteTop:6,infiniteDistance:7,infinitePreloader:8,hideBarsOnScroll:14,hideNavbarOnScroll:15,hideToolbarOnScroll:16,messagesContent:17,loginScreen:18,class:19},null,[-1,-1])}}const u1=t=>({}),_u=t=>({}),d1=t=>({}),ku=t=>({}),p1=t=>({}),Eu=t=>({});function m1(t){let e,n;const s=t[44].static,a=U(s,t,t[46],_u),i=t[44].default,o=U(i,t,t[46],null);return{c(){a&&a.c(),e=V(),o&&o.c()},m(r,l){a&&a.m(r,l),z(r,e,l),o&&o.m(r,l),n=!0},p(r,l){a&&a.p&&(!n||l[1]&32768)&&x(a,s,r,r[46],n?Q(s,r[46],l,u1):$(r[46]),_u),o&&o.p&&(!n||l[1]&32768)&&x(o,i,r,r[46],n?Q(i,r[46],l,null):$(r[46]),null)},i(r){n||(C(a,r),C(o,r),n=!0)},o(r){M(a,r),M(o,r),n=!1},d(r){r&&F(e),a&&a.d(r),o&&o.d(r)}}}function h1(t){let e,n;return e=new c1({props:{ptr:t[2],ptrDistance:t[3],ptrPreloader:t[4],ptrBottom:t[5],ptrMousewheel:t[6],infinite:t[7],infiniteTop:t[8],infiniteDistance:t[9],infinitePreloader:t[10],hideBarsOnScroll:t[11],hideNavbarOnScroll:t[12],hideToolbarOnScroll:t[13],messagesContent:t[14],loginScreen:t[15],onPtrPullStart:t[18],onPtrPullMove:t[19],onPtrPullEnd:t[20],onPtrRefresh:t[21],onPtrDone:t[22],onInfinite:t[23],$$slots:{default:[g1]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a[0]&4&&(i.ptr=s[2]),a[0]&8&&(i.ptrDistance=s[3]),a[0]&16&&(i.ptrPreloader=s[4]),a[0]&32&&(i.ptrBottom=s[5]),a[0]&64&&(i.ptrMousewheel=s[6]),a[0]&128&&(i.infinite=s[7]),a[0]&256&&(i.infiniteTop=s[8]),a[0]&512&&(i.infiniteDistance=s[9]),a[0]&1024&&(i.infinitePreloader=s[10]),a[0]&2048&&(i.hideBarsOnScroll=s[11]),a[0]&4096&&(i.hideNavbarOnScroll=s[12]),a[0]&8192&&(i.hideToolbarOnScroll=s[13]),a[0]&16384&&(i.messagesContent=s[14]),a[0]&32768&&(i.loginScreen=s[15]),a[1]&32768&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function g1(t){let e,n;const s=t[44].static,a=U(s,t,t[46],ku),i=t[44].default,o=U(i,t,t[46],null);return{c(){a&&a.c(),e=V(),o&&o.c()},m(r,l){a&&a.m(r,l),z(r,e,l),o&&o.m(r,l),n=!0},p(r,l){a&&a.p&&(!n||l[1]&32768)&&x(a,s,r,r[46],n?Q(s,r[46],l,d1):$(r[46]),ku),o&&o.p&&(!n||l[1]&32768)&&x(o,i,r,r[46],n?Q(i,r[46],l,null):$(r[46]),null)},i(r){n||(C(a,r),C(o,r),n=!0)},o(r){M(a,r),M(o,r),n=!1},d(r){r&&F(e),a&&a.d(r),o&&o.d(r)}}}function b1(t){let e,n,s,a,i;const o=t[44].fixed,r=U(o,t,t[46],Eu),l=[h1,m1],f=[];function c(m,h){return m[1]?0:1}s=c(t),a=f[s]=l[s](t);let u=[{class:t[17]},{"data-name":t[0]},Re(t[24])],d={};for(let m=0;m{f[p]=null}),oe(),a=f[s],a?a.p(m,h):(a=f[s]=l[s](m),a.c()),C(a,1),a.m(e,null)),Ae(e,d=Ge(u,[(!i||h[0]&131072)&&{class:m[17]},(!i||h[0]&1)&&{"data-name":m[0]},h[0]&16777216&&Re(m[24])]))},i(m){i||(C(r,m),C(a),i=!0)},o(m){M(r,m),M(a),i=!1},d(m){m&&F(e),r&&r.d(m),f[s].d(),t[45](null)}}}function v1(t,e,n){let s,a,i;const o=["name","withSubnavbar","subnavbar","withNavbarLarge","navbarLarge","noNavbar","noToolbar","tabs","pageContent","noSwipeback","ptr","ptrDistance","ptrPreloader","ptrBottom","ptrMousewheel","infinite","infiniteTop","infiniteDistance","infinitePreloader","hideBarsOnScroll","hideNavbarOnScroll","hideToolbarOnScroll","messagesContent","loginScreen","class"];let r=De(e,o),{$$slots:l={},$$scope:f}=e;const c=pt(mt,e);let{name:u=void 0}=e,{withSubnavbar:d=void 0}=e,{subnavbar:m=void 0}=e,{withNavbarLarge:h=void 0}=e,{navbarLarge:p=void 0}=e,{noNavbar:b=void 0}=e,{noToolbar:g=void 0}=e,{tabs:v=void 0}=e,{pageContent:_=!0}=e,{noSwipeback:k=void 0}=e,{ptr:E=void 0}=e,{ptrDistance:S=void 0}=e,{ptrPreloader:I=!0}=e,{ptrBottom:T=void 0}=e,{ptrMousewheel:A=void 0}=e,{infinite:y=void 0}=e,{infiniteTop:w=void 0}=e,{infiniteDistance:D=void 0}=e,{infinitePreloader:O=!0}=e,{hideBarsOnScroll:L=void 0}=e,{hideNavbarOnScroll:j=void 0}=e,{hideToolbarOnScroll:W=void 0}=e,{messagesContent:Y=void 0}=e,{loginScreen:B=void 0}=e,{class:q=void 0}=e,X,H=!1,G=!1,ce=!1,ye=!1,ne="",me=null,K=!1,pe=!1;function ke(){c("ptrPullStart")}function he(){c("ptrPullMove")}function re(){c("ptrPullEnd")}function Ce(ue){c("ptrRefresh",[ue])}function Pe(){c("ptrDone")}function Ve(){c("infinite")}function Me(ue){X===ue.el&&c("pageMounted",[ue])}function He(ue){X===ue.el&&(typeof d>"u"&&typeof m>"u"&&(ue.$navbarEl&&ue.$navbarEl.length&&ue.$navbarEl.find(".subnavbar").length||ue.$el.children(".navbar").find(".subnavbar").length)&&n(34,H=!0),typeof h>"u"&&typeof p>"u"&&(ue.$navbarEl&&ue.$navbarEl.hasClass("navbar-large")||ue.$el.children(".navbar-large").length)&&n(35,G=!0),c("pageInit",[ue]))}function ze(ue){X===ue.el&&c("pageReinit",[ue])}function fe(ue){X===ue.el&&(ue.swipeBack||(ue.from==="next"&&n(38,ne="page-next"),ue.from==="previous"&&n(38,ne="page-previous")),c("pageBeforeIn",[ue]))}function ee(ue){X===ue.el&&c("pageBeforeOut",[ue])}function Fe(ue){X===ue.el&&(ue.to==="next"&&n(38,ne="page-next"),ue.to==="previous"&&n(38,ne="page-previous"),c("pageAfterOut",[ue]))}function Ue(ue){X===ue.el&&(n(38,ne="page-current"),c("pageAfterIn",[ue]))}function qe(ue){X===ue.el&&(ue.$navbarEl&&ue.$navbarEl[0]&&ue.$navbarEl.parent()[0]&&ue.$navbarEl.parent()[0]!==X&&ue.$el.prepend(ue.$navbarEl),c("pageBeforeRemove",[ue]))}function Oe(ue){X===ue.el&&c("pageBeforeUnmount",[ue])}function et(ue,vt){X===ue&&n(38,ne=`page-${vt}`)}function Ie(ue,vt){X===ue&&(n(39,me=vt.role),n(40,K=vt.detailRoot))}function xe(ue){X===ue&&n(41,pe=!0)}function Te(ue){X===ue&&n(41,pe=!1)}function Tt(ue){X===ue&&n(36,ce=!0)}function cn(ue){X===ue&&n(36,ce=!1)}function Kt(ue,vt){X===vt&&n(37,ye=!0)}function un(ue,vt){X===vt&&n(37,ye=!1)}function vn(ue){X===ue&&c("pageTabShow")}function nt(ue){X===ue&&c("pageTabHide")}function de(){J.f7.on("pageMounted",Me),J.f7.on("pageInit",He),J.f7.on("pageReinit",ze),J.f7.on("pageBeforeIn",fe),J.f7.on("pageBeforeOut",ee),J.f7.on("pageAfterOut",Fe),J.f7.on("pageAfterIn",Ue),J.f7.on("pageBeforeRemove",qe),J.f7.on("pageBeforeUnmount",Oe),J.f7.on("pagePosition",et),J.f7.on("pageRole",Ie),J.f7.on("pageMasterStack",xe),J.f7.on("pageMasterUnstack",Te),J.f7.on("pageNavbarLargeCollapsed",Tt),J.f7.on("pageNavbarLargeExpanded",cn),J.f7.on("cardOpened",Kt),J.f7.on("cardClose",un),J.f7.on("pageTabShow",vn),J.f7.on("pageTabHide",nt)}function st(){J.f7.off("pageMounted",Me),J.f7.off("pageInit",He),J.f7.off("pageReinit",ze),J.f7.off("pageBeforeIn",fe),J.f7.off("pageBeforeOut",ee),J.f7.off("pageAfterOut",Fe),J.f7.off("pageAfterIn",Ue),J.f7.off("pageBeforeRemove",qe),J.f7.off("pageBeforeUnmount",Oe),J.f7.off("pagePosition",et),J.f7.off("pageRole",Ie),J.f7.off("pageMasterStack",xe),J.f7.off("pageMasterUnstack",Te),J.f7.off("pageNavbarLargeCollapsed",Tt),J.f7.off("pageNavbarLargeExpanded",cn),J.f7.off("cardOpened",Kt),J.f7.off("cardClose",un),J.f7.off("pageTabShow",vn),J.f7.off("pageTabHide",nt)}gt(()=>{bt(()=>{if(X){const ue=J.f7.$,vt=ue(X).children(".page-content").children('[data-f7-slot="fixed"]');if(vt.length)for(let At=vt.length-1;At>=0;At-=1)ue(X).prepend(vt[At])}de()})}),zn(()=>{if(X&&J.f7){const ue=J.f7.$,vt=ue(X).children(".page-content").children('[data-f7-slot="fixed"]');if(vt.length)for(let At=vt.length-1;At>=0;At-=1)ue(X).prepend(vt[At])}}),kt(()=>{J.f7&&st()});function ut(ue){$e[ue?"unshift":"push"](()=>{X=ue,n(16,X)})}return t.$$set=ue=>{n(69,e=Ee(Ee({},e),Be(ue))),n(24,r=De(e,o)),"name"in ue&&n(0,u=ue.name),"withSubnavbar"in ue&&n(25,d=ue.withSubnavbar),"subnavbar"in ue&&n(26,m=ue.subnavbar),"withNavbarLarge"in ue&&n(27,h=ue.withNavbarLarge),"navbarLarge"in ue&&n(28,p=ue.navbarLarge),"noNavbar"in ue&&n(29,b=ue.noNavbar),"noToolbar"in ue&&n(30,g=ue.noToolbar),"tabs"in ue&&n(31,v=ue.tabs),"pageContent"in ue&&n(1,_=ue.pageContent),"noSwipeback"in ue&&n(32,k=ue.noSwipeback),"ptr"in ue&&n(2,E=ue.ptr),"ptrDistance"in ue&&n(3,S=ue.ptrDistance),"ptrPreloader"in ue&&n(4,I=ue.ptrPreloader),"ptrBottom"in ue&&n(5,T=ue.ptrBottom),"ptrMousewheel"in ue&&n(6,A=ue.ptrMousewheel),"infinite"in ue&&n(7,y=ue.infinite),"infiniteTop"in ue&&n(8,w=ue.infiniteTop),"infiniteDistance"in ue&&n(9,D=ue.infiniteDistance),"infinitePreloader"in ue&&n(10,O=ue.infinitePreloader),"hideBarsOnScroll"in ue&&n(11,L=ue.hideBarsOnScroll),"hideNavbarOnScroll"in ue&&n(12,j=ue.hideNavbarOnScroll),"hideToolbarOnScroll"in ue&&n(13,W=ue.hideToolbarOnScroll),"messagesContent"in ue&&n(14,Y=ue.messagesContent),"loginScreen"in ue&&n(15,B=ue.loginScreen),"class"in ue&&n(33,q=ue.class),"$$scope"in ue&&n(46,f=ue.$$scope)},t.$$.update=()=>{t.$$.dirty[0]&100663296|t.$$.dirty[1]&8&&n(43,s=typeof m>"u"&&typeof d>"u"?H:!1),t.$$.dirty[0]&402653184|t.$$.dirty[1]&16&&n(42,a=typeof p>"u"&&typeof h>"u"?G:!1),n(17,i=Je(q,"page",ne,{tabs:v,"page-with-subnavbar":m||d||s,"page-with-navbar-large":p||h||a,"no-navbar":b,"no-toolbar":g,"no-swipeback":k,"page-master":me==="master","page-master-detail":me==="detail","page-master-detail-root":K===!0,"page-master-stacked":pe===!0,"page-with-navbar-large-collapsed":ce===!0,"page-with-card-opened":ye===!0,"login-screen-page":B},tt(e)))},e=Be(e),[u,_,E,S,I,T,A,y,w,D,O,L,j,W,Y,B,X,i,ke,he,re,Ce,Pe,Ve,r,d,m,h,p,b,g,v,k,q,H,G,ce,ye,ne,me,K,pe,a,s,l,ut,f]}class Ds extends We{constructor(e){super(),je(this,e,v1,b1,Xe,{name:0,withSubnavbar:25,subnavbar:26,withNavbarLarge:27,navbarLarge:28,noNavbar:29,noToolbar:30,tabs:31,pageContent:1,noSwipeback:32,ptr:2,ptrDistance:3,ptrPreloader:4,ptrBottom:5,ptrMousewheel:6,infinite:7,infiniteTop:8,infiniteDistance:9,infinitePreloader:10,hideBarsOnScroll:11,hideNavbarOnScroll:12,hideToolbarOnScroll:13,messagesContent:14,loginScreen:15,class:33},null,[-1,-1,-1])}}const _1=t=>({}),Cu=t=>({}),k1=t=>({}),yu=t=>({});function E1(t){let e;const n=t[20].default,s=U(n,t,t[19],null);return{c(){s&&s.c()},m(a,i){s&&s.m(a,i),e=!0},p(a,i){s&&s.p&&(!e||i&524288)&&x(s,n,a,a[19],e?Q(n,a[19],i,null):$(a[19]),null)},i(a){e||(C(s,a),e=!0)},o(a){M(s,a),e=!1},d(a){s&&s.d(a)}}}function C1(t){let e,n;const s=t[20].default,a=U(s,t,t[19],null);return{c(){e=Z("div"),a&&a.c(),se(e,"class","toolbar-inner")},m(i,o){z(i,e,o),a&&a.m(e,null),n=!0},p(i,o){a&&a.p&&(!n||o&524288)&&x(a,s,i,i[19],n?Q(s,i[19],o,null):$(i[19]),null)},i(i){n||(C(a,i),n=!0)},o(i){M(a,i),n=!1},d(i){i&&F(e),a&&a.d(i)}}}function y1(t){let e,n,s,a,i,o;const r=t[20]["before-inner"],l=U(r,t,t[19],yu),f=[C1,E1],c=[];function u(b,g){return b[0]?0:1}s=u(t),a=c[s]=f[s](t);const d=t[20]["after-inner"],m=U(d,t,t[19],Cu);let h=[{class:t[3]},{"data-f7-slot":t[1]},Re(t[4])],p={};for(let b=0;b{c[v]=null}),oe(),a=c[s],a?a.p(b,g):(a=c[s]=f[s](b),a.c()),C(a,1),a.m(e,i)),m&&m.p&&(!o||g&524288)&&x(m,d,b,b[19],o?Q(d,b[19],g,_1):$(b[19]),Cu),Ae(e,p=Ge(h,[(!o||g&8)&&{class:b[3]},(!o||g&2)&&{"data-f7-slot":b[1]},g&16&&Re(b[4])]))},i(b){o||(C(l,b),C(a),C(m,b),o=!0)},o(b){M(l,b),M(a),M(m,b),o=!1},d(b){b&&F(e),l&&l.d(b),c[s].d(),m&&m.d(b),t[21](null)}}}function w1(t,e,n){let s;const a=["class","tabbar","icons","scrollable","hidden","outline","position","topMd","topIos","top","bottomMd","bottomIos","bottom","inner","f7Slot"];let i=De(e,a),{$$slots:o={},$$scope:r}=e;const l=pt(mt,e);let{class:f=void 0}=e,{tabbar:c=!1}=e,{icons:u=!1}=e,{scrollable:d=!1}=e,{hidden:m=!1}=e,{outline:h=!0}=e,{position:p=void 0}=e,{topMd:b=void 0}=e,{topIos:g=void 0}=e,{top:v=void 0}=e,{bottomMd:_=void 0}=e,{bottomIos:k=void 0}=e,{bottom:E=void 0}=e,{inner:S=!0}=e,{f7Slot:I="fixed"}=e,T,A=os(O=>{n(18,A=O)});xd("TabbarContext",()=>({tabbarHasIcons:u}));function y(O){T===O&&l("toolbarShow")}function w(O){T===O&&l("toolbarHide")}gt(()=>{bt(()=>{c&&J.f7.toolbar.setHighlight(T),J.f7.on("toolbarShow",y),J.f7.on("toolbarHide",w)})}),zn(()=>{c&&J.f7&&T&&J.f7.toolbar.setHighlight(T)}),kt(()=>{J.f7&&(J.f7.off("toolbarShow",y),J.f7.off("toolbarHide",w))});function D(O){$e[O?"unshift":"push"](()=>{T=O,n(2,T)})}return t.$$set=O=>{n(25,e=Ee(Ee({},e),Be(O))),n(4,i=De(e,a)),"class"in O&&n(5,f=O.class),"tabbar"in O&&n(6,c=O.tabbar),"icons"in O&&n(7,u=O.icons),"scrollable"in O&&n(8,d=O.scrollable),"hidden"in O&&n(9,m=O.hidden),"outline"in O&&n(10,h=O.outline),"position"in O&&n(11,p=O.position),"topMd"in O&&n(12,b=O.topMd),"topIos"in O&&n(13,g=O.topIos),"top"in O&&n(14,v=O.top),"bottomMd"in O&&n(15,_=O.bottomMd),"bottomIos"in O&&n(16,k=O.bottomIos),"bottom"in O&&n(17,E=O.bottom),"inner"in O&&n(0,S=O.inner),"f7Slot"in O&&n(1,I=O.f7Slot),"$$scope"in O&&n(19,r=O.$$scope)},t.$$.update=()=>{n(3,s=Je(f,"toolbar",{tabbar:c,"toolbar-bottom":A&&A.md&&_||A&&A.ios&&k||E||p==="bottom","toolbar-top":A&&A.md&&b||A&&A.ios&&g||v||p==="top","tabbar-icons":u,"tabbar-scrollable":d,"toolbar-hidden":m,"no-outline":!h},tt(e)))},e=Be(e),[S,I,T,s,i,f,c,u,d,m,h,p,b,g,v,_,k,E,A,r,o,D]}let Kd=class extends We{constructor(e){super(),je(this,e,w1,y1,Xe,{class:5,tabbar:6,icons:7,scrollable:8,hidden:9,outline:10,position:11,topMd:12,topIos:13,top:14,bottomMd:15,bottomIos:16,bottom:17,inner:0,f7Slot:1})}};function S1(t){let e,n,s;const a=t[2].default,i=U(a,t,t[1],null);let o=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},t[0]],r={};for(let l=0;l{e=Ee(Ee({},e),Be(r)),n(0,a=De(e,s)),"$$scope"in r&&n(1,o=r.$$scope)},[a,o,i]}class M1 extends We{constructor(e){super(),je(this,e,T1,S1,Xe,{})}}function P1(t){let e,n,s,a;const i=t[2].default,o=U(i,t,t[1],null);let r=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"currentColor"},{viewBox:"0 0 16 16"},t[0]],l={};for(let f=0;f{e=Ee(Ee({},e),Be(r)),n(0,a=De(e,s)),"$$scope"in r&&n(1,o=r.$$scope)},[a,o,i]}class A1 extends We{constructor(e){super(),je(this,e,I1,P1,Xe,{})}}function O1(t){let e,n;return{c(){e=Z("span"),n=Z("span"),$t(n,"transform",t[2]),se(e,"class",t[1]),se(e,"data-progress",t[0])},m(s,a){z(s,e,a),N(e,n)},p(s,[a]){a&4&&$t(n,"transform",s[2]),a&2&&se(e,"class",s[1]),a&1&&se(e,"data-progress",s[0])},i:dt,o:dt,d(s){s&&F(e)}}}function B1(t){const{color:e,textColor:n,bgColor:s,borderColor:a,rippleColor:i,dark:o}=t;return{dark:o,[`color-${e}`]:e,[`text-color-${n}`]:n,[`bg-color-${s}`]:s,[`border-color-${a}`]:a,[`ripple-color-${i}`]:i}}function L1(t,e,n){let{class:s=void 0}=e,{progress:a=0}=e,{infinite:i=!1}=e;function o(...f){const c=[];f.forEach(d=>{typeof d=="object"&&d.constructor===Object?Object.keys(d).forEach(m=>{d[m]&&c.push(m)}):d&&c.push(d)});const u=[];return c.forEach(d=>{u.indexOf(d)<0&&u.push(d)}),u.join(" ")}let r,l="";return t.$$set=f=>{n(6,e=Ee(Ee({},e),Be(f))),"class"in f&&n(3,s=f.class),"progress"in f&&n(0,a=f.progress),"infinite"in f&&n(4,i=f.infinite)},t.$$.update=()=>{n(1,r=o(s,"progressbar",{"progressbar-infinite":i},B1(e))),t.$$.dirty&1&&n(2,l=a?`translate3d(${-100+a}%, 0, 0)`:"")},e=Be(e),[a,r,l,s,i]}let Zd=class extends We{constructor(e){super(),je(this,e,L1,O1,Xe,{class:3,progress:0,infinite:4})}};function D1(t){let e,n,s,a;return{c(){e=Z("div"),n=Z("div"),s=Z("span"),a=ge(t[0]),se(n,"class","indicator svelte-600ugb"),wt(n,"top",!0),wt(n,"bottom",!1),wt(n,"left",!t[1].pointerNearLeft||!t[1].pointerNearTop),wt(n,"right",t[1].pointerNearLeft&&t[1].pointerNearTop),$t(e,"position","relative"),$t(e,"z-index","10")},m(i,o){z(i,e,o),N(e,n),N(n,s),N(s,a)},p(i,[o]){o&1&&we(a,i[0]),o&2&&wt(n,"left",!i[1].pointerNearLeft||!i[1].pointerNearTop),o&2&&wt(n,"right",i[1].pointerNearLeft&&i[1].pointerNearTop)},i:dt,o:dt,d(i){i&&F(e)}}}function R1(t,e,n){let s;Pt(t,Ct,i=>n(1,s=i));let{value:a=null}=e;return t.$$set=i=>{"value"in i&&n(0,a=i.value)},[a,s]}class H1 extends We{constructor(e){super(),je(this,e,R1,D1,Xe,{value:0})}}function wu(t){let e,n,s,a=Ka(t[3].runningNodeID)+"",i,o,r,l;return{c(){e=Z("div"),n=Z("span"),s=ge("Node: "),i=ge(a),o=ge(" ("),r=ge(t[6]),l=ge(")"),se(e,"class","node-name svelte-1bpr0w9")},m(f,c){z(f,e,c),N(e,n),N(n,s),N(n,i),N(n,o),N(n,r),N(n,l)},p(f,c){c&8&&a!==(a=Ka(f[3].runningNodeID)+"")&&we(i,a),c&64&&we(r,f[6])},d(f){f&&F(e)}}}function Su(t){let e,n,s,a;const i=[F1,z1],o=[];function r(l,f){return l[0]?0:l[5]?1:-1}return~(e=r(t))&&(n=o[e]=i[e](t)),{c(){n&&n.c(),s=Ze()},m(l,f){~e&&o[e].m(l,f),z(l,s,f),a=!0},p(l,f){let c=e;e=r(l),e===c?~e&&o[e].p(l,f):(n&&(le(),M(o[c],1,1,()=>{o[c]=null}),oe()),~e?(n=o[e],n?n.p(l,f):(n=o[e]=i[e](l),n.c()),C(n,1),n.m(s.parentNode,s)):n=null)},i(l){a||(C(n),a=!0)},o(l){M(n),a=!1},d(l){l&&F(s),~e&&o[e].d(l)}}}function z1(t){let e,n;return e=new Zd({props:{color:"blue",infinite:!0}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p:dt,i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function F1(t){let e,n;return e=new Zd({props:{color:"blue",progress:t[1]}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&2&&(i.progress=s[1]),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function N1(t){let e,n;return e=new Vp({props:{width:Rn,height:Rn}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p:dt,i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function V1(t){let e,n;return e=new Yp({props:{width:Rn,height:Rn}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p:dt,i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function Y1(t){let e,n;return e=new qp({props:{width:Rn,height:Rn}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p:dt,i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function q1(t){let e,n,s,a,i,o;return e=new xt({props:{transition:"f7-dive",href:"/queue/",tabLinkActive:t[2].selectedTab===0,$$slots:{default:[N1]},$$scope:{ctx:t}}}),s=new xt({props:{transition:"f7-dive",href:t[7],tabLinkActive:t[2].selectedTab===1,$$slots:{default:[V1]},$$scope:{ctx:t}}}),i=new xt({props:{transition:"f7-dive",href:"/gallery/",tabLinkActive:t[2].selectedTab===2,$$slots:{default:[Y1]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment),n=V(),be(s.$$.fragment),a=V(),be(i.$$.fragment)},m(r,l){ve(e,r,l),z(r,n,l),ve(s,r,l),z(r,a,l),ve(i,r,l),o=!0},p(r,l){const f={};l&4&&(f.tabLinkActive=r[2].selectedTab===0),l&1048576&&(f.$$scope={dirty:l,ctx:r}),e.$set(f);const c={};l&128&&(c.href=r[7]),l&4&&(c.tabLinkActive=r[2].selectedTab===1),l&1048576&&(c.$$scope={dirty:l,ctx:r}),s.$set(c);const u={};l&4&&(u.tabLinkActive=r[2].selectedTab===2),l&1048576&&(u.$$scope={dirty:l,ctx:r}),i.$set(u)},i(r){o||(C(e.$$.fragment,r),C(s.$$.fragment,r),C(i.$$.fragment,r),o=!0)},o(r){M(e.$$.fragment,r),M(s.$$.fragment,r),M(i.$$.fragment,r),o=!1},d(r){r&&(F(n),F(a)),_e(e,r),_e(s,r),_e(i,r)}}}function Tu(t){let e,n;return e=new H1({props:{value:t[2].indicatorValue}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&4&&(i.value=s[2].indicatorValue),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function W1(t){let e,n,s,a,i,o,r,l,f,c=t[4]&&wu(t),u=t[4]&&Su(t);o=new Kd({props:{bottom:!0,tabbar:!0,color:"blue",class:t[8]>1?"hasGenToolbar":"",$$slots:{default:[q1]},$$scope:{ctx:t}}});let d=t[2].showIndicator&&Tu(t);return{c(){e=Z("div"),n=Z("div"),c&&c.c(),s=V(),a=Z("div"),u&&u.c(),i=V(),be(o.$$.fragment),r=V(),d&&d.c(),l=Ze(),se(n,"class","bars svelte-1bpr0w9"),se(a,"class","wrapper"),se(e,"class","bottom svelte-1bpr0w9"),$t(e,"--toolbarCount",t[8])},m(m,h){z(m,e,h),N(e,n),c&&c.m(n,null),N(e,s),N(e,a),u&&u.m(a,null),z(m,i,h),ve(o,m,h),z(m,r,h),d&&d.m(m,h),z(m,l,h),f=!0},p(m,[h]){m[4]?c?c.p(m,h):(c=wu(m),c.c(),c.m(n,null)):c&&(c.d(1),c=null),m[4]?u?(u.p(m,h),h&16&&C(u,1)):(u=Su(m),u.c(),C(u,1),u.m(a,null)):u&&(le(),M(u,1,1,()=>{u=null}),oe()),h&256&&$t(e,"--toolbarCount",m[8]);const p={};h&256&&(p.class=m[8]>1?"hasGenToolbar":""),h&1048708&&(p.$$scope={dirty:h,ctx:m}),o.$set(p),m[2].showIndicator?d?(d.p(m,h),h&4&&C(d,1)):(d=Tu(m),d.c(),C(d,1),d.m(l.parentNode,l)):d&&(le(),M(d,1,1,()=>{d=null}),oe())},i(m){f||(C(u),C(o.$$.fragment,m),C(d),f=!0)},o(m){M(u),M(o.$$.fragment,m),M(d),f=!1},d(m){m&&(F(e),F(i),F(r),F(l)),c&&c.d(),u&&u.d(),_e(o,m),d&&d.d(m)}}}const Rn="1.5rem";function j1(t,e,n){let s,a,i;Pt(t,Ct,p=>n(2,s=p)),Pt(t,zd,p=>n(3,a=p)),Pt(t,ts,p=>n(11,i=p));let{subworkflowID:o=-1}=e,{app:r=void 0}=e,l,f=!1,c,u=0,d="",m="/workflows/",h=0;return t.$$set=p=>{"subworkflowID"in p&&n(9,o=p.subworkflowID),"app"in p&&n(10,r=p.app)},t.$$.update=()=>{t.$$.dirty&2048&&i.activeWorkflow,t.$$.dirty&8&&n(4,l=!!(a.runningNodeID||a.progress)),t.$$.dirty&8&&n(5,f=typeof a.queueRemaining=="number"&&a.queueRemaining>0),t.$$.dirty&8&&n(0,c=a.progress),t.$$.dirty&3&&(c?(n(1,u=c.value/c.max*100),n(6,d=u.toFixed(1)+"%")):(n(1,u=0),n(6,d="??.?%"))),t.$$.dirty&4&&(s.selectedWorkflowIndex&&!s.showingWorkflow?n(7,m=`/workflows/${s.selectedWorkflowIndex}/`):n(7,m="/workflows/")),t.$$.dirty&4&&n(8,h=s.showingWorkflow?2:1)},[c,u,s,a,l,f,d,m,h,o,r,i]}class X1 extends We{constructor(e){super(),je(this,e,j1,W1,Xe,{subworkflowID:9,app:10})}}function Mu(t){let e,n,s;return n=new xt({props:{$$slots:{default:[G1]},$$scope:{ctx:t}}}),n.$on("click",t[1]),{c(){e=Z("div"),be(n.$$.fragment),$t(e,"width","100%")},m(a,i){z(a,e,i),ve(n,e,null),s=!0},p(a,i){const o={};i&33&&(o.$$scope={dirty:i,ctx:a}),n.$set(o)},i(a){s||(C(n.$$.fragment,a),s=!0)},o(a){M(n.$$.fragment,a),s=!1},d(a){a&&F(e),_e(n)}}}function G1(t){let e=t[0].attrs.queuePromptButtonName+"",n;return{c(){n=ge(e)},m(s,a){z(s,n,a)},p(s,a){a&1&&e!==(e=s[0].attrs.queuePromptButtonName+"")&&we(n,e)},d(s){s&&F(n)}}}function U1(t){let e,n,s=t[0]!=null&&t[0].attrs.queuePromptButtonName!=""&&Mu(t);return{c(){s&&s.c(),e=Ze()},m(a,i){s&&s.m(a,i),z(a,e,i),n=!0},p(a,i){a[0]!=null&&a[0].attrs.queuePromptButtonName!=""?s?(s.p(a,i),i&1&&C(s,1)):(s=Mu(a),s.c(),C(s,1),s.m(e.parentNode,e)):s&&(le(),M(s,1,1,()=>{s=null}),oe())},i(a){n||(C(s),n=!0)},o(a){M(s),n=!1},d(a){a&&F(e),s&&s.d(a)}}}function x1(t){let e,n;return e=new Kd({props:{bottom:!0,color:"red",style:"bottom: calc(var(--f7-toolbar-height))",$$slots:{default:[U1]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,[a]){const i={};a&33&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function $1(t,e,n){let s;Pt(t,ts,l=>n(4,s=l));let{subworkflowID:a=-1}=e,{app:i=void 0}=e,o=null;function r(){Fd(20),i.runDefaultQueueAction()}return t.$$set=l=>{"subworkflowID"in l&&n(2,a=l.subworkflowID),"app"in l&&n(3,i=l.app)},t.$$.update=()=>{t.$$.dirty&16&&n(0,o=s.activeWorkflow)},[o,r,a,i,s]}class Q1 extends We{constructor(e){super(),je(this,e,$1,x1,Xe,{subworkflowID:2,app:3})}}function Pu(t,e,n){const s=t.slice();return s[11]=e[n],s[13]=n,s}function K1(t){let e;return{c(){e=ge("(No workflows opened.)")},m(n,s){z(n,e,s)},p:dt,i:dt,o:dt,d(n){n&&F(e)}}}function Z1(t){let e,n;return e=new Qd({props:{strong:!0,inset:!0,dividersIos:!0,class:"components-list searchbar-found",$$slots:{default:[e_]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&16386&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function J1(t){let e,n,s,a,i,o;n=new A1({props:{width:"1.5em",height:"1.5em"}});function r(...l){return t[8](t[11],...l)}return{c(){e=Z("div"),be(n.$$.fragment),s=V()},m(l,f){z(l,e,f),ve(n,e,null),z(l,s,f),a=!0,i||(o=ht(e,"pointerdown",r),i=!0)},p(l,f){t=l},i(l){a||(C(n.$$.fragment,l),a=!0)},o(l){M(n.$$.fragment,l),a=!1},d(l){l&&(F(e),F(s)),_e(n),i=!1,o()}}}function Iu(t){let e,n;return e=new $d({props:{link:"/workflows/"+(t[13]+1)+"/",transition:"f7-cover",title:t[11].attrs.title||`Workflow: ${t[11].id}`,$$slots:{media:[J1]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&2&&(i.title=s[11].attrs.title||`Workflow: ${s[11].id}`),a&16386&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function e_(t){let e,n,s=Lt(t[1].openedWorkflows),a=[];for(let o=0;oM(a[o],1,1,()=>{a[o]=null});return{c(){for(let o=0;o{m[g]=null}),oe(),a=m[s],a?a.p(p,b):(a=m[s]=d[s](p),a.c()),C(a,1),a.m(i.parentNode,i));const v={};b&16384&&(v.$$scope={dirty:b,ctx:p}),o.$set(v)},i(p){f||(C(e.$$.fragment,p),C(a),C(o.$$.fragment,p),f=!0)},o(p){M(e.$$.fragment,p),M(a),M(o.$$.fragment,p),f=!1},d(p){p&&(F(n),F(i),F(r),F(l)),_e(e,p),m[s].d(p),_e(o,p),t[9](null),c=!1,u()}}}function i_(t){let e,n;return e=new Ds({props:{name:"home",$$slots:{default:[a_]},$$scope:{ctx:t}}}),e.$on("pageBeforeIn",t[6]),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,[a]){const i={};a&16387&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function r_(t,e,n){let s,a;Pt(t,Ct,h=>n(10,s=h)),Pt(t,ts,h=>n(1,a=h));let{app:i=null}=e,o;async function r(){yt.dialog.confirm("Would you like to load the default workflow in a new tab?",async()=>{await i.initDefaultWorkflow(),i.saveStateToLocalStorage(!1)})}function l(h,p){p.preventDefault(),p.stopImmediatePropagation(),yt.dialog.confirm("Are you sure you want to delete this workflow?",h.attrs.title||`Workflow: ${h.id}`,()=>{i.closeWorkflow(h.id),i.saveStateToLocalStorage(!1)})}function f(){o&&(Fd(20),n(0,o.value=null,o),o.click())}function c(){i.handleFile(o.files[0])}function u(){Gt(Ct,s.selectedWorkflowIndex=null,s),Gt(Ct,s.selectedTab=1,s)}const d=(h,p)=>l(h,p);function m(h){$e[h?"unshift":"push"](()=>{o=h,n(0,o)})}return t.$$set=h=>{"app"in h&&n(7,i=h.app)},[o,a,r,l,f,c,u,i,d,m]}class Au extends We{constructor(e){super(),je(this,e,r_,i_,Xe,{app:7})}}function Ou(t,e,n){const s=t.slice();s[12]=e[n],s[15]=n;const a=s[4](s[12]);return s[13]=a,s}function l_(t){let e;return{c(){e=ge("Queue")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function o_(t){let e;return{c(){e=ge("🛑️")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function f_(t){let e;return{c(){e=ge("🗑️")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function c_(t){let e,n,s,a;return e=new xt({props:{$$slots:{default:[o_]},$$scope:{ctx:t}}}),e.$on("click",t[2]),s=new xt({props:{$$slots:{default:[f_]},$$scope:{ctx:t}}}),s.$on("click",t[3]),{c(){be(e.$$.fragment),n=V(),be(s.$$.fragment)},m(i,o){ve(e,i,o),z(i,n,o),ve(s,i,o),a=!0},p(i,o){const r={};o&65536&&(r.$$scope={dirty:o,ctx:i}),e.$set(r);const l={};o&65536&&(l.$$scope={dirty:o,ctx:i}),s.$set(l)},i(i){a||(C(e.$$.fragment,i),C(s.$$.fragment,i),a=!0)},o(i){M(e.$$.fragment,i),M(s.$$.fragment,i),a=!1},d(i){i&&F(n),_e(e,i),_e(s,i)}}}function u_(t){let e,n,s,a,i,o;return e=new As({}),s=new Bs({props:{$$slots:{default:[l_]},$$scope:{ctx:t}}}),i=new Os({props:{$$slots:{default:[c_]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment),n=V(),be(s.$$.fragment),a=V(),be(i.$$.fragment)},m(r,l){ve(e,r,l),z(r,n,l),ve(s,r,l),z(r,a,l),ve(i,r,l),o=!0},p(r,l){const f={};l&65536&&(f.$$scope={dirty:l,ctx:r}),s.$set(f);const c={};l&65536&&(c.$$scope={dirty:l,ctx:r}),i.$set(c)},i(r){o||(C(e.$$.fragment,r),C(s.$$.fragment,r),C(i.$$.fragment,r),o=!0)},o(r){M(e.$$.fragment,r),M(s.$$.fragment,r),M(i.$$.fragment,r),o=!1},d(r){r&&(F(n),F(a)),_e(e,r),_e(s,r),_e(i,r)}}}function d_(t){let e=t[12].message+"",n;return{c(){n=ge(e)},m(s,a){z(s,n,a)},p(s,a){a&1&&e!==(e=s[12].message+"")&&we(n,e)},d(s){s&&F(n)}}}function p_(t){let e,n=t[12].submessage+"",s,a,i,o=t[13]+"",r;return{c(){e=Z("p"),s=ge(n),a=V(),i=Z("p"),r=ge(o),se(e,"class","list-entry-message svelte-qf636e")},m(l,f){z(l,e,f),N(e,s),z(l,a,f),z(l,i,f),N(i,r)},p(l,f){f&1&&n!==(n=l[12].submessage+"")&&we(s,n),f&1&&o!==(o=l[13]+"")&&we(r,o)},d(l){l&&(F(e),F(a),F(i))}}}function m_(t){let e;return{c(){e=ge("Cancel")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function Bu(t){let e,n=t[12].date+"",s;return{c(){e=Z("p"),s=ge(n)},m(a,i){z(a,e,i),N(e,s)},p(a,i){i&1&&n!==(n=a[12].date+"")&&we(s,n)},d(a){a&&F(e)}}}function h_(t){let e,n,s,a;function i(){return t[9](t[12])}e=new xt({props:{$$slots:{default:[m_]},$$scope:{ctx:t}}}),e.$on("click",i);let o=t[12].date&&Bu(t);return{c(){be(e.$$.fragment),n=V(),o&&o.c(),s=Ze()},m(r,l){ve(e,r,l),z(r,n,l),o&&o.m(r,l),z(r,s,l),a=!0},p(r,l){t=r;const f={};l&65536&&(f.$$scope={dirty:l,ctx:t}),e.$set(f),t[12].date?o?o.p(t,l):(o=Bu(t),o.c(),o.m(s.parentNode,s)):o&&(o.d(1),o=null)},i(r){a||(C(e.$$.fragment,r),a=!0)},o(r){M(e.$$.fragment,r),a=!1},d(r){r&&(F(n),F(s)),_e(e,r),o&&o.d(r)}}}function g_(t){let e,n,s,a,i,o;return e=new Xd({props:{valign:"bottom",style:"background-image: url("+t[6](t[12])+")",$$slots:{default:[d_]},$$scope:{ctx:t}}}),s=new Wd({props:{$$slots:{default:[p_]},$$scope:{ctx:t}}}),i=new jd({props:{$$slots:{default:[h_]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment),n=V(),be(s.$$.fragment),a=V(),be(i.$$.fragment)},m(r,l){ve(e,r,l),z(r,n,l),ve(s,r,l),z(r,a,l),ve(i,r,l),o=!0},p(r,l){const f={};l&1&&(f.style="background-image: url("+r[6](r[12])+")"),l&65537&&(f.$$scope={dirty:l,ctx:r}),e.$set(f);const c={};l&65537&&(c.$$scope={dirty:l,ctx:r}),s.$set(c);const u={};l&65537&&(u.$$scope={dirty:l,ctx:r}),i.$set(u)},i(r){o||(C(e.$$.fragment,r),C(s.$$.fragment,r),C(i.$$.fragment,r),o=!0)},o(r){M(e.$$.fragment,r),M(s.$$.fragment,r),M(i.$$.fragment,r),o=!1},d(r){r&&(F(n),F(a)),_e(e,r),_e(s,r),_e(i,r)}}}function b_(t){let e,n,s;return e=new Wh({props:{outlineMd:!0,class:"demo-card-header-pic",$$slots:{default:[g_]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment),n=V()},m(a,i){ve(e,a,i),z(a,n,i),s=!0},p(a,i){const o={};i&65537&&(o.$$scope={dirty:i,ctx:a}),e.$set(o)},i(a){s||(C(e.$$.fragment,a),s=!0)},o(a){M(e.$$.fragment,a),s=!1},d(a){a&&F(n),_e(e,a)}}}function Lu(t){let e,n;return e=new $d({props:{$$slots:{default:[b_]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&65537&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function v_(t){let e,n,s=Lt(t[0]),a=[];for(let o=0;oM(a[o],1,1,()=>{a[o]=null});return{c(){for(let o=0;on(10,s=p)),Pt(t,Ct,p=>n(11,a=p)),Pt(t,Zn,p=>n(8,i=p));let{app:o}=e,r=[];function l(){Gt(Ct,a.selectedTab=0,a)}async function f(){await o.interrupt()}async function c(){yt.dialog.confirm("Are you sure you want to clear the current queue?",async()=>{await o.clearQueue("queue"),Zn.updateEntries(!0),ra("Queue cleared!")})}function u(p){let b="";for(const g of Object.values(p.entry.prompt))if(g.class_type==="CLIPTextEncode")for(const[v,_]of Object.entries(g.inputs))v==="text"&&(b+=_+` +`);return Wp(b,240)}async function d(p){s.isInterrupting||(p.status==="running"?await o.interrupt():await o.deleteQueueItem("queue",p.entry.promptID),ra("Queue item canceled."),Zn.updateEntries(!0))}function m(p){return p.images.length>0?Nd(p.images[0]):"https://cdn.framework7.io/placeholder/nature-1000x600-3.jpg"}const h=p=>d(p);return t.$$set=p=>{"app"in p&&n(7,o=p.app)},t.$$.update=()=>{t.$$.dirty&256&&n(0,r=i.queueUIEntries)},[r,l,f,c,u,d,m,o,i,h]}class y_ extends We{constructor(e){super(),je(this,e,C_,E_,Xe,{app:7})}}function Du(t,e,n){const s=t.slice();return s[11]=e[n],s[13]=n,s}function Ru(t,e,n){const s=t.slice();s[14]=e[n][0],s[15]=e[n][1],s[18]=n;const a=s[13]*Sa+s[18];return s[16]=a,s}function w_(t){let e;return{c(){e=ge("Gallery")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function S_(t){let e;return{c(){e=ge("🗑️")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function T_(t){let e,n;return e=new xt({props:{$$slots:{default:[S_]},$$scope:{ctx:t}}}),e.$on("click",t[3]),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&524288&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function M_(t){let e,n,s,a,i,o;return e=new As({}),s=new Bs({props:{$$slots:{default:[w_]},$$scope:{ctx:t}}}),i=new Os({props:{$$slots:{default:[T_]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment),n=V(),be(s.$$.fragment),a=V(),be(i.$$.fragment)},m(r,l){ve(e,r,l),z(r,n,l),ve(s,r,l),z(r,a,l),ve(i,r,l),o=!0},p(r,l){const f={};l&524288&&(f.$$scope={dirty:l,ctx:r}),s.$set(f);const c={};l&524288&&(c.$$scope={dirty:l,ctx:r}),i.$set(c)},i(r){o||(C(e.$$.fragment,r),C(s.$$.fragment,r),C(i.$$.fragment,r),o=!0)},o(r){M(e.$$.fragment,r),M(s.$$.fragment,r),M(i.$$.fragment,r),o=!1},d(r){r&&(F(n),F(a)),_e(e,r),_e(s,r),_e(i,r)}}}function Hu(t){let e,n,s,a,i;function o(...r){return t[7](t[14],t[16],...r)}return{c(){e=Z("div"),n=Z("img"),se(n,"class","grid-entry-image svelte-16dky85"),Rt(n.src,s=t[15])||se(n,"src",s),se(n,"loading","lazy"),se(n,"alt","thumbnail"),se(e,"class","grid-entry svelte-16dky85")},m(r,l){z(r,e,l),N(e,n),a||(i=ht(n,"click",o),a=!0)},p(r,l){t=r,l&1&&!Rt(n.src,s=t[15])&&se(n,"src",s)},d(r){r&&F(e),a=!1,i()}}}function zu(t){let e,n,s=Lt(t[11]),a=[];for(let i=0;in(9,s=h)),Pt(t,Zn,h=>n(6,a=h));let{app:i}=e,o=[],r=[],l=[];function f(){Gt(Ct,s.selectedTab=2,s)}function c(h){const p=[];for(const b of h)for(const g of b.images)p.push([b,Nd(g,!0)]);n(0,r=jp(p,Sa)),l=p.map(b=>b[1])}function u(h,p,b){Xp(l,b)}async function d(){yt.dialog.confirm("Are you sure you want to clear the current history?",async()=>{await i.clearQueue("history"),Zn.updateEntries(!0),ra("History cleared!")})}const m=(h,p,b)=>u(b,h,p);return t.$$set=h=>{"app"in h&&n(4,i=h.app)},t.$$.update=()=>{t.$$.dirty&64&&n(5,o=a.historyUIEntries),t.$$.dirty&32&&c(o)},[r,f,u,d,i,o,a,m]}class B_ extends We{constructor(e){super(),je(this,e,O_,A_,Xe,{app:4})}}function L_(t){let e;return{c(){e=ge(t[3])},m(n,s){z(n,e,s)},p(n,s){s&8&&we(e,n[3])},d(n){n&&F(e)}}}function D_(t){let e,n;return e=new M1({}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function R_(t){let e,n;return e=new xt({props:{icon:"icon-bars",$$slots:{default:[D_]},$$scope:{ctx:t}}}),e.$on("click",t[12]),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&131072&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function H_(t){let e,n,s,a,i,o;return e=new As({props:{backLink:"Back",backLinkUrl:"/workflows/",backLinkForce:!0}}),s=new Bs({props:{$$slots:{default:[L_]},$$scope:{ctx:t}}}),i=new Os({props:{$$slots:{default:[R_]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment),n=V(),be(s.$$.fragment),a=V(),be(i.$$.fragment)},m(r,l){ve(e,r,l),z(r,n,l),ve(s,r,l),z(r,a,l),ve(i,r,l),o=!0},p(r,l){const f={};l&131080&&(f.$$scope={dirty:l,ctx:r}),s.$set(f);const c={};l&131088&&(c.$$scope={dirty:l,ctx:r}),i.$set(c)},i(r){o||(C(e.$$.fragment,r),C(s.$$.fragment,r),C(i.$$.fragment,r),o=!0)},o(r){M(e.$$.fragment,r),M(s.$$.fragment,r),M(i.$$.fragment,r),o=!1},d(r){r&&(F(n),F(a)),_e(e,r),_e(s,r),_e(i,r)}}}function z_(t){let e;return{c(){e=Z("div"),e.textContent="Workflow not found."},m(n,s){z(n,e,s)},p:dt,i:dt,o:dt,d(n){n&&F(e)}}}function F_(t){let e,n,s=t[2]&&Fu(t);return{c(){s&&s.c(),e=Ze()},m(a,i){s&&s.m(a,i),z(a,e,i),n=!0},p(a,i){a[2]?s?(s.p(a,i),i&4&&C(s,1)):(s=Fu(a),s.c(),C(s,1),s.m(e.parentNode,e)):s&&(le(),M(s,1,1,()=>{s=null}),oe())},i(a){n||(C(s),n=!0)},o(a){M(s),n=!1},d(a){a&&F(e),s&&s.d(a)}}}function Fu(t){let e,n,s,a;function i(r){t[13](r)}let o={isMobile:!0,classes:["root-container"],layoutState:t[1]};return t[2]!==void 0&&(o.dragItem=t[2]),n=new Up({props:o}),$e.push(()=>Vd(n,"dragItem",i)),{c(){e=Z("div"),be(n.$$.fragment),se(e,"class","container svelte-7qn3jc")},m(r,l){z(r,e,l),ve(n,e,null),a=!0},p(r,l){const f={};l&2&&(f.layoutState=r[1]),!s&&l&4&&(s=!0,f.dragItem=r[2],Yd(()=>s=!1)),n.$set(f)},i(r){a||(C(n.$$.fragment,r),a=!0)},o(r){M(n.$$.fragment,r),a=!1},d(r){r&&F(e),_e(n)}}}function N_(t){let e;return{c(){e=ge("Actions")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function V_(t){let e;return{c(){e=ge("Refresh Dropdowns")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function Y_(t){let e;return{c(){e=ge("Save to Local Storage")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function q_(t){let e;return{c(){e=ge("Cancel")},m(n,s){z(n,e,s)},d(n){n&&F(e)}}}function W_(t){let e,n,s,a,i,o,r,l;return e=new xm({props:{$$slots:{default:[N_]},$$scope:{ctx:t}}}),s=new Ns({props:{strong:!0,$$slots:{default:[V_]},$$scope:{ctx:t}}}),s.$on("click",t[7]),i=new Ns({props:{strong:!0,$$slots:{default:[Y_]},$$scope:{ctx:t}}}),i.$on("click",t[8]),r=new Ns({props:{color:"red",$$slots:{default:[q_]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment),n=V(),be(s.$$.fragment),a=V(),be(i.$$.fragment),o=V(),be(r.$$.fragment)},m(f,c){ve(e,f,c),z(f,n,c),ve(s,f,c),z(f,a,c),ve(i,f,c),z(f,o,c),ve(r,f,c),l=!0},p(f,c){const u={};c&131072&&(u.$$scope={dirty:c,ctx:f}),e.$set(u);const d={};c&131072&&(d.$$scope={dirty:c,ctx:f}),s.$set(d);const m={};c&131072&&(m.$$scope={dirty:c,ctx:f}),i.$set(m);const h={};c&131072&&(h.$$scope={dirty:c,ctx:f}),r.$set(h)},i(f){l||(C(e.$$.fragment,f),C(s.$$.fragment,f),C(i.$$.fragment,f),C(r.$$.fragment,f),l=!0)},o(f){M(e.$$.fragment,f),M(s.$$.fragment,f),M(i.$$.fragment,f),M(r.$$.fragment,f),l=!1},d(f){f&&(F(n),F(a),F(o)),_e(e,f),_e(s,f),_e(i,f),_e(r,f)}}}function j_(t){let e,n;return e=new Xm({props:{$$slots:{default:[W_]},$$scope:{ctx:t}}}),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,a){const i={};a&131072&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function X_(t){let e,n,s,a,i,o,r,l;e=new Ls({props:{$$slots:{default:[H_]},$$scope:{ctx:t}}});const f=[F_,z_],c=[];function u(h,p){return h[0]?0:1}s=u(t),a=c[s]=f[s](t);function d(h){t[14](h)}let m={$$slots:{default:[j_]},$$scope:{ctx:t}};return t[4]!==void 0&&(m.opened=t[4]),o=new Zm({props:m}),$e.push(()=>Vd(o,"opened",d)),{c(){be(e.$$.fragment),n=V(),a.c(),i=V(),be(o.$$.fragment)},m(h,p){ve(e,h,p),z(h,n,p),c[s].m(h,p),z(h,i,p),ve(o,h,p),l=!0},p(h,p){const b={};p&131096&&(b.$$scope={dirty:p,ctx:h}),e.$set(b);let g=s;s=u(h),s===g?c[s].p(h,p):(le(),M(c[g],1,1,()=>{c[g]=null}),oe(),a=c[s],a?a.p(h,p):(a=c[s]=f[s](h),a.c()),C(a,1),a.m(i.parentNode,i));const v={};p&131072&&(v.$$scope={dirty:p,ctx:h}),!r&&p&16&&(r=!0,v.opened=h[4],Yd(()=>r=!1)),o.$set(v)},i(h){l||(C(e.$$.fragment,h),C(a),C(o.$$.fragment,h),l=!0)},o(h){M(e.$$.fragment,h),M(a),M(o.$$.fragment,h),l=!1},d(h){h&&(F(n),F(i)),_e(e,h),c[s].d(h),_e(o,h)}}}function G_(t){let e,n;return e=new Ds({props:{name:"workflow",style:"--f7-page-toolbar-bottom-offset: calc(var(--f7-toolbar-height) * 2)",$$slots:{default:[X_]},$$scope:{ctx:t}}}),e.$on("pageBeforeIn",t[5]),e.$on("pageBeforeOut",t[6]),{c(){be(e.$$.fragment)},m(s,a){ve(e,s,a),n=!0},p(s,[a]){const i={};a&131103&&(i.$$scope={dirty:a,ctx:s}),e.$set(i)},i(s){n||(C(e.$$.fragment,s),n=!0)},o(s){M(e.$$.fragment,s),n=!1},d(s){_e(e,s)}}}function U_(t,e,n){let s,a,i=dt,o=()=>(i(),i=Gp(s,S=>n(11,a=S)),s),r,l;Pt(t,Ct,S=>n(15,r=S)),Pt(t,ts,S=>n(16,l=S)),t.$$.on_destroy.push(()=>i());let{workflowIndex:f}=e,{app:c}=e,u,d,m="",h=!1;function p(){n(0,u=l.openedWorkflows[f-1]),u&&ts.setActiveWorkflow(c.lCanvas,u.id),Gt(Ct,r.selectedWorkflowIndex=f,r),Gt(Ct,r.showingWorkflow=!0,r),Gt(Ct,r.selectedTab=1,r)}function b(){Gt(Ct,r.showingWorkflow=!1,r)}async function g(){vibrateIfPossible(20),await c.refreshComboInNodes()}function v(){vibrateIfPossible(20),c.saveStateToLocalStorage()}const _=()=>{n(4,h=!0)};function k(S){d=S,n(2,d),n(1,s),n(11,a),n(0,u)}function E(S){h=S,n(4,h)}return t.$$set=S=>{"workflowIndex"in S&&n(9,f=S.workflowIndex),"app"in S&&n(10,c=S.app)},t.$$.update=()=>{var S;t.$$.dirty&1&&o(n(1,s=u==null?void 0:u.layout)),t.$$.dirty&513&&n(3,m=((S=u==null?void 0:u.attrs)==null?void 0:S.title)||`Workflow: ${(u==null?void 0:u.id)||f}`),t.$$.dirty&2050&&(s&&a.root?n(2,d=a.root):n(2,d=null))},[u,s,d,m,h,p,b,g,v,f,c,a,_,k,E]}class x_ extends We{constructor(e){super(),je(this,e,U_,G_,Xe,{workflowIndex:9,app:10})}}const{document:$_}=xp;function Nu(t,e,n){const s=t.slice();return s[12]=e[n],s}function Vs(t){const e=t.slice(),n=e[10].stack.split(` +`);return e[11]=n,e}function Vu(t){let e,n,s,a={ctx:t,current:null,token:null,hasCatch:!0,pending:J_,then:K_,catch:Q_,error:10,blocks:[,,,]};return Za(n=t[2],a),{c(){e=Ze(),a.block.c()},m(i,o){z(i,e,o),a.block.m(i,a.anchor=o),a.mount=()=>e.parentNode,a.anchor=e,s=!0},p(i,o){t=i,a.ctx=t,o&4&&n!==(n=t[2])&&Za(n,a)||$p(a,t,o)},i(i){s||(C(a.block),s=!0)},o(i){for(let o=0;o<3;o+=1){const r=a.blocks[o];M(r)}s=!1},d(i){i&&F(e),a.block.d(i),a.token=null,a=null}}}function Q_(t){let e,n,s,a,i=t[10]+"",o,r,l=t[10]!=null&&t[10].stack&&Yu(Vs(t));return{c(){e=Z("div"),n=Z("div"),n.textContent="Error loading app",s=V(),a=Z("div"),o=ge(i),r=V(),l&&l.c(),se(e,"class","comfy-loading-error svelte-b2kj77")},m(f,c){z(f,e,c),N(e,n),N(e,s),N(e,a),N(a,o),N(e,r),l&&l.m(e,null)},p(f,c){c&4&&i!==(i=f[10]+"")&&we(o,i),f[10]!=null&&f[10].stack?l?l.p(Vs(f),c):(l=Yu(Vs(f)),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:dt,o:dt,d(f){f&&F(e),l&&l.d()}}}function Yu(t){let e,n=Lt(t[11]),s=[];for(let a=0;a{i=null}),oe())},i(o){a||(C(e.$$.fragment,o),C(i),a=!0)},o(o){M(e.$$.fragment,o),M(i),a=!1},d(o){o&&(F(n),F(s)),_e(e,o),i&&i.d(o)}}}function J_(t){let e,n,s,a;return s=new Mn({props:{color:"blue",size:100}}),{c(){e=Z("div"),n=Z("div"),be(s.$$.fragment),se(e,"class","comfy-app-loading svelte-b2kj77")},m(i,o){z(i,e,o),N(e,n),ve(s,n,null),a=!0},p:dt,i(i){a||(C(s.$$.fragment,i),a=!0)},o(i){M(s.$$.fragment,i),a=!1},d(i){i&&F(e),_e(s)}}}function ek(t){let e,n,s=t[2]&&Vu(t);return{c(){s&&s.c(),e=Ze()},m(a,i){s&&s.m(a,i),z(a,e,i),n=!0},p(a,i){a[2]?s?(s.p(a,i),i&4&&C(s,1)):(s=Vu(a),s.c(),C(s,1),s.m(e.parentNode,e)):s&&(le(),M(s,1,1,()=>{s=null}),oe())},i(a){n||(C(s),n=!0)},o(a){M(s),n=!1},d(a){a&&F(e),s&&s.d(a)}}}function tk(t){let e,n,s,a,i,o,r;const l=[{theme:"auto"},{name:"ComfyBox"},t[3]];let f={$$slots:{default:[ek]},$$scope:{ctx:t}};for(let c=0;c
    ',se(a,"class","canvas-wrapper pane-wrapper"),$t(a,"display","none")},m(c,u){z(c,e,u),ve(n,c,u),z(c,s,u),z(c,a,u),i=!0,o||(r=Dt(t[4].call(null,$_.body)),o=!0)},p(c,[u]){const d=u&8?Ge(l,[l[0],l[1],as(c[3])]):{};u&32775&&(d.$$scope={dirty:u,ctx:c}),n.$set(d)},i(c){i||(C(n.$$.fragment,c),i=!0)},o(c){M(n.$$.fragment,c),i=!1},d(c){c&&(F(e),F(s),F(a)),_e(n,c),o=!1,r()}}}function nk(t,e,n){let s;Pt(t,Ct,d=>n(1,s=d));let{app:a}=e;function i(d){if(yt.view.current.router.currentRoute.path=="/")d.preventDefault();else{const m=yt.$,h=m(".modal-in");if(h.length&&"f7Modal"in h[0]){h[0].f7Modal.close(!0),d.preventDefault();return}if(m(".panel-active").length){yt.panel.close(),d.preventDefault();return}const p=m(".photo-browser-page a.link.popup-close");if(p.length>0){p[0].click(),d.preventDefault();return}return yt.dialog.close(),yt.view.main.router.back(),!1}}let o=null,r=Number.POSITIVE_INFINITY;gt(async()=>{Gt(Ct,s.isDarkMode=!0,s),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",d=>{Gt(Ct,s.isDarkMode=d.matches,s)}),n(2,o=a.setup().then(()=>{setInterval(()=>a.saveStateToLocalStorage(!1),60*1e3)})),window.addEventListener("backbutton",i,!1),window.addEventListener("popstate",i,!1),window.visualViewport.addEventListener("resize",function(d){var m;d.target.height>r&&((m=document.activeElement)==null||m.blur()),r=d.target.height})});let l={routes:[{path:"/",component:Au,options:{props:{app:a}}},{path:"/workflows",component:Au,options:{props:{app:a}}},{path:"/queue/",component:y_,options:{props:{app:a}}},{path:"/gallery/",component:B_,options:{props:{app:a}}},{path:"/workflows/:workflowIndex/",component:x_,options:{props:{app:a}}}],popup:{closeOnEscape:!0},sheet:{closeOnEscape:!0},popover:{closeOnEscape:!0},actions:{closeOnEscape:!0},touch:{tapHold:!0}},f;const c=d=>f=d;function u(d){f&&(d?f.classList.add("dark"):f.classList.remove("dark"))}return t.$$set=d=>{"app"in d&&n(0,a=d.app)},t.$$.update=()=>{t.$$.dirty&2&&yt&&yt.setDarkMode(s.isDarkMode),t.$$.dirty&2&&u(s.isDarkMode)},[a,s,o,l,c]}class sk extends We{constructor(e){super(),je(this,e,nk,tk,Xe,{app:0})}}function ju(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Ta(t={},e={}){Object.keys(e).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:ju(e[n])&&ju(t[n])&&Object.keys(e[n]).length>0&&Ta(t[n],e[n])})}const Jd={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Le(){const t=typeof document<"u"?document:{};return Ta(t,Jd),t}const ak={document:Jd,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function Se(){const t=typeof window<"u"?window:{};return Ta(t,ak),t}function ik(t){const e=t.__proto__;Object.defineProperty(t,"__proto__",{get(){return e},set(n){e.__proto__=n}})}class hn extends Array{constructor(e){typeof e=="number"?super(e):(super(...e||[]),ik(this))}}function cs(t=[]){const e=[];return t.forEach(n=>{Array.isArray(n)?e.push(...cs(n)):e.push(n)}),e}function ep(t,e){return Array.prototype.filter.call(t,e)}function rk(t){const e=[];for(let n=0;nn.toUpperCase())}function ok(t,e){if(typeof t!="string")return[t];const n=[],s=e.querySelectorAll(t);for(let a=0;a=0&&i.indexOf(">")>=0){let o="div";i.indexOf("n.split(" ")));return this.forEach(n=>{n.classList.add(...e)}),this}function ck(...t){const e=cs(t.map(n=>n.split(" ")));return this.forEach(n=>{n.classList.remove(...e)}),this}function uk(...t){const e=cs(t.map(n=>n.split(" ")));this.forEach(n=>{e.forEach(s=>{n.classList.toggle(s)})})}function dk(...t){const e=cs(t.map(n=>n.split(" ")));return ep(this,n=>e.filter(s=>n.classList.contains(s)).length>0).length>0}function pk(t,e){if(arguments.length===1&&typeof t=="string")return this[0]?this[0].getAttribute(t):void 0;for(let n=0;n"u"){if(n=this[0],!n)return;if(n.dom7ElementDataStorage&&t in n.dom7ElementDataStorage)return n.dom7ElementDataStorage[t];const s=n.getAttribute(`data-${t}`);return s||void 0}for(let s=0;s=0&&(e[lk(s.name.split("data-")[1])]=s.value)}for(const n in e)e[n]==="false"?e[n]=!1:e[n]==="true"?e[n]=!0:parseFloat(e[n])===e[n]*1&&(e[n]*=1);return e}function _k(t){if(typeof t>"u"){const e=this[0];if(!e)return;if(e.multiple&&e.nodeName.toLowerCase()==="select"){const n=[];for(let s=0;s=0;else n.value=t}return this}function kk(t){return this.val(t)}function Ek(t){for(let e=0;e=0;u-=1){const d=c[u];s&&d.listener===s||s&&d.listener&&d.listener.dom7proxy&&d.listener.dom7proxy===s?(f.removeEventListener(r,d.proxyListener,a),c.splice(u,1)):s||(f.removeEventListener(r,d.proxyListener,a),c.splice(u,1))}}}return this}function Sk(...t){const e=this;let[n,s,a,i]=t;typeof t[1]=="function"&&([n,a,i]=t,s=void 0);function o(...r){a.apply(this,r),e.off(n,s,o,i),o.dom7proxy&&delete o.dom7proxy}return o.dom7proxy=a,e.on(n,s,o,i)}function Tk(...t){const e=Se(),n=t[0].split(" "),s=t[1];for(let a=0;ac>0),r.dispatchEvent(l),r.dom7EventData=[],delete r.dom7EventData}}}return this}function Mk(t){const e=this;function n(s){s.target===this&&(t.call(this,s),e.off("transitionstart",n))}return t&&e.on("transitionstart",n),this}function Pk(t){const e=this;function n(s){s.target===this&&(t.call(this,s),e.off("transitionend",n))}return t&&e.on("transitionend",n),this}function Ik(t){const e=this;function n(s){s.target===this&&(t.call(this,s),e.off("animationend",n))}return t&&e.on("animationend",n),this}function Ak(){const t=Se();return this[0]===t?t.innerWidth:this.length>0?parseFloat(this.css("width")):null}function Ok(t){if(this.length>0){if(t){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function Bk(){const t=Se();return this[0]===t?t.innerHeight:this.length>0?parseFloat(this.css("height")):null}function Lk(t){if(this.length>0){if(t){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function Dk(){if(this.length>0){const t=Se(),e=Le(),n=this[0],s=n.getBoundingClientRect(),a=e.body,i=n.clientTop||a.clientTop||0,o=n.clientLeft||a.clientLeft||0,r=n===t?t.scrollY:n.scrollTop,l=n===t?t.scrollX:n.scrollLeft;return{top:s.top+r-i,left:s.left+l-o}}return null}function Rk(){for(let t=0;t{t.apply(e,[e,n])}),this):this}function Vk(t){const e=ep(this,t);return Ye(e)}function Yk(t){if(typeof t>"u")return this[0]?this[0].innerHTML:null;for(let e=0;e"u")return this[0]?this[0].textContent.trim():null;for(let e=0;e"u")return!1;if(typeof t=="string"){if(s.matches)return s.matches(t);if(s.webkitMatchesSelector)return s.webkitMatchesSelector(t);if(s.msMatchesSelector)return s.msMatchesSelector(t);for(a=Ye(t),i=0;i"u")return this;const e=this.length;if(t>e-1)return Ye([]);if(t<0){const n=e+t;return n<0?Ye([]):Ye([this[n]])}return Ye([this[t]])}function Gk(...t){let e;const n=Le();for(let s=0;s=0;s-=1)this[n].insertBefore(a.childNodes[s],this[n].childNodes[0])}else if(t instanceof hn)for(s=0;s1)for(let s=0;s1)for(let s=0;s0?t?this[0].nextElementSibling&&Ye(this[0].nextElementSibling).is(t)?Ye([this[0].nextElementSibling]):Ye([]):this[0].nextElementSibling?Ye([this[0].nextElementSibling]):Ye([]):Ye([])}function Jk(t){const e=[];let n=this[0];if(!n)return Ye([]);for(;n.nextElementSibling;){const s=n.nextElementSibling;t?Ye(s).is(t)&&e.push(s):e.push(s),n=s}return Ye(e)}function eE(t){if(this.length>0){const e=this[0];return t?e.previousElementSibling&&Ye(e.previousElementSibling).is(t)?Ye([e.previousElementSibling]):Ye([]):e.previousElementSibling?Ye([e.previousElementSibling]):Ye([])}return Ye([])}function tE(t){const e=[];let n=this[0];if(!n)return Ye([]);for(;n.previousElementSibling;){const s=n.previousElementSibling;t?Ye(s).is(t)&&e.push(s):e.push(s),n=s}return Ye(e)}function nE(t){return this.nextAll(t).add(this.prevAll(t))}function sE(t){const e=[];for(let n=0;n"u"?Ye([]):(e.is(t)||(e=e.parents(t).eq(0)),e)}function rE(t){const e=[];for(let n=0;n"u"&&(i="swing"),this.each(function(){const l=this;let f,c,u,d,m,h,p,b,g=s>0||s===0,v=n>0||n===0;if(typeof i>"u"&&(i="swing"),g&&(f=l.scrollTop,a||(l.scrollTop=s)),v&&(c=l.scrollLeft,a||(l.scrollLeft=n)),!a)return;g&&(u=l.scrollHeight-l.offsetHeight,m=Math.max(Math.min(s,u),0)),v&&(d=l.scrollWidth-l.offsetWidth,h=Math.max(Math.min(n,d),0));let _=null;g&&m===f&&(g=!1),v&&h===c&&(v=!1);function k(E=new Date().getTime()){_===null&&(_=E);const S=Math.max(Math.min((E-_)/a,1),0),I=i==="linear"?S:.5-Math.cos(S*Math.PI)/2;let T;if(g&&(p=f+I*(m-f)),v&&(b=c+I*(h-c)),g&&m>f&&p>=m&&(l.scrollTop=m,T=!0),g&&mc&&b>=h&&(l.scrollLeft=h,T=!0),v&&h"u"?i.length>0?i[0].scrollTop:null:i.scrollTo(void 0,e,n,s,a)}function mE(...t){let[e,n,s,a]=t;t.length===3&&typeof s=="function"&&([e,n,a,s]=t);const i=this;return typeof e>"u"?i.length>0?i[0].scrollLeft:null:i.scrollTo(e,void 0,n,s,a)}function hE(t,e){const n=Se(),s=this,a={props:Object.assign({},t),params:Object.assign({duration:300,easing:"swing"},e),elements:s,animating:!1,que:[],easingProgress(o,r){return o==="swing"?.5-Math.cos(r*Math.PI)/2:typeof o=="function"?o(r):r},stop(){a.frameId&&n.cancelAnimationFrame(a.frameId),a.animating=!1,a.elements.each(o=>{const r=o;delete r.dom7AnimateInstance}),a.que=[]},done(o){if(a.animating=!1,a.elements.each(r=>{const l=r;delete l.dom7AnimateInstance}),o&&o(s),a.que.length>0){const r=a.que.shift();a.animate(r[0],r[1])}},animate(o,r){if(a.animating)return a.que.push([o,r]),a;const l=[];a.elements.each((b,g)=>{let v,_,k,E,S;b.dom7AnimateInstance||(a.elements[g].dom7AnimateInstance=a),l[g]={container:b},Object.keys(o).forEach(I=>{v=n.getComputedStyle(b,null).getPropertyValue(I).replace(",","."),_=parseFloat(v),k=v.replace(_,""),E=parseFloat(o[I]),S=o[I]+k,l[g][I]={initialFullValue:v,initialValue:_,unit:k,finalValue:E,finalFullValue:S,currentValue:_}})});let f=null,c,u=0,d=0,m,h=!1;a.animating=!0;function p(){c=new Date().getTime();let b,g;h||(h=!0,r.begin&&r.begin(s)),f===null&&(f=c),r.progress&&r.progress(s,Math.max(Math.min((c-f)/r.duration,1),0),f+r.duration-c<0?0:f+r.duration-c,f),l.forEach(v=>{const _=v;m||_.done||Object.keys(o).forEach(k=>{if(m||_.done)return;b=Math.max(Math.min((c-f)/r.duration,1),0),g=a.easingProgress(r.easing,b);const{initialValue:E,finalValue:S,unit:I}=_[k];_[k].currentValue=E+g*(S-E);const T=_[k].currentValue;if((S>E&&T>=S||S"u"){for(let s=0;s{t!=="$"&&(Ye.fn[t]=Xu[t])});const P=Ye;function dn(t){return t<0?-1:t===0?0:1}function Gu(t,e,n){return(1-n)*t+n*e}function VE(t,e,n){return ne?e:n}function Ma(t){return(t%=360)<0&&(t+=360),t}function YE(t,e){return Ma(e-t)<=180?1:-1}function qE(t,e){return 180-Math.abs(Math.abs(t-e)-180)}function oa(t,e){return[t[0]*e[0][0]+t[1]*e[0][1]+t[2]*e[0][2],t[0]*e[1][0]+t[1]*e[1][1]+t[2]*e[1][2],t[0]*e[2][0]+t[1]*e[2][1]+t[2]*e[2][2]]}const WE=[[.41233895,.35762064,.18051042],[.2126,.7152,.0722],[.01932141,.11916382,.95034478]],jE=[[3.2413774792388685,-1.5376652402851851,-.49885366846268053],[-.9691452513005321,1.8758853451067872,.04156585616912061],[.05562093689691305,-.20395524564742123,1.0571799111220335]],XE=[95.047,100,108.883];function Pa(t,e,n){return(255<<24|(255&t)<<16|(255&e)<<8|255&n)>>>0}function Uu(t){return Pa(En(t[0]),En(t[1]),En(t[2]))}function tp(t){return t>>16&255}function np(t){return t>>8&255}function sp(t){return 255&t}function GE(t,e,n){const s=jE,a=s[0][0]*t+s[0][1]*e+s[0][2]*n,i=s[1][0]*t+s[1][1]*e+s[1][2]*n,o=s[2][0]*t+s[2][1]*e+s[2][2]*n;return Pa(En(a),En(i),En(o))}function UE(t){return oa([Ln(tp(t)),Ln(np(t)),Ln(sp(t))],WE)}function xE(t){const e=En(Es(t));return Pa(e,e,e)}function fa(t){return 116*QE(UE(t)[1]/100)-16}function Es(t){return 100*KE((t+16)/116)}function Ln(t){const e=t/255;return e<=.040449936?e/12.92*100:100*Math.pow((e+.055)/1.055,2.4)}function En(t){const e=t/100;let n=0;return n=e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,VE(0,255,Math.round(255*n))}function $E(){return XE}function QE(t){return t>216/24389?Math.pow(t,1/3):(903.2962962962963*t+16)/116}function KE(t){const e=t*t*t;return e>216/24389?e:(116*t-16)/903.2962962962963}class an{static make(e,n,s,a,i){e===void 0&&(e=$E()),n===void 0&&(n=200/Math.PI*Es(50)/100),s===void 0&&(s=50),a===void 0&&(a=2),i===void 0&&(i=!1);const o=e,r=.401288*o[0]+.650173*o[1]+-.051461*o[2],l=-.250268*o[0]+1.204414*o[1]+.045854*o[2],f=-.002079*o[0]+.048952*o[1]+.953127*o[2],c=.8+a/10,u=c>=.9?Gu(.59,.69,10*(c-.9)):Gu(.525,.59,10*(c-.8));let d=i?1:c*(1-1/3.6*Math.exp((-n-42)/92));d=d>1?1:d<0?0:d;const m=c,h=[d*(100/r)+1-d,d*(100/l)+1-d,d*(100/f)+1-d],p=1/(5*n+1),b=p*p*p*p,g=1-b,v=b*n+.1*g*g*Math.cbrt(5*n),_=Es(s)/e[1],k=1.48+Math.sqrt(_),E=.725/Math.pow(_,.2),S=E,I=[Math.pow(v*h[0]*r/100,.42),Math.pow(v*h[1]*l/100,.42),Math.pow(v*h[2]*f/100,.42)],T=[400*I[0]/(I[0]+27.13),400*I[1]/(I[1]+27.13),400*I[2]/(I[2]+27.13)];return new an(_,(2*T[0]+T[1]+.05*T[2])*E,E,S,u,m,h,v,Math.pow(v,.25),k)}constructor(e,n,s,a,i,o,r,l,f,c){this.n=e,this.aw=n,this.nbb=s,this.ncb=a,this.c=i,this.nc=o,this.rgbD=r,this.fl=l,this.fLRoot=f,this.z=c}}an.DEFAULT=an.make();class Mt{constructor(e,n,s,a,i,o,r,l,f){this.hue=e,this.chroma=n,this.j=s,this.q=a,this.m=i,this.s=o,this.jstar=r,this.astar=l,this.bstar=f}distance(e){const n=this.jstar-e.jstar,s=this.astar-e.astar,a=this.bstar-e.bstar,i=Math.sqrt(n*n+s*s+a*a);return 1.41*Math.pow(i,.63)}static fromInt(e){return Mt.fromIntInViewingConditions(e,an.DEFAULT)}static fromIntInViewingConditions(e,n){const s=(65280&e)>>8,a=255&e,i=Ln((16711680&e)>>16),o=Ln(s),r=Ln(a),l=.41233895*i+.35762064*o+.18051042*r,f=.2126*i+.7152*o+.0722*r,c=.01932141*i+.11916382*o+.95034478*r,u=.401288*l+.650173*f-.051461*c,d=-.250268*l+1.204414*f+.045854*c,m=-.002079*l+.048952*f+.953127*c,h=n.rgbD[0]*u,p=n.rgbD[1]*d,b=n.rgbD[2]*m,g=Math.pow(n.fl*Math.abs(h)/100,.42),v=Math.pow(n.fl*Math.abs(p)/100,.42),_=Math.pow(n.fl*Math.abs(b)/100,.42),k=400*dn(h)*g/(g+27.13),E=400*dn(p)*v/(v+27.13),S=400*dn(b)*_/(_+27.13),I=(11*k+-12*E+S)/11,T=(k+E-2*S)/9,A=(20*k+20*E+21*S)/20,y=(40*k+20*E+S)/20,w=180*Math.atan2(T,I)/Math.PI,D=w<0?w+360:w>=360?w-360:w,O=D*Math.PI/180,L=y*n.nbb,j=100*Math.pow(L/n.aw,n.c*n.z),W=4/n.c*Math.sqrt(j/100)*(n.aw+4)*n.fLRoot,Y=D<20.14?D+360:D,B=5e4/13*(.25*(Math.cos(Y*Math.PI/180+2)+3.8))*n.nc*n.ncb*Math.sqrt(I*I+T*T)/(A+.305),q=Math.pow(B,.9)*Math.pow(1.64-Math.pow(.29,n.n),.73),X=q*Math.sqrt(j/100),H=X*n.fLRoot,G=50*Math.sqrt(q*n.c/(n.aw+4)),ce=(1+100*.007)*j/(1+.007*j),ye=1/.0228*Math.log(1+.0228*H),ne=ye*Math.cos(O),me=ye*Math.sin(O);return new Mt(D,X,j,W,H,G,ce,ne,me)}static fromJch(e,n,s){return Mt.fromJchInViewingConditions(e,n,s,an.DEFAULT)}static fromJchInViewingConditions(e,n,s,a){const i=4/a.c*Math.sqrt(e/100)*(a.aw+4)*a.fLRoot,o=n*a.fLRoot,r=n/Math.sqrt(e/100),l=50*Math.sqrt(r*a.c/(a.aw+4)),f=s*Math.PI/180,c=(1+100*.007)*e/(1+.007*e),u=1/.0228*Math.log(1+.0228*o),d=u*Math.cos(f),m=u*Math.sin(f);return new Mt(s,n,e,i,o,l,c,d,m)}static fromUcs(e,n,s){return Mt.fromUcsInViewingConditions(e,n,s,an.DEFAULT)}static fromUcsInViewingConditions(e,n,s,a){const i=n,o=s,r=Math.sqrt(i*i+o*o),l=(Math.exp(.0228*r)-1)/.0228/a.fLRoot;let f=Math.atan2(o,i)*(180/Math.PI);f<0&&(f+=360);const c=e/(1-.007*(e-100));return Mt.fromJchInViewingConditions(c,l,f,a)}toInt(){return this.viewed(an.DEFAULT)}viewed(e){const n=this.chroma===0||this.j===0?0:this.chroma/Math.sqrt(this.j/100),s=Math.pow(n/Math.pow(1.64-Math.pow(.29,e.n),.73),1/.9),a=this.hue*Math.PI/180,i=.25*(Math.cos(a+2)+3.8),o=e.aw*Math.pow(this.j/100,1/e.c/e.z),r=i*(5e4/13)*e.nc*e.ncb,l=o/e.nbb,f=Math.sin(a),c=Math.cos(a),u=23*(l+.305)*s/(23*r+11*s*c+108*s*f),d=u*c,m=u*f,h=(460*l+451*d+288*m)/1403,p=(460*l-891*d-261*m)/1403,b=(460*l-220*d-6300*m)/1403,g=Math.max(0,27.13*Math.abs(h)/(400-Math.abs(h))),v=dn(h)*(100/e.fl)*Math.pow(g,1/.42),_=Math.max(0,27.13*Math.abs(p)/(400-Math.abs(p))),k=dn(p)*(100/e.fl)*Math.pow(_,1/.42),E=Math.max(0,27.13*Math.abs(b)/(400-Math.abs(b))),S=dn(b)*(100/e.fl)*Math.pow(E,1/.42),I=v/e.rgbD[0],T=k/e.rgbD[1],A=S/e.rgbD[2];return GE(1.86206786*I-1.01125463*T+.14918677*A,.38752654*I+.62144744*T-.00897398*A,-.0158415*I-.03412294*T+1.04996444*A)}}class Ne{static sanitizeRadians(e){return(e+8*Math.PI)%(2*Math.PI)}static trueDelinearized(e){const n=e/100;let s=0;return s=n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055,255*s}static chromaticAdaptation(e){const n=Math.pow(Math.abs(e),.42);return 400*dn(e)*n/(n+27.13)}static hueOf(e){const n=oa(e,Ne.SCALED_DISCOUNT_FROM_LINRGB),s=Ne.chromaticAdaptation(n[0]),a=Ne.chromaticAdaptation(n[1]),i=Ne.chromaticAdaptation(n[2]),o=(11*s+-12*a+i)/11,r=(s+a-2*i)/9;return Math.atan2(r,o)}static areInCyclicOrder(e,n,s){return Ne.sanitizeRadians(n-e)100.01||E[1]>100.01||E[2]>100.01?0:Uu(E);a-=(A-s)*a/(2*A)}return 0}static solveToInt(e,n,s){if(n<1e-4||s<1e-4||s>99.9999)return xE(s);const a=(e=Ma(e))/180*Math.PI,i=Es(s),o=Ne.findResultByJ(a,n,i);return o!==0?o:Uu(Ne.bisectToLimit(i,a))}static solveToCam(e,n,s){return Mt.fromInt(Ne.solveToInt(e,n,s))}}Ne.SCALED_DISCOUNT_FROM_LINRGB=[[.001200833568784504,.002389694492170889,.0002795742885861124],[.0005891086651375999,.0029785502573438758,.0003270666104008398],[.00010146692491640572,.0005364214359186694,.0032979401770712076]],Ne.LINRGB_FROM_SCALED_DISCOUNT=[[1373.2198709594231,-1100.4251190754821,-7.278681089101213],[-271.815969077903,559.6580465940733,-32.46047482791194],[1.9622899599665666,-57.173814538844006,308.7233197812385]],Ne.Y_FROM_LINRGB=[.2126,.7152,.0722],Ne.CRITICAL_PLANES=[.015176349177441876,.045529047532325624,.07588174588720938,.10623444424209313,.13658714259697685,.16693984095186062,.19729253930674434,.2276452376616281,.2579979360165119,.28835063437139563,.3188300904430532,.350925934958123,.3848314933096426,.42057480301049466,.458183274052838,.4976837250274023,.5391024159806381,.5824650784040898,.6277969426914107,.6751227633498623,.7244668422128921,.775853049866786,.829304845476233,.8848452951698498,.942497089126609,1.0022825574869039,1.0642236851973577,1.1283421258858297,1.1946592148522128,1.2631959812511864,1.3339731595349034,1.407011200216447,1.4823302800086415,1.5599503113873272,1.6398909516233677,1.7221716113234105,1.8068114625156377,1.8938294463134073,1.9832442801866852,2.075074464868551,2.1693382909216234,2.2660538449872063,2.36523901573795,2.4669114995532007,2.5710888059345764,2.6777882626779785,2.7870270208169257,2.898822059350997,3.0131901897720907,3.1301480604002863,3.2497121605402226,3.3718988244681087,3.4967242352587946,3.624204428461639,3.754355295633311,3.887192587735158,4.022731918402185,4.160988767090289,4.301978482107941,4.445716283538092,4.592217266055746,4.741496401646282,4.893568542229298,5.048448422192488,5.20615066083972,5.3666897647573375,5.5300801301023865,5.696336044816294,5.865471690767354,6.037501145825082,6.212438385869475,6.390297286737924,6.571091626112461,6.7548350853498045,6.941541251256611,7.131223617812143,7.323895587840543,7.5195704746346665,7.7182615035334345,7.919981813454504,8.124744458384042,8.332562408825165,8.543448553206703,8.757415699253682,8.974476575321063,9.194643831691977,9.417930041841839,9.644347703669503,9.873909240696694,10.106627003236781,10.342513269534024,10.58158024687427,10.8238400726681,11.069304815507364,11.317986476196008,11.569896988756009,11.825048221409341,12.083451977536606,12.345119996613247,12.610063955123938,12.878295467455942,13.149826086772048,13.42466730586372,13.702830557985108,13.984327217668513,14.269168601521828,14.55736596900856,14.848930523210871,15.143873411576273,15.44220572664832,15.743938506781891,16.04908273684337,16.35764934889634,16.66964922287304,16.985093187232053,17.30399201960269,17.62635644741625,17.95219714852476,18.281524751807332,18.614349837764564,18.95068293910138,19.290534541298456,19.633915083172692,19.98083495742689,20.331304511189067,20.685334046541502,21.042933821039977,21.404114048223256,21.76888489811322,22.137256497705877,22.50923893145328,22.884842241736916,23.264076429332462,23.6469514538663,24.033477234264016,24.42366364919083,24.817520537484558,25.21505769858089,25.61628489293138,26.021211842414342,26.429848230738664,26.842203703840827,27.258287870275353,27.678110301598522,28.10168053274597,28.529008062403893,28.96010235337422,29.39497283293396,29.83362889318845,30.276079891419332,30.722335150426627,31.172403958865512,31.62629557157785,32.08401920991837,32.54558406207592,33.010999283389665,33.4802739966603,33.953417292456834,34.430438229418264,34.911345834551085,35.39614910352207,35.88485700094671,36.37747846067349,36.87402238606382,37.37449765026789,37.87891309649659,38.38727753828926,38.89959975977785,39.41588851594697,39.93615253289054,40.460400508064545,40.98864111053629,41.520882981230194,42.05713473317016,42.597404951718396,43.141702194811224,43.6900349931913,44.24241185063697,44.798841244188324,45.35933162437017,45.92389141541209,46.49252901546552,47.065252796817916,47.64207110610409,48.22299226451468,48.808024568002054,49.3971762874833,49.9904556690408,50.587870934119984,51.189430279724725,51.79514187861014,52.40501387947288,53.0190544071392,53.637271562750364,54.259673423945976,54.88626804504493,55.517063457223934,56.15206766869424,56.79128866487574,57.43473440856916,58.08241284012621,58.734331877617365,59.39049941699807,60.05092333227251,60.715611475655585,61.38457167773311,62.057811747619894,62.7353394731159,63.417162620860914,64.10328893648692,64.79372614476921,65.48848194977529,66.18756403501224,66.89098006357258,67.59873767827808,68.31084450182222,69.02730813691093,69.74813616640164,70.47333615344107,71.20291564160104,71.93688215501312,72.67524319850172,73.41800625771542,74.16517879925733,74.9167682708136,75.67278210128072,76.43322770089146,77.1981124613393,77.96744375590167,78.74122893956174,79.51947534912904,80.30219030335869,81.08938110306934,81.88105503125999,82.67721935322541,83.4778813166706,84.28304815182372,85.09272707154808,85.90692527145302,86.72564993000343,87.54890820862819,88.3767072518277,89.2090541872801,90.04595612594655,90.88742016217518,91.73345337380438,92.58406282226491,93.43925555268066,94.29903859396902,95.16341895893969,96.03240364439274,96.9059996312159,97.78421388448044,98.6670533535366,99.55452497210776];class Ut{static from(e,n,s){return new Ut(Ne.solveToInt(e,n,s))}static fromInt(e){return new Ut(e)}toInt(){return this.argb}get hue(){return this.internalHue}set hue(e){this.setInternalState(Ne.solveToInt(e,this.internalChroma,this.internalTone))}get chroma(){return this.internalChroma}set chroma(e){this.setInternalState(Ne.solveToInt(this.internalHue,e,this.internalTone))}get tone(){return this.internalTone}set tone(e){this.setInternalState(Ne.solveToInt(this.internalHue,this.internalChroma,e))}constructor(e){this.argb=e;const n=Mt.fromInt(e);this.internalHue=n.hue,this.internalChroma=n.chroma,this.internalTone=fa(e),this.argb=e}setInternalState(e){const n=Mt.fromInt(e);this.internalHue=n.hue,this.internalChroma=n.chroma,this.internalTone=fa(e),this.argb=e}}class Ia{static harmonize(e,n){const s=Ut.fromInt(e),a=Ut.fromInt(n),i=qE(s.hue,a.hue),o=Math.min(.5*i,15),r=Ma(s.hue+o*YE(s.hue,a.hue));return Ut.from(r,s.chroma,s.tone).toInt()}static hctHue(e,n,s){const a=Ia.cam16Ucs(e,n,s),i=Mt.fromInt(a),o=Mt.fromInt(e);return Ut.from(i.hue,o.chroma,fa(e)).toInt()}static cam16Ucs(e,n,s){const a=Mt.fromInt(e),i=Mt.fromInt(n),o=a.jstar,r=a.astar,l=a.bstar,f=o+(i.jstar-o)*s,c=r+(i.astar-r)*s,u=l+(i.bstar-l)*s;return Mt.fromUcs(f,c,u).toInt()}}class Ot{static fromInt(e){const n=Ut.fromInt(e);return Ot.fromHueAndChroma(n.hue,n.chroma)}static fromHueAndChroma(e,n){return new Ot(e,n)}constructor(e,n){this.hue=e,this.chroma=n,this.cache=new Map}tone(e){let n=this.cache.get(e);return n===void 0&&(n=Ut.from(this.hue,this.chroma,e).toInt(),this.cache.set(e,n)),n}}class Et{static of(e){return new Et(e,!1)}static contentOf(e){return new Et(e,!0)}static fromColors(e){return Et.createPaletteFromColors(!1,e)}static contentFromColors(e){return Et.createPaletteFromColors(!0,e)}static createPaletteFromColors(e,n){const s=new Et(n.primary,e);if(n.secondary){const a=new Et(n.secondary,e);s.a2=a.a1}if(n.tertiary){const a=new Et(n.tertiary,e);s.a3=a.a1}if(n.error){const a=new Et(n.error,e);s.error=a.a1}if(n.neutral){const a=new Et(n.neutral,e);s.n1=a.n1}if(n.neutralVariant){const a=new Et(n.neutralVariant,e);s.n2=a.n2}return s}constructor(e,n){const s=Ut.fromInt(e),a=s.hue,i=s.chroma;n?(this.a1=Ot.fromHueAndChroma(a,i),this.a2=Ot.fromHueAndChroma(a,i/3),this.a3=Ot.fromHueAndChroma(a+60,i/2),this.n1=Ot.fromHueAndChroma(a,Math.min(i/12,4)),this.n2=Ot.fromHueAndChroma(a,Math.min(i/6,8))):(this.a1=Ot.fromHueAndChroma(a,Math.max(48,i)),this.a2=Ot.fromHueAndChroma(a,16),this.a3=Ot.fromHueAndChroma(a+60,24),this.n1=Ot.fromHueAndChroma(a,4),this.n2=Ot.fromHueAndChroma(a,8)),this.error=Ot.fromHueAndChroma(25,84)}}class nn{get primary(){return this.props.primary}get onPrimary(){return this.props.onPrimary}get primaryContainer(){return this.props.primaryContainer}get onPrimaryContainer(){return this.props.onPrimaryContainer}get secondary(){return this.props.secondary}get onSecondary(){return this.props.onSecondary}get secondaryContainer(){return this.props.secondaryContainer}get onSecondaryContainer(){return this.props.onSecondaryContainer}get tertiary(){return this.props.tertiary}get onTertiary(){return this.props.onTertiary}get tertiaryContainer(){return this.props.tertiaryContainer}get onTertiaryContainer(){return this.props.onTertiaryContainer}get error(){return this.props.error}get onError(){return this.props.onError}get errorContainer(){return this.props.errorContainer}get onErrorContainer(){return this.props.onErrorContainer}get background(){return this.props.background}get onBackground(){return this.props.onBackground}get surface(){return this.props.surface}get onSurface(){return this.props.onSurface}get surfaceVariant(){return this.props.surfaceVariant}get onSurfaceVariant(){return this.props.onSurfaceVariant}get outline(){return this.props.outline}get outlineVariant(){return this.props.outlineVariant}get shadow(){return this.props.shadow}get scrim(){return this.props.scrim}get inverseSurface(){return this.props.inverseSurface}get inverseOnSurface(){return this.props.inverseOnSurface}get inversePrimary(){return this.props.inversePrimary}static light(e){return nn.lightFromCorePalette(Et.of(e))}static dark(e){return nn.darkFromCorePalette(Et.of(e))}static lightContent(e){return nn.lightFromCorePalette(Et.contentOf(e))}static darkContent(e){return nn.darkFromCorePalette(Et.contentOf(e))}static lightFromCorePalette(e){return new nn({primary:e.a1.tone(40),onPrimary:e.a1.tone(100),primaryContainer:e.a1.tone(90),onPrimaryContainer:e.a1.tone(10),secondary:e.a2.tone(40),onSecondary:e.a2.tone(100),secondaryContainer:e.a2.tone(90),onSecondaryContainer:e.a2.tone(10),tertiary:e.a3.tone(40),onTertiary:e.a3.tone(100),tertiaryContainer:e.a3.tone(90),onTertiaryContainer:e.a3.tone(10),error:e.error.tone(40),onError:e.error.tone(100),errorContainer:e.error.tone(90),onErrorContainer:e.error.tone(10),background:e.n1.tone(99),onBackground:e.n1.tone(10),surface:e.n1.tone(99),onSurface:e.n1.tone(10),surfaceVariant:e.n2.tone(90),onSurfaceVariant:e.n2.tone(30),outline:e.n2.tone(50),outlineVariant:e.n2.tone(80),shadow:e.n1.tone(0),scrim:e.n1.tone(0),inverseSurface:e.n1.tone(20),inverseOnSurface:e.n1.tone(95),inversePrimary:e.a1.tone(80)})}static darkFromCorePalette(e){return new nn({primary:e.a1.tone(80),onPrimary:e.a1.tone(20),primaryContainer:e.a1.tone(30),onPrimaryContainer:e.a1.tone(90),secondary:e.a2.tone(80),onSecondary:e.a2.tone(20),secondaryContainer:e.a2.tone(30),onSecondaryContainer:e.a2.tone(90),tertiary:e.a3.tone(80),onTertiary:e.a3.tone(20),tertiaryContainer:e.a3.tone(30),onTertiaryContainer:e.a3.tone(90),error:e.error.tone(80),onError:e.error.tone(20),errorContainer:e.error.tone(30),onErrorContainer:e.error.tone(80),background:e.n1.tone(10),onBackground:e.n1.tone(90),surface:e.n1.tone(10),onSurface:e.n1.tone(90),surfaceVariant:e.n2.tone(30),onSurfaceVariant:e.n2.tone(80),outline:e.n2.tone(60),outlineVariant:e.n2.tone(30),shadow:e.n1.tone(0),scrim:e.n1.tone(0),inverseSurface:e.n1.tone(90),inverseOnSurface:e.n1.tone(20),inversePrimary:e.a1.tone(40)})}constructor(e){this.props=e}toJSON(){return{...this.props}}}function In(t){const e=tp(t),n=np(t),s=sp(t),a=[e.toString(16),n.toString(16),s.toString(16)];for(const[i,o]of a.entries())o.length===1&&(a[i]="0"+o);return"#"+a.join("")}function Ys(t){const e=(t=t.replace("#","")).length===3,n=t.length===6,s=t.length===8;if(!e&&!n&&!s)throw new Error("unexpected hex "+t);let a=0,i=0,o=0;return e?(a=Zt(t.slice(0,1).repeat(2)),i=Zt(t.slice(1,2).repeat(2)),o=Zt(t.slice(2,3).repeat(2))):n?(a=Zt(t.slice(0,2)),i=Zt(t.slice(2,4)),o=Zt(t.slice(4,6))):s&&(a=Zt(t.slice(2,4)),i=Zt(t.slice(4,6)),o=Zt(t.slice(6,8))),(255<<24|(255&a)<<16|(255&i)<<8|255&o)>>>0}function Zt(t){return parseInt(t,16)}function ZE(t,e){e===void 0&&(e=[]);const n=Et.of(t);return{source:t,schemes:{light:nn.light(t),dark:nn.dark(t)},palettes:{primary:n.a1,secondary:n.a2,tertiary:n.a3,neutral:n.n1,neutralVariant:n.n2,error:n.error},customColors:e.map(s=>JE(t,s))}}function JE(t,e){let n=e.value;const s=n,a=t;e.blend&&(n=Ia.harmonize(s,a));const i=Et.of(n).a1;return{color:e,value:n,light:{color:i.tone(40),onColor:i.tone(100),colorContainer:i.tone(90),onColorContainer:i.tone(10)},dark:{color:i.tone(80),onColor:i.tone(20),colorContainer:i.tone(30),onColorContainer:i.tone(90)}}}function xu(t){const e=Math.round,n=t.length,s={};return t.slice(0,3).toLowerCase()==="rgb"?(t=t.replace(" ","").split(","),s[0]=parseInt(t[0].slice(t[3].toLowerCase()==="a"?5:4),10),s[1]=parseInt(t[1],10),s[2]=parseInt(t[2],10),s[3]=t[3]?parseFloat(t[3]):-1):(n<6?t=parseInt(String(t[1])+t[1]+t[2]+t[2]+t[3]+t[3]+(n>4?String(t[4])+t[4]:""),16):t=parseInt(t.slice(1),16),s[0]=t>>16&255,s[1]=t>>8&255,s[2]=t&255,s[3]=n===9||n===5?e((t>>24&255)/255*1e4)/1e4:-1),s}function $u(t,e,n){n===void 0&&(n=.5);const s=Math.round;t=t.trim(),e=e.trim(),n=n<0?n*-1:n;const i=xu(t),o=xu(e);return e[0]==="r"?"rgb"+(e[3]==="a"?"a(":"(")+s((o[0]-i[0])*n+i[0])+","+s((o[1]-i[1])*n+i[1])+","+s((o[2]-i[2])*n+i[2])+(i[3]<0&&o[3]<0?"":","+(i[3]>-1&&o[3]>-1?s(((o[3]-i[3])*n+i[3])*1e4)/1e4:o[3]<0?i[3]:o[3]))+")":"#"+(4294967296+(i[3]>-1&&o[3]>-1?s(((o[3]-i[3])*n+i[3])*255):o[3]>-1?s(o[3]*255):i[3]>-1?s(i[3]*255):255)*16777216+s((o[0]-i[0])*n+i[0])*65536+s((o[1]-i[1])*n+i[1])*256+s((o[2]-i[2])*n+i[2])).toString(16).slice(i[3]>-1||o[3]>-1?1:3)}const e2=function(t){t===void 0&&(t="");const e=ZE(Ys(`#${t.replace("#","")}`));[.05,.08,.11,.12,.14].forEach((o,r)=>{e.schemes.light.props[`surface${r+1}`]=Ys($u(In(e.schemes.light.props.surface),In(e.schemes.light.props.primary),o)),e.schemes.dark.props[`surface${r+1}`]=Ys($u(In(e.schemes.dark.props.surface),In(e.schemes.dark.props.primary),o))});const n=o=>o.split("").map(r=>r.toUpperCase()===r&&r!=="-"&&r!=="7"?`-${r.toLowerCase()}`:r).join(""),s=o=>["tertiary","shadow","scrim","error","background"].filter(l=>o.toLowerCase().includes(l)).length>0,a={},i={};return Object.keys(e.schemes.light.props).forEach(o=>{s(o)||(a[n(`--f7-md-${o}`)]=In(e.schemes.light.props[o]))}),Object.keys(e.schemes.dark.props).forEach(o=>{s(o)||(i[n(`--f7-md-${o}`)]=In(e.schemes.dark.props[o]))}),{light:a,dark:i}};let Qu=0;function t2(){return Qu+=1,Qu}function Rs(t,e){t===void 0&&(t="xxxxxxxxxx"),e===void 0&&(e="0123456789abcdef");const n=e.length;return t.replace(/x/g,()=>e[Math.floor(Math.random()*n)])}const Cn=` + + + + + +`.trim(),yn=` + + ${[0,1,2,3,4,5,6,7].map(()=>'').join("")} + +`.trim();function Gn(t){let e;return t.split("").map((n,s)=>n.match(/[A-Z]/)&&s!==0&&!e?(e=!0,`:${n.toLowerCase()}`):n.toLowerCase()).join("")}function ft(t){const e=t;Object.keys(e).forEach(n=>{try{e[n]=null}catch{}try{delete e[n]}catch{}})}function ca(t){return Se().requestAnimationFrame(t)}function n2(t){return Se().cancelAnimationFrame(t)}function _t(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Bt(t){return ca(()=>{ca(t)})}function Ht(){return Date.now()}function ns(t){const e=Se(),n={};let s=t||e.location.href,a,i,o,r;if(typeof s=="string"&&s.length)for(s=s.indexOf("?")>-1?s.replace(/\S*\?/,""):"",i=s.split("&").filter(l=>l!==""),r=i.length,a=0;a6&&(a=a.split(", ").map(r=>r.replace(",",".")).join(", ")),i=new n.WebKitCSSMatrix(a==="none"?"":a)):(i=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=i.toString().split(",")),e==="x"&&(n.WebKitCSSMatrix?a=i.m41:s.length===16?a=parseFloat(s[12]):a=parseFloat(s[4])),e==="y"&&(n.WebKitCSSMatrix?a=i.m42:s.length===16?a=parseFloat(s[13]):a=parseFloat(s[5])),a||0}function wn(t,e){if(e===void 0&&(e=[]),typeof t=="string")return t;const n=[],s="&";let a;function i(r){if(e.length>0){let l="";for(let f=0;f{let l;if(Array.isArray(t[r])){l=[];for(let f=0;f0&&n.push(l.join(s))}else t[r]===null||t[r]===""?n.push(`${i(r)}=`):typeof t[r]=="object"?(a=e.slice(),a.push(r),l=wn(t[r],a),l!==""&&n.push(l)):typeof t[r]<"u"&&t[r]!==""?n.push(`${i(r)}=${o(t[r])}`):t[r]===""&&n.push(i(r))}),n.join(s)}function On(t){return typeof t=="object"&&t!==null&&t.constructor&&t.constructor===Object}function s2(){for(var t=arguments.length,e=new Array(t),n=0;na+a+i+i+o+o),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return n?n.slice(1).map(s=>parseInt(s,16)):null}function sn(t,e,n){return`#${[t,e,n].map(a=>{const i=a.toString(16);return i.length===1?`0${i}`:i}).join("")}`}function ys(t,e,n){t/=255,e/=255,n/=255;const s=Math.max(t,e,n),a=Math.min(t,e,n),i=s-a;let o;i===0?o=0:s===t?o=(e-n)/i%6:s===e?o=(n-t)/i+2:s===n&&(o=(t-e)/i+4);const r=(a+s)/2,l=i===0?0:i/(1-Math.abs(2*r-1));return o<0&&(o=360/60+o),[o*60,l,r]}function Dn(t,e,n){const s=(1-Math.abs(2*n-1))*e,a=t/60,i=s*(1-Math.abs(a%2-1));let o;Number.isNaN(t)||typeof t>"u"?o=[0,0,0]:a<=1?o=[s,i,0]:a<=2?o=[i,s,0]:a<=3?o=[0,s,i]:a<=4?o=[0,i,s]:a<=5?o=[i,0,s]:a<=6&&(o=[s,0,i]);const r=n-s/2;return o.map(l=>Math.max(0,Math.min(255,Math.round(255*(l+r)))))}function rn(t,e,n){const s={h:t,s:0,l:0},a={h:t,s:e,b:n};return s.l=(2-a.s)*a.b/2,s.s=s.l&&s.l<1?a.s*a.b/(s.l<.5?s.l*2:2-s.l*2):s.s,[s.h,s.s,s.l]}function Un(t,e,n){const s={h:t,s:0,b:0},a={h:t,s:e,l:n},i=a.s*(a.l<.5?a.l:1-a.l);return s.b=a.l+i,s.s=a.l>0?2*i/s.b:s.s,[s.h,s.s,s.b]}const qs=t=>{const e=ys(...t),n=[e[0],e[1],Math.max(0,e[2]-.08)],s=[e[0],e[1],Math.max(0,e[2]+.08)],a=sn(...Dn(...n)),i=sn(...Dn(...s));return{shade:a,tint:i}};function ua(){let t,e;for(var n=arguments.length,s=new Array(n),a=0;a{c.includes("surface-")&&(i[`${c}-rgb`]=tn(i[c]))}),Object.keys(o).forEach(c=>{c.includes("surface-")&&(o[`${c}-rgb`]=tn(o[c]))}),{ios:{"--f7-theme-color":"var(--f7-ios-primary)","--f7-theme-color-rgb":"var(--f7-ios-primary-rgb)","--f7-theme-color-shade":"var(--f7-ios-primary-shade)","--f7-theme-color-tint":"var(--f7-ios-primary-tint)"},md:{"--f7-theme-color":"var(--f7-md-primary)","--f7-theme-color-rgb":"var(--f7-md-primary-rgb)","--f7-theme-color-shade":"var(--f7-md-primary-shade)","--f7-theme-color-tint":"var(--f7-md-primary-tint)"},light:{"--f7-ios-primary":t,"--f7-ios-primary-shade":r.shade,"--f7-ios-primary-tint":r.tint,"--f7-ios-primary-rgb":e.join(", "),"--f7-md-primary-shade":l.shade,"--f7-md-primary-tint":l.tint,"--f7-md-primary-rgb":tn(i["--f7-md-primary"]).join(", "),...i},dark:{"--f7-md-primary-shade":f.shade,"--f7-md-primary-tint":f.tint,"--f7-md-primary-rgb":tn(o["--f7-md-primary"]).join(", "),...o}}}function It(t,e){Object.keys(e).forEach(n=>{On(e[n])&&Object.keys(e[n]).forEach(s=>{typeof e[n][s]=="function"&&(e[n][s]=e[n][s].bind(t))}),t[n]=e[n]})}function ap(){const t=[];for(var e=arguments.length,n=new Array(e),s=0;s{Array.isArray(a)?t.push(...ap(...a)):t.push(a)}),t}function a2(t){t===void 0&&(t={});const e=o=>{let r="";return Object.keys(o).forEach(l=>{r+=`${l}:${o[l]};`}),r},n=ua(t.primary),s=[":root{",e(n.light),"--swiper-theme-color:var(--f7-theme-color);",...Object.keys(t).map(o=>`--f7-color-${o}: ${t[o]};`),"}",".dark{",e(n.dark),"}",".ios, .ios .dark{",e(n.ios),"}",".md, .md .dark{",e(n.md),"}"].join(""),a={};Object.keys(t).forEach(o=>{const r=t[o];a[o]=ua(r)});let i="";return Object.keys(t).forEach(o=>{const{light:r,dark:l,ios:f,md:c}=a[o],u=` + --f7-ios-primary: #ffffff; + --f7-ios-primary-shade: #ebebeb; + --f7-ios-primary-tint: #ffffff; + --f7-ios-primary-rgb: 255, 255, 255; + --f7-md-primary-shade: #eee; + --f7-md-primary-tint: #fff; + --f7-md-primary-rgb: 255, 255, 255; + --f7-md-primary: #fff; + --f7-md-on-primary: #000; + --f7-md-primary-container: #fff; + --f7-md-on-primary-container: #000; + --f7-md-secondary: #fff; + --f7-md-on-secondary: #000; + --f7-md-secondary-container: #555; + --f7-md-on-secondary-container: #fff; + --f7-md-surface: #fff; + --f7-md-on-surface: #000; + --f7-md-surface-variant: #333; + --f7-md-on-surface-variant: #fff; + --f7-md-outline: #fff; + --f7-md-outline-variant: #fff; + --f7-md-inverse-surface: #000; + --f7-md-inverse-on-surface: #fff; + --f7-md-inverse-primary: #000; + --f7-md-surface-1: #f8f8f8; + --f7-md-surface-2: #f1f1f1; + --f7-md-surface-3: #e7e7e7; + --f7-md-surface-4: #e1e1e1; + --f7-md-surface-5: #d7d7d7; + --f7-md-surface-variant-rgb: 51, 51, 51; + --f7-md-on-surface-variant-rgb: 255, 255, 255; + --f7-md-surface-1-rgb: 248, 248, 248; + --f7-md-surface-2-rgb: 241, 241, 241; + --f7-md-surface-3-rgb: 231, 231, 231; + --f7-md-surface-4-rgb: 225, 225, 225; + --f7-md-surface-5-rgb: 215, 215, 215; + `,d=` + --f7-ios-primary: #000; + --f7-ios-primary-shade: #000; + --f7-ios-primary-tint: #232323; + --f7-ios-primary-rgb: 0, 0, 0; + --f7-md-primary-shade: #000; + --f7-md-primary-tint: #232323; + --f7-md-primary-rgb: 0, 0, 0; + --f7-md-primary: #000; + --f7-md-on-primary: #fff; + --f7-md-primary-container: #000; + --f7-md-on-primary-container: #fff; + --f7-md-secondary: #000; + --f7-md-on-secondary: #fff; + --f7-md-secondary-container: #aaa; + --f7-md-on-secondary-container: #000; + --f7-md-surface: #000; + --f7-md-on-surface: #fff; + --f7-md-surface-variant: #ccc; + --f7-md-on-surface-variant: #000; + --f7-md-outline: #000; + --f7-md-outline-variant: #000; + --f7-md-inverse-surface: #fff; + --f7-md-inverse-on-surface: #000; + --f7-md-inverse-primary: #fff; + --f7-md-surface-1: #070707; + --f7-md-surface-2: #161616; + --f7-md-surface-3: #232323; + --f7-md-surface-4: #303030; + --f7-md-surface-5: #373737; + --f7-md-surface-variant-rgb: 204, 204, 204; + --f7-md-on-surface-variant-rgb: 0, 0, 0; + --f7-md-surface-1-rgb: 7, 7, 7; + --f7-md-surface-2-rgb: 22, 22, 22; + --f7-md-surface-3-rgb: 35, 35, 35; + --f7-md-surface-4-rgb: 48, 48, 48; + --f7-md-surface-5-rgb: 55, 55, 55; + `,m=o==="white"?u:o==="black"?d:e(r),h=o==="white"?u:o==="black"?d:e(l);i+=[`.color-${o} {`,m,"--swiper-theme-color: var(--f7-theme-color);","}",`.color-${o}.dark, .color-${o} .dark, .dark .color-${o} {`,h,"--swiper-theme-color: var(--f7-theme-color);","}",`.ios .color-${o}, .ios.color-${o}, .ios .dark .color-${o}, .ios .dark.color-${o} {`,e(f),"}",`.md .color-${o}, .md.color-${o}, .md .dark .color-${o}, .md .dark.color-${o} {`,e(c),"}",`.text-color-${o} {`,`--f7-theme-color-text-color: ${t[o]};`,"}",`.bg-color-${o} {`,`--f7-theme-color-bg-color: ${t[o]};`,"}",`.border-color-${o} {`,`--f7-theme-color-border-color: ${t[o]};`,"}",`.ripple-color-${o} {`,`--f7-theme-color-ripple-color: rgba(${r["--f7-ios-primary-rgb"]}, 0.3);`,"}"].join("")}),`${s}${i}`}const Ku=Object.freeze(Object.defineProperty({__proto__:null,bindMethods:It,cancelAnimationFrame:n2,colorHexToRgb:tn,colorHsbToHsl:rn,colorHslToHsb:Un,colorHslToRgb:Dn,colorRgbToHex:sn,colorRgbToHsl:ys,colorThemeCSSProperties:ua,colorThemeCSSStyles:a2,deleteProps:ft,eventNameToColonCase:Gn,extend:te,flattenArray:ap,getTranslate:Cs,id:Rs,iosPreloaderContent:yn,isObject:On,mdPreloaderContent:Cn,merge:s2,nextFrame:Bt,nextTick:_t,now:Ht,parseUrlQuery:ns,requestAnimationFrame:ca,serializeObject:wn,uniqueNumber:t2},Symbol.toStringTag,{value:"Module"}));let Ws;function i2(){const t=Se(),e=Le();return{touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),pointerEvents:!!t.PointerEvent&&"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>=0,passiveListener:function(){let s=!1;try{const a=Object.defineProperty({},"passive",{get(){s=!0}});t.addEventListener("testPassiveListener",null,a)}catch{}return s}(),intersectionObserver:function(){return"IntersectionObserver"in t}()}}function it(){return Ws||(Ws=i2()),Ws}let js;function r2(t){let{userAgent:e}=t===void 0?{}:t;const n=it(),s=Se(),a=s.navigator.platform,i=e||s.navigator.userAgent,o={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!!s.cordova,electron:!1,capacitor:!!s.Capacitor,nwjs:!1},r=s.screen.width,l=s.screen.height,f=i.match(/(Android);?[\s\/]+([\d.]+)?/);let c=i.match(/(iPad).*OS\s([\d_]+)/);const u=i.match(/(iPod)(.*OS\s([\d_]+))?/),d=!c&&i.match(/(iPhone\sOS|iOS|iPhone;\sCPU\sOS)\s([\d_]+)/),m=i.indexOf("MSIE ")>=0||i.indexOf("Trident/")>=0,h=i.indexOf("Edge/")>=0,p=i.indexOf("Gecko/")>=0&&i.indexOf("Firefox/")>=0,b=a==="Win32",g=i.toLowerCase().indexOf("electron")>=0,v=typeof nw<"u"&&typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.nw<"u";let _=a==="MacIntel";const k=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];!c&&_&&n.touch&&k.indexOf(`${r}x${l}`)>=0&&(c=i.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),_=!1),o.ie=m,o.edge=h,o.firefox=p,f&&(o.os="android",o.osVersion=f[2],o.android=!0,o.androidChrome=i.toLowerCase().indexOf("chrome")>=0),(c||d||u)&&(o.os="ios",o.ios=!0),d&&!u&&(o.osVersion=d[2].replace(/_/g,"."),o.iphone=!0),c&&(o.osVersion=c[2].replace(/_/g,"."),o.ipad=!0),u&&(o.osVersion=u[3]?u[3].replace(/_/g,"."):null,o.ipod=!0),o.ios&&o.osVersion&&i.indexOf("Version/")>=0&&o.osVersion.split(".")[0]==="10"&&(o.osVersion=i.toLowerCase().split("version/")[1].split(" ")[0]),o.webView=!!((d||c||u)&&(i.match(/.*AppleWebKit(?!.*Safari)/i)||s.navigator.standalone))||s.matchMedia&&s.matchMedia("(display-mode: standalone)").matches,o.webview=o.webView,o.standalone=o.webView,o.desktop=!(o.ios||o.android)||g||v,o.desktop&&(o.electron=g,o.nwjs=v,o.macos=_,o.windows=b,o.macos&&(o.os="macos"),o.windows&&(o.os="windows")),o.pixelRatio=s.devicePixelRatio||1;const E="(prefers-color-scheme: dark)",S="(prefers-color-scheme: light)";return o.prefersColorScheme=function(){let T;return s.matchMedia&&s.matchMedia(S).matches&&(T="light"),s.matchMedia&&s.matchMedia(E).matches&&(T="dark"),T},o}function Ke(t,e){return t===void 0&&(t={}),(!js||e)&&(js=r2(t)),js}class l2{constructor(e){e===void 0&&(e=[]);const n=this;n.eventsParents=e,n.eventsListeners={}}on(e,n,s){const a=this;if(typeof n!="function")return a;const i=s?"unshift":"push";return e.split(" ").forEach(o=>{a.eventsListeners[o]||(a.eventsListeners[o]=[]),a.eventsListeners[o][i](n)}),a}once(e,n,s){const a=this;if(typeof n!="function")return a;function i(){a.off(e,i),i.f7proxy&&delete i.f7proxy;for(var o=arguments.length,r=new Array(o),l=0;l{typeof n>"u"?s.eventsListeners[a]=[]:s.eventsListeners[a]&&s.eventsListeners[a].forEach((i,o)=>{(i===n||i.f7proxy&&i.f7proxy===n)&&s.eventsListeners[a].splice(o,1)})}),s}emit(){const e=this;if(!e.eventsListeners)return e;let n,s,a,i;for(var o=arguments.length,r=new Array(o),l=0;ld.replace("local::","")),u=f.filter(d=>d.indexOf("local::")<0);return c.forEach(d=>{if(e.eventsListeners&&e.eventsListeners[d]){const m=[];e.eventsListeners[d].forEach(h=>{m.push(h)}),m.forEach(h=>{h.apply(a,s)})}}),i&&i.length>0&&i.forEach(d=>{d.emit(u,...s)}),e}}const ip=l2;class o2 extends ip{constructor(e,n){e===void 0&&(e={}),n===void 0&&(n=[]),super(n);const s=this;s.params=e,s.params&&s.params.on&&Object.keys(s.params.on).forEach(a=>{s.on(a,s.params.on[a])})}useModuleParams(e,n){if(e.params){const s={};Object.keys(e.params).forEach(a=>{typeof n[a]>"u"||(s[a]=te({},n[a]))}),te(n,e.params),Object.keys(s).forEach(a=>{te(n[a],s[a])})}}useModulesParams(e){const n=this;n.modules&&Object.keys(n.modules).forEach(s=>{const a=n.modules[s];a.params&&te(e,a.params)})}useModule(e,n){e===void 0&&(e=""),n===void 0&&(n={});const s=this;if(!s.modules)return;const a=typeof e=="string"?s.modules[e]:e;a&&(a.instance&&Object.keys(a.instance).forEach(i=>{const o=a.instance[i];typeof o=="function"?s[i]=o.bind(s):s[i]=o}),a.on&&s.on&&Object.keys(a.on).forEach(i=>{s.on(i,a.on[i])}),a.vnode&&(s.vnodeHooks||(s.vnodeHooks={}),Object.keys(a.vnode).forEach(i=>{Object.keys(a.vnode[i]).forEach(o=>{const r=a.vnode[i][o];s.vnodeHooks[o]||(s.vnodeHooks[o]={}),s.vnodeHooks[o][i]||(s.vnodeHooks[o][i]=[]),s.vnodeHooks[o][i].push(r.bind(s))})})),a.create&&a.create.bind(s)(n))}useModules(e){e===void 0&&(e={});const n=this;n.modules&&Object.keys(n.modules).forEach(s=>{const a=e[s]||{};n.useModule(s,a)})}static set components(e){const n=this;n.use&&n.use(e)}static installModule(e){const n=this;n.prototype.modules||(n.prototype.modules={});const s=e.name||`${Object.keys(n.prototype.modules).length}_${Ht()}`;if(n.prototype.modules[s]=e,e.proto&&Object.keys(e.proto).forEach(r=>{n.prototype[r]=e.proto[r]}),e.static&&Object.keys(e.static).forEach(r=>{n[r]=e.static[r]}),e.install){for(var a=arguments.length,i=new Array(a>1?a-1:0),o=1;on.installModule(o)),n;for(var s=arguments.length,a=new Array(s>1?s-1:0),i=1;i{o[r]=function(l){l===void 0&&(l=e);const f=o.get(l);for(var c=arguments.length,u=new Array(c>1?c-1:0),d=1;d1&&r){const c=P(r).parents(".page");c.length&&l.each(u=>{const d=P(u);d.parents(c)[0]===c[0]&&(l=d)})}if(l.length>1&&(l=l.eq(l.length-1)),!l.length)return;let f=l[0].f7Modal;if(!f){const c=l.dataset();f=new n(s,{el:l,...c})}return f.open(o)},close(i,o,r){i===void 0&&(i=e);let l=P(i);if(!l.length)return;if(l.length>1){let c;if(r){const u=P(r);u.length&&(c=u.parents(l))}c&&c.length>0?l=c:l=l.eq(l.length-1)}let f=l[0].f7Modal;if(!f){const c=l.dataset();f=new n(s,{el:l,...c})}return f.close(o)}})}const Zu=[];function f2(t){const e=this,n=Se(),s=Le();return new Promise((a,i)=>{const o=e.instance;let r,l,f;if(!t){i(new Error("Framework7: Lazy module must be specified"));return}function c(u){e.use(u),o&&(o.useModuleParams(u,o.params),o.useModule(u))}if(typeof t=="string"){const u=t.match(/([a-z0-9-]*)/i);if(t.indexOf(".")<0&&u&&u[0].length===t.length){if(!o||o&&!o.params.lazyModulesPath){i(new Error('Framework7: "lazyModulesPath" app parameter must be specified to fetch module by name'));return}r=`${o.params.lazyModulesPath}/${t}/${t}.lazy.js`}else r=t}else typeof t=="function"?f=t:l=t;if(f){const u=f(e,!1);if(!u){i(new Error("Framework7: Can't find Framework7 component in specified component function"));return}if(e.prototype.modules&&e.prototype.modules[u.name]){a();return}c(u),a()}if(l){const u=l;if(!u){i(new Error("Framework7: Can't find Framework7 component in specified component"));return}if(e.prototype.modules&&e.prototype.modules[u.name]){a();return}c(u),a()}if(r){if(Zu.indexOf(r)>=0){a();return}Zu.push(r);const u=new Promise((m,h)=>{fetch(r).then(p=>p.text()).then(p=>{const g=`f7_component_loader_callback_${Rs()}`,v=s.createElement("script");v.innerHTML=`window.${g} = function (Framework7, Framework7AutoInstallComponent) {return ${p.trim()}}`,P("head").append(v);const _=n[g];delete n[g],P(v).remove();const k=_(e,!1);if(!k){h(new Error(`Framework7: Can't find Framework7 component in ${r} file`));return}if(e.prototype.modules&&e.prototype.modules[k.name]){m();return}c(k),m()}).catch(p=>{h(p)})}),d=new Promise(m=>{fetch(r.replace(".lazy.js",o.rtl?".rtl.css":".css").replace(".js",o.rtl?".rtl.css":".css")).then(h=>h.text()).then(h=>{const p=s.createElement("style");p.innerHTML=h,P("head").append(p),m()}).catch(()=>{m()})});Promise.all([u,d]).then(()=>{a()}).catch(m=>{i(m)})}})}const c2=function(t,e){const n=e||{};for(var s=arguments.length,a=new Array(s>2?s-2:0),i=2;if[0]==="_"?n[f]?f.replace("_",""):"":`${f}="${n[f]}"`).filter(f=>!!f).join(" ");if(["path","img","circle","polygon","line","input"].indexOf(t)>=0)return`<${t} ${r} />`.trim();const l=o.filter(f=>!!f).map(f=>Array.isArray(f)?f.join(""):f).join("");return`<${t} ${r}>${l}`.trim()},R=c2;class jt extends rt{constructor(e){if(e===void 0&&(e={}),super(e),jt.instance&&typeof window<"u")throw new Error("Framework7 is already initialized and can't be initialized more than once");const n=Ke({userAgent:e.userAgent||void 0}),s=it(),a=te({},e),i=this;i.device=n,i.support=s;const o=Se(),r=Le();jt.instance=i;const l={el:"body",theme:"auto",routes:[],name:"Framework7",lazyModulesPath:null,initOnDeviceReady:!0,init:!0,darkMode:void 0,iosTranslucentBars:!0,iosTranslucentModals:!0,component:void 0,componentUrl:void 0,userAgent:null,url:null,colors:{primary:"#007aff",red:"#ff3b30",green:"#4cd964",blue:"#2196f3",pink:"#ff2d55",yellow:"#ffcc00",orange:"#ff9500",purple:"#9c27b0",deeppurple:"#673ab7",lightblue:"#5ac8fa",teal:"#009688",lime:"#cddc39",deeporange:"#ff6b22",white:"#ffffff",black:"#000000"}};return i.useModulesParams(l),i.params=te(l,e),te(i,{name:i.params.name,routes:i.params.routes,theme:function(){return i.params.theme==="auto"?n.ios?"ios":"md":i.params.theme}(),passedParams:a,online:o.navigator.onLine,colors:i.params.colors,darkMode:i.params.darkMode}),e.store&&(i.params.store=e.store),i.$el&&i.$el[0]&&(i.$el[0].f7=i),i.useModules(),i.initStore(),i.params.init&&(n.cordova&&i.params.initOnDeviceReady?P(r).on("deviceready",()=>{i.init()}):i.init()),i}setColorTheme(e){if(!e)return;const n=this;n.colors.primary=e,n.setColors()}setColors(){const e=this,n=Le();e.colorsStyleEl||(e.colorsStyleEl=n.createElement("style"),n.head.appendChild(e.colorsStyleEl)),e.colorsStyleEl.textContent=e.utils.colorThemeCSSStyles(e.colors)}mount(e){const n=this,s=Se(),a=Le(),i=P(e||n.params.el).eq(0);n.$el=i,n.$el&&n.$el[0]&&(n.el=n.$el[0],n.el.f7=n,n.rtl=i.css("direction")==="rtl");const o="(prefers-color-scheme: dark)",r="(prefers-color-scheme: light)";n.mq={},s.matchMedia&&(n.mq.dark=s.matchMedia(o),n.mq.light=s.matchMedia(r)),n.colorSchemeListener=function(f){let{matches:c,media:u}=f;if(!c)return;const d=a.querySelector("html");u===o?(d.classList.add("dark"),n.darkMode=!0,n.emit("darkModeChange",!0)):u===r&&(d.classList.remove("dark"),n.darkMode=!1,n.emit("darkModeChange",!1))},n.emit("mount")}initStore(){const e=this;typeof e.params.store<"u"&&e.params.store.__store?e.store=e.params.store:e.store=e.createStore(e.params.store)}enableAutoDarkMode(){const e=Se(),n=Le();if(!e.matchMedia)return;const s=this,a=n.querySelector("html");s.mq.dark&&s.mq.light&&(s.mq.dark.addListener(s.colorSchemeListener),s.mq.light.addListener(s.colorSchemeListener)),s.mq.dark&&s.mq.dark.matches?(a.classList.add("dark"),s.darkMode=!0,s.emit("darkModeChange",!0)):s.mq.light&&s.mq.light.matches&&(a.classList.remove("dark"),s.darkMode=!1,s.emit("darkModeChange",!1))}disableAutoDarkMode(){if(!Se().matchMedia)return;const n=this;n.mq.dark&&n.mq.dark.removeListener(n.colorSchemeListener),n.mq.light&&n.mq.light.removeListener(n.colorSchemeListener)}setDarkMode(e){const n=this;e==="auto"?n.enableAutoDarkMode():(n.disableAutoDarkMode(),P("html")[e?"addClass":"removeClass"]("dark"),n.darkMode=e)}initAppComponent(e){const n=this;n.router.componentLoader(n.params.component,n.params.componentUrl,{componentOptions:{el:n.$el[0]}},s=>{n.$el=P(s),n.$el[0].f7=n,n.$elComponent=s.f7Component,n.el=n.$el[0],e&&e()},()=>{})}init(e){const n=this;n.setColors(),n.mount(e);const s=()=>{if(n.initialized)return;n.$el.addClass("framework7-initializing"),n.rtl&&P("html").attr("dir","rtl"),typeof n.params.darkMode>"u"?n.darkMode=P("html").hasClass("dark"):n.setDarkMode(n.params.darkMode);const a=Se();a.addEventListener("offline",()=>{n.online=!1,n.emit("offline"),n.emit("connection",!1)}),a.addEventListener("online",()=>{n.online=!0,n.emit("online"),n.emit("connection",!0)}),n.$el.addClass("framework7-root"),P("html").removeClass("ios md").addClass(n.theme),n.params.iosTranslucentBars&&n.theme==="ios"&&P("html").addClass("ios-translucent-bars"),n.params.iosTranslucentModals&&n.theme==="ios"&&P("html").addClass("ios-translucent-modals"),Bt(()=>{n.$el.removeClass("framework7-initializing")}),n.initialized=!0,n.emit("init")};return n.params.component||n.params.componentUrl?n.initAppComponent(()=>{s()}):s(),n}loadModule(){return jt.loadModule(...arguments)}loadModules(){return jt.loadModules(...arguments)}getVnodeHooks(e,n){const s=this;return!s.vnodeHooks||!s.vnodeHooks[e]?[]:s.vnodeHooks[e][n]||[]}get $(){return P}static get Dom7(){return P}static get $(){return P}static get device(){return Ke()}static get support(){return it()}static get Class(){return rt}static get Events(){return ip}}jt.$jsx=R;jt.ModalMethods=on;jt.ConstructorMethods=ct;jt.loadModule=f2;jt.loadModules=function(e){return Promise.all(e.map(n=>jt.loadModule(n)))};const rp=jt,u2={name:"device",static:{getDevice:Ke},on:{init(){const t=Le(),e=Ke(),n=[],s=t.querySelector("html"),a=t.querySelector('meta[name="apple-mobile-web-app-status-bar-style"]');s&&(e.standalone&&e.ios&&a&&a.content==="black-translucent"&&n.push("device-full-viewport"),n.push(`device-pixel-ratio-${Math.floor(e.pixelRatio)}`),e.os&&!e.desktop?n.push(`device-${e.os}`):e.desktop&&(n.push("device-desktop"),e.os&&n.push(`device-${e.os}`)),e.cordova&&n.push("device-cordova"),e.capacitor&&n.push("device-capacitor"),n.forEach(i=>{s.classList.add(i)}))}}},d2={name:"support",static:{getSupport:it}},p2={name:"utils",proto:{utils:Ku},static:{utils:Ku}},m2={name:"resize",create(){const t=this;t.getSize=()=>{if(!t.el)return{width:0,height:0,left:0,top:0};const e=t.$el.offset(),[n,s,a,i]=[t.el.offsetWidth,t.el.offsetHeight,e.left,e.top];return t.width=n,t.height=s,t.left=a,t.top=i,{width:n,height:s,left:a,top:i}}},on:{init(){const t=this,e=Se();t.getSize(),e.addEventListener("resize",()=>{t.emit("resize")},!1),e.addEventListener("orientationchange",()=>{t.emit("orientationchange")})},orientationchange(){const t=Le();Ke().ipad&&(t.body.scrollLeft=0,setTimeout(()=>{t.body.scrollLeft=0},0))},resize(){this.getSize()}}};function h2(){const t=this,e=Ke(),n=it(),s=Se(),a=Le(),i=t.params.touch,o=i[`${t.theme}TouchRipple`];e.ios&&e.webView&&s.addEventListener("touchstart",()=>{});let r,l,f,c,u,d,m,h,p,b,g,v;function _(ee){const Fe=P(ee),Ue=Fe.parents(i.activeStateElements);if(Fe.closest(".no-active-state").length)return null;let qe;if(Fe.is(i.activeStateElements)&&(qe=Fe),Ue.length>0&&(qe=qe?qe.add(Ue):Ue),qe&&qe.length>1){const Oe=[];let et;for(let Ie=0;Ie0}function E(){h&&h.addClass("active-state")}function S(){h&&(h.removeClass("active-state"),h=null)}function I(ee){const Fe=i.touchRippleElements,Ue=P(ee);if(Ue.is(Fe))return Ue.hasClass("no-ripple")?!1:Ue;if(Ue.parents(Fe).length>0){const qe=Ue.parents(Fe).eq(0);return qe.hasClass("no-ripple")?!1:qe}return!1}function T(ee,Fe,Ue){ee&&(b=t.touchRipple.create(t,ee,Fe,Ue))}function A(){b&&(b.remove(),b=void 0,g=void 0)}function y(ee){if(g=I(ee),!g||g.length===0){g=void 0;return}k(g)?(clearTimeout(v),v=setTimeout(()=>{A(),T(g,r,l)},80)):(A(),T(g,r,l))}function w(){clearTimeout(v),A()}function D(){!b&&g&&!c?(clearTimeout(v),T(g,r,l),setTimeout(A,0)):A()}function O(ee){const Fe=_(ee.target);Fe&&(Fe.addClass("active-state"),"which"in ee&&ee.which===3&&setTimeout(()=>{P(".active-state").removeClass("active-state")},0)),o&&(r=ee.pageX,l=ee.pageY,y(ee.target,ee.pageX,ee.pageY))}function L(){i.activeStateOnMouseMove||P(".active-state").removeClass("active-state"),o&&w()}function j(){P(".active-state").removeClass("active-state"),o&&D()}function W(){f=null,clearTimeout(p),clearTimeout(d),i.activeState&&S(),o&&D()}let Y,B=!1,q=null;const X=".dialog-button, .actions-button";let H=!1,G=null;function ce(ee){return ee.isTrusted?(c=!1,u=!1,m=!1,Y=void 0,ee.targetTouches.length>1?(h&&S(),!0):(ee.touches.length>1&&h&&S(),i.tapHold&&(d&&clearTimeout(d),d=setTimeout(()=>{ee&&ee.touches&&ee.touches.length>1||(u=!0,ee.preventDefault(),m=!0,P(ee.target).trigger("taphold",ee),t.emit("taphold",ee))},i.tapHoldDelay)),f=ee.target,r=ee.targetTouches[0].pageX,l=ee.targetTouches[0].pageY,B=ee.target.closest(".segmented-strong .button-active, .segmented-strong .tab-link-active"),H=t.theme==="ios"&&ee.target.closest(X),B&&(q=B.closest(".segmented-strong")),i.activeState&&(h=_(f),h&&!k(h)?E():h&&(p=setTimeout(E,80))),o&&y(f),!0)):!0}function ye(ee){if(!ee.isTrusted)return;let Fe,Ue,qe=!0;ee.type==="touchmove"&&(Fe=ee.targetTouches[0],Ue=i.touchClicksDistanceThreshold);const Oe=ee.targetTouches[0].pageX,et=ee.targetTouches[0].pageY;if(typeof Y>"u"&&(Y=!!(Y||Math.abs(et-l)>Math.abs(Oe-r))),(H||!Y&&B&&q)&&ee.cancelable&&ee.preventDefault(),!Y&&B&&q){const xe=a.elementFromPoint(ee.targetTouches[0].clientX,ee.targetTouches[0].clientY).closest(".segmented-strong .button:not(.button-active):not(.tab-link-active)");xe&&q.contains(xe)&&(P(xe).trigger("click","f7Segmented"),f=xe)}if(Ue&&Fe){const Ie=Fe.pageX,xe=Fe.pageY;(Math.abs(Ie-r)>Ue||Math.abs(xe-l)>Ue)&&(c=!0)}else c=!0;c&&(m=!0,H&&(G=a.elementFromPoint(ee.targetTouches[0].clientX,ee.targetTouches[0].clientY).closest(X),G&&h&&h[0]===G?qe=!1:G&&setTimeout(()=>{h=_(G),E()})),i.tapHold&&clearTimeout(d),i.activeState&&qe&&(clearTimeout(p),S()),o&&w())}function ne(ee){return ee.isTrusted?(Y=void 0,B=!1,q=null,H=!1,clearTimeout(p),clearTimeout(d),G&&(P(G).trigger("click","f7TouchMoveActivable"),G=null),a.activeElement===ee.target?(i.activeState&&S(),o&&D(),!0):(i.activeState&&(E(),setTimeout(S,0)),o&&D(),i.tapHoldPreventClicks&&u||m?(ee.cancelable&&ee.preventDefault(),m=!0,!1):!0)):!0}function me(ee){const Fe=ee&&ee.detail&&ee.detail==="f7Overswipe",Ue=ee&&ee.detail&&ee.detail==="f7Segmented",qe=ee&&ee.detail&&ee.detail==="f7TouchMoveActivable";let Oe=m;return f&&ee.target!==f?Fe||Ue||qe?Oe=!1:Oe=!0:qe&&(Oe=!1),i.tapHold&&i.tapHoldPreventClicks&&u&&(Oe=!0),Oe&&(ee.stopImmediatePropagation(),ee.stopPropagation(),ee.preventDefault()),i.tapHold&&(d=setTimeout(()=>{u=!1},e.ios||e.androidChrome?100:400)),m=!1,f=null,!Oe}function K(ee,Fe){t.emit({events:ee,data:[Fe]})}function pe(ee){K("click",ee)}function ke(ee){K("touchstart touchstart:active",ee)}function he(ee){K("touchmove touchmove:active",ee)}function re(ee){K("touchend touchend:active",ee)}function Ce(ee){K("touchstart:passive",ee)}function Pe(ee){K("touchmove:passive",ee)}function Ve(ee){K("touchend:passive",ee)}const Me=n.passiveListener?{passive:!0}:!1,He=n.passiveListener?{passive:!0,capture:!0}:!0,ze=n.passiveListener?{passive:!1}:!1,fe=n.passiveListener?{passive:!1,capture:!0}:!0;a.addEventListener("click",pe,!0),n.passiveListener?(a.addEventListener(t.touchEvents.start,ke,fe),a.addEventListener(t.touchEvents.move,he,ze),a.addEventListener(t.touchEvents.end,re,ze),a.addEventListener(t.touchEvents.start,Ce,He),a.addEventListener(t.touchEvents.move,Pe,Me),a.addEventListener(t.touchEvents.end,Ve,Me)):(a.addEventListener(t.touchEvents.start,ee=>{ke(ee),Ce(ee)},!0),a.addEventListener(t.touchEvents.move,ee=>{he(ee),Pe(ee)},!1),a.addEventListener(t.touchEvents.end,ee=>{re(ee),Ve(ee)},!1)),n.touch?(t.on("click",me),t.on("touchstart",ce),t.on("touchmove",ye),t.on("touchend",ne),a.addEventListener("touchcancel",W,{passive:!0})):i.activeState&&(t.on("touchstart",O),t.on("touchmove",L),t.on("touchend",j),a.addEventListener("pointercancel",j,{passive:!0})),a.addEventListener("contextmenu",ee=>{i.disableContextMenu&&(e.ios||e.android||e.cordova||s.Capacitor&&s.Capacitor.isNative)&&ee.preventDefault(),o&&(h&&S(),D())})}const g2={name:"touch",params:{touch:{touchClicksDistanceThreshold:5,disableContextMenu:!1,tapHold:!1,tapHoldDelay:750,tapHoldPreventClicks:!0,activeState:!0,activeStateElements:"a, button, label, span, .actions-button, .stepper-button, .stepper-button-plus, .stepper-button-minus, .card-expandable, .link, .item-link, .accordion-item-toggle",activeStateOnMouseMove:!1,mdTouchRipple:!0,iosTouchRipple:!1,touchRippleElements:".ripple, .link, .item-link, .list label.item-content, .list-button, .links-list a, .button, button, .input-clear-button, .dialog-button, .tab-link, .item-radio, .item-checkbox, .actions-button, .searchbar-disable-button, .fab a, .checkbox, .radio, .data-table .sortable-cell:not(.input-cell), .notification-close-button, .stepper-button, .stepper-button-minus, .stepper-button-plus, .list.accordion-list .accordion-item-toggle",touchRippleInsetElements:".ripple-inset, .icon-only, .searchbar-disable-button, .input-clear-button, .notification-close-button, .md .navbar .link.back"}},create(){const t=this,e=it();te(t,{touchEvents:{start:e.touch?"touchstart":e.pointerEvents?"pointerdown":"mousedown",move:e.touch?"touchmove":e.pointerEvents?"pointermove":"mousemove",end:e.touch?"touchend":e.pointerEvents?"pointerup":"mouseup"}})},on:{init:h2}};function b2(t){for(var e=[],n=0;n=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||o===95){a+=t[i++];continue}break}if(!a)throw new TypeError("Missing parameter name at ".concat(n));e.push({type:"NAME",index:n,value:a}),n=i;continue}if(s==="("){var r=1,l="",i=n+1;if(t[i]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(i));for(;i)?(?!\?)/g,s=0,a=n.exec(t.source);a;)e.push({name:a[1]||s++,prefix:"",suffix:"",modifier:"",pattern:""}),a=n.exec(t.source);return t}function E2(t,e,n){var s=t.map(function(a){return op(a,e,n).source});return new RegExp("(?:".concat(s.join("|"),")"),Aa(n))}function C2(t,e,n){return y2(lp(t,n),e,n)}function y2(t,e,n){n===void 0&&(n={});for(var s=n.strict,a=s===void 0?!1:s,i=n.start,o=i===void 0?!0:i,r=n.end,l=r===void 0?!0:r,f=n.encode,c=f===void 0?function(y){return y}:f,u=n.delimiter,d=u===void 0?"/#?":u,m=n.endsWith,h=m===void 0?"":m,p="[".concat(An(h),"]|$"),b="[".concat(An(d),"]"),g=o?"^":"",v=0,_=t;v<_.length;v++){var k=_[v];if(typeof k=="string")g+=An(c(k));else{var E=An(c(k.prefix)),S=An(c(k.suffix));if(k.pattern)if(e&&e.push(k),E||S)if(k.modifier==="+"||k.modifier==="*"){var I=k.modifier==="*"?"?":"";g+="(?:".concat(E,"((?:").concat(k.pattern,")(?:").concat(S).concat(E,"(?:").concat(k.pattern,"))*)").concat(S,")").concat(I)}else g+="(?:".concat(E,"(").concat(k.pattern,")").concat(S,")").concat(k.modifier);else k.modifier==="+"||k.modifier==="*"?g+="((?:".concat(k.pattern,")").concat(k.modifier,")"):g+="(".concat(k.pattern,")").concat(k.modifier);else g+="(?:".concat(E).concat(S,")").concat(k.modifier)}}if(l)a||(g+="".concat(b,"?")),g+=n.endsWith?"(?=".concat(p,")"):"$";else{var T=t[t.length-1],A=typeof T=="string"?b.indexOf(T[T.length-1])>-1:T===void 0;a||(g+="(?:".concat(b,"(?=").concat(p,"))?")),A||(g+="(?=".concat(b,"|").concat(p,")"))}return new RegExp(g,Aa(n))}function op(t,e,n){return t instanceof RegExp?k2(t,e):Array.isArray(t)?E2(t,e,n):C2(t,e,n)}const Qe={queue:[],clearQueue(){if(Qe.queue.length===0)return;Qe.queue.shift()()},routerQueue:[],clearRouterQueue(){if(Qe.routerQueue.length===0)return;const t=Qe.routerQueue.pop(),{router:e,stateUrl:n,action:s}=t;let a=e.params.animate;e.params.browserHistoryAnimate===!1&&(a=!1),s==="back"&&e.back({animate:a,browserHistory:!1}),s==="load"&&e.navigate(n,{animate:a,browserHistory:!1})},handle(t){if(Qe.blockPopstate)return;const e=this;let n=t.state;Qe.previousState=Qe.state,Qe.state=n,Qe.allowChange=!0,Qe.clearQueue(),n=Qe.state,n||(n={}),e.views.forEach(s=>{const a=s.router;let i=n[s.id];if(!i&&s.params.browserHistory&&(i={url:s.router.history[0]}),!i)return;const o=i.url||void 0;let r=a.params.animate;a.params.browserHistoryAnimate===!1&&(r=!1),o!==a.url&&(a.history.indexOf(o)>=0?a.allowPageChange?a.back({animate:r,browserHistory:!1}):Qe.routerQueue.push({action:"back",router:a}):a.allowPageChange?a.navigate(o,{animate:r,browserHistory:!1}):Qe.routerQueue.unshift({action:"load",stateUrl:o,router:a}))})},initViewState(t,e){const n=Se(),s=te({},Qe.state||{},{[t]:e});Qe.state=s,n.history.replaceState(s,"")},push(t,e,n){const s=Se(),a=Le();if(n.substr(-3)==="#!/"&&(n=n.replace("#!/",""),n===""&&(n=a.location.href,n.includes("#!/")&&(n=a.location.href.split("#!/")[0]))),!Qe.allowChange){Qe.queue.push(()=>{Qe.push(t,e,n)});return}Qe.previousState=Qe.state;const i=te({},Qe.previousState||{},{[t]:e});Qe.state=i,s.history.pushState(i,"",n)},replace(t,e,n){const s=Se();if(n.substr(-3)==="#!/"&&(n=n.replace("#!/","")),!Qe.allowChange){Qe.queue.push(()=>{Qe.replace(t,e,n)});return}Qe.previousState=Qe.state;const a=te({},Qe.previousState||{},{[t]:e});Qe.state=a,s.history.replaceState(a,"",n)},go(t){const e=Se();Qe.allowChange=!1,e.history.go(t)},back(){const t=Se();Qe.allowChange=!1,t.history.back()},allowChange:!0,previousState:{},state:{},blockPopstate:!0,init(t){const e=Se(),n=Le();Qe.state=e.history.state,P(e).on("load",()=>{setTimeout(()=>{Qe.blockPopstate=!1},0)}),n.readyState&&n.readyState==="complete"&&(Qe.blockPopstate=!1),P(e).on("popstate",Qe.handle.bind(t))}},lt=Qe;function w2(t){const e=t,{$el:n,$navbarsEl:s,app:a,params:i}=e,o=it(),r=Ke();let l=!1,f=!1;const c={};let u,d=[],m=[],h,p,b=!0,g,v=[],_=[],k,E,S,I;const T=i[`${a.theme}SwipeBackAnimateShadow`],A=i[`${a.theme}SwipeBackAnimateOpacity`],y=i[`${a.theme}SwipeBackActiveArea`],w=i[`${a.theme}SwipeBackThreshold`],D=a.rtl?"right center":"left center",O=a.rtl?"calc(100% - var(--f7-navbar-large-title-padding-left) - var(--f7-safe-area-left)) center":"calc(var(--f7-navbar-large-title-padding-left) + var(--f7-safe-area-left)) center";function L(){const H=[],G=a.rtl?-1:1,ce=v.hasClass("navbar-transparent")&&!v.hasClass("navbar-large")&&!v.hasClass("navbar-transparent-visible"),ye=v.hasClass("navbar-large"),ne=v.hasClass("navbar-large-collapsed"),me=v.hasClass("navbar-large-transparent")||v.hasClass("navbar-large")&&v.hasClass("navbar-transparent"),K=_.hasClass("navbar-transparent")&&!_.hasClass("navbar-large")&&!_.hasClass("navbar-transparent-visible"),pe=_.hasClass("navbar-large"),ke=_.hasClass("navbar-large-collapsed"),he=_.hasClass("navbar-large-transparent")||_.hasClass("navbar-large")&&_.hasClass("navbar-transparent"),re=ye&&!ne,Ce=pe&&!ke,Pe=v.find(".left, .title, .right, .subnavbar, .fading, .title-large, .navbar-bg"),Ve=_.find(".left, .title, .right, .subnavbar, .fading, .title-large, .navbar-bg");let Me,He;return i.iosAnimateNavbarBackIcon&&(v.hasClass("sliding")||v.find(".navbar-inner.sliding").length?Me=v.find(".left").find(".back .icon + span").eq(0):Me=v.find(".left.sliding").find(".back .icon + span").eq(0),_.hasClass("sliding")||_.find(".navbar-inner.sliding").length?He=_.find(".left").find(".back .icon + span").eq(0):He=_.find(".left.sliding").find(".back .icon + span").eq(0),Me.length&&Ve.each(ze=>{P(ze).hasClass("title")&&(ze.f7NavbarLeftOffset+=Me.prev(".icon")[0].offsetWidth)})),Pe.each(ze=>{const fe=P(ze),ee=fe.hasClass("subnavbar"),Fe=fe.hasClass("left"),Ue=fe.hasClass("title"),qe=fe.hasClass("navbar-bg");if((Ue||qe)&&ce||!re&&fe.hasClass(".title-large"))return;const Oe={el:ze};if(re){if(Ue)return;if(fe.hasClass("title-large")){H.indexOf(Oe)<0&&H.push(Oe),Oe.overflow="visible",fe.find(".title-large-text").each(Ie=>{H.push({el:Ie,transform:xe=>`translateX(${xe*100*G}%)`})});return}}if(Ce&&(re||fe.hasClass("title-large")&&(H.indexOf(Oe)<0&&H.push(Oe),Oe.opacity=0),Fe)){H.indexOf(Oe)<0&&H.push(Oe),Oe.opacity=Ie=>1-Ie**.33,fe.find(".back span").each(Ie=>{H.push({el:Ie,"transform-origin":D,transform:xe=>`translateX(calc(${xe} * (var(--f7-navbarTitleLargeOffset) - var(--f7-navbarLeftTextOffset)))) translateY(calc(${xe} * (var(--f7-navbar-large-title-height) - var(--f7-navbar-large-title-padding-vertical) / 2))) scale(${1+1*xe})`})});return}if(qe){H.indexOf(Oe)<0&&H.push(Oe),!re&&!Ce&&(ne?(me&&(Oe.className="ios-swipeback-navbar-bg-large"),Oe.transform=Ie=>`translateX(${100*Ie*G}%) translateY(calc(-1 * var(--f7-navbar-large-title-height)))`):Oe.transform=Ie=>`translateX(${100*Ie*G}%)`),!re&&Ce&&(Oe.className="ios-swipeback-navbar-bg-large",Oe.transform=Ie=>`translateX(${100*Ie*G}%) translateY(calc(-1 * ${1-Ie} * var(--f7-navbar-large-title-height)))`),re&&Ce&&(Oe.transform=Ie=>`translateX(${100*Ie*G}%)`),re&&!Ce&&(Oe.transform=Ie=>`translateX(${100*Ie*G}%) translateY(calc(-${Ie} * var(--f7-navbar-large-title-height)))`);return}if(fe.hasClass("title-large"))return;const et=fe.hasClass("sliding")||fe.parents(".navbar-inner.sliding").length;if(H.indexOf(Oe)<0&&H.push(Oe),(!ee||ee&&!et)&&(Oe.opacity=Ie=>1-Ie**.33),et){let Ie=Oe;if(Fe&&Me.length&&i.iosAnimateNavbarBackIcon){const xe={el:Me[0]};Ie=xe,H.push(xe)}Ie.transform=xe=>{let Te=xe*Ie.el.f7NavbarRightOffset;return r.pixelRatio===1&&(Te=Math.round(Te)),ee&&ye?`translate3d(${Te}px, calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)), 0)`:`translate3d(${Te}px,0,0)`}}}),Ve.each(ze=>{const fe=P(ze),ee=fe.hasClass("subnavbar"),Fe=fe.hasClass("left"),Ue=fe.hasClass("title"),qe=fe.hasClass("navbar-bg");if((Ue||qe)&&K)return;const Oe={el:ze};if(Ce){if(Ue)return;if(H.indexOf(Oe)<0&&H.push(Oe),fe.hasClass("title-large")){Oe.opacity=1,Oe.overflow="visible",fe.find(".title-large-text").each(Ie=>{H.push({el:Ie,"transform-origin":O,opacity:xe=>xe**3,transform:xe=>`translateX(calc(${1-xe} * (var(--f7-navbarLeftTextOffset) - var(--f7-navbarTitleLargeOffset)))) translateY(calc(${xe-1} * var(--f7-navbar-large-title-height) + ${1-xe} * var(--f7-navbar-large-title-padding-vertical))) scale(${.5+xe*.5})`})});return}}if(qe){H.indexOf(Oe)<0&&H.push(Oe),!re&&!Ce&&(ke?(he&&(Oe.className="ios-swipeback-navbar-bg-large"),Oe.transform=Ie=>`translateX(${(-100+100*Ie)*G}%) translateY(calc(-1 * var(--f7-navbar-large-title-height)))`):Oe.transform=Ie=>`translateX(${(-100+100*Ie)*G}%)`),!re&&Ce&&(Oe.transform=Ie=>`translateX(${(-100+100*Ie)*G}%) translateY(calc(-1 * ${1-Ie} * var(--f7-navbar-large-title-height)))`),re&&!Ce&&(Oe.className="ios-swipeback-navbar-bg-large",Oe.transform=Ie=>`translateX(${(-100+100*Ie)*G}%) translateY(calc(-${Ie} * var(--f7-navbar-large-title-height)))`),re&&Ce&&(Oe.transform=Ie=>`translateX(${(-100+100*Ie)*G}%)`);return}if(fe.hasClass("title-large"))return;const et=fe.hasClass("sliding")||_.children(".navbar-inner.sliding").length;if(H.indexOf(Oe)<0&&H.push(Oe),(!ee||ee&&!et)&&(Oe.opacity=Ie=>Ie**3),et){let Ie=Oe;if(Fe&&He.length&&i.iosAnimateNavbarBackIcon){const xe={el:He[0]};Ie=xe,H.push(xe)}Ie.transform=xe=>{let Te=Ie.el.f7NavbarLeftOffset*(1-xe);return r.pixelRatio===1&&(Te=Math.round(Te)),ee&&pe?`translate3d(${Te}px, calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)), 0)`:`translate3d(${Te}px,0,0)`}}}),H}function j(H){let{progress:G,reset:ce,transition:ye,reflow:ne}=H===void 0?{}:H;const me=["overflow","transform","transform-origin","opacity"];if(ye===!0||ye===!1)for(let K=0;K0||P(H.target).closest(".page-master, .page-master-detail").length>0&&i.masterDetailBreakpoint>0&&a.width>=i.masterDetailBreakpoint||(f=!1,l=!0,u=void 0,c.x=H.type==="touchstart"?H.targetTouches[0].pageX:H.pageX,c.y=H.type==="touchstart"?H.targetTouches[0].pageY:H.pageY,g=Ht(),k=e.dynamicNavbar)}function Y(H){if(!H.isTrusted||!l)return;const G=H.type==="touchmove"?H.targetTouches[0].pageX:H.pageX,ce=H.type==="touchmove"?H.targetTouches[0].pageY:H.pageY;if(typeof u>"u"&&(u=!!(u||Math.abs(ce-c.y)>Math.abs(G-c.x))||Gc.x&&a.rtl),u||H.f7PreventSwipeBack||a.preventSwipeBack){l=!1;return}if(!f){let ke=!1;const he=P(H.target),re=he.closest(".swipeout");re.length>0&&(!a.rtl&&re.find(".swipeout-actions-left").length>0&&(ke=!0),a.rtl&&re.find(".swipeout-actions-right").length>0&&(ke=!0)),d=he.closest(".page"),(d.hasClass("no-swipeback")||he.closest(".no-swipeback, .card-opened").length>0)&&(ke=!0),m=n.find(".page-previous"),m.length>1&&(m=m.eq(m.length-1));let Ce=c.x-n.offset().left>y;if(h=n.width(),a.rtl?Ce=c.xy,Ce&&(ke=!0),(m.length===0||d.length===0)&&(ke=!0),ke){l=!1;return}T&&(E=d.find(".page-shadow-effect"),E.length===0&&(E=P('
    '),d.append(E))),A&&(S=m.find(".page-opacity-effect"),S.length===0&&(S=P('
    '),m.append(S))),k&&(v=s.find(".navbar-current"),_=s.find(".navbar-previous"),_.length>1&&(_=_.eq(_.length-1)),I=L()),P(".sheet.modal-in").length>0&&a.sheet&&a.sheet.close(P(".sheet.modal-in"))}H.f7PreventSwipePanel=!0,f=!0,a.preventSwipePanelBySwipeBack=!0,H.preventDefault();const ye=a.rtl?-1:1;p=(G-c.x-w)*ye,p<0&&(p=0);const ne=Math.min(Math.max(p/h,0),1),me={percentage:ne,progress:ne,currentPageEl:d[0],previousPageEl:m[0],currentNavbarEl:v[0],previousNavbarEl:_[0]};n.trigger("swipeback:move",me),e.emit("swipebackMove",me);let K=p*ye,pe=(p/5-h/5)*ye;a.rtl?(K=Math.max(K,-h),pe=Math.max(pe,0)):(K=Math.min(K,h),pe=Math.min(pe,0)),r.pixelRatio===1&&(K=Math.round(K),pe=Math.round(pe)),e.swipeBackActive=!0,P([d[0],m[0]]).addClass("page-swipeback-active"),d.transform(`translate3d(${K}px,0,0)`),T&&(E[0].style.opacity=1-1*ne),a.theme==="ios"&&m.transform(`translate3d(${pe}px,0,0)`),A&&(S[0].style.opacity=1-1*ne),k&&j({progress:ne})}function B(H){if(!H.isTrusted)return;if(a.preventSwipePanelBySwipeBack=!1,!l||!f){l=!1,f=!1;return}l=!1,f=!1,e.swipeBackActive=!1;const G=P([d[0],m[0]]);if(G.removeClass("page-swipeback-active"),p===0){G.transform(""),E&&E.length>0&&E.remove(),S&&S.length>0&&S.remove(),k&&j({reset:!0});return}const ce=Ht()-g;let ye=!1;(ce<300&&p>10||ce>=300&&p>h/2)&&(d.removeClass("page-current").addClass(`page-next${a.theme!=="ios"?" page-next-on-right":""}`),m.removeClass("page-previous").addClass("page-current").removeAttr("aria-hidden"),E&&(E[0].style.opacity=""),S&&(S[0].style.opacity=""),k&&(e.setNavbarPosition(v,"next"),e.setNavbarPosition(_,"current",!1)),ye=!0),G.addClass("page-transitioning page-transitioning-swipeback"),r.ios&&(d[0]._clientLeft=d[0].clientLeft),G.transform(""),k&&j({progress:ye?1:0,transition:!0,reflow:!!r.ios}),b=!1,e.allowPageChange=!1;const ne={currentPageEl:d[0],previousPageEl:m[0],currentNavbarEl:v[0],previousNavbarEl:_[0]};ye?(e.currentRoute=m[0].f7Page.route,e.currentPage=m[0],e.pageCallback("beforeOut",d,v,"current","next",{route:d[0].f7Page.route,swipeBack:!0}),e.pageCallback("beforeIn",m,_,"previous","current",{route:m[0].f7Page.route,swipeBack:!0},d[0]),n.trigger("swipeback:beforechange",ne),e.emit("swipebackBeforeChange",ne)):(n.trigger("swipeback:beforereset",ne),e.emit("swipebackBeforeReset",ne)),d.transitionEnd(()=>{G.removeClass("page-transitioning page-transitioning-swipeback"),k&&j({reset:!0,transition:!1}),b=!0,e.allowPageChange=!0,ye?(e.history.length===1&&e.history.unshift(e.url),e.history.pop(),e.saveHistory(),i.browserHistory&<.back(),e.pageCallback("afterOut",d,v,"current","next",{route:d[0].f7Page.route,swipeBack:!0}),e.pageCallback("afterIn",m,_,"previous","current",{route:m[0].f7Page.route,swipeBack:!0}),e.pageCallback("beforeRemove",d,v,"next",{swipeBack:!0}),e.removePage(d),k&&e.removeNavbar(v),n.trigger("swipeback:afterchange",ne),e.emit("swipebackAfterChange",ne),e.emit("routeChanged",e.currentRoute,e.previousRoute,e),i.preloadPreviousPage&&e.back(e.history[e.history.length-2],{preload:!0})):(n.trigger("swipeback:afterreset",ne),e.emit("swipebackAfterReset",ne)),E&&E.length>0&&E.remove(),S&&S.length>0&&S.remove()})}function q(){const H=a.touchEvents.start==="touchstart"&&o.passiveListener?{passive:!0,capture:!1}:!1;n.on(a.touchEvents.start,W,H),a.on("touchmove:active",Y),a.on("touchend:passive",B)}function X(){const H=a.touchEvents.start==="touchstart"&&o.passiveListener?{passive:!0,capture:!1}:!1;n.off(a.touchEvents.start,W,H),a.off("touchmove:active",Y),a.off("touchend:passive",B)}q(),e.on("routerDestroy",X)}function fp(t,e,n){const s=this,a=e.route.redirect,i=t==="forward"?"navigate":"back";n.initial&&s.params.browserHistory&&(n.replaceState=!0,n.history=!0);function o(l,f){f===void 0&&(f={}),s.allowPageChange=!0,s[i](l,te({},n,f))}function r(){s.allowPageChange=!0}if(typeof a=="function"){s.allowPageChange=!1;const l=a.call(s,{router:s,to:e,resolve:o,reject:r,direction:t,app:s.app});return l&&typeof l=="string"?(s.allowPageChange=!0,s[i](l,n)):s}return s[i](a,n)}function Ju(t,e,n,s,a,i,o,r){const l=[];Array.isArray(n)?l.push(...n):n&&typeof n=="function"&&l.push(n),e&&(Array.isArray(e)?l.push(...e):l.push(e));function f(){if(l.length===0){i();return}l.shift().call(t,{router:t,to:s,from:a,resolve(){f()},reject(){o()},direction:r,app:t.app})}f()}function da(t,e,n,s,a){const i=this;function o(){t&&t.route&&(i.params.routesBeforeEnter||t.route.beforeEnter)?(i.allowPageChange=!1,Ju(i,i.params.routesBeforeEnter,t.route.beforeEnter,t,e,()=>{i.allowPageChange=!0,n()},()=>{s()},a)):n()}function r(){e&&e.route&&(i.params.routesBeforeLeave||e.route.beforeLeave)?(i.allowPageChange=!1,Ju(i,i.params.routesBeforeLeave,e.route.beforeLeave,t,e,()=>{i.allowPageChange=!0,o()},()=>{s()},a)):o()}r()}function Vn(t,e){if(!t.view)throw new Error(`Framework7: it is not allowed to use router methods on global app router. Use router methods only on related View, e.g. app.views.main.router.${e}(...)`)}function Hs(t,e,n,s){function a(o){o.then(r=>{n({component:r.default||r._default||r})}).catch(r=>{throw s(),new Error(r)})}if(e instanceof Promise){a(e);return}const i=e.call(t);i instanceof Promise?a(i):n({component:i})}function S2(t){t===void 0&&(t={});const e=this;return Vn(e,"refreshPage"),e.navigate(e.currentRoute.url,{ignoreCache:!0,reloadCurrent:!0,props:t})}function Wn(t,e,n){n===void 0&&(n={});const s=Le(),a=P(e),i=t.app,o=t.view,r=te(!1,{animate:t.params.animate,browserHistory:!0,replaceState:!1,history:!0,reloadCurrent:t.params.reloadPages,reloadPrevious:!1,reloadAll:!1,clearPreviousHistory:!1,reloadDetail:t.params.reloadDetail,on:{}},n),l=t.params.masterDetailBreakpoint>0,f=l&&r.route&&r.route.route&&(r.route.route.master===!0||typeof r.route.route.master=="function"&&r.route.route.master(i,t));let c,u,d=0,m=t.currentRoute.modal,h;if(m||"popup popover sheet loginScreen actions customModal panel".split(" ").forEach(B=>{t.currentRoute&&t.currentRoute.route&&t.currentRoute.route[B]&&(m=!0,h=B)}),m){const B=t.currentRoute.modal||t.currentRoute.route.modalInstance||i[h].get(),q=t.history[t.history.length-2];let X=t.findMatchingRoute(q);!X&&q&&(X={url:q,path:q.split("?")[0],query:ns(q),route:{path:q.split("?")[0],url:q}}),t.modalRemove(B)}const p=t.dynamicNavbar,b=t.$el,g=a,v=r.reloadPrevious||r.reloadCurrent||r.reloadAll;let _,k,E,S;if(t.allowPageChange=!1,g.length===0)return t.allowPageChange=!0,t;g.length&&t.removeThemeElements(g),p&&(E=g.children(".navbar"),k=t.$navbarsEl,E.length===0&&g[0]&&g[0].f7Page&&(E=g[0].f7Page.$navbarEl)),r.route&&r.route.route&&r.route.route.keepAlive&&!r.route.route.keepAliveData&&(r.route.route.keepAliveData={pageEl:a[0]});const I=b.children(".page").filter(B=>B!==g[0]);let T;if(p&&(T=k.children(".navbar").filter(B=>B!==E[0])),r.reloadPrevious&&I.length<2)return t.allowPageChange=!0,t;let A,y,w;if(l&&!r.reloadAll){for(let B=0;B=t.params.masterDetailBreakpoint&&c}A&&(w=!u||y||r.reloadAll||r.reloadCurrent);let D="next";if(r.reloadCurrent||r.reloadAll||y?D="current":r.reloadPrevious&&(D="previous"),g.removeClass("page-previous page-current page-next").addClass(`page-${D}${f?" page-master":""}${A?" page-master-detail":""}${w?" page-master-detail-root":""}`).trigger("page:unstack").trigger("page:position",{position:D}),t.emit("pageUnstack",g[0]),t.emit("pagePosition",g[0],D),(f||A)&&(g.trigger("page:role",{role:f?"master":"detail",root:!!w}),t.emit("pageRole",g[0],{role:f?"master":"detail",detailRoot:!!w})),p&&E.length&&(E.removeClass("navbar-previous navbar-current navbar-next").addClass(`navbar-${D}${f?" navbar-master":""}${A?" navbar-master-detail":""}${w?" navbar-master-detail-root":""}`),E.trigger("navbar:position",{position:D}),t.emit("navbarPosition",E[0],D),(f||A)&&t.emit("navbarRole",E[0],{role:f?"master":"detail",detailRoot:!!w})),r.reloadCurrent||y)y?(_=I.filter(B=>!B.classList.contains("page-master")),p&&(S=P(_.map(B=>i.navbar.getElByPage(B)))),_.length>1&&c&&(d=_.length-1,P(c).removeClass("page-master-stacked").trigger("page:masterunstack"),t.emit("pageMasterUnstack",c),p&&(P(i.navbar.getElByPage(c)).removeClass("navbar-master-stacked"),t.emit("navbarMasterUnstack",i.navbar.getElByPage(c))))):(_=I.eq(I.length-1),p&&(S=P(i.navbar.getElByPage(_))));else if(r.reloadPrevious)_=I.eq(I.length-2),p&&(S=P(i.navbar.getElByPage(_)));else if(r.reloadAll)_=I.filter(B=>B!==g[0]),p&&(S=T.filter(B=>B!==E[0]));else{let B=[],q=[];if(I.length>1){let X=0;for(X=0;XX!==g[0]&&B.indexOf(X)<0),p&&(S=k.children(".navbar").filter(X=>X!==E[0]&&q.indexOf(q)<0)),B=[],q=[]}if(A&&!r.reloadAll&&((_.length>1||y)&&(_=_.filter(B=>!B.classList.contains("page-master"))),S&&(S.length>1||y)&&(S=S.filter(B=>!B.classList.contains("navbar-master")))),t.params.browserHistory&&(r.browserHistory||r.replaceState)&&!r.reloadPrevious){const B=t.params.browserHistoryRoot||"";lt[r.reloadCurrent||y&&u||r.reloadAll||r.replaceState?"replace":"push"](o.id,{url:r.route.url},B+t.params.browserHistorySeparator+r.route.url)}r.reloadPrevious||(t.currentPageEl=g[0],p&&E.length?t.currentNavbarEl=E[0]:delete t.currentNavbarEl,t.currentRoute=r.route);const O=r.route.url;r.history&&(((r.reloadCurrent||y&&u)&&t.history.length)>0||r.replaceState?(y&&d>0&&(t.history=t.history.slice(0,t.history.length-d),t.propsHistory=t.propsHistory.slice(0,t.propsHistory.length-d)),t.history[t.history.length-(r.reloadPrevious?2:1)]=O,t.propsHistory[t.propsHistory.length-(r.reloadPrevious?2:1)]=r.props||{}):r.reloadPrevious?(t.history[t.history.length-2]=O,t.propsHistory[t.propsHistory.length-2]=r.props||{}):r.reloadAll?(t.history=[O],t.propsHistory=[r.props||{}]):(t.history.push(O),t.propsHistory.push(r.props||{}))),t.saveHistory();const L=g.parents(s).length>0,j=g[0].f7Component;if(r.reloadPrevious?(j&&!L?j.mount(B=>{P(B).insertBefore(_)}):g.insertBefore(_),p&&E.length&&(E.find(".title-large").length&&E.addClass("navbar-large"),S.length?E.insertBefore(S):(t.$navbarsEl.parents(s).length||t.$el.prepend(t.$navbarsEl),k.append(E)))):(_.next(".page")[0]!==g[0]&&(j&&!L?j.mount(B=>{b.append(B)}):b.append(g[0])),p&&E.length&&(E.find(".title-large").length&&E.addClass("navbar-large"),t.$navbarsEl.parents(s).length||t.$el.prepend(t.$navbarsEl),k.append(E[0]))),L?r.route&&r.route.route&&r.route.route.keepAlive&&!g[0].f7PageMounted&&(g[0].f7PageMounted=!0,t.pageCallback("mounted",g,E,D,v?D:"current",r,_)):t.pageCallback("mounted",g,E,D,v?D:"current",r,_),(r.reloadCurrent||y)&&_.length>0?(t.pageCallback("beforeOut",_,S,"current",void 0,r),t.pageCallback("afterOut",_,S,"current",void 0,r),t.pageCallback("beforeRemove",_,S,"current",void 0,r),t.removePage(_),p&&S&&S.length&&t.removeNavbar(S)):r.reloadAll?_.each((B,q)=>{const X=P(B),H=P(i.navbar.getElByPage(X));X.hasClass("page-current")&&(t.pageCallback("beforeOut",_,S,"current",void 0,r),t.pageCallback("afterOut",_,S,"current",void 0,r)),t.pageCallback("beforeRemove",X,S&&S.eq(q),"previous",void 0,r),t.removePage(X),p&&H.length&&t.removeNavbar(H)}):r.reloadPrevious&&(t.pageCallback("beforeRemove",_,S,"previous",void 0,r),t.removePage(_),p&&S&&S.length&&t.removeNavbar(S)),r.route.route.tab&&t.tabLoad(r.route.route.tab,te({},r,{history:!1,browserHistory:!1})),l&&o.checkMasterDetailBreakpoint(),t.pageCallback("init",g,E,D,v?D:"current",r,_),r.reloadCurrent||r.reloadAll||y)return t.allowPageChange=!0,t.pageCallback("beforeIn",g,E,D,"current",r),g.removeAttr("aria-hidden"),p&&E&&E.removeAttr("aria-hidden"),t.pageCallback("afterIn",g,E,D,"current",r),r.reloadCurrent&&r.clearPreviousHistory&&t.clearPreviousHistory(),y&&(t.setPagePosition(P(c),"previous"),c.f7Page&&c.f7Page.navbarEl&&t.setNavbarPosition(P(c.f7Page.navbarEl),"previous")),t;if(r.reloadPrevious)return t.allowPageChange=!0,t;t.pageCallback("beforeOut",_,S,"current","previous",r),t.pageCallback("beforeIn",g,E,"next","current",r);function W(){t.setPagePosition(g,"current",!1),t.setPagePosition(_,"previous",!_.hasClass("page-master")),p&&(t.setNavbarPosition(E,"current",!1),t.setNavbarPosition(S,"previous",!S.hasClass("navbar-master"))),t.allowPageChange=!0,t.pageCallback("afterOut",_,S,"current","previous",r),t.pageCallback("afterIn",g,E,"next","current",r);let B=(t.params.preloadPreviousPage||t.params[`${i.theme}SwipeBack`])&&!f;B||(g.hasClass("smart-select-page")||g.hasClass("photo-browser-page")||g.hasClass("autocomplete-page")||g.hasClass("color-picker-page"))&&(B=!0),B||g.attr("data-name")&&g.attr("data-name")==="smart-select-page"||(t.pageCallback("beforeRemove",_,S,"previous",void 0,r),t.removePage(_),p&&S.length&&t.removeNavbar(S)),r.clearPreviousHistory&&t.clearPreviousHistory(),t.emit("routeChanged",t.currentRoute,t.previousRoute,t),t.params.browserHistory&<.clearRouterQueue()}function Y(){t.setPagePosition(_,"current",!1),t.setPagePosition(g,"next",!1),p&&(t.setNavbarPosition(S,"current",!1),t.setNavbarPosition(E,"next",!1))}if(r.animate&&!(f&&i.width>=t.params.masterDetailBreakpoint)){const B=t.params[`${t.app.theme}PageLoadDelay`];let q=t.params.transition;r.transition&&(q=r.transition),!q&&t.currentRoute&&t.currentRoute.route&&(q=t.currentRoute.route.transition),!q&&t.currentRoute&&t.currentRoute.route.options&&(q=t.currentRoute.route.options.transition),q&&(g[0].f7PageTransition=q),B?setTimeout(()=>{Y(),t.animate(_,g,S,E,"forward",q,()=>{W()})},B):(Y(),t.animate(_,g,S,E,"forward",q,()=>{W()}))}else W();return t}function Xs(t,e,n,s){if(e===void 0&&(e={}),n===void 0&&(n={}),!t.allowPageChange&&!s)return t;const a=e,i=n,{url:o,content:r,el:l,pageName:f,component:c,componentUrl:u}=a;if(!i.reloadCurrent&&i.route&&i.route.route&&i.route.route.parentPath&&t.currentRoute.route&&t.currentRoute.route.parentPath===i.route.route.parentPath){if(i.route.url===t.url)return t.allowPageChange=!0,!1;let h=Object.keys(i.route.params).length===Object.keys(t.currentRoute.params).length;if(h&&Object.keys(i.route.params).forEach(p=>{(!(p in t.currentRoute.params)||t.currentRoute.params[p]!==i.route.params[p])&&(h=!1)}),h)return i.route.route.tab?t.tabLoad(i.route.route.tab,i):!1;if(!h&&i.route.route.tab&&t.currentRoute.route.tab&&t.currentRoute.parentPath===i.route.parentPath)return t.tabLoad(i.route.route.tab,i)}if(i.route&&i.route.url&&t.url===i.route.url&&!(i.reloadCurrent||i.reloadPrevious)&&!t.params.allowDuplicateUrls)return t.allowPageChange=!0,!1;!i.route&&o&&(i.route=t.parseRouteUrl(o),te(i.route,{route:{url:o,path:o}}));function d(h,p){return Wn(t,h,te(i,p))}function m(){return t.allowPageChange=!0,t}if((o||u||c)&&(t.allowPageChange=!1),r)Wn(t,t.getPageEl(r),i);else if(l)Wn(t,t.getPageEl(l),i);else if(f)Wn(t,t.$el.children(`.page[data-name="${f}"]`).eq(0),i);else if(c||u)try{t.pageComponentLoader({routerEl:t.el,component:c,componentUrl:u,options:i,resolve:d,reject:m})}catch(h){throw t.allowPageChange=!0,h}else o&&(t.xhrAbortController&&(t.xhrAbortController.abort(),t.xhrAbortController=!1),t.xhrRequest(o,i).then(h=>{Wn(t,t.getPageEl(h),i)}).catch(()=>{t.allowPageChange=!0}));return t}function T2(t,e){e===void 0&&(e={});const n=this;if(n.swipeBackActive)return n;let s,a,i,o,r,l,f;if(typeof t=="string"?s=t:(s=t.url,a=t.route,i=t.name,o=t.path,r=t.query,l=t.params),i||o)return s=n.generateUrl({path:o,name:i,params:l,query:r}),s?n.navigate(s,e):n;const c=n.app;if(Vn(n,"navigate"),s==="#"||s==="")return n;let u=s.replace("./","");if(u[0]!=="/"&&u.indexOf("#")!==0){const p=n.currentRoute.parentPath||n.currentRoute.path;u=((p?`${p}/`:"/")+u).replace("///","/").replace("//","/")}if(a?f=te(n.parseRouteUrl(u),{route:te({},a)}):f=n.findMatchingRoute(u),!f)return n;if(f.route&&f.route.viewName){const p=f.route.viewName,b=c.views[p];if(!b)throw new Error(`Framework7: There is no View with "${p}" name that was specified in this route`);if(b!==n.view)return b.router.navigate(t,e)}if(f.route.redirect)return fp.call(n,"forward",f,e);const d={};if(f.route.options?te(d,f.route.options,e):te(d,e),d.openIn&&(!n.params.ignoreOpenIn||n.params.ignoreOpenIn&&n.history.length>0))return n.openIn(n,u,d);d.route=f;function m(){let p=!1;if("popup popover sheet loginScreen actions customModal panel".split(" ").forEach(v=>{f.route[v]&&!p&&(p=!0,n.modalLoad(v,f,d,"forward"))}),f.route.keepAlive&&f.route.keepAliveData&&(Xs(n,{el:f.route.keepAliveData.pageEl},d,!1),p=!0),"url content component pageName el componentUrl".split(" ").forEach(v=>{f.route[v]&&!p&&(p=!0,Xs(n,{[v]:f.route[v]},d,!1))}),p)return;function b(v,_){n.allowPageChange=!1;let k=!1;"popup popover sheet loginScreen actions customModal panel".split(" ").forEach(E=>{if(v[E]){k=!0;const S=te({},f,{route:v});n.allowPageChange=!0,n.modalLoad(E,S,te(d,_),"forward")}}),!k&&Xs(n,v,te(d,_),!0)}function g(){n.allowPageChange=!0}f.route.async&&(n.allowPageChange=!1,f.route.async.call(n,{router:n,to:d.route,from:n.currentRoute,resolve:b,reject:g,direction:"forward",app:c})),f.route.asyncComponent&&Hs(n,f.route.asyncComponent,b,g)}function h(){n.allowPageChange=!0}if(n.params.masterDetailBreakpoint>0&&f.route.masterRoute){let p=!0,b=!1;if(n.currentRoute&&n.currentRoute.route&&((n.currentRoute.route.master===!0||typeof n.currentRoute.route.master=="function"&&n.currentRoute.route.master(c,n))&&(n.currentRoute.route===f.route.masterRoute||n.currentRoute.route.path===f.route.masterRoute.path)&&(p=!1),n.currentRoute.route.masterRoute&&(n.currentRoute.route.masterRoute===f.route.masterRoute||n.currentRoute.route.masterRoute.path===f.route.masterRoute.path)&&(p=!1,b=!0)),p||b&&e.reloadAll)return n.navigate({path:f.route.masterRoute.path,params:f.params||{}},{animate:!1,reloadAll:e.reloadAll,reloadCurrent:e.reloadCurrent,reloadPrevious:e.reloadPrevious,browserHistory:!e.initial,history:!e.initial,once:{pageAfterIn(){n.navigate(t,te({},e,{animate:!1,reloadAll:!1,reloadCurrent:!1,reloadPrevious:!1,history:!e.initial,browserHistory:!e.initial}))}}}),n}return da.call(n,f,n.currentRoute,()=>{f.route.modules?c.loadModules(Array.isArray(f.route.modules)?f.route.modules:[f.route.modules]).then(()=>{m()}).catch(()=>{h()}):m()},()=>{h()},"forward"),n}function M2(t,e){e===void 0&&(e={});const n=this,s=te({animate:n.params.animate,browserHistory:!0,history:!0,parentPageEl:null,preload:!1,on:{}},e);let a,i;s.route&&(!s.preload&&s.route!==n.currentRoute&&(i=n.previousRoute,n.currentRoute=s.route),s.preload?(a=s.route,i=n.currentRoute):(a=n.currentRoute,i||(i=n.previousRoute)),n.params.browserHistory&&s.browserHistory&&!s.reloadPrevious&<[n.params.browserHistoryTabs](n.view.id,{url:s.route.url},(n.params.browserHistoryRoot||"")+n.params.browserHistorySeparator+s.route.url),s.history&&(n.history[Math.max(n.history.length-1,0)]=s.route.url,n.saveHistory()));const o=P(s.parentPageEl||n.currentPageEl);let r;o.length&&o.find(`#${t.id}`).length?r=o.find(`#${t.id}`).eq(0):n.view.selector?r=`${n.view.selector} #${t.id}`:r=`#${t.id}`;const l=n.app.tab.show({tabEl:r,animate:s.animate,tabRoute:s.route}),{$newTabEl:f,$oldTabEl:c,animated:u,onTabsChanged:d}=l;if(f&&f.parents(".page").length>0&&s.route){const v=f.parents(".page")[0].f7Page;v&&s.route&&(v.route=s.route)}function m(v){n.removeThemeElements(f);let _=f;typeof v!="string"&&(_=P(v)),_.trigger("tab:init tab:mounted",t),n.emit("tabInit tabMounted",f[0],t),c&&c.length&&(u?d(()=>{n.emit("routeChanged",n.currentRoute,n.previousRoute,n),n.params.unloadTabContent&&n.tabRemove(c,f,t)}):(n.emit("routeChanged",n.currentRoute,n.previousRoute,n),n.params.unloadTabContent&&n.tabRemove(c,f,t)))}if(f[0].f7RouterTabLoaded)return!c||!c.length||(u?d(()=>{n.emit("routeChanged",n.currentRoute,n.previousRoute,n)}):n.emit("routeChanged",n.currentRoute,n.previousRoute,n)),n;function h(v,_){const{url:k,content:E,el:S,component:I,componentUrl:T}=v;function A(w){n.allowPageChange=!0,w&&(typeof w=="string"?f.html(w):(f.html(""),w.f7Component?w.f7Component.mount(D=>{f.append(D)}):f.append(w)),f[0].f7RouterTabLoaded=!0,m(w))}function y(){return n.allowPageChange=!0,n}if(E)A(E);else if(S)A(S);else if(I||T)try{n.tabComponentLoader({tabEl:f[0],component:I,componentUrl:T,options:_,resolve:A,reject:y})}catch(w){throw n.allowPageChange=!0,w}else k&&(n.xhrAbortController&&(n.xhrAbortController.abort(),n.xhrAbortController=!1),n.xhrRequest(k,_).then(w=>{A(w)}).catch(()=>{n.allowPageChange=!0}))}let p;"url content component el componentUrl".split(" ").forEach(v=>{t[v]&&(p=!0,h({[v]:t[v]},s))});function b(v,_){h(v,te(s,_))}function g(){n.allowPageChange=!0}return t.async?t.async.call(n,{router:n,to:a,from:i,resolve:b,reject:g,app:n.app}):t.asyncComponent?Hs(n,t.asyncComponent,b,g):p||(n.allowPageChange=!0),n}function P2(t,e,n){const s=this;let a;t[0]&&(t[0].f7RouterTabLoaded=!1,delete t[0].f7RouterTabLoaded),t.children().each(i=>{i.f7Component&&(a=!0,P(i).trigger("tab:beforeremove",n),i.f7Component.destroy())}),a||t.trigger("tab:beforeremove",n),s.emit("tabBeforeRemove",t[0],e[0],n),s.removeTabContent(t[0],n)}function I2(t,e,n,s){n===void 0&&(n={});const a=this,i=a.app,o=t==="panel",r=o?"panel":"modal",l=te({animate:a.params.animate,browserHistory:!0,history:!0,on:{},once:{}},n),f=te({},e.route[t]),c=e.route,u=(g,v)=>{const{on:_,once:k}=l;let E;v==="open"&&(E=_.modalOpen||k.modalOpen||_.panelOpen||k.panelOpen),v==="close"&&(E=_.modalClose||k.modalClose||_.panelClose||k.panelClose),v==="closed"&&(E=_.modalClosed||k.modalClosed||_.panelClosed||k.panelClosed),E&&E(g)};function d(){const g=i[t].create(f);c.modalInstance=g;const v=g.el;function _(){g.close()}g.on(`${r}Open`,()=>{v||(a.removeThemeElements(g.el),g.$el.trigger(`${t.toLowerCase()}:init ${t.toLowerCase()}:mounted`,e,g),a.emit(`${o?"":"modalInit"} ${t}Init ${t}Mounted`,g.el,e,g)),a.once("swipeBackMove",_),u(g,"open")}),g.on(`${r}Close`,()=>{a.off("swipeBackMove",_),g.closeByRouter||a.back(),u(g,"close")}),g.on(`${r}Closed`,()=>{g.$el.trigger(`${t.toLowerCase()}:beforeremove`,e,g),g.emit(`${o?"":"modalBeforeRemove "}${t}BeforeRemove`,g.el,e,g);const k=g.el.f7Component;u(g,"closed"),k&&k.destroy(),_t(()=>{(k||f.component||f.asyncComponent||f.async)&&a.removeModal(g.el),g.destroy(),delete g.route,delete c.modalInstance})}),l.route&&(a.params.browserHistory&&l.browserHistory&<.push(a.view.id,{url:l.route.url,modal:t},(a.params.browserHistoryRoot||"")+a.params.browserHistorySeparator+l.route.url),l.route!==a.currentRoute&&(g.route=te(l.route,{modal:g}),a.currentRoute=g.route),l.history&&!l.reloadCurrent&&(a.history.push(l.route.url),a.saveHistory())),v&&(a.removeThemeElements(g.el),g.$el.trigger(`${t.toLowerCase()}:init ${t.toLowerCase()}:mounted`,e,g),a.emit(`${r}Init ${t}Init ${t}Mounted`,g.el,e,g)),g.open(l.animate===!1||l.animate===!0?l.animate:void 0)}function m(g,v){const{url:_,content:k,component:E,componentUrl:S}=g;function I(A){A&&(typeof A=="string"?f.content=A:A.f7Component?A.f7Component.mount(y=>{f.el=y,i.$el.append(y)}):f.el=A,d())}function T(){return a.allowPageChange=!0,a}if(k)I(k);else if(E||S)try{a.modalComponentLoader({rootEl:i.el,component:E,componentUrl:S,options:v,resolve:I,reject:T})}catch(A){throw a.allowPageChange=!0,A}else _?(a.xhrAbortController&&(a.xhrAbortController.abort(),a.xhrAbortController=!1),a.xhrRequest(_,v).then(A=>{f.content=A,d()}).catch(()=>{a.allowPageChange=!0})):d()}let h;"url content component el componentUrl template".split(" ").forEach(g=>{f[g]&&!h&&(h=!0,m({[g]:f[g]},l))}),!h&&t==="actions"&&d();function p(g,v){m(g,te(l,v))}function b(){a.allowPageChange=!0}return f.async&&f.async.call(a,{router:a,to:l.route,from:a.currentRoute,resolve:p,reject:b,direction:s,app:i}),f.asyncComponent&&Hs(a,f.asyncComponent,p,b),a}function A2(t){te(t,{closeByRouter:!0}),t.close()}function jn(t,e,n){const s=Ke(),a=Le(),i=P(e),o=t.app,r=t.view,l=te(!1,{animate:t.params.animate,browserHistory:!0,replaceState:!1},n),f=t.params.masterDetailBreakpoint>0,c=f&&l.route&&l.route.route&&(l.route.route.master===!0||typeof l.route.route.master=="function"&&l.route.route.master(o,t));let u,d;const m=t.dynamicNavbar,h=i,p=t.$el.children(".page-current"),b=p.length===0&&l.preload,g=f&&p.hasClass("page-master");h.length&&t.removeThemeElements(h);let v,_,k;if(m&&(_=h.children(".navbar"),v=t.$navbarsEl,_.length===0&&h[0]&&h[0].f7Page&&(_=h[0].f7Page.$navbarEl),k=v.find(".navbar-current")),t.allowPageChange=!1,h.length===0||p.length===0&&!l.preload)return t.allowPageChange=!0,t;t.removeThemeElements(h),l.route&&l.route.route&&l.route.route.keepAlive&&!l.route.route.keepAliveData&&(l.route.route.keepAliveData={pageEl:i[0]});let E,S;if(f){const O=t.$el.children(".page").filter(L=>L!==h[0]);for(let L=0;Lt.history.indexOf(u.f7Page.route.url),!E&&!c&&u&&u.f7Page&&l.route.route.masterRoute&&(E=l.route.route.masterRoute.path===u.f7Page.route.route.path)}E&&u&&u.f7Page&&(S=t.history.indexOf(l.route.url)-t.history.indexOf(u.f7Page.route.url)===1),h.addClass(`page-${b?"current":"previous"}${c?" page-master":""}${E?" page-master-detail":""}${S?" page-master-detail-root":""}`).removeAttr("aria-hidden").trigger("page:unstack").trigger("page:position",{position:b?"current":"previous"}),t.emit("pageUnstack",h[0]),t.emit("pagePosition",h[0],b?"current":"previous"),(c||E)&&(h.trigger("page:role",{role:c?"master":"detail",root:!!S}),t.emit("pageRole",h[0],{role:c?"master":"detail",detailRoot:!!S})),m&&_.length>0&&(_.addClass(`navbar-${b?"current":"previous"}${c?" navbar-master":""}${E?" navbar-master-detail":""}${S?" navbar-master-detail-root":""}`).removeAttr("aria-hidden"),_.trigger("navbar:position",{position:b?"current":"previous"}),t.emit("navbarPosition",_[0],b?"current":"previous"),(c||S)&&t.emit("navbarRole",_[0],{role:c?"master":"detail",detailRoot:!!S}));let I;if(l.force&&p.prev(".page-previous").length>=0){t.history.indexOf(l.route.url)>=0?(I=t.history.length-t.history.indexOf(l.route.url)-1,t.history=t.history.slice(0,t.history.indexOf(l.route.url)+2),t.propsHistory=t.propsHistory.slice(0,t.history.indexOf(l.route.url)+2),r.history=t.history):t.history[[t.history.length-2]]?t.propsHistory[t.propsHistory.length-2]=l.props||{}:(t.history.unshift(t.url),t.propsHistory.unshift(l.props||{}));const O=p.prev(".page-previous");let L;m&&(L=P(o.navbar.getElByPage(O))),O.length>0&&(t.pageCallback("beforeRemove",O,L,"previous",void 0,l),O[0]===u&&(d=!0),t.removePage(O),m&&L.length&&t.removeNavbar(L))}const T=h.parents(a).length>0,A=h[0].f7Component;function y(){b&&(!T&&A?A.mount(O=>{t.$el.append(O)}):t.$el.append(h)),h.next(p).length===0&&(!T&&A?A.mount(O=>{P(O).insertBefore(p)}):h.insertBefore(p)),m&&_.length&&(_.find(".title-large").length&&_.addClass("navbar-large"),_.insertBefore(k),k.length>0?_.insertBefore(k):(t.$navbarsEl.parents(a).length||t.$el.prepend(t.$navbarsEl),v.append(_))),T?l.route&&l.route.route&&l.route.route.keepAlive&&!h[0].f7PageMounted&&(h[0].f7PageMounted=!0,t.pageCallback("mounted",h,_,"previous","current",l,p)):t.pageCallback("mounted",h,_,"previous","current",l,p)}if(l.preload){y(),l.route.route.tab&&t.tabLoad(l.route.route.tab,te({},l,{history:!1,browserHistory:!1,preload:!0})),c&&(h.removeClass("page-master-stacked").trigger("page:masterunstack"),t.emit("pageMasterUnstack",h[0]),m&&(P(o.navbar.getElByPage(h)).removeClass("navbar-master-stacked"),t.emit("navbarMasterUnstack",o.navbar.getElByPage(h)))),t.pageCallback("init",h,_,"previous","current",l,p),b&&(t.pageCallback("beforeIn",h,_,"current",void 0,l),t.pageCallback("afterIn",h,_,"current",void 0,l));const O=h.prevAll(".page-previous:not(.page-master)");return O.length>0&&O.each(L=>{const j=P(L);let W;m&&(W=P(o.navbar.getElByPage(j))),t.pageCallback("beforeRemove",j,W,"previous",void 0),t.removePage(j),m&&W.length&&t.removeNavbar(W)}),t.allowPageChange=!0,t}if(!(s.ie||s.edge||s.firefox&&!s.ios)&&t.params.browserHistory&&l.browserHistory)if(l.replaceState){const O=t.params.browserHistoryRoot||"";lt.replace(r.id,{url:l.route.url},O+t.params.browserHistorySeparator+l.route.url)}else I?lt.go(-I):lt.back();if(l.replaceState?(t.history[t.history.length-1]=l.route.url,t.propsHistory[t.propsHistory.length-1]=l.props||{}):(t.history.length===1&&(t.history.unshift(t.url),t.propsHistory.unshift(l.props||{})),t.history.pop(),t.propsHistory.pop()),t.saveHistory(),t.currentPageEl=h[0],m&&_.length?t.currentNavbarEl=_[0]:delete t.currentNavbarEl,t.currentRoute=l.route,(s.ie||s.edge||s.firefox&&!s.ios)&&t.params.browserHistory&&l.browserHistory)if(l.replaceState){const O=t.params.browserHistoryRoot||"";lt.replace(r.id,{url:l.route.url},O+t.params.browserHistorySeparator+l.route.url)}else I?lt.go(-I):lt.back();y(),l.route.route.tab&&t.tabLoad(l.route.route.tab,te({},l,{history:!1,browserHistory:!1})),f&&(g||d)&&r.checkMasterDetailBreakpoint(!1),t.pageCallback("init",h,_,"previous","current",l,p),t.pageCallback("beforeOut",p,k,"current","next",l),t.pageCallback("beforeIn",h,_,"previous","current",l);function w(){t.setPagePosition(h,"current",!1),t.setPagePosition(p,"next",!0),m&&(t.setNavbarPosition(_,"current",!1),t.setNavbarPosition(k,"next",!0)),t.pageCallback("afterOut",p,k,"current","next",l),t.pageCallback("afterIn",h,_,"previous","current",l),t.pageCallback("beforeRemove",p,k,"next",void 0,l),t.removePage(p),m&&k.length&&t.removeNavbar(k),t.allowPageChange=!0,t.emit("routeChanged",t.currentRoute,t.previousRoute,t),(t.params.preloadPreviousPage||t.params[`${o.theme}SwipeBack`])&&t.history[t.history.length-2]&&!c&&t.back(t.history[t.history.length-2],{preload:!0,props:t.propsHistory[t.propsHistory.length-2]||{}}),t.params.browserHistory&<.clearRouterQueue()}function D(){t.setPagePosition(p,"current"),t.setPagePosition(h,"previous",!1),m&&(t.setNavbarPosition(k,"current"),t.setNavbarPosition(_,"previous",!1))}if(l.animate&&!(g&&o.width>=t.params.masterDetailBreakpoint)){let O=t.params.transition;p[0]&&p[0].f7PageTransition&&(O=p[0].f7PageTransition,delete p[0].f7PageTransition),l.transition&&(O=l.transition),!O&&t.previousRoute&&t.previousRoute.route&&(O=t.previousRoute.route.transition),!O&&t.previousRoute&&t.previousRoute.route&&t.previousRoute.route.options&&(O=t.previousRoute.route.options.transition),D(),t.animate(p,h,k,_,"backward",O,()=>{w()})}else w();return t}function ds(t,e,n,s){if(!t.allowPageChange&&!s)return t;const a=e,i=n,{url:o,content:r,el:l,pageName:f,component:c,componentUrl:u}=a;if(i.route.url&&t.url===i.route.url&&!(i.reloadCurrent||i.reloadPrevious)&&!t.params.allowDuplicateUrls)return t.allowPageChange=!0,!1;!i.route&&o&&(i.route=t.parseRouteUrl(o));function d(h,p){return jn(t,h,te(i,p))}function m(){return t.allowPageChange=!0,t}if((o||u||c)&&(t.allowPageChange=!1),r)jn(t,t.getPageEl(r),i);else if(l)jn(t,t.getPageEl(l),i);else if(f)jn(t,t.$el.children(`.page[data-name="${f}"]`).eq(0),i);else if(c||u)try{t.pageComponentLoader({routerEl:t.el,component:c,componentUrl:u,options:i,resolve:d,reject:m})}catch(h){throw t.allowPageChange=!0,h}else o&&(t.xhrAbortController&&(t.xhrAbortController.abort(),t.xhrAbortController=!1),t.xhrRequest(o,i).then(h=>{jn(t,t.getPageEl(h),i)}).catch(()=>{t.allowPageChange=!0}));return t}function O2(){const t=this,e=Ke();if(t.swipeBackActive)return t;let n,s,a,i;typeof(arguments.length<=0?void 0:arguments[0])=="object"?s=(arguments.length<=0?void 0:arguments[0])||{}:(n=arguments.length<=0?void 0:arguments[0],s=(arguments.length<=1?void 0:arguments[1])||{});const{name:o,params:r,query:l}=s;if(o)return n=t.generateUrl({name:o,params:r,query:l}),n?t.back(n,te({},s,{name:null,params:null,query:null})):t;const f=t.app;Vn(t,"back");let c=t.currentRoute.modal,u;if(c||"popup popover sheet loginScreen actions customModal panel".split(" ").forEach(g=>{t.currentRoute.route[g]&&(c=!0,u=g)}),c&&!s.preload){const g=t.currentRoute.modal||t.currentRoute.route.modalInstance||f[u].get(),v=t.history[t.history.length-2];let _;if(g&&g.$el){const E=g.$el.prevAll(".modal-in");if(E.length&&E[0].f7Modal){const S=E[0];t.$el.parents(S).length||(_=S.f7Modal.route)}}if(_||(_=t.findMatchingRoute(v)),!_&&v&&(_={url:v,path:v.split("?")[0],query:ns(v),route:{path:v.split("?")[0],url:v}}),(!n||n.replace(/[# ]/g,"").trim().length===0)&&(!_||!g))return t;const k=s.force&&_&&n;if(_&&g){const E=e.ie||e.edge||e.firefox&&!e.ios,S=t.params.browserHistory&&s.browserHistory!==!1,I=t.currentRoute&&t.currentRoute.route&&t.currentRoute.route.options&&t.currentRoute.route.options.browserHistory===!1;S&&!E&&!I&<.back(),t.currentRoute=_,t.history.pop(),t.propsHistory.pop(),t.saveHistory(),S&&E&&!I&<.back(),t.modalRemove(g),k&&t.navigate(n,{reloadCurrent:!0})}else g&&(t.modalRemove(g),n&&t.navigate(n,{reloadCurrent:!0}));return t}let d=t.$el.children(".page-current").prevAll(".page-previous:not(.page-master)").eq(0),m;if(t.params.masterDetailBreakpoint>0){const g=[];t.$el.children(".page").each(_=>{g.push(_.className)});const v=t.$el.children(".page-current").prevAll(".page-master").eq(0);if(v.length){const _=t.history[t.history.length-2],k=t.findMatchingRoute(_);k&&v[0].f7Page&&k.route===v[0].f7Page.route.route&&(d=v,s.preload||(m=f.width>=t.params.masterDetailBreakpoint))}}if(!s.force&&d.length&&!m){if(t.params.browserHistory&&d[0].f7Page&&t.history[t.history.length-2]!==d[0].f7Page.route.url)return t.back(t.history[t.history.length-2],te(s,{force:!0,props:t.propsHistory[t.propsHistory.length-2]||{}})),t;const g=d[0].f7Page.route;return da.call(t,g,t.currentRoute,()=>{ds(t,{el:d},te(s,{route:g}))},()=>{},"backward"),t}if(n==="#"&&(n=void 0),n&&n[0]!=="/"&&n.indexOf("#")!==0&&(n=((t.path||"/")+n).replace("//","/")),!n&&t.history.length>1&&(n=t.history[t.history.length-2],a=t.propsHistory[t.propsHistory.length-2]||{}),m&&!s.force&&t.history[t.history.length-3])return t.back(t.history[t.history.length-3],te({},s||{},{force:!0,animate:!1,props:t.propsHistory[t.propsHistory.length-3]||{}}));if(m&&!s.force||(i=t.findMatchingRoute(n),i||n&&(i={url:n,path:n.split("?")[0],query:ns(n),route:{path:n.split("?")[0],url:n}}),!i))return t;if(i.route.redirect)return fp.call(t,"backward",i,s);const h={};i.route.options?te(h,i.route.options,s,{props:a||{}}):te(h,s,{props:a||{}}),h.route=i;function p(){let g=!1;if(i.route.keepAlive&&i.route.keepAliveData&&(ds(t,{el:i.route.keepAliveData.pageEl},h),g=!0),"url content component pageName el componentUrl".split(" ").forEach(k=>{i.route[k]&&!g&&(g=!0,ds(t,{[k]:i.route[k]},h))}),g)return;function v(k,E){t.allowPageChange=!1,ds(t,k,te(h,E),!0)}function _(){t.allowPageChange=!0}i.route.async&&(t.allowPageChange=!1,i.route.async.call(t,{router:t,to:i,from:t.currentRoute,resolve:v,reject:_,direction:"backward",app:f})),i.route.asyncComponent&&Hs(t,i.route.asyncComponent,v,_)}function b(){t.allowPageChange=!0}return h.preload?p():da.call(t,i,t.currentRoute,()=>{i.route.modules?f.loadModules(Array.isArray(i.route.modules)?i.route.modules:[i.route.modules]).then(()=>{p()}).catch(()=>{b()}):p()},()=>{b()},"backward"),t}function B2(t){Vn(t,"clearPreviousPages");const e=t.app,n=t.dynamicNavbar;t.$el.children(".page").filter(a=>t.currentRoute&&(t.currentRoute.modal||t.currentRoute.panel)?!0:a!==t.currentPageEl).each(a=>{const i=P(a),o=P(e.navbar.getElByPage(i));t.pageCallback("beforeRemove",i,o,"previous",void 0,{}),t.removePage(i),n&&o.length&&t.removeNavbar(o)})}function L2(){const t=this;Vn(t,"clearPreviousHistory");const e=t.history[t.history.length-1];B2(t),t.history=[e],t.view.history=[e],t.saveHistory()}class fn extends rt{constructor(e,n){super({},[typeof n>"u"?e:n]);const s=this;s.isAppRouter=typeof n>"u",s.isAppRouter?te(!1,s,{app:e,params:e.params.view,routes:e.routes||[],cache:e.cache}):te(!1,s,{app:e,view:n,viewId:n.id,id:n.params.routerId,params:n.params,routes:n.routes,history:n.history,propsHistory:[],scrollHistory:n.scrollHistory,cache:e.cache,dynamicNavbar:e.theme==="ios"&&n.params.iosDynamicNavbar,initialPages:[],initialNavbars:[]}),s.useModules(),s.allowPageChange=!0;let a={},i={};return Object.defineProperty(s,"currentRoute",{enumerable:!0,configurable:!0,set(o){o===void 0&&(o={}),i=te({},a),a=o,a&&(s.url=a.url,s.emit("routeChange",o,i,s))},get(){return a}}),Object.defineProperty(s,"previousRoute",{enumerable:!0,configurable:!0,get(){return i},set(o){i=o}}),s}mount(){const e=this,n=e.view,s=Le();te(!1,e,{tempDom:s.createElement("div"),$el:n.$el,el:n.el,$navbarsEl:n.$navbarsEl,navbarsEl:n.navbarsEl}),e.emit("local::mount routerMount",e)}animatableNavElements(e,n,s,a,i){const o=this,r=o.dynamicNavbar,l=o.params.iosAnimateNavbarBackIcon;let f,c;function u(d,m){const h=d.hasClass("sliding")||m.hasClass("sliding"),p=d.hasClass("subnavbar"),b=h?!p:!0,g=d.find(".back .icon");let v;return h&&l&&d.hasClass("left")&&g.length>0&&g.next("span").length&&(d=g.next("span"),v=!0),{$el:d,isIconLabel:v,leftOffset:d[0].f7NavbarLeftOffset,rightOffset:d[0].f7NavbarRightOffset,isSliding:h,isSubnavbar:p,needsOpacityTransition:b}}return r&&(f=[],c=[],e.children(".navbar-inner").children(".left, .right, .title, .subnavbar").each(d=>{const m=P(d);m.hasClass("left")&&a&&i==="forward"||m.hasClass("title")&&s||f.push(u(m,e.children(".navbar-inner")))}),n.hasClass("navbar-master")&&o.params.masterDetailBreakpoint>0&&o.app.width>=o.params.masterDetailBreakpoint||n.children(".navbar-inner").children(".left, .right, .title, .subnavbar").each(d=>{const m=P(d);m.hasClass("left")&&s&&!a&&i==="forward"||m.hasClass("left")&&s&&i==="backward"||m.hasClass("title")&&a||c.push(u(m,n.children(".navbar-inner")))}),[c,f].forEach(d=>{d.forEach(m=>{const h=m,{isSliding:p,$el:b}=m,g=d===c?f:c;p&&b.hasClass("title")&&g&&g.forEach(v=>{if(v.isIconLabel){const _=v.$el[0];h.leftOffset+=_&&_.offsetLeft||0}})})})),{newNavEls:f,oldNavEls:c}}animate(e,n,s,a,i,o,r){const l=this;if(l.params.animateCustom){l.params.animateCustom.apply(l,[e,n,s,a,i,r]);return}const f=l.dynamicNavbar,c=l.app.theme==="ios";if(o){const E=`router-transition-custom router-transition-${o}-${i}`,S=()=>{l.$el.removeClass(E),f&&l.$navbarsEl.length&&(a&&l.$navbarsEl.prepend(a),s&&l.$navbarsEl.prepend(s)),r&&r()};(i==="forward"?n:e).animationEnd(S),f&&(a&&n&&(l.setNavbarPosition(a,""),a.removeClass("navbar-next navbar-previous navbar-current"),n.prepend(a)),s&&e&&(l.setNavbarPosition(s,""),s.removeClass("navbar-next navbar-previous navbar-current"),e.prepend(s))),l.$el.addClass(E);return}const u=`router-transition-${i} router-transition`;let d,m,h,p,b,g,v;if(c&&f){l.params.masterDetailBreakpoint>0&&l.app.width>=l.params.masterDetailBreakpoint&&(s.hasClass("navbar-master")&&a.hasClass("navbar-master-detail")||s.hasClass("navbar-master-detail")&&a.hasClass("navbar-master"))||(g=s&&s.hasClass("navbar-large"),v=a&&a.hasClass("navbar-large"),h=g&&!s.hasClass("navbar-large-collapsed"),p=v&&!a.hasClass("navbar-large-collapsed"),b=h&&!p||p&&!h);const S=l.animatableNavElements(a,s,p,h,i);d=S.newNavEls,m=S.oldNavEls}function _(E){c&&f&&(E===1&&(p&&(a.addClass("router-navbar-transition-to-large"),s.addClass("router-navbar-transition-to-large")),h&&(a.addClass("router-navbar-transition-from-large"),s.addClass("router-navbar-transition-from-large"))),d.forEach(S=>{const I=S.$el,T=i==="forward"?S.rightOffset:S.leftOffset;S.isSliding&&(S.isSubnavbar&&v?I[0].style.setProperty("transform",`translate3d(${T*(1-E)}px, calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)), 0)`,"important"):I.transform(`translate3d(${T*(1-E)}px,0,0)`))}),m.forEach(S=>{const I=S.$el,T=i==="forward"?S.leftOffset:S.rightOffset;S.isSliding&&(S.isSubnavbar&&g?I.transform(`translate3d(${T*E}px, calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)), 0)`):I.transform(`translate3d(${T*E}px,0,0)`))}))}function k(){l.dynamicNavbar&&(a&&(a.removeClass("router-navbar-transition-to-large router-navbar-transition-from-large"),a.addClass("navbar-no-title-large-transition"),Bt(()=>{a.removeClass("navbar-no-title-large-transition")})),s&&s.removeClass("router-navbar-transition-to-large router-navbar-transition-from-large"),a.hasClass("sliding")||a.children(".navbar-inner.sliding").length?a.find(".title, .left, .right, .left .icon, .subnavbar").transform(""):a.find(".sliding").transform(""),s.hasClass("sliding")||s.children(".navbar-inner.sliding").length?s.find(".title, .left, .right, .left .icon, .subnavbar").transform(""):s.find(".sliding").transform("")),l.$el.removeClass(u),r&&r()}(i==="forward"?n:c?e:n).animationEnd(()=>{k()}),f?(_(0),Bt(()=>{l.$el.addClass(u),b&&(l.el._clientLeft=l.el.clientLeft),_(1)})):l.$el.addClass(u)}removeModal(e){this.removeEl(e)}removeTabContent(e){P(e).html("")}removeNavbar(e){this.removeEl(e)}removePage(e){const n=P(e),s=n&&n[0]&&n[0].f7Page,a=this;if(s&&s.route&&s.route.route&&s.route.route.keepAlive){n.remove();return}a.removeEl(e)}removeEl(e){if(!e)return;const n=this,s=P(e);s.length!==0&&(s.find(".tab").each(a=>{P(a).children().each(i=>{i.f7Component&&(P(i).trigger("tab:beforeremove"),i.f7Component.destroy())})}),s[0].f7Component&&s[0].f7Component.destroy&&s[0].f7Component.destroy(),n.params.removeElements&&(n.params.removeElementsWithTimeout?setTimeout(()=>{s.remove()},n.params.removeElementsTimeout):s.remove()))}getPageEl(e){const n=this;if(typeof e=="string")n.tempDom.innerHTML=e;else{if(P(e).hasClass("page"))return e;n.tempDom.innerHTML="",P(n.tempDom).append(e)}return n.findElement(".page",n.tempDom)}findElement(e,n){const s=this,a=s.view,i=s.app,o=".popup, .dialog, .popover, .actions-modal, .sheet-modal, .login-screen, .page",r=P(n),l=e;let f=r.find(l).filter(c=>P(c).parents(o).length===0);if(f.length>1&&(typeof a.selector=="string"&&(f=r.find(`${a.selector} ${l}`)),f.length>1&&(f=r.find(`.${i.params.viewMainClass} ${l}`))),f.length===1||(f=s.findElement(l,r),f&&f.length===1))return f;if(f&&f.length>1)return P(f[0])}flattenRoutes(e){e===void 0&&(e=this.routes);const n=this;let s=[];return e.forEach(a=>{let i=!1;if("tabs"in a&&a.tabs){const o=a.tabs.map(r=>{const l=te({},a,{path:`${a.path}/${r.path}`.replace("///","/").replace("//","/"),parentPath:a.path,tab:r});return delete l.tabs,delete l.routes,l});i=!0,s=s.concat(n.flattenRoutes(o))}if("detailRoutes"in a){const o=a.detailRoutes.map(r=>{const l=te({},r);return l.masterRoute=a,l.masterRoutePath=a.path,l});s=s.concat(a,n.flattenRoutes(o))}if("routes"in a){const o=a.routes.map(r=>{const l=te({},r);return l.path=`${a.path}/${l.path}`.replace("///","/").replace("//","/"),l});i?s=s.concat(n.flattenRoutes(o)):s=s.concat(a,n.flattenRoutes(o))}!("routes"in a)&&!("tabs"in a&&a.tabs)&&!("detailRoutes"in a)&&s.push(a)}),s}parseRouteUrl(e){if(!e)return{};const n=ns(e),s=e.split("#")[1],a={},i=e.split("#")[0].split("?")[0];return{query:n,hash:s,params:a,url:e,path:i}}generateUrl(e){if(e===void 0&&(e={}),typeof e=="string")return e;const{name:n,path:s,params:a,query:i}=e;if(!n&&!s)throw new Error('Framework7: "name" or "path" parameter is required');const o=this,r=n?o.findRouteByKey("name",n):o.findRouteByKey("path",s);if(!r)throw n?new Error(`Framework7: route with name "${n}" not found`):new Error(`Framework7: route with path "${s}" not found`);const l=o.constructRouteUrl(r,{params:a,query:i});if(l==="")return"/";if(!l)throw new Error(`Framework7: can't construct URL for route with name "${n}"`);return l}constructRouteUrl(e,n){let{params:s,query:a}=n===void 0?{}:n;const{path:i}=e,o=v2(i);let r;try{r=o(s||{})}catch(l){throw new Error(`Framework7: error constructing route URL from passed params: +Route: ${i} +${l.toString()}`)}return a&&(typeof a=="string"?r+=`?${a}`:Object.keys(a).length&&(r+=`?${wn(a)}`)),r}findTabRouteUrl(e){const n=this,s=P(e),a=n.currentRoute.route.parentPath,i=s.attr("id"),o=n.flattenRoutes(n.routes);let r;return o.forEach(l=>{l.parentPath===a&&l.tab&&l.tab.id===i&&(n.currentRoute.params&&Object.keys(n.currentRoute.params).length>0?r=n.constructRouteUrl(l,{params:n.currentRoute.params,query:n.currentRoute.query}):r=l.path)}),r}findRouteByKey(e,n){const s=this,a=s.routes,i=s.flattenRoutes(a);let o;return i.forEach(r=>{o||r[e]===n&&(o=r)}),o}findMatchingRoute(e){if(!e)return;const n=this,s=n.routes,a=n.flattenRoutes(s),{path:i,query:o,hash:r,params:l}=n.parseRouteUrl(e);let f;return a.forEach(c=>{if(f)return;const u=[],d=[c.path||"/"];c.alias&&(typeof c.alias=="string"?d.push(c.alias):Array.isArray(c.alias)&&c.alias.forEach(h=>{d.push(h)}));let m;if(d.forEach(h=>{m||(m=op(h,u).exec(i||"/"))}),m){u.forEach((p,b)=>{if(typeof p.name=="number")return;const g=m[b+1];typeof g>"u"||g===null?l[p.name]=g:l[p.name]=decodeURIComponent(g)});let h;c.parentPath&&(h=(i||"/").split("/").slice(0,c.parentPath.split("/").length-1).join("/")),f={query:o,hash:r,params:l,url:e,path:i||"/",parentPath:h,route:c,name:c.name}}}),f}replaceRequestUrlParams(e,n){e===void 0&&(e=""),n===void 0&&(n={});let s=e;return typeof s=="string"&&s.indexOf("{{")>=0&&n&&n.route&&n.route.params&&Object.keys(n.route.params).length&&Object.keys(n.route.params).forEach(a=>{const i=new RegExp(`{{${a}}}`,"g");s=s.replace(i,n.route.params[a]||"")}),s}removeFromXhrCache(e){const s=this.cache.xhr;let a=!1;for(let i=0;i=0;return a.passRouteQueryToRequest&&n&&n.route&&n.route.query&&Object.keys(n.route.query).length&&(o+=`${r?"&":"?"}${wn(n.route.query)}`,r=!0),a.passRouteParamsToRequest&&n&&n.route&&n.route.params&&Object.keys(n.route.params).length&&(o+=`${r?"&":"?"}${wn(n.route.params)}`,r=!0),o.indexOf("{{")>=0&&(o=s.replaceRequestUrlParams(o,n)),a.xhrCacheIgnoreGetParameters&&o.indexOf("?")>=0&&(o=o.split("?")[0]),new Promise((l,f)=>{if(a.xhrCache&&!i&&o.indexOf("nocache")<0&&a.xhrCacheIgnore.indexOf(o)<0)for(let u=0;u(c=u,u.text())).then(u=>{const{status:d}=c;s.emit("routerAjaxComplete",c),d!=="error"&&d!=="timeout"&&d>=200&&d<300||d===0?(a.xhrCache&&u!==""&&(s.removeFromXhrCache(o),s.cache.xhr.push({url:o,time:Ht(),content:u})),s.emit("routerAjaxSuccess",c,n),l(u)):(s.emit("routerAjaxError",c,n),f(c))}).catch(u=>{f(u)})})}setNavbarPosition(e,n,s){const a=this;e.removeClass("navbar-previous navbar-current navbar-next"),n&&e.addClass(`navbar-${n}`),s===!1?e.removeAttr("aria-hidden"):s===!0&&e.attr("aria-hidden","true"),e.trigger("navbar:position",{position:n}),a.emit("navbarPosition",e[0],n)}setPagePosition(e,n,s){const a=this;e.removeClass("page-previous page-current page-next"),e.addClass(`page-${n}`),s===!1?e.removeAttr("aria-hidden"):s===!0&&e.attr("aria-hidden","true"),e.trigger("page:position",{position:n}),a.emit("pagePosition",e[0],n)}removeThemeElements(e){const s=this.app.theme;let a;s==="ios"?a=".md-only, .if-md, .if-not-ios, .not-ios":s==="md"&&(a=".ios-only, .if-ios, .if-not-md, .not-md"),P(e).find(a).remove()}getPageData(e,n,s,a,i,o){i===void 0&&(i={});const r=this,l=P(e).eq(0),f=P(n).eq(0),c=l[0].f7Page||{};let u,d;if((s==="next"&&a==="current"||s==="current"&&a==="previous")&&(u="forward"),(s==="current"&&a==="next"||s==="previous"&&a==="current")&&(u="backward"),c&&!c.fromPage){const h=P(o);h.length&&(d=h[0].f7Page)}d=c.pageFrom||d,d&&d.pageFrom&&(d.pageFrom=null);const m={app:r.app,view:r.view,router:r,$el:l,el:l[0],$pageEl:l,pageEl:l[0],$navbarEl:f,navbarEl:f[0],name:l.attr("data-name"),position:s,from:s,to:a,direction:u,route:c.route?c.route:i,pageFrom:d};return l[0].f7Page=m,m}pageCallback(e,n,s,a,i,o,r){if(o===void 0&&(o={}),!n)return;const l=this,f=P(n);if(!f.length)return;const c=P(s),{route:u}=o,d=l.params.restoreScrollTopOnBack&&!(l.params.masterDetailBreakpoint>0&&f.hasClass("page-master")&&l.app.width>=l.params.masterDetailBreakpoint),m=f[0].f7Page&&f[0].f7Page.route&&f[0].f7Page.route.route&&f[0].f7Page.route.route.keepAlive;e==="beforeRemove"&&m&&(e="beforeUnmount");const h=`page${e[0].toUpperCase()+e.slice(1,e.length)}`,p=`page:${e.toLowerCase()}`;let b={};e==="beforeRemove"&&f[0].f7Page?b=te(f[0].f7Page,{from:a,to:i,position:a}):b=l.getPageData(f[0],c[0],a,i,u,r),b.swipeBack=!!o.swipeBack;const{on:g={},once:v={}}=o.route?o.route.route:{};o.on&&te(g,o.on),o.once&&te(v,o.once);function _(){f[0].f7RouteEventsAttached||(f[0].f7RouteEventsAttached=!0,g&&Object.keys(g).length>0&&(f[0].f7RouteEventsOn=g,Object.keys(g).forEach(E=>{g[E]=g[E].bind(l),f.on(Gn(E),g[E])})),v&&Object.keys(v).length>0&&(f[0].f7RouteEventsOnce=v,Object.keys(v).forEach(E=>{v[E]=v[E].bind(l),f.once(Gn(E),v[E])})))}function k(){f[0].f7RouteEventsAttached&&(f[0].f7RouteEventsOn&&Object.keys(f[0].f7RouteEventsOn).forEach(E=>{f.off(Gn(E),f[0].f7RouteEventsOn[E])}),f[0].f7RouteEventsOnce&&Object.keys(f[0].f7RouteEventsOnce).forEach(E=>{f.off(Gn(E),f[0].f7RouteEventsOnce[E])}),f[0].f7RouteEventsAttached=null,f[0].f7RouteEventsOn=null,f[0].f7RouteEventsOnce=null,delete f[0].f7RouteEventsAttached,delete f[0].f7RouteEventsOn,delete f[0].f7RouteEventsOnce)}if(e==="mounted"&&_(),e==="init"){if(d&&(a==="previous"||!a)&&i==="current"&&l.scrollHistory[b.route.url]&&!f.hasClass("no-restore-scroll")){let E=f.find(".page-content");E.length>0&&(E=E.filter(S=>P(S).parents(".tab:not(.tab-active)").length===0&&!P(S).is(".tab:not(.tab-active)"))),E.scrollTop(l.scrollHistory[b.route.url])}if(_(),f[0].f7PageInitialized){f.trigger("page:reinit",b),l.emit("pageReinit",b);return}f[0].f7PageInitialized=!0}if(d&&e==="beforeOut"&&a==="current"&&i==="previous"){let E=f.find(".page-content");E.length>0&&(E=E.filter(S=>P(S).parents(".tab:not(.tab-active)").length===0&&!P(S).is(".tab:not(.tab-active)"))),l.scrollHistory[b.route.url]=E.scrollTop()}d&&e==="beforeOut"&&a==="current"&&i==="next"&&delete l.scrollHistory[b.route.url],f.trigger(p,b),l.emit(h,b),(e==="beforeRemove"||e==="beforeUnmount")&&(k(),m||(f[0].f7Page&&f[0].f7Page.navbarEl&&delete f[0].f7Page.navbarEl.f7Page,f[0].f7Page=null))}saveHistory(){const e=this,n=Se();e.view.history=e.history,e.params.browserHistory&&e.params.browserHistoryStoreHistory&&n.localStorage&&(n.localStorage[`f7router-${e.view.id}-history`]=JSON.stringify(e.history))}restoreHistory(){const e=this,n=Se();e.params.browserHistory&&e.params.browserHistoryStoreHistory&&n.localStorage&&n.localStorage[`f7router-${e.view.id}-history`]&&(e.history=JSON.parse(n.localStorage[`f7router-${e.view.id}-history`]),e.view.history=e.history)}clearHistory(){const e=this;e.history=[],e.view&&(e.view.history=[]),e.saveHistory()}updateCurrentUrl(e){const n=this;Vn(n,"updateCurrentUrl"),n.history.length?n.history[n.history.length-1]=e:n.history.push(e);const{query:s,hash:a,params:i,url:o,path:r}=n.parseRouteUrl(e);if(n.currentRoute&&te(n.currentRoute,{query:s,hash:a,params:i,url:o,path:r}),n.params.browserHistory){const l=n.params.browserHistoryRoot||"";lt.replace(n.view.id,{url:e},l+n.params.browserHistorySeparator+e)}n.saveHistory(),n.emit("routeUrlUpdate",n.currentRoute,n)}getInitialUrl(){const e=this;if(e.initialUrl)return{initialUrl:e.initialUrl,historyRestored:e.historyRestored};const{app:n,view:s}=e,a=Le(),i=Se(),o=n.params.url&&typeof n.params.url=="string"&&typeof URL<"u"?new URL(n.params.url):a.location;let r=e.params.url,l=o.href.split(o.origin)[1],f;const{browserHistory:c,browserHistoryOnLoad:u,browserHistorySeparator:d}=e.params;let{browserHistoryRoot:m}=e.params;return(i.cordova||i.Capacitor&&i.Capacitor.isNative)&&c&&!d&&!m&&o.pathname.indexOf("index.html")&&(m=o.pathname.split("index.html")[0]),!c||!u?(r||(r=l),o.search&&r.indexOf("?")<0&&(r+=o.search),o.hash&&r.indexOf("#")<0&&(r+=o.hash)):(m&&l.indexOf(m)>=0&&(l=l.substring(l.indexOf(m)+m.length),l===""&&(l="/")),d.length>0&&l.indexOf(d)>=0?r=l.substring(l.indexOf(d)+d.length):r=l,e.restoreHistory(),e.history.indexOf(r)>=0?e.history=e.history.slice(0,e.history.indexOf(r)+1):e.params.url===r?e.history=[r]:lt.state&<.state[s.id]&<.state[s.id].url===e.history[e.history.length-1]?r=e.history[e.history.length-1]:e.history=[l.split(d)[0]||"/",r],e.history.length>1?f=!0:e.history=[],e.saveHistory()),e.initialUrl=r,e.historyRestored=f,{initialUrl:r,historyRestored:f}}init(){const e=this,{app:n,view:s}=e,a=Le();e.mount();const{initialUrl:i,historyRestored:o}=e.getInitialUrl();(s&&e.params.iosSwipeBack&&n.theme==="ios"||s&&e.params.mdSwipeBack&&n.theme==="md")&&w2(e);const{browserHistory:r,browserHistoryOnLoad:l,browserHistoryAnimateOnLoad:f,browserHistoryInitialMatch:c}=e.params;let u;if(e.history.length>1){const d=c?i:e.history[0];u=e.findMatchingRoute(d),u||(u=te(e.parseRouteUrl(d),{route:{url:d,path:d.split("?")[0]}}))}else u=e.findMatchingRoute(i),u||(u=te(e.parseRouteUrl(i),{route:{url:i,path:i.split("?")[0]}}));if(e.$el.children(".page").length===0&&i&&e.params.loadInitialPage)e.navigate(i,{initial:!0,reloadCurrent:!0,browserHistory:!1,animate:!1,once:{modalOpen(){if(!o)return;(e.params.preloadPreviousPage||e.params[`${n.theme}SwipeBack`])&&e.history.length>1&&e.back({preload:!0})},pageAfterIn(){if(!o)return;(e.params.preloadPreviousPage||e.params[`${n.theme}SwipeBack`])&&e.history.length>1&&e.back({preload:!0})}}});else if(e.$el.children(".page").length){let d;e.currentRoute=u,e.$el.children(".page").each(m=>{const h=P(m);let p;e.setPagePosition(h,"current"),e.dynamicNavbar&&(p=h.children(".navbar"),p.length>0?(e.$navbarsEl.parents(a).length||e.$el.prepend(e.$navbarsEl),e.setNavbarPosition(p,"current"),e.$navbarsEl.append(p),p.children(".title-large").length&&p.addClass("navbar-large"),h.children(".navbar").remove()):(e.$navbarsEl.addClass("navbar-hidden"),p.children(".title-large").length&&e.$navbarsEl.addClass("navbar-hidden navbar-large-hidden"))),e.currentRoute&&e.currentRoute.route&&(e.currentRoute.route.master===!0||typeof e.currentRoute.route.master=="function"&&e.currentRoute.route.master(n,e))&&e.params.masterDetailBreakpoint>0&&(h.addClass("page-master"),h.trigger("page:role",{role:"master"}),p&&p.length&&p.addClass("navbar-master"),s.checkMasterDetailBreakpoint());const b={route:e.currentRoute};e.currentRoute&&e.currentRoute.route&&e.currentRoute.route.options&&te(b,e.currentRoute.route.options),e.currentPageEl=h[0],e.dynamicNavbar&&p.length&&(e.currentNavbarEl=p[0]),e.removeThemeElements(h),e.dynamicNavbar&&p.length&&e.removeThemeElements(p),b.route.route.tab&&(d=!0,e.tabLoad(b.route.route.tab,te({},b))),e.pageCallback("init",h,p,"current",void 0,b),e.pageCallback("beforeIn",h,p,"current",void 0,b),e.pageCallback("afterIn",h,p,"current",void 0,b)}),o&&(c?(e.params.preloadPreviousPage||e.params[`${n.theme}SwipeBack`])&&e.history.length>1&&e.back({preload:!0}):e.navigate(i,{initial:!0,browserHistory:!1,history:!1,animate:f,once:{pageAfterIn(){(e.params.preloadPreviousPage||e.params[`${n.theme}SwipeBack`])&&e.history.length>2&&e.back({preload:!0})}}})),!o&&!d&&(e.history.push(i),e.saveHistory())}i&&r&&l&&(!lt.state||!lt.state[s.id])&<.initViewState(s.id,{url:i}),e.emit("local::init routerInit",e)}destroy(){let e=this;e.emit("local::destroy routerDestroy",e),Object.keys(e).forEach(n=>{e[n]=null,delete e[n]}),e=null}}fn.prototype.navigate=T2;fn.prototype.refreshPage=S2;fn.prototype.tabLoad=M2;fn.prototype.tabRemove=P2;fn.prototype.modalLoad=I2;fn.prototype.modalRemove=A2;fn.prototype.back=O2;fn.prototype.clearPreviousHistory=L2;const Gs=fn,cp={name:"router",static:{Router:Gs},instance:{cache:{xhr:[],templates:[],components:[]}},create(){const t=this;t.app?t.params.router&&(t.router=new Gs(t.app,t)):t.router=new Gs(t)}};function D2(t){const e=t.app,n=it();if(t.resizableInitialized)return;te(t,{resizable:!0,resizableWidth:null,resizableInitialized:!0});const s=P("html"),{$el:a}=t;if(!a)return;let i,o,r;const l={};let f,c,u,d;function m(k){if(!k)return null;if(k.indexOf("%")>=0||k.indexOf("vw")>=0)return parseInt(k,10)/100*e.width;const E=parseInt(k,10);return Number.isNaN(E)?null:E}function h(){return t.resizable&&a.hasClass("view-resizable")&&a.hasClass("view-master-detail")}function p(k){if(!h())return;l.x=k.type==="touchstart"?k.targetTouches[0].pageX:k.pageX,l.y=k.type==="touchstart"?k.targetTouches[0].pageY:k.pageY,r=!1,o=!0;const E=a.children(".page-master");u=m(E.css("min-width")),d=m(E.css("max-width"))}function b(k){if(!o)return;k.f7PreventSwipePanel=!0;const E=k.type==="touchmove"?k.targetTouches[0].pageX:k.pageX;r||(c=i[0].offsetLeft+i[0].offsetWidth,a.addClass("view-resizing"),s.css("cursor","col-resize")),r=!0,k.preventDefault(),f=E-l.x;let S=c+f;u&&!Number.isNaN(u)&&(S=Math.max(S,u)),d&&!Number.isNaN(d)&&(S=Math.min(S,d)),S=Math.min(Math.max(S,0),e.width),t.resizableWidth=S,s[0].style.setProperty("--f7-page-master-width",`${S}px`),a.trigger("view:resize",S),t.emit("local::resize viewResize",t,S)}function g(){if(P("html").css("cursor",""),!o||!r){o=!1,r=!1;return}o=!1,r=!1,s[0].style.setProperty("--f7-page-master-width",`${t.resizableWidth}px`),a.removeClass("view-resizing")}function v(){t.resizableWidth&&(u=m(i.css("min-width")),d=m(i.css("max-width")),u&&!Number.isNaN(u)&&t.resizableWidthd&&(t.resizableWidth=Math.min(t.resizableWidth,d)),t.resizableWidth=Math.min(Math.max(t.resizableWidth,0),e.width),s[0].style.setProperty("--f7-page-master-width",`${t.resizableWidth}px`))}i=t.$el.children(".view-resize-handler"),i.length||(t.$el.append('
    '),i=t.$el.children(".view-resize-handler")),t.$resizeHandlerEl=i,a.addClass("view-resizable");const _=n.passiveListener?{passive:!0}:!1;t.$el.on(e.touchEvents.start,".view-resize-handler",p,_),e.on("touchmove:active",b),e.on("touchend:passive",g),e.on("resize",v),t.on("beforeOpen",v),t.once("viewDestroy",()=>{a.removeClass("view-resizable"),t.$resizeHandlerEl.remove(),t.$el.off(e.touchEvents.start,".view-resize-handler",p,_),e.off("touchmove:active",b),e.off("touchend:passive",g),e.off("resize",v),t.off("beforeOpen",v)})}let up=class extends rt{constructor(e,n,s){s===void 0&&(s={}),super(s,[e]);const a=this,i=a.params.routerId,o={routes:[],routesAdd:[]};if(!i&&!P(n).length){let f="Framework7: can't create a View instance because ";throw f+=typeof n=="string"?`the selector "${n}" didn't match any element`:"el must be an HTMLElement or Dom7 object",new Error(f)}a.params=te({el:n},o,e.params.view,s),a.params.routes.length>0?a.routes=a.params.routes:a.routes=[].concat(e.routes,a.params.routesAdd),te(!1,a,{app:e,name:a.params.name,main:a.params.main,history:[],scrollHistory:{}}),a.useModules(),e.views.push(a),a.main&&(e.views.main=a),a.name&&(e.views[a.name]=a),a.index=e.views.indexOf(a);let r;return a.name?r=`view_${a.name}`:a.main?r="view_main":r=`view_${a.index}`,a.id=r,a.params.init&&(e.initialized?a.init():e.on("init",()=>{a.init()})),a}destroy(){let e=this;const n=e.app;e.$el.trigger("view:beforedestroy"),e.emit("local::beforeDestroy viewBeforeDestroy",e),n.off("resize",e.checkMasterDetailBreakpoint),e.main?(n.views.main=null,delete n.views.main):e.name&&(n.views[e.name]=null,delete n.views[e.name]),e.$el[0].f7View=null,delete e.$el[0].f7View,n.views.splice(n.views.indexOf(e),1),e.params.router&&e.router&&e.router.destroy(),e.emit("local::destroy viewDestroy",e),Object.keys(e).forEach(s=>{e[s]=null,delete e[s]}),e=null}checkMasterDetailBreakpoint(e){const n=this,s=n.app,a=n.$el.hasClass("view-master-detail"),i=s.width>=n.params.masterDetailBreakpoint&&n.$el.children(".page-master").length;typeof e>"u"&&i||e===!0?(n.$el.addClass("view-master-detail"),a||(n.emit("local::masterDetailBreakpoint viewMasterDetailBreakpoint",n),n.$el.trigger("view:masterDetailBreakpoint"))):(n.$el.removeClass("view-master-detail"),a&&(n.emit("local::masterDetailBreakpoint viewMasterDetailBreakpoint",n),n.$el.trigger("view:masterDetailBreakpoint")))}initMasterDetail(){const e=this,n=e.app;e.checkMasterDetailBreakpoint=e.checkMasterDetailBreakpoint.bind(e),e.checkMasterDetailBreakpoint(),e.params.masterDetailResizable&&D2(e),n.on("resize",e.checkMasterDetailBreakpoint)}mount(e){const n=this,s=n.app,a=n.params.el||e,i=P(a);let o;typeof a=="string"?o=a:o=(i.attr("id")?`#${i.attr("id")}`:"")+(i.attr("class")?`.${i.attr("class").replace(/ /g,".").replace(".active","")}`:"");let r;s.theme==="ios"&&n.params.iosDynamicNavbar&&(r=i.children(".navbars").eq(0),r.length===0&&(r=P(''))),te(n,{$el:i,el:i[0],main:n.main||i.hasClass("view-main"),$navbarsEl:r,navbarsEl:r?r[0]:void 0,selector:o}),n.main&&(s.views.main=n),i&&i[0]&&(i[0].f7View=n),n.emit("local::mount viewMount",n)}init(e){const n=this;n.mount(e),n.params.router&&(n.params.masterDetailBreakpoint>0&&n.initMasterDetail(),n.params.initRouterOnTabShow&&n.$el.hasClass("tab")&&!n.$el.hasClass("tab-active")?n.$el.once("tab:show",()=>{n.router.init()}):n.router.init(),n.$el.trigger("view:init"),n.emit("local::init viewInit",n))}};up.use(cp);const pa=up;function R2(t){function e(n){const s=Se(),a=P(n.target),i=a.closest("a"),o=i.length>0,r=o&&i.attr("href");if(o&&(i.is(t.params.clicks.externalLinks)||r&&r.indexOf("javascript:")>=0)){const c=i.attr("target");r&&s.cordova&&s.cordova.InAppBrowser&&(c==="_system"||c==="_blank")?(n.preventDefault(),s.cordova.InAppBrowser.open(r,c)):r&&s.Capacitor&&s.Capacitor.Plugins&&s.Capacitor.Plugins.Browser&&(c==="_system"||c==="_blank")&&(n.preventDefault(),s.Capacitor.Plugins.Browser.open({url:r}));return}Object.keys(t.modules).forEach(c=>{const u=t.modules[c].clicks;u&&(n.preventF7Router||Object.keys(u).forEach(d=>{const m=a.closest(d).eq(0);m.length>0&&u[d].call(t,m,m.dataset(),n)}))});let l={};if(o&&(n.preventDefault(),l=i.dataset()),l.clickedEl=i[0],n.preventF7Router||i.hasClass("prevent-router")||i.hasClass("router-prevent"))return;if(r&&r.length>0&&r[0]!=="#"||i.hasClass("back")){let c;if(l.view&&l.view==="current"?c=t.views.current:l.view?c=P(l.view)[0].f7View:(c=a.parents(".view")[0]&&a.parents(".view")[0].f7View,!i.hasClass("back")&&c&&c.params.linksView&&(typeof c.params.linksView=="string"?c=P(c.params.linksView)[0].f7View:c.params.linksView instanceof pa&&(c=c.params.linksView))),c||t.views.main&&(c=t.views.main),!c||!c.router)return;i[0].f7RouteProps&&(l.props=i[0].f7RouteProps),i.hasClass("back")?c.router.back(r,l):c.router.navigate(r,l)}}t.on("click",e)}const H2={name:"clicks",params:{clicks:{externalLinks:".external"}},on:{init(){R2(this)}}},z2={name:"history",static:{history:lt},on:{init(){lt.init(this)}}},pn={registrations:[],register(t,e){const n=this;return!("serviceWorker"in Se().navigator)||!n.serviceWorker.container?new Promise((a,i)=>{i(new Error("Service worker is not supported"))}):new Promise((a,i)=>{n.serviceWorker.container.register(t,e?{scope:e}:{}).then(o=>{pn.registrations.push(o),n.emit("serviceWorkerRegisterSuccess",o),a(o)}).catch(o=>{n.emit("serviceWorkerRegisterError",o),i(o)})})},unregister(t){const e=this;if(!("serviceWorker"in Se().navigator)||!e.serviceWorker.container)return new Promise((a,i)=>{i(new Error("Service worker is not supported"))});let s;return t?Array.isArray(t)?s=t:s=[t]:s=pn.registrations,Promise.all(s.map(a=>new Promise((i,o)=>{a.unregister().then(()=>{pn.registrations.indexOf(a)>=0&&pn.registrations.splice(pn.registrations.indexOf(a),1),e.emit("serviceWorkerUnregisterSuccess",a),i()}).catch(r=>{e.emit("serviceWorkerUnregisterError",a,r),o(r)})})))}},F2={name:"sw",params:{serviceWorker:{path:void 0,scope:void 0}},create(){const t=this,e=Se();te(t,{serviceWorker:{container:"serviceWorker"in e.navigator?e.navigator.serviceWorker:void 0,registrations:pn.registrations,register:pn.register.bind(t),unregister:pn.unregister.bind(t)}})},on:{init(){const t=Se();if(!("serviceWorker"in t.navigator))return;const e=this;if(e.device.cordova||t.Capacitor&&t.Capacitor.isNative||!e.serviceWorker.container)return;const n=e.params.serviceWorker.path,s=e.params.serviceWorker.scope;if(!n||Array.isArray(n)&&!n.length)return;(Array.isArray(n)?n:[n]).forEach(i=>{e.serviceWorker.register(i,s)})}}};function ed(t){t===void 0&&(t={});const e={__store:!0},n={...t.state||{}},s={...t.actions||{}},a={...t.getters||{}},i=te({},n);let o=[];const r={},l={};Object.keys(a).forEach(p=>{r[p]=[],l[p]=[]});const f=p=>a[p]({state:e.state}),c=(p,b)=>{r[p]||(r[p]=[]),b.forEach(g=>{r[p].indexOf(g)<0&&r[p].push(g)})},u=(p,b)=>{l[p]||(l[p]=[]),l[p].push(b)},d=p=>{Object.keys(r).filter(g=>r[g].indexOf(p)>=0).forEach(g=>{!l[g]||!l[g].length||l[g].forEach(v=>{v(f(g))})})},m=p=>{Object.keys(l).forEach(b=>{const g=l[b];g.indexOf(p)>=0&&g.splice(g.indexOf(p),1)})};e.__removeCallback=p=>{m(p)};const h=function(p,b){if(b===void 0&&(b=!0),p==="constructor")return;o=[];const g=f(p);c(p,o);const _={value:g,onUpdated:E=>{u(p,E)}};if(!b)return _;const k=E=>{_.value=E};return _.__callback=k,u(p,k),_};return e.state=new Proxy(i,{set:(p,b,g)=>(p[b]=g,d(b),!0),get:(p,b)=>(o.push(b),p[b])}),e.getters=new Proxy(a,{set:()=>!1,get:(p,b)=>{if(p[b])return h(b,!0)}}),e._gettersPlain=new Proxy(a,{set:()=>!1,get:(p,b)=>{if(p[b])return h(b,!1)}}),e.dispatch=(p,b)=>new Promise((g,v)=>{if(!s[p])throw v(),new Error(`Framework7: Store action "${p}" is not found`);const _=s[p]({state:e.state,dispatch:e.dispatch},b);g(_)}),e}const N2={name:"store",static:{createStore:ed},proto:{createStore:ed}},_n=()=>{const t=Se();return t.Capacitor&&t.Capacitor.isNative&&t.Capacitor.Plugins&&t.Capacitor.Plugins.StatusBar},Ft={hide(){const t=Se();Ke().cordova&&t.StatusBar&&t.StatusBar.hide(),_n()&&t.Capacitor.Plugins.StatusBar.hide()},show(){const t=Se();Ke().cordova&&t.StatusBar&&t.StatusBar.show(),_n()&&t.Capacitor.Plugins.StatusBar.show()},onClick(){const t=this;let e;P(".popup.modal-in").length>0?e=P(".popup.modal-in").find(".page:not(.page-previous):not(.page-next):not(.cached)").find(".page-content"):P(".panel.panel-in").length>0?e=P(".panel.panel-in").find(".page:not(.page-previous):not(.page-next):not(.cached)").find(".page-content"):P(".views > .view.tab-active").length>0?e=P(".views > .view.tab-active").find(".page:not(.page-previous):not(.page-next):not(.cached)").find(".page-content"):P(".views").length>0?e=P(".views").find(".page:not(.page-previous):not(.page-next):not(.cached)").find(".page-content"):e=t.$el.children(".view").find(".page:not(.page-previous):not(.page-next):not(.cached)").find(".page-content"),e&&e.length>0&&(e.hasClass("tab")&&(e=e.parent(".tabs").children(".page-content.tab-active")),e.length>0&&e.scrollTop(0,300))},setTextColor(t){const e=Se();Ke().cordova&&e.StatusBar&&(t==="white"?e.StatusBar.styleLightContent():e.StatusBar.styleDefault()),_n()&&(t==="white"?e.Capacitor.Plugins.StatusBar.setStyle({style:"DARK"}):e.Capacitor.Plugins.StatusBar.setStyle({style:"LIGHT"}))},setBackgroundColor(t){const e=Se();Ke().cordova&&e.StatusBar&&e.StatusBar.backgroundColorByHexString(t),_n()&&e.Capacitor.Plugins.StatusBar.setBackgroundColor({color:t})},isVisible(){const t=Se(),e=Ke();return new Promise(n=>{e.cordova&&t.StatusBar&&n(t.StatusBar.isVisible),_n()&&t.Capacitor.Plugins.StatusBar.getInfo().then(s=>{n(s.visible)}),n(!1)})},overlaysWebView(t){t===void 0&&(t=!0);const e=Se();Ke().cordova&&e.StatusBar&&e.StatusBar.overlaysWebView(t),_n()&&e.Capacitor.Plugins.StatusBar.setOverlaysWebView({overlay:t})},init(){const t=this,e=Se(),n=Ke(),s=t.params.statusbar;if(!s.enabled)return;const a=n.cordova&&e.StatusBar,i=_n();(a||i)&&(s.scrollTopOnClick&&P(e).on("statusTap",Ft.onClick.bind(t)),n.ios&&(s.iosOverlaysWebView?Ft.overlaysWebView(!0):Ft.overlaysWebView(!1),s.iosTextColor==="white"?Ft.setTextColor("white"):Ft.setTextColor("black")),n.android&&(s.androidOverlaysWebView?Ft.overlaysWebView(!0):Ft.overlaysWebView(!1),s.androidTextColor==="white"?Ft.setTextColor("white"):Ft.setTextColor("black"))),s.iosBackgroundColor&&n.ios&&Ft.setBackgroundColor(s.iosBackgroundColor),s.androidBackgroundColor&&n.android&&Ft.setBackgroundColor(s.androidBackgroundColor)}},V2={name:"statusbar",params:{statusbar:{enabled:!0,scrollTopOnClick:!0,iosOverlaysWebView:!0,iosTextColor:"black",iosBackgroundColor:null,androidOverlaysWebView:!1,androidTextColor:"black",androidBackgroundColor:null}},create(){It(this,{statusbar:Ft})},on:{init(){const t=this;Ft.init.call(t)}}};function Y2(t){const e=P(".popover.modal-in .view"),n=P(".popup.modal-in .view"),s=P(".panel.panel-in .view");let a=P(".views");a.length===0&&(a=t.$el);let i=a.children(".view");if(i.length===0&&(i=a.children(".tabs").children(".view")),i.length>1&&i.hasClass("tab")&&(i=a.children(".view.tab-active"),i.length===0&&(i=a.children(".tabs").children(".view.tab-active"))),e.length>0&&e[0].f7View)return e[0].f7View;if(n.length>0&&n[0].f7View)return n[0].f7View;if(s.length>0&&s[0].f7View)return s[0].f7View;if(i.length>0){if(i.length===1&&i[0].f7View)return i[0].f7View;if(i.length>1)return t.views.main}}const q2={name:"view",params:{view:{init:!0,initRouterOnTabShow:!1,name:void 0,main:!1,router:!0,linksView:null,xhrCache:!0,xhrCacheIgnore:[],xhrCacheIgnoreGetParameters:!1,xhrCacheDuration:1e3*60*10,componentCache:!0,preloadPreviousPage:!0,allowDuplicateUrls:!1,reloadPages:!1,reloadDetail:!1,masterDetailBreakpoint:0,masterDetailResizable:!1,removeElements:!0,removeElementsWithTimeout:!1,removeElementsTimeout:0,restoreScrollTopOnBack:!0,unloadTabContent:!0,passRouteQueryToRequest:!0,passRouteParamsToRequest:!1,loadInitialPage:!0,iosSwipeBack:!0,iosSwipeBackAnimateShadow:!0,iosSwipeBackAnimateOpacity:!0,iosSwipeBackActiveArea:30,iosSwipeBackThreshold:0,mdSwipeBack:!1,mdSwipeBackAnimateShadow:!0,mdSwipeBackAnimateOpacity:!1,mdSwipeBackActiveArea:30,mdSwipeBackThreshold:0,browserHistory:!1,browserHistoryRoot:void 0,browserHistoryAnimate:!0,browserHistoryAnimateOnLoad:!1,browserHistorySeparator:"#!",browserHistoryOnLoad:!0,browserHistoryInitialMatch:!1,browserHistoryStoreHistory:!0,browserHistoryTabs:"replace",animate:!0,iosDynamicNavbar:!0,iosAnimateNavbarBackIcon:!0,iosPageLoadDelay:0,mdPageLoadDelay:0,routesBeforeEnter:null,routesBeforeLeave:null}},static:{View:pa},create(){const t=this;te(t,{views:te([],{create(e,n){return new pa(t,e,n)},get(e){const n=P(e);if(n.length&&n[0].f7View)return n[0].f7View}})}),Object.defineProperty(t.views,"current",{enumerable:!0,configurable:!0,get(){return Y2(t)}}),t.view=t.views},on:{init(){const t=this;P(".view-init").each(e=>{if(e.f7View)return;const n=P(e).dataset();t.views.create(e,n)})},"modalOpen panelOpen":function(e){const n=this;e.$el.find(".view-init").each(s=>{if(s.f7View)return;const a=P(s).dataset();n.views.create(s,a)})},"modalBeforeDestroy panelBeforeDestroy":function(e){!e||!e.$el||e.$el.find(".view-init").each(n=>{const s=n.f7View;s&&s.destroy()})}},vnode:{"view-init":{insert(t){const e=this,n=t.elm;if(n.f7View)return;const s=P(n).dataset();e.views.create(n,s)},destroy(t){const n=t.elm.f7View;n&&n.destroy()}}}},W2={size(t){const e=this;let n=P(t);if(n.hasClass("navbars")){n=n.children(".navbar").each(w=>{e.navbar.size(w)});return}const s=n.children(".navbar-inner");if(!s.length)return;const a=s.hasClass("navbar-inner-centered-title")||e.params.navbar[`${e.theme}CenterTitle`],i=e.theme==="ios"&&!e.params.navbar[`${e.theme}CenterTitle`];if(!a&&!i||n.parents(".tab:not(.tab-active)").length>0||n.parents(".popup:not(.modal-in)").length>0)return;e.theme!=="ios"&&e.params.navbar[`${e.theme}CenterTitle`]&&s.addClass("navbar-inner-centered-title"),e.theme==="ios"&&!e.params.navbar.iosCenterTitle&&s.addClass("navbar-inner-left-title");const o=n.parents(".view").eq(0),r=e.rtl?s.children(".right"):s.children(".left"),l=e.rtl?s.children(".left"):s.children(".right"),f=s.children(".title"),c=s.children(".subnavbar"),u=r.length===0,d=l.length===0,m=u?0:r.outerWidth(!0),h=d?0:l.outerWidth(!0),p=f.outerWidth(!0),b=s.styles(),v=s[0].offsetWidth-parseInt(b.paddingLeft,10)-parseInt(b.paddingRight,10),_=n.hasClass("navbar-previous"),k=s.hasClass("sliding");let E,S;o.length>0&&o[0].f7View&&(E=o[0].f7View.router,S=E&&E.dynamicNavbar);let I,T;d&&(I=v-p),u&&(I=0),!u&&!d&&(I=(v-h-p+m)/2);let A=(v-p)/2;v-m-h>p?(Av-h&&(A=v-h-p),T=A-I):T=0;const y=e.rtl?-1:1;if(S&&e.theme==="ios"){if(f.hasClass("sliding")||f.length>0&&k){let w=-(I+T)*y;const D=(v-I-T-p)*y;if(_&&E&&E.params.iosAnimateNavbarBackIcon){const O=n.parent().find(".navbar-current").children(".left.sliding").find(".back .icon ~ span");O.length>0&&(w+=O[0].offsetLeft)}f[0].f7NavbarLeftOffset=w,f[0].f7NavbarRightOffset=D}if(!u&&(r.hasClass("sliding")||k)){if(e.rtl)r[0].f7NavbarLeftOffset=-(v-r[0].offsetWidth)/2*y,r[0].f7NavbarRightOffset=m*y;else if(r[0].f7NavbarLeftOffset=-m,r[0].f7NavbarRightOffset=(v-r[0].offsetWidth)/2,E&&E.params.iosAnimateNavbarBackIcon&&r.find(".back .icon").length>0&&r.find(".back .icon ~ span").length){const w=r[0].f7NavbarLeftOffset,D=r[0].f7NavbarRightOffset;r[0].f7NavbarLeftOffset=0,r[0].f7NavbarRightOffset=0,r.find(".back .icon ~ span")[0].f7NavbarLeftOffset=w,r.find(".back .icon ~ span")[0].f7NavbarRightOffset=D-r.find(".back .icon")[0].offsetWidth}}!d&&(l.hasClass("sliding")||k)&&(e.rtl?(l[0].f7NavbarLeftOffset=-h*y,l[0].f7NavbarRightOffset=(v-l[0].offsetWidth)/2*y):(l[0].f7NavbarLeftOffset=-(v-l[0].offsetWidth)/2,l[0].f7NavbarRightOffset=h)),c.length&&(c.hasClass("sliding")||k)&&(c[0].f7NavbarLeftOffset=e.rtl?c[0].offsetWidth:-c[0].offsetWidth,c[0].f7NavbarRightOffset=-c[0].f7NavbarLeftOffset)}if(a){let w=T;e.rtl&&u&&d&&f.length>0&&(w=-w),f.css({left:`${w}px`})}},hide(t,e,n,s){e===void 0&&(e=!0),n===void 0&&(n=!1),s===void 0&&(s=!1);const a=this;let i=P(t);const o=i.hasClass("navbar")&&i.parent(".navbars").length&&!s;if(o&&(i=i.parents(".navbars")),!i.length||i.hasClass("navbar-hidden"))return;let r=`navbar-hidden${e?" navbar-transitioning":""}`;(o?i.find(".navbar-current .title-large").length:i.find(".title-large").length)&&(r+=" navbar-large-hidden"),n&&(r+=" navbar-hidden-statusbar"),i.transitionEnd(()=>{i.removeClass("navbar-transitioning")}),i.addClass(r),o?i.children(".navbar").each(f=>{P(f).trigger("navbar:hide"),a.emit("navbarHide",f)}):(i.trigger("navbar:hide"),a.emit("navbarHide",i[0]))},show(t,e,n){t===void 0&&(t=".navbar-hidden"),e===void 0&&(e=!0),n===void 0&&(n=!1);const s=this;let a=P(t);const i=a.hasClass("navbar")&&a.parent(".navbars").length&&!n;i&&(a=a.parents(".navbars")),a.length&&a.hasClass("navbar-hidden")&&(e&&(a.addClass("navbar-transitioning"),a.transitionEnd(()=>{a.removeClass("navbar-transitioning")})),a.removeClass("navbar-hidden navbar-large-hidden navbar-hidden-statusbar"),i?a.children(".navbar").each(o=>{P(o).trigger("navbar:show"),s.emit("navbarShow",o)}):(a.trigger("navbar:show"),s.emit("navbarShow",a[0])))},getElByPage(t){let e,n,s;if(t.$navbarEl||t.$el?(s=t,e=t.$el):(e=P(t),e.length>0&&(s=e[0].f7Page)),s&&s.$navbarEl&&s.$navbarEl.length>0?n=s.$navbarEl:e&&(n=e.children(".navbar")),!(!n||n&&n.length===0))return n[0]},getPageByEl(t){const e=P(t);if(e.parents(".page").length)return e.parents(".page")[0];let n;return e.parents(".view").find(".page").each(s=>{s&&s.f7Page&&s.f7Page.navbarEl&&e[0]===s.f7Page.navbarEl&&(n=s)}),n},collapseLargeTitle(t){const e=this;let n=P(t);if(n.hasClass("navbars")&&(n=n.find(".navbar"),n.length>1&&(n=P(t).find(".navbar-large.navbar-current")),n.length>1||!n.length))return;const s=P(e.navbar.getPageByEl(n));n.addClass("navbar-large-collapsed"),s.eq(0).addClass("page-with-navbar-large-collapsed").trigger("page:navbarlargecollapsed"),e.emit("pageNavbarLargeCollapsed",s[0]),n.trigger("navbar:collapse"),e.emit("navbarCollapse",n[0])},expandLargeTitle(t){const e=this;let n=P(t);if(n.hasClass("navbars")&&(n=n.find(".navbar-large"),n.length>1&&(n=P(t).find(".navbar-large.navbar-current")),n.length>1||!n.length))return;const s=P(e.navbar.getPageByEl(n));n.removeClass("navbar-large-collapsed"),s.eq(0).removeClass("page-with-navbar-large-collapsed").trigger("page:navbarlargeexpanded"),e.emit("pageNavbarLargeExpanded",s[0]),n.trigger("navbar:expand"),e.emit("navbarExpand",n[0])},toggleLargeTitle(t){const e=this;let n=P(t);n.hasClass("navbars")&&(n=n.find(".navbar-large"),n.length>1&&(n=P(t).find(".navbar-large.navbar-current")),n.length>1||!n.length)||(n.hasClass("navbar-large-collapsed")?e.navbar.expandLargeTitle(n):e.navbar.collapseLargeTitle(n))},initNavbarOnScroll(t,e,n,s,a){const i=this,o=it(),r=P(t),l=P(e),f=l.find(".title-large"),c=f.length||l.hasClass(".navbar-large");let u=44;const d=i.params.navbar.snapPageScrollToLargeTitle,m=i.params.navbar.snapPageScrollToTransparentNavbar;let h,p,b,g,v,_,k,E,S,I;(s||n&&c)&&(S=l.css("--f7-navbar-large-title-height"),S&&S.indexOf("px")>=0?(S=parseInt(S,10),Number.isNaN(S)&&f.length?S=f[0].offsetHeight:Number.isNaN(S)&&(i.theme==="ios"?S=52:i.theme==="md"&&(S=88))):f.length?S=f[0].offsetHeight:i.theme==="ios"?S=52:i.theme==="md"&&(S=88)),n&&c&&(u+=S);let T,A,y,w;const D=70,O=300;function L(){r.find(".page-content").each(ne=>{ne.f7ScrollableDistance=ne.scrollHeight-ne.offsetHeight})}function j(){l.hasClass("with-searchbar-expandable-enabled")||!A||p<0||(p>=S/2&&p=I/2&&p{W(),clearTimeout(w),w=null},D)):(clearTimeout(y),y=setTimeout(()=>{W()},O)))}let B=null,q=null;function X(ne){if(l.hasClass("navbar-hidden")||l.parent(".navbars").hasClass("navbar-hidden"))return;const K=l.hasClass("navbar-large-transparent")||l.hasClass("navbar-large")&&l.hasClass("navbar-transparent");B=q;const pe=Math.min(S,ne.f7ScrollableDistance||S);q=Math.min(Math.max(p/pe,0),1);const ke=B>0&&B<1;if(l.hasClass("with-searchbar-expandable-enabled"))return;E=l.hasClass("navbar-large-collapsed");const re=l.find(".navbar-bg");q===0&&E?i.navbar.expandLargeTitle(l[0]):q===1&&!E&&i.navbar.collapseLargeTitle(l[0]),q===0&&E||q===0&&ke||q===1&&!E||q===1&&ke?(i.theme==="md"&&l.find(".navbar-inner").css("overflow",""),l.find(".title").css("opacity",""),l.find(".title-large-text, .subnavbar").css("transform",""),l.find(".title-large-text").css("opacity",""),K&&re.css("opacity",""),re.css("transform","")):q>0&&q<1&&(i.theme==="md"&&l.find(".navbar-inner").css("overflow","visible"),l.find(".title").css("opacity",-.5+q*1.5),l.find(".title-large-text, .subnavbar").css("transform",`translate3d(0px, ${-1*q*S}px, 0)`),l.find(".title-large-text").css("opacity",1-q*2),K&&re.css("opacity",q),re.css("transform",`translate3d(0px, ${-1*q*S}px, 0)`)),d&&(o.touch?w&&(clearTimeout(w),w=null,w=setTimeout(()=>{j(),clearTimeout(w),w=null},D)):(clearTimeout(y),y=setTimeout(()=>{j()},O)))}function H(){r.hasClass("page-with-card-opened")||(b=A.scrollHeight,g=A.offsetHeight,v=p+g>=b,k=l.hasClass("navbar-hidden")||l.parent(".navbars").hasClass("navbar-hidden"),v?i.params.navbar.showOnPageScrollEnd&&(_="show"):h>p?i.params.navbar.showOnPageScrollTop||p<=u?_="show":_="hide":p>u?_="hide":_="show",_==="show"&&k?(i.navbar.show(l,!0,!0),k=!1):_==="hide"&&!k&&(i.navbar.hide(l,!0,!1,!0),k=!0),h=p)}function G(ne){A=this,!(ne&&ne.target&&ne.target!==A)&&(p=A.scrollTop,T=p,s?X(A):a&&Y(),!r.hasClass("page-previous")&&n&&H())}function ce(){T=!1}function ye(){clearTimeout(w),w=null,w=setTimeout(()=>{T!==!1&&(a&&!s?W():j(),clearTimeout(w),w=null)},D)}r.on("scroll",".page-content",G,!0),o.touch&&(s&&d||a&&m)&&(i.on("touchstart:passive",ce),i.on("touchend:passive",ye)),L(),(s||a)&&r.find(".page-content").each(ne=>{ne.scrollTop>0&&G.call(ne)}),i.on("resize",L),r[0].f7DetachNavbarScrollHandlers=function(){i.off("resize",L),delete r[0].f7DetachNavbarScrollHandlers,r.off("scroll",".page-content",G,!0),o.touch&&(s&&d||a&&m)&&(i.off("touchstart:passive",ce),i.off("touchend:passive",ye))}}},j2={name:"navbar",create(){It(this,{navbar:W2})},params:{navbar:{scrollTopOnTitleClick:!0,iosCenterTitle:!0,mdCenterTitle:!1,hideOnPageScroll:!1,showOnPageScrollEnd:!0,showOnPageScrollTop:!0,collapseLargeTitleOnScroll:!0,snapPageScrollToLargeTitle:!0,snapPageScrollToTransparentNavbar:!0}},on:{"panelBreakpoint panelCollapsedBreakpoint panelResize viewResize resize viewMasterDetailBreakpoint":function(){const e=this;P(".navbar").each(n=>{e.navbar.size(n)})},pageBeforeRemove(t){t.$el[0].f7DetachNavbarScrollHandlers&&t.$el[0].f7DetachNavbarScrollHandlers()},pageBeforeIn(t){const e=this;if(e.theme!=="ios")return;let n;const s=t.$el.parents(".view")[0].f7View,a=e.navbar.getElByPage(t);if(a?n=P(a).parents(".navbars"):n=t.$el.parents(".view").children(".navbars"),t.$el.hasClass("no-navbar")||s.router.dynamicNavbar&&!a){const i=!!(t.pageFrom&&t.router.history.length>0);e.navbar.hide(n,i)}else e.navbar.show(n)},pageReinit(t){const e=this,n=P(e.navbar.getElByPage(t));!n||n.length===0||e.navbar.size(n)},pageInit(t){const e=this,n=P(e.navbar.getElByPage(t));if(!n||n.length===0)return;e.navbar.size(n);let s;n.find(".title-large").length>0&&n.addClass("navbar-large"),n.hasClass("navbar-large")&&(e.params.navbar.collapseLargeTitleOnScroll&&(s=!0),t.$el.addClass("page-with-navbar-large"));let a;!s&&n.hasClass("navbar-transparent")&&(a=!0);let i;(e.params.navbar.hideOnPageScroll||t.$el.find(".hide-navbar-on-scroll").length||t.$el.hasClass("hide-navbar-on-scroll")||t.$el.find(".hide-bars-on-scroll").length||t.$el.hasClass("hide-bars-on-scroll"))&&(t.$el.find(".keep-navbar-on-scroll").length||t.$el.hasClass("keep-navbar-on-scroll")||t.$el.find(".keep-bars-on-scroll").length||t.$el.hasClass("keep-bars-on-scroll")?i=!1:i=!0),(s||i||a)&&e.navbar.initNavbarOnScroll(t.el,n[0],i,s,a)},"panelOpen panelSwipeOpen modalOpen":function(e){const n=this;e.$el.find(".navbar:not(.navbar-previous)").each(s=>{n.navbar.size(s)})},tabShow(t){const e=this;P(t).find(".navbar:not(.navbar-previous)").each(n=>{e.navbar.size(n)})}},clicks:{".navbar .title":function(e,n,s){if(!this.params.navbar.scrollTopOnTitleClick||P(s.target).closest("a, button").length>0)return;let i;const o=e.parents(".navbar"),r=o.parents(".navbars");i=o.parents(".page-content"),i.length===0&&(o.parents(".page").length>0&&(i=o.parents(".page").find(".page-content")),i.length===0&&r.length&&r.nextAll(".page-current").length>0&&(i=r.nextAll(".page-current").find(".page-content")),i.length===0&&o.nextAll(".page-current").length>0&&(i=o.nextAll(".page-current").find(".page-content"))),i&&i.length>0&&(i.hasClass("tab")&&(i=i.parent(".tabs").children(".page-content.tab-active")),i.length>0&&i.scrollTop(0,300))}},vnode:{navbar:{postpatch(t){this.navbar.size(t.elm)}}}},X2={setHighlight(t){const e=this,n=P(t);if(e.theme==="ios"&&!n.hasClass("tabbar-highlight")||n.length===0||!(n.hasClass("tabbar")||n.hasClass("tabbar-icons")))return;let s=n.find(".tab-link-highlight");const a=n.find(".tab-link").length;if(a===0){s.remove();return}s.length===0?(n.children(".toolbar-inner").append(''),s=n.find(".tab-link-highlight")):s.next().length&&n.children(".toolbar-inner").append(s);const i=n.find(".tab-link-active");let o,r;if(n.hasClass("tabbar-scrollable")&&i&&i[0])o=`${i[0].offsetWidth}px`,r=`${i[0].offsetLeft}px`;else{const l=i.index();o=`${100/a}%`,r=`${(e.rtl?-l:l)*100}%`}Bt(()=>{s.css("width",o).transform(`translate3d(${r},0,0)`)})},init(t){this.toolbar.setHighlight(t)},hide(t,e){e===void 0&&(e=!0);const n=this,s=P(t);if(s.hasClass("toolbar-hidden"))return;const a=`toolbar-hidden${e?" toolbar-transitioning":""}`;s.transitionEnd(()=>{s.removeClass("toolbar-transitioning")}),s.addClass(a),s.trigger("toolbar:hide"),n.emit("toolbarHide",s[0])},show(t,e){e===void 0&&(e=!0);const n=this,s=P(t);s.hasClass("toolbar-hidden")&&(e&&(s.addClass("toolbar-transitioning"),s.transitionEnd(()=>{s.removeClass("toolbar-transitioning")})),s.removeClass("toolbar-hidden"),s.trigger("toolbar:show"),n.emit("toolbarShow",s[0]))},initToolbarOnScroll(t){const e=this,n=P(t);let s=n.parents(".view").children(".toolbar");if(s.length===0&&(s=n.find(".toolbar")),s.length===0&&(s=n.parents(".views").children(".tabbar, .tabbar-icons")),s.length===0)return;let a,i,o,r,l,f,c;function u(d){if(n.hasClass("page-with-card-opened")||n.hasClass("page-previous"))return;const m=this;d&&d.target&&d.target!==m||(i=m.scrollTop,o=m.scrollHeight,r=m.offsetHeight,l=i+r>=o,c=s.hasClass("toolbar-hidden"),l?e.params.toolbar.showOnPageScrollEnd&&(f="show"):a>i?e.params.toolbar.showOnPageScrollTop||i<=44?f="show":f="hide":i>44?f="hide":f="show",f==="show"&&c?(e.toolbar.show(s),c=!1):f==="hide"&&!c&&(e.toolbar.hide(s),c=!0),a=i)}n.on("scroll",".page-content",u,!0),n[0].f7ScrollToolbarHandler=u}},G2={name:"toolbar",create(){It(this,{toolbar:X2})},params:{toolbar:{hideOnPageScroll:!1,showOnPageScrollEnd:!0,showOnPageScrollTop:!0}},on:{pageBeforeRemove(t){t.$el[0].f7ScrollToolbarHandler&&t.$el.off("scroll",".page-content",t.$el[0].f7ScrollToolbarHandler,!0)},pageBeforeIn(t){const e=this;let n=t.$el.parents(".view").children(".toolbar");n.length===0&&(n=t.$el.parents(".views").children(".tabbar, .tabbar-icons")),n.length===0&&(n=t.$el.find(".toolbar")),n.length!==0&&(t.$el.hasClass("no-toolbar")?e.toolbar.hide(n):e.toolbar.show(n))},pageInit(t){const e=this;if(t.$el.find(".tabbar, .tabbar-icons").each(n=>{e.toolbar.init(n)}),e.params.toolbar.hideOnPageScroll||t.$el.find(".hide-toolbar-on-scroll").length||t.$el.hasClass("hide-toolbar-on-scroll")||t.$el.find(".hide-bars-on-scroll").length||t.$el.hasClass("hide-bars-on-scroll")){if(t.$el.find(".keep-toolbar-on-scroll").length||t.$el.hasClass("keep-toolbar-on-scroll")||t.$el.find(".keep-bars-on-scroll").length||t.$el.hasClass("keep-bars-on-scroll"))return;e.toolbar.initToolbarOnScroll(t.el)}},init(){const t=this;t.$el.find(".tabbar, .tabbar-icons").each(e=>{t.toolbar.init(e)})}},vnode:{tabbar:{insert(t){this.toolbar.init(t.elm)}}}},U2={name:"subnavbar",on:{pageInit(t){t.$navbarEl&&t.$navbarEl.length&&t.$navbarEl.find(".subnavbar").length&&t.$el.addClass("page-with-subnavbar"),t.$el.find(".subnavbar").filter(n=>P(n).parents(".page")[0]===t.$el[0]).length&&t.$el.addClass("page-with-subnavbar")}}};let td=class{constructor(e,n,s,a){const i=this;if(!n)return;const{left:o,top:r,width:l,height:f}=n[0].getBoundingClientRect(),c={x:s-o,y:a-r};let u=Math.max((f**2+l**2)**.5,48),d=!1;const m=e.params.touch.touchRippleInsetElements||"";if(m&&n.is(m)&&(d=!0),d&&(u=Math.max(Math.min(l,f),48)),!d&&n.css("overflow")==="hidden"){const h=((c.x-l/2)**2+(c.y-f/2)**2)**.5,p=(u/2+h)/(u/2);i.rippleTransform=`translate3d(0px, 0px, 0) scale(${p*2})`}else i.rippleTransform=`translate3d(${-c.x+l/2}px, ${-c.y+f/2}px, 0) scale(1)`;return d&&n.addClass("ripple-inset"),i.$rippleWaveEl=P(`
    `),n.prepend(i.$rippleWaveEl),i.$rippleWaveEl.animationEnd(()=>{i.$rippleWaveEl&&(i.$rippleWaveEl.hasClass("ripple-wave-out")||(i.$rippleWaveEl.addClass("ripple-wave-in"),i.shouldBeRemoved&&i.out()))}),i}destroy(){let e=this;e.$rippleWaveEl&&e.$rippleWaveEl.remove(),Object.keys(e).forEach(n=>{e[n]=null,delete e[n]}),e=null}out(){const e=this,{$rippleWaveEl:n}=this;clearTimeout(e.removeTimeout),n.addClass("ripple-wave-out"),e.removeTimeout=setTimeout(()=>{e.destroy()},300),n.animationEnd(()=>{clearTimeout(e.removeTimeout),e.destroy()})}remove(){const e=this;e.shouldBeRemoved||(e.removeTimeout=setTimeout(()=>{e.destroy()},400),e.shouldBeRemoved=!0,e.$rippleWaveEl.hasClass("ripple-wave-in")&&e.out())}};const x2={name:"touch-ripple",static:{TouchRipple:td},create(){const t=this;t.touchRipple={create(){for(var e=arguments.length,n=new Array(e),s=0;s0?m=!0:Xn.length>0&&Xn.forEach(h=>{h.type==="dialog"&&(m=!0)}),m)return Bn.push(s),s}const c=o.parent(),u=o.parents(a).length>0;c.is(s.$containerEl)||(s.$containerEl.append(o),s.once(`${l}Closed`,()=>{u?c.append(o):o.remove()})),o.show(),s.params.backdrop&&(s.params.backdropUnique||s.forceBackdropUnique)&&s.$backdropEl&&s.$backdropEl.insertBefore(o),s._clientLeft=o[0].clientLeft;function d(){o.hasClass("modal-out")?s.onClosed():o.hasClass("modal-in")&&s.onOpened()}return f?(r&&(r.removeClass("not-animated"),r.addClass("backdrop-in")),o.animationEnd(()=>{d()}),o.transitionEnd(()=>{d()}),o.removeClass("modal-out not-animated").addClass("modal-in"),s.onOpen()):(r&&r.addClass("backdrop-in not-animated"),o.removeClass("modal-out").addClass("modal-in not-animated"),s.onOpen(),s.onOpened()),s}close(e){const n=this,s=n.$el,a=n.$backdropEl;let i=!0;if(typeof e<"u"?i=e:typeof n.params.animate<"u"&&(i=n.params.animate),!s||!s.hasClass("modal-in"))return Bn.indexOf(n)>=0&&Bn.splice(Bn.indexOf(n),1),n;if(a){let r=!0;n.type==="popup"&&n.$el.prevAll(".popup.modal-in").add(n.$el.nextAll(".popup.modal-in")).each(l=>{const f=l.f7Modal;f&&f.params.closeByBackdropClick&&f.params.backdrop&&f.backdropEl===n.backdropEl&&(r=!1)}),r&&(a[i?"removeClass":"addClass"]("not-animated"),a.removeClass("backdrop-in"))}s[i?"removeClass":"addClass"]("not-animated");function o(){s.hasClass("modal-out")?n.onClosed():s.hasClass("modal-in")&&n.onOpened()}return i?(s.animationEnd(()=>{o()}),s.transitionEnd(()=>{o()}),s.removeClass("modal-in").addClass("modal-out"),n.onClose()):(s.addClass("not-animated").removeClass("modal-in").addClass("modal-out"),n.onClose(),n.onClosed()),n.type==="dialog"&&$2(),n}destroy(){const e=this;e.destroyed||(e.emit(`local::beforeDestroy modalBeforeDestroy ${e.type}BeforeDestroy`,e),e.$el&&(e.$el.trigger(`modal:beforedestroy ${e.type.toLowerCase()}:beforedestroy`),e.$el.length&&e.$el[0].f7Modal&&delete e.$el[0].f7Modal),ft(e),e.destroyed=!0)}};const Qt=Q2;class K2 extends Qt{constructor(e,n){const s=te({backdrop:!0,closeByBackdropClick:!0,on:{}},n);super(e,s);const a=this;a.params=s;let i;if(a.params.el?i=P(a.params.el):i=P(a.params.content),i&&i.length>0&&i[0].f7Modal)return i[0].f7Modal;if(i.length===0)return a.destroy();let o;a.params.backdrop&&(o=e.$el.children(".custom-modal-backdrop"),o.length===0&&(o=P('
    '),e.$el.append(o)));function r(l){!a||a.destroyed||o&&l.target===o[0]&&a.close()}return a.on("customModalOpened",()=>{a.params.closeByBackdropClick&&a.params.backdrop&&e.on("click",r)}),a.on("customModalClose",()=>{a.params.closeByBackdropClick&&a.params.backdrop&&e.off("click",r)}),te(a,{app:e,$el:i,el:i[0],$backdropEl:o,backdropEl:o&&o[0],type:"customModal"}),i[0].f7Modal=a,a}}const nd=K2,Z2={name:"modal",static:{Modal:Qt,CustomModal:nd},create(){const t=this;t.customModal={create(e){return new nd(t,e)}}},params:{modal:{queueDialogs:!0}}};let J2=class extends Qt{constructor(e,n){const s=te({title:e.params.dialog.title,text:void 0,content:"",buttons:[],verticalButtons:!1,onClick:void 0,cssClass:void 0,destroyOnClose:!1,on:{}},n);typeof s.closeByBackdropClick>"u"&&(s.closeByBackdropClick=e.params.dialog.closeByBackdropClick),typeof s.backdrop>"u"&&(s.backdrop=e.params.dialog.backdrop),super(e,s);const a=this,i=Ke(),o=Le(),{title:r,text:l,content:f,buttons:c,verticalButtons:u,cssClass:d,backdrop:m}=s;a.params=s;let h;if(a.params.el)h=P(a.params.el);else{const k=["dialog"];c.length===0&&k.push("dialog-no-buttons"),c.length>0&&k.push(`dialog-buttons-${c.length}`),u&&k.push("dialog-buttons-vertical"),d&&k.push(d);let E="";c.length>0&&(E=R("div",{class:"dialog-buttons"},c.map(I=>R("span",{class:`dialog-button${I.strong?" dialog-button-strong":""}${I.color?` color-${I.color}`:""}${I.cssClass?` ${I.cssClass}`:""}`},I.text))));const S=R("div",{class:k.join(" ")},R("div",{class:"dialog-inner"},r&&R("div",{class:"dialog-title"},r),l&&R("div",{class:"dialog-text"},l),f),E);h=P(S)}if(h&&h.length>0&&h[0].f7Modal)return h[0].f7Modal;if(h.length===0)return a.destroy();let p;m&&(p=e.$el.children(".dialog-backdrop"),p.length===0&&(p=P('
    '),e.$el.append(p)));function b(k){const S=P(this).index(),I=c[S];I.onClick&&I.onClick(a,k),a.params.onClick&&a.params.onClick(a,S),I.close!==!1&&a.close()}let g;function v(k){const E=k.keyCode;c.forEach((S,I)=>{S.keyCodes&&S.keyCodes.indexOf(E)>=0&&(o.activeElement&&o.activeElement.blur(),S.onClick&&S.onClick(a,k),a.params.onClick&&a.params.onClick(a,I),S.close!==!1&&a.close())})}c&&c.length>0&&(a.on("open",()=>{h.find(".dialog-button").each((k,E)=>{c[E].keyCodes&&(g=!0),P(k).on("click",b)}),g&&!i.ios&&!i.android&&!i.cordova&&!i.capacitor&&P(o).on("keydown",v)}),a.on("close",()=>{h.find(".dialog-button").each(k=>{P(k).off("click",b)}),g&&!i.ios&&!i.android&&!i.cordova&&!i.capacitor&&P(o).off("keydown",v),g=!1})),te(a,{app:e,$el:h,el:h[0],$backdropEl:p,backdropEl:p&&p[0],type:"dialog",setProgress(k,E){return e.progressbar.set(h.find(".progressbar"),k,E),a},setText(k){let E=h.find(".dialog-text");return E.length===0&&(E=P('
    '),typeof r<"u"?E.insertAfter(h.find(".dialog-title")):h.find(".dialog-inner").prepend(E)),E.html(k),a.params.text=k,a},setTitle(k){let E=h.find(".dialog-title");return E.length===0&&(E=P('
    '),h.find(".dialog-inner").prepend(E)),E.html(k),a.params.title=k,a}});function _(k){const E=k.target;P(E).closest(a.el).length===0&&a.params.closeByBackdropClick&&a.backdropEl&&a.backdropEl===E&&a.close()}return a.on("opened",()=>{a.params.closeByBackdropClick&&e.on("click",_)}),a.on("close",()=>{a.params.closeByBackdropClick&&e.off("click",_)}),h[0].f7Modal=a,a.params.destroyOnClose&&a.once("closed",()=>{setTimeout(()=>{a.destroy()},0)}),a}};const Jt=J2,eC={name:"dialog",params:{dialog:{title:void 0,buttonOk:"OK",buttonCancel:"Cancel",usernamePlaceholder:"Username",passwordPlaceholder:"Password",preloaderTitle:"Loading... ",progressTitle:"Loading... ",backdrop:!0,closeByBackdropClick:!1,destroyPredefinedDialogs:!0,keyboardActions:!0,autoFocus:!0}},static:{Dialog:Jt},create(){const t=this;function e(){return t.params.dialog.title||t.name}const n=t.params.dialog.destroyPredefinedDialogs,s=t.params.dialog.keyboardActions,i=t.params.dialog.autoFocus?{on:{opened(r){r.$el.find("input").eq(0).focus()}}}:{},o=t.theme==="ios";t.dialog=te(on({app:t,constructor:Jt,defaultSelector:".dialog.modal-in"}),{alert(){for(var r=arguments.length,l=new Array(r),f=0;f"u"?e():u,text:c,buttons:[{text:t.params.dialog.buttonOk,strong:o,onClick:d,keyCodes:s?[13,27]:null}],destroyOnClose:n}).open()},prompt(){for(var r=arguments.length,l=new Array(r),f=0;f"u"||h===null?"":h,new Jt(t,{title:typeof u>"u"?e():u,text:c,content:`
    `,buttons:[{text:t.params.dialog.buttonCancel,keyCodes:s?[27]:null,color:null},{text:t.params.dialog.buttonOk,strong:o,keyCodes:s?[13]:null}],onClick(p,b){const g=p.$el.find(".dialog-input").val();b===0&&m&&m(g),b===1&&d&&d(g)},destroyOnClose:n,...i}).open()},confirm(){for(var r=arguments.length,l=new Array(r),f=0;f"u"?e():u,text:c,buttons:[{text:t.params.dialog.buttonCancel,onClick:m,keyCodes:s?[27]:null,color:null},{text:t.params.dialog.buttonOk,strong:o,onClick:d,keyCodes:s?[13]:null}],destroyOnClose:n}).open()},login(){for(var r=arguments.length,l=new Array(r),f=0;f"u"?e():u,text:c,content:` +
    + +
    +
    + +
    `,buttons:[{text:t.params.dialog.buttonCancel,keyCodes:s?[27]:null,color:null},{text:t.params.dialog.buttonOk,strong:o,keyCodes:s?[13]:null}],onClick(h,p){const b=h.$el.find('[name="dialog-username"]').val(),g=h.$el.find('[name="dialog-password"]').val();p===0&&m&&m(b,g),p===1&&d&&d(b,g)},destroyOnClose:n,...i}).open()},password(){for(var r=arguments.length,l=new Array(r),f=0;f"u"?e():u,text:c,content:` +
    + +
    `,buttons:[{text:t.params.dialog.buttonCancel,keyCodes:s?[27]:null,color:null},{text:t.params.dialog.buttonOk,strong:o,keyCodes:s?[13]:null}],onClick(h,p){const b=h.$el.find('[name="dialog-password"]').val();p===0&&m&&m(b),p===1&&d&&d(b)},destroyOnClose:n,...i}).open()},preloader(r,l){const c={iosPreloaderContent:yn,mdPreloaderContent:Cn}[`${t.theme}PreloaderContent`]||"";return new Jt(t,{title:typeof r>"u"||r===null?t.params.dialog.preloaderTitle:r,content:`
    ${c}
    `,cssClass:"dialog-preloader",destroyOnClose:n}).open()},progress(){for(var r=arguments.length,l=new Array(r),f=0;f"u",h=new Jt(t,{title:typeof c>"u"?t.params.dialog.progressTitle:c,cssClass:"dialog-progress",content:` +
    + ${m?"":""} +
    + `,destroyOnClose:n});return m||h.setProgress(u),h.open()}})}};let tC=class extends Qt{constructor(e,n){const s=te({on:{}},e.params.popup,n);super(e,s);const a=this,i=Se(),o=Le(),r=it(),l=Ke();a.params=s;let f;if(a.params.el?f=P(a.params.el).eq(0):f=P(a.params.content).filter(H=>H.nodeType===1).eq(0),f&&f.length>0&&f[0].f7Modal)return f[0].f7Modal;if(f.length===0)return a.destroy();let c;a.params.backdrop&&a.params.backdropEl?c=P(a.params.backdropEl):a.params.backdrop&&(a.params.backdropUnique?(c=P(''),a.$containerEl.append(c)):c=a.$containerEl.children(".popup-backdrop"),c.length===0&&(c=P(''),a.$containerEl.append(c))),te(a,{app:e,push:f.hasClass("popup-push")||a.params.push,$el:f,el:f[0],$backdropEl:c,backdropEl:c&&c[0],type:"popup",$htmlEl:P("html")}),a.params.push&&f.addClass("popup-push");function u(H){const G=H.target,ce=P(G);if(!(!l.desktop&&l.cordova&&(i.Keyboard&&i.Keyboard.isVisible||i.cordova.plugins&&i.cordova.plugins.Keyboard&&i.cordova.plugins.Keyboard.isVisible))&&ce.closest(a.el).length===0&&a.params&&a.params.closeByBackdropClick&&a.params.backdrop&&a.backdropEl&&a.backdropEl===G){let ne=!0;a.$el.nextAll(".popup.modal-in").each(me=>{const K=me.f7Modal;K&&K.params.closeByBackdropClick&&K.params.backdrop&&K.backdropEl===a.backdropEl&&(ne=!1)}),ne&&a.close()}}function d(H){H.keyCode===27&&a.params.closeOnEscape&&a.close()}let m,h;function p(H){return(e.height-H*2)/e.height}let b=!0,g=!1,v,_,k,E,S,I=!1,T,A,y,w,D,O;function L(H){g||!b||!a.params.swipeToClose||!H.isTrusted||a.params.swipeHandler&&P(H.target).closest(a.params.swipeHandler).length===0||(g=!0,I=!1,v={x:H.type==="touchstart"?H.targetTouches[0].pageX:H.pageX,y:H.type==="touchstart"?H.targetTouches[0].pageY:H.pageY},E=Ht(),k=void 0,!a.params.swipeHandler&&H.type==="touchstart"&&(T=P(H.target).closest(".page-content")[0]))}function j(H){if(!g||!H.isTrusted)return;if(_={x:H.type==="touchmove"?H.targetTouches[0].pageX:H.pageX,y:H.type==="touchmove"?H.targetTouches[0].pageY:H.pageY},typeof k>"u"&&(k=!!(k||Math.abs(_.x-v.x)>Math.abs(_.y-v.y))),k){g=!1,I=!1;return}S=v.y-_.y,h&&m&&S>0&&(S=0);const G=S<0?"to-bottom":"to-top";if(f.transition(0),typeof a.params.swipeToClose=="string"&&G!==a.params.swipeToClose){f.transform(""),f.transition("");return}if(I)a.emit("local::swipeMove popupSwipeMove",a),a.$el.trigger("popup:swipemove");else{if(h&&m&&(D=f[0].offsetHeight,O=f.prevAll(".popup.modal-in").eq(0),O.length===0&&(O=e.$el.children(".view, .views"))),T&&(A=T.scrollTop,w=T.scrollHeight,y=T.offsetHeight,w!==y&&!(G==="to-bottom"&&A===0)&&!(G==="to-top"&&A===w-y))){f.transform(""),f.transition(""),g=!1,I=!1;return}I=!0,a.emit("local::swipeStart popupSwipeStart",a),a.$el.trigger("popup:swipestart")}if(H.preventDefault(),h&&m){const ce=1-Math.abs(S/D),ye=1-(1-p(m))*ce;O.hasClass("popup")?O.hasClass("popup-push")?O.transition(0).forEach(ne=>{ne.style.setProperty("transform",`translate3d(0, calc(-1 * ${ce} * (var(--f7-popup-push-offset) + 10px)) , 0px) scale(${ye})`,"important")}):O.transition(0).forEach(ne=>{ne.style.setProperty("transform",`translate3d(0, 0px , 0px) scale(${ye})`,"important")}):O.transition(0).forEach(ne=>{ne.style.setProperty("transform",`translate3d(0,0,0) scale(${ye})`,"important")})}f.transition(0).transform(`translate3d(0,${-S}px,0)`)}function W(H){if(!H.isTrusted||(g=!1,!I))return;a.emit("local::swipeEnd popupSwipeEnd",a),a.$el.trigger("popup:swipeend"),I=!1,b=!1,f.transition(""),h&&m&&O.transition("").transform("");const G=S<=0?"to-bottom":"to-top";if(typeof a.params.swipeToClose=="string"&&G!==a.params.swipeToClose){f.transform(""),b=!0;return}const ce=Math.abs(S),ye=new Date().getTime()-E;if(ye<300&&ce>20||ye>=300&&ce>100){_t(()=>{G==="to-bottom"?f.addClass("swipe-close-to-bottom"):f.addClass("swipe-close-to-top"),f.transform(""),a.emit("local::swipeclose popupSwipeClose",a),a.$el.trigger("popup:swipeclose"),a.close(),b=!0});return}b=!0,f.transform("")}const Y=r.passiveListener?{passive:!0}:!1;a.params.swipeToClose&&(f.on(e.touchEvents.start,L,Y),e.on("touchmove",j),e.on("touchend:passive",W),a.once("popupDestroy",()=>{f.off(e.touchEvents.start,L,Y),e.off("touchmove",j),e.off("touchend:passive",W)}));let B;const q=()=>{const H=h;a.push&&(h=a.push&&(e.width<630||e.height<630||f.hasClass("popup-tablet-fullscreen"))),h&&!H?X():h&&H?a.$htmlEl[0].style.setProperty("--f7-popup-push-scale",p(m)):!h&&H&&(a.$htmlEl.removeClass("with-modal-popup-push"),a.$htmlEl[0].style.removeProperty("--f7-popup-push-scale"))},X=()=>{e.off("resize",q),a.push&&(h=a.push&&(e.width<630||e.height<630||f.hasClass("popup-tablet-fullscreen"))),h&&(m=parseInt(f.css("--f7-popup-push-offset"),10),Number.isNaN(m)&&(m=0),m||(m=e.theme==="ios"?44:48),a.$htmlEl[0].style.setProperty("--f7-popup-push-offset",`${m}px`),f.addClass("popup-push"),a.$htmlEl.addClass("with-modal-popup-push"),a.$htmlEl[0].style.setProperty("--f7-popup-push-scale",p(m))),e.on("resize",q)};return a.on("open",()=>{B=!1,a.params.closeOnEscape&&P(o).on("keydown",d),f.prevAll(".popup.modal-in").addClass("popup-behind"),X()}),a.on("opened",()=>{f.removeClass("swipe-close-to-bottom swipe-close-to-top"),a.params.closeByBackdropClick&&e.on("click",u)}),a.on("close",()=>{B=a.$el.prevAll(".popup-push.modal-in").length>0,a.params.closeOnEscape&&P(o).off("keydown",d),a.params.closeByBackdropClick&&e.off("click",u),f.prevAll(".popup.modal-in").eq(0).removeClass("popup-behind"),h&&m&&!B&&(a.$htmlEl.removeClass("with-modal-popup-push"),a.$htmlEl.addClass("with-modal-popup-push-closing")),e.off("resize",q)}),a.on("closed",()=>{f.removeClass("popup-behind"),h&&m&&!B&&(a.$htmlEl.removeClass("with-modal-popup-push-closing"),a.$htmlEl[0].style.removeProperty("--f7-popup-push-scale"),a.$htmlEl[0].style.removeProperty("--f7-popup-push-offset"))}),f[0].f7Modal=a,a}};const sd=tC,nC={name:"popup",params:{popup:{backdrop:!0,backdropEl:void 0,backdropUnique:!1,closeByBackdropClick:!0,closeOnEscape:!1,swipeToClose:!1,swipeHandler:null,push:!1,containerEl:null}},static:{Popup:sd},create(){const t=this;t.popup=on({app:t,constructor:sd,defaultSelector:".popup.modal-in",parentSelector:".popup"})},clicks:{".popup-open":function(e,n){n===void 0&&(n={}),this.popup.open(n.popup,n.animate,e)},".popup-close":function(e,n){n===void 0&&(n={}),this.popup.close(n.popup,n.animate,e)}}};let sC=class extends Qt{constructor(e,n){const s=te({on:{}},n);super(e,s);const a=this;a.params=s;let i;return a.params.el?i=P(a.params.el).eq(0):i=P(a.params.content).filter(o=>o.nodeType===1).eq(0),i&&i.length>0&&i[0].f7Modal?i[0].f7Modal:i.length===0?a.destroy():(te(a,{app:e,$el:i,el:i[0],type:"loginScreen"}),i[0].f7Modal=a,a)}};const ad=sC,aC={name:"loginScreen",static:{LoginScreen:ad},create(){const t=this;t.loginScreen=on({app:t,constructor:ad,defaultSelector:".login-screen.modal-in"})},clicks:{".login-screen-open":function(e,n){n===void 0&&(n={}),this.loginScreen.open(n.loginScreen,n.animate,e)},".login-screen-close":function(e,n){n===void 0&&(n={}),this.loginScreen.close(n.loginScreen,n.animate,e)}}};let iC=class extends Qt{constructor(e,n){const s=te({on:{}},e.params.popover,n);super(e,s);const a=this,i=Ke(),o=Se(),r=Le();a.params=s;let l;if(a.params.el?l=P(a.params.el).eq(0):l=P(a.params.content).filter(_=>_.nodeType===1).eq(0),l&&l.length>0&&l[0].f7Modal)return l[0].f7Modal;const f=P(a.params.targetEl).eq(0);if(l.length===0)return a.destroy();let c;const u=a.params.backdrop&&e.$el.find(".popover.modal-in").filter(_=>_!==l[0]).length>0;a.params.backdrop&&a.params.backdropEl?c=P(a.params.backdropEl):a.params.backdrop&&(a.params.backdropUnique||u?(c=P('
    '),c[0].f7PopoverRef=a,a.$containerEl.append(c)):c=a.$containerEl.children(".popover-backdrop"),c.length===0&&(c=P('
    '),a.$containerEl.append(c)));let d;l.find(".popover-arrow").length===0&&a.params.arrow?(d=P('
    '),l.prepend(d)):d=l.find(".popover-arrow");const m=a.open;te(a,{app:e,$el:l,el:l[0],$targetEl:f,targetEl:f[0],$arrowEl:d,arrowEl:d[0],$backdropEl:c,backdropEl:c&&c[0],type:"popover",forceBackdropUnique:u,open(){for(var _=arguments.length,k=new Array(_),E=0;E<_;E++)k[E]=arguments[E];let[S,I]=k;return typeof k[0]=="boolean"&&([I,S]=k),S&&(a.$targetEl=P(S),a.targetEl=a.$targetEl[0]),m.call(a,I)}});function h(){a.resize()}a.on("popoverOpen",()=>{a.resize(),e.on("resize",h),P(o).on("keyboardDidShow keyboardDidHide",h),a.on("popoverClose popoverBeforeDestroy",()=>{e.off("resize",h),P(o).off("keyboardDidShow keyboardDidHide",h)})});let p=null;function b(_){p=_.target}function g(_){const k=_.target,E=P(k);if(!(!i.desktop&&i.cordova&&(o.Keyboard&&o.Keyboard.isVisible||o.cordova.plugins&&o.cordova.plugins.Keyboard&&o.cordova.plugins.Keyboard.isVisible))&&E.closest(a.el).length===0){if(a.params.closeByBackdropClick&&a.params.backdrop&&a.backdropEl&&a.backdropEl===k&&p===k)a.close();else if(a.params.closeByOutsideClick&&p===k){const I=E.hasClass("popover-backdrop-unique")&&k.f7PopoverRef!==a||E.hasClass("popover-backdrop")&&k!==a.backdropEl,T=k.closest(".popover")&&k.closest(".popover")!==a.$el[0];!I&&!T&&a.close()}}}function v(_){_.keyCode===27&&a.params.closeOnEscape&&a.close()}return a.params.closeOnEscape&&(a.on("popoverOpen",()=>{P(r).on("keydown",v)}),a.on("popoverClose",()=>{P(r).off("keydown",v)})),a.on("popoverOpened",()=>{(a.params.closeByOutsideClick||a.params.closeByBackdropClick)&&(e.on("touchstart",b),e.on("click",g))}),a.on("popoverClose",()=>{(a.params.closeByOutsideClick||a.params.closeByBackdropClick)&&(e.off("touchstart",b),e.off("click",g))}),l[0].f7Modal=a,a}resize(){const e=this,{app:n,$el:s,$targetEl:a,$arrowEl:i}=e,{targetX:o,targetY:r,verticalPosition:l}=e.params;s.css({left:"",top:""});const[f,c]=[s.width(),s.height()];let u=0,d,m;const h=i.length>0,p=n.theme==="ios"?13:24;h&&(i.removeClass("on-left on-right on-top on-bottom").css({left:"",top:""}),u=i.width()/2),s.removeClass("popover-on-left popover-on-right popover-on-top popover-on-bottom popover-on-middle").css({left:"",top:""});let b,g,v,_,k=parseInt(P("html").css("--f7-safe-area-top"),10),E=parseInt(P("html").css("--f7-safe-area-left"),10),S=parseInt(P("html").css("--f7-safe-area-right"),10);if(Number.isNaN(k)&&(k=0),Number.isNaN(E)&&(E=0),Number.isNaN(S)&&(S=0),a&&a.length>0){b=a.outerWidth(),g=a.outerHeight();const O=a.offset();v=O.left-n.left,_=O.top-n.top;const L=a.parents(".page");L.length>0&&(_-=L[0].scrollTop)}else typeof o<"u"&&r!=="undefined"&&(v=o,_=r,b=e.params.targetWidth||0,g=e.params.targetHeight||0);let[I,T,A]=[0,0,0];const y=l==="auto"?!1:l;let w=y||"top";y==="top"||!y&&c+u<_-k?T=_-c-u:y==="bottom"||!y&&c+un.width-5-S&&(I=n.width-5-S-f),A-=I,h&&(w==="top"&&i.addClass("on-bottom"),w==="bottom"&&i.addClass("on-top"),d=f/2-u+A,d=Math.max(Math.min(d,f-u*2-p),p),i.css({left:`${d}px`}))):w==="middle"&&(I=v-f-u,h&&i.addClass("on-right"),(I<5||I+f+S>n.width||In.width&&(I=n.width-f-5-S),I1){const r=P(n).parents(".page");r.length&&a.each(l=>{const f=P(l);f.parents(r)[0]===r[0]&&(a=f)})}a.length>1&&(a=a.eq(a.length-1));let i=a[0].f7Modal;const o=a.dataset();return i||(i=new Us(t,Object.assign({el:a,targetEl:n},o))),i.open(n,s)}})},clicks:{".popover-open":function(e,n){n===void 0&&(n={}),this.popover.open(n.popover,e,n.animate)},".popover-close":function(e,n){n===void 0&&(n={}),this.popover.close(n.popover,n.animate,e)}}};let lC=class extends Qt{constructor(e,n){const s=te({on:{}},e.params.actions,n);super(e,s);const a=this,i=Ke(),o=Se(),r=Le();a.params=s;let l;a.params.buttons&&(l=a.params.buttons,Array.isArray(l[0])||(l=[l])),a.groups=l;let f;if(a.params.el?f=P(a.params.el).eq(0):a.params.content?f=P(a.params.content).filter(g=>g.nodeType===1).eq(0):a.params.buttons&&(a.params.convertToPopover&&(a.popoverHtml=a.renderPopover()),a.actionsHtml=a.render()),f&&f.length>0&&f[0].f7Modal)return f[0].f7Modal;if(f&&f.length===0&&!(a.actionsHtml||a.popoverHtml))return a.destroy();let c;a.params.backdrop&&a.params.backdropEl?c=P(a.params.backdropEl):a.params.backdrop&&(a.params.backdropUnique?(c=P(''),a.$containerEl.append(c)):c=a.$containerEl.children(".actions-backdrop"),c.length===0&&(c=P('
    '),a.$containerEl.append(c)));const u=a.open,d=a.close;let m;function h(g){const v=P(this);let _,k;if(v.hasClass("list-button")||v.hasClass("item-link")?(_=v.parents("li").index(),k=v.parents(".list").index()):(_=v.index(),k=v.parents(".actions-group").index()),typeof l<"u"){const E=l[k][_];E.onClick&&E.onClick(a,g),a.params.onClick&&a.params.onClick(a,g),E.close!==!1&&a.close()}}a.open=function(v){let _=!1;const{targetEl:k,targetX:E,targetY:S,targetWidth:I,targetHeight:T}=a.params;return a.params.convertToPopover&&(k||E!==void 0&&S!==void 0)&&(a.params.forceToPopover||i.ios&&i.ipad||e.width>=768||i.desktop)&&(_=!0),_&&a.popoverHtml?(m=e.popover.create({containerEl:a.params.containerEl,content:a.popoverHtml,backdrop:a.params.backdrop,targetEl:k,targetX:E,targetY:S,targetWidth:I,targetHeight:T,on:{open(){a.$el||(a.$el=m.$el),a.$el.trigger(`modal:open ${a.type.toLowerCase()}:open`),a.emit(`local::open modalOpen ${a.type}Open`,a)},opened(){a.$el||(a.$el=m.$el),a.$el.trigger(`modal:opened ${a.type.toLowerCase()}:opened`),a.emit(`local::opened modalOpened ${a.type}Opened`,a)},close(){a.$el||(a.$el=m.$el),a.$el.trigger(`modal:close ${a.type.toLowerCase()}:close`),a.emit(`local::close modalClose ${a.type}Close`,a)},closed(){a.$el||(a.$el=m.$el),a.$el.trigger(`modal:closed ${a.type.toLowerCase()}:closed`),a.emit(`local::closed modalClosed ${a.type}Closed`,a)}}}),m.open(v),m.once("popoverOpened",()=>{m.$el.find(".list-button, .item-link").each(A=>{P(A).on("click",h)})}),m.once("popoverClosed",()=>{m.$el.find(".list-button, .item-link").each(A=>{P(A).off("click",h)}),_t(()=>{m.destroy(),m=void 0})})):(a.$el=a.actionsHtml?P(a.actionsHtml):a.$el,a.$el[0].f7Modal=a,a.groups&&(a.$el.find(".actions-button").each(A=>{P(A).on("click",h)}),a.once("actionsClosed",()=>{a.$el.find(".actions-button").each(A=>{P(A).off("click",h)})})),a.el=a.$el[0],u.call(a,v)),a},a.close=function(v){return m?m.close(v):d.call(a,v),a},te(a,{app:e,$el:f,el:f?f[0]:void 0,$backdropEl:c,backdropEl:c&&c[0],type:"actions"});function p(g){const v=g.target,_=P(v);!i.desktop&&i.cordova&&(o.Keyboard&&o.Keyboard.isVisible||o.cordova.plugins&&o.cordova.plugins.Keyboard&&o.cordova.plugins.Keyboard.isVisible)||_.closest(a.el).length===0&&(a.params.closeByBackdropClick&&a.params.backdrop&&a.backdropEl&&a.backdropEl===v||a.params.closeByOutsideClick)&&a.close()}function b(g){g.keyCode===27&&a.params.closeOnEscape&&a.close()}return a.params.closeOnEscape&&(a.on("open",()=>{P(r).on("keydown",b)}),a.on("close",()=>{P(r).off("keydown",b)})),a.on("opened",()=>{(a.params.closeByBackdropClick||a.params.closeByOutsideClick)&&e.on("click",p)}),a.on("close",()=>{(a.params.closeByBackdropClick||a.params.closeByOutsideClick)&&e.off("click",p)}),f&&(f[0].f7Modal=a),a}render(){const e=this;if(e.params.render)return e.params.render.call(e,e);const{groups:n}=e,s=e.params.cssClass;return R("div",{class:`actions-modal${e.params.grid?" actions-grid":""} ${s||""}`},n.map(a=>R("div",{class:"actions-group"},a.map(i=>{const o=[`actions-${i.label?"label":"button"}`],{color:r,bg:l,strong:f,disabled:c,label:u,text:d,icon:m}=i;return r&&o.push(`color-${r}`),l&&o.push(`bg-color-${l}`),f&&o.push("actions-button-strong"),c&&o.push("disabled"),u?R("div",{class:o.join(" ")},d):R("div",{class:o.join(" ")},m&&R("div",{class:"actions-button-media"},m),R("div",{class:"actions-button-text"},d))}))))}renderPopover(){const e=this;if(e.params.renderPopover)return e.params.renderPopover.call(e,e);const{groups:n}=e,s=e.params.cssClass;return R("div",{class:`popover popover-from-actions ${s||""}`},R("div",{class:"popover-inner"},n.map(a=>R("div",{class:"list"},R("ul",null,a.map(i=>{const o=[],{color:r,bg:l,strong:f,disabled:c,label:u,text:d,icon:m}=i;return r&&o.push(`color-${r}`),l&&o.push(`bg-color-${l}`),f&&o.push("popover-from-actions-strong"),c&&o.push("disabled"),u?(o.push("popover-from-actions-label"),`
  • ${d}
  • `):m?(o.push("item-link item-content"),R("li",null,R("a",{class:o.join(" ")},R("div",{class:"item-media"},m),R("div",{class:"item-inner"},R("div",{class:"item-title"},d))))):(o.push("list-button"),R("li",null,R("a",{class:o.join(" ")},d)))}))))))}};const id=lC,oC={name:"actions",params:{actions:{convertToPopover:!0,forceToPopover:!1,backdrop:!0,backdropEl:void 0,backdropUnique:!1,cssClass:null,closeByBackdropClick:!0,closeOnEscape:!1,render:null,renderPopover:null,containerEl:null}},static:{Actions:id},create(){const t=this;t.actions=on({app:t,constructor:id,defaultSelector:".actions-modal.modal-in"})},clicks:{".actions-open":function(e,n){n===void 0&&(n={}),this.actions.open(n.actions,n.animate,e)},".actions-close":function(e,n){n===void 0&&(n={}),this.actions.close(n.actions,n.animate,e)}}};let fC=class extends Qt{constructor(e,n){const s=te({on:{}},e.params.sheet,n);super(e,s);const a=this,i=Se(),o=Le(),r=it(),l=Ke();a.params=s,typeof a.params.backdrop>"u"&&(a.params.backdrop=e.theme!=="ios");let f;if(a.params.el?f=P(a.params.el).eq(0):f=P(a.params.content).filter(K=>K.nodeType===1).eq(0),f&&f.length>0&&f[0].f7Modal)return f[0].f7Modal;if(f.length===0)return a.destroy();let c;a.params.backdrop&&a.params.backdropEl?c=P(a.params.backdropEl):a.params.backdrop&&(a.params.backdropUnique?(c=P('
    '),a.$containerEl.append(c)):c=a.$containerEl.children(".sheet-backdrop"),c.length===0&&(c=P('
    '),a.$containerEl.append(c))),te(a,{app:e,push:f.hasClass("sheet-modal-push")||a.params.push,$el:f,el:f[0],$backdropEl:c,backdropEl:c&&c[0],type:"sheet",$htmlEl:P("html")}),a.params.push&&f.addClass("sheet-modal-push");let u;function d(){const K=P(a.params.scrollToEl).eq(0);if(K.length===0||(u=K.parents(".page-content"),u.length===0))return;const pe=parseInt(u.css("padding-top"),10),ke=parseInt(u.css("padding-bottom"),10),he=u[0].offsetHeight-pe-f.height(),re=u[0].scrollHeight-pe-f.height(),Ce=u.scrollTop();let Pe;const Ve=K.offset().top-pe+K[0].offsetHeight;if(Ve>he){const Me=Ce+Ve-he;Me+he>re&&(Pe=Me+he-re+ke,he===re&&(Pe=f.height()),u.css({"padding-bottom":`${Pe}px`})),u.scrollTop(Me,300)}}function m(){u&&u.length>0&&u.css({"padding-bottom":""})}function h(K){const pe=K.target,ke=P(pe);!l.desktop&&l.cordova&&(i.Keyboard&&i.Keyboard.isVisible||i.cordova.plugins&&i.cordova.plugins.Keyboard&&i.cordova.plugins.Keyboard.isVisible)||ke.closest(a.el).length===0&&(a.params.closeByBackdropClick&&a.params.backdrop&&a.backdropEl&&a.backdropEl===pe||a.params.closeByOutsideClick)&&a.close()}function p(K){K.keyCode===27&&a.params.closeOnEscape&&a.close()}let b;function g(K){return(e.height-K*2)/e.height}let v=!1,_,k,E,S,I,T=!1,A,y,w,D,O,L,j,W,Y,B,q,X,H;function G(K){v||!(a.params.swipeToClose||a.params.swipeToStep)||!K.isTrusted||a.params.swipeHandler&&P(K.target).closest(a.params.swipeHandler).length===0||(v=!0,T=!1,_={x:K.type==="touchstart"?K.targetTouches[0].pageX:K.pageX,y:K.type==="touchstart"?K.targetTouches[0].pageY:K.pageY},S=Ht(),E=void 0,A=f.hasClass("sheet-modal-top"),!a.params.swipeHandler&&K.type==="touchstart"&&(B=P(K.target).closest(".page-content")[0]))}function ce(K){if(!v||!K.isTrusted)return;if(k={x:K.type==="touchmove"?K.targetTouches[0].pageX:K.pageX,y:K.type==="touchmove"?K.targetTouches[0].pageY:K.pageY},typeof E>"u"&&(E=!!(E||Math.abs(k.x-_.x)>Math.abs(k.y-_.y))),E){v=!1,T=!1;return}I=_.y-k.y;const pe=I<0?"to-bottom":"to-top";if(!T){if(B&&!f.hasClass("modal-in-swipe-step")&&(q=B.scrollTop,X=B.scrollHeight,H=B.offsetHeight,X!==H&&!(pe==="to-bottom"&&q===0)&&!(pe==="to-top"&&q===X-H))){f.transform(""),v=!1,T=!1;return}a.push&&b&&(W=e.$el.children(".view, .views")),O=f[0].offsetHeight,w=Cs(f[0],"y"),A?(L=a.params.swipeToClose?-O:-y,j=0):(L=0,j=a.params.swipeToClose?O:y),T=!0}if(D=w-I,D=Math.min(Math.max(D,L),j),K.preventDefault(),a.push&&b){let ke=(D-w)/O;a.params.swipeToStep&&(A?ke=D/y:ke=1-(y-D)/y),ke=Math.abs(ke),ke=Math.min(Math.max(ke,0),1);const he=1-ke,re=1-(1-g(b))*he;W.transition(0).forEach(Ce=>{Ce.style.setProperty("transform",`translate3d(0,0,0) scale(${re})`,"important")}),a.params.swipeToStep&&W.css("border-radius",`${Y*he}px`)}if(f.transition(0).transform(`translate3d(0,${D}px,0)`),a.params.swipeToStep){let ke;A?ke=1-D/y:ke=(y-D)/y,ke=Math.min(Math.max(ke,0),1),f.trigger("sheet:stepprogress",ke),a.emit("local::stepProgress sheetStepProgress",a,ke)}}function ye(){if(v=!1,!T)return;T=!1,f.transform("").transition(""),a.push&&b&&(W.transition("").transform(""),W.css("border-radius",""));const K=I<0?"to-bottom":"to-top",pe=Math.abs(I);if(pe===0||D===w)return;const ke=new Date().getTime()-S;if(!a.params.swipeToStep){if(K!==(A?"to-top":"to-bottom"))return;(ke<300&&pe>20||ke>=300&&pe>O/2)&&a.close();return}const he=A?"to-bottom":"to-top",re=A?"to-top":"to-bottom",Ce=Math.abs(D),Pe=Math.abs(y);if(ke<300&&pe>10){K===he&&CePe&&(a.params.swipeToClose?a.close():(f.addClass("modal-in-swipe-step"),f.trigger("sheet:stepprogress",0),a.emit("local::stepProgress sheetStepProgress",a,0),a.emit("local::_swipeStep",!0),f.trigger("sheet:stepclose"),a.emit("local::stepClose sheetStepClose",a),a.push&&b&&(a.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale"),W.css("border-radius","0px")))),K===re&&Ce<=Pe&&(f.addClass("modal-in-swipe-step"),f.trigger("sheet:stepprogress",0),a.emit("local::stepProgress sheetStepProgress",a,0),a.emit("local::_swipeStep",!0),f.trigger("sheet:stepclose"),a.emit("local::stepClose sheetStepClose",a),a.push&&b&&(a.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale"),W.css("border-radius","0px")));return}if(ke>=300){const Ve=!f.hasClass("modal-in-swipe-step");Ve?Ve&&(Ce>Pe+(O-Pe)/2?a.params.swipeToClose&&a.close():Ce>Pe/2&&(f.addClass("modal-in-swipe-step"),f.trigger("sheet:stepprogress",0),a.emit("local::stepProgress sheetStepProgress",a,0),a.emit("local::_swipeStep",!0),f.trigger("sheet:stepclose"),a.emit("local::stepClose sheetStepClose",a),a.push&&b&&(a.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale"),W.css("border-radius","0px")))):Ce(O-Pe)/2&&a.params.swipeToClose&&a.close()}}a.setSwipeStep=function(pe){pe===void 0&&(pe=!0);const ke=f.find(".sheet-modal-swipe-step").eq(0);ke.length&&(f.hasClass("sheet-modal-top")?y=-(ke.offset().top-f.offset().top+ke[0].offsetHeight):y=f[0].offsetHeight-(ke.offset().top-f.offset().top+ke[0].offsetHeight),f[0].style.setProperty("--f7-sheet-swipe-step",`${y}px`),pe||(f.addClass("modal-in-swipe-step"),a.emit("local::_swipeStep",!0)))};function ne(){a.setSwipeStep(!0)}const me=r.passiveListener?{passive:!0}:!1;return(a.params.swipeToClose||a.params.swipeToStep)&&(f.on(e.touchEvents.start,G,me),e.on("touchmove",ce),e.on("touchend:passive",ye),a.once("sheetDestroy",()=>{f.off(e.touchEvents.start,G,me),e.off("touchmove",ce),e.off("touchend:passive",ye)})),a.on("open",()=>{a.params.closeOnEscape&&P(o).on("keydown",p),f.prevAll(".popup.modal-in").addClass("popup-behind"),a.params.swipeToStep&&(a.setSwipeStep(!1),e.on("resize",ne)),a.params.scrollToEl&&d(),a.push&&(b=parseInt(f.css("--f7-sheet-push-offset"),10),Number.isNaN(b)&&(b=0),b||(b=e.theme==="ios"?44:48),a.$htmlEl[0].style.setProperty("--f7-sheet-push-offset",`${b}px`),f.addClass("sheet-modal-push"),a.$htmlEl.addClass("with-modal-sheet-push"),a.params.swipeToStep?(W=e.$el.children(".view, .views"),Y=parseFloat(f.css(`border-${A?"bottom":"top"}-left-radius`)),W.css("border-radius","0px")):a.$htmlEl[0].style.setProperty("--f7-sheet-push-scale",g(b)))}),a.on("opened",()=>{(a.params.closeByOutsideClick||a.params.closeByBackdropClick)&&e.on("click",h)}),a.on("close",()=>{a.params.swipeToStep&&(f.removeClass("modal-in-swipe-step"),a.emit("local::_swipeStep",!1),e.off("resize",ne)),a.params.closeOnEscape&&P(o).off("keydown",p),a.params.scrollToEl&&m(),(a.params.closeByOutsideClick||a.params.closeByBackdropClick)&&e.off("click",h),f.prevAll(".popup.modal-in").eq(0).removeClass("popup-behind"),a.push&&b&&(a.$htmlEl.removeClass("with-modal-sheet-push"),a.$htmlEl.addClass("with-modal-sheet-push-closing"))}),a.on("closed",()=>{a.push&&b&&(a.$htmlEl.removeClass("with-modal-sheet-push-closing"),a.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale"),a.$htmlEl[0].style.removeProperty("--f7-sheet-push-offset"))}),a.stepOpen=function(){f.removeClass("modal-in-swipe-step"),a.emit("local::_swipeStep",!1),a.push&&(b||(b=parseInt(f.css("--f7-sheet-push-offset"),10),Number.isNaN(b)&&(b=0)),b&&a.$htmlEl[0].style.setProperty("--f7-sheet-push-scale",g(b)))},a.stepClose=function(){f.addClass("modal-in-swipe-step"),a.emit("local::_swipeStep",!0),a.push&&a.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale")},a.stepToggle=function(){f.toggleClass("modal-in-swipe-step"),a.emit("local::_swipeStep",f.hasClass("modal-in-swipe-step"))},f[0].f7Modal=a,a}};const rd=fC,cC={name:"sheet",params:{sheet:{push:!1,backdrop:void 0,backdropEl:void 0,backdropUnique:!1,closeByBackdropClick:!0,closeByOutsideClick:!1,closeOnEscape:!1,swipeToClose:!1,swipeToStep:!1,swipeHandler:null,containerEl:null}},static:{Sheet:rd},create(){const t=this;t.sheet=te({},on({app:t,constructor:rd,defaultSelector:".sheet-modal.modal-in"}),{stepOpen(e){const n=t.sheet.get(e);if(n&&n.stepOpen)return n.stepOpen()},stepClose(e){const n=t.sheet.get(e);if(n&&n.stepClose)return n.stepClose()},stepToggle(e){const n=t.sheet.get(e);if(n&&n.stepToggle)return n.stepToggle()}})},clicks:{".sheet-open":function(e,n){n===void 0&&(n={});const s=this;P(".sheet-modal.modal-in").length>0&&n.sheet&&P(n.sheet)[0]!==P(".sheet-modal.modal-in")[0]&&s.sheet.close(".sheet-modal.modal-in"),s.sheet.open(n.sheet,n.animate,e)},".sheet-close":function(e,n){n===void 0&&(n={}),this.sheet.close(n.sheet,n.animate,e)}}};let uC=class extends Qt{constructor(e,n){const s=te({on:{}},e.params.toast,n);super(e,s);const a=this,i=Se();a.app=e,a.params=s;const{closeButton:o,closeTimeout:r}=a.params;let l;if(a.params.el)l=P(a.params.el);else{const c=a.render();l=P(c)}if(l&&l.length>0&&l[0].f7Modal)return l[0].f7Modal;if(l.length===0)return a.destroy();te(a,{$el:l,el:l[0],type:"toast"}),l[0].f7Modal=a,o&&(l.find(".toast-button").on("click",()=>{a.emit("local::closeButtonClick toastCloseButtonClick",a),a.close()}),a.on("beforeDestroy",()=>{l.find(".toast-button").off("click")}));let f;return a.on("open",()=>{P(".toast.modal-in").each(c=>{const u=e.toast.get(c);c!==a.el&&u&&u.close()}),r&&(f=_t(()=>{a.close()},r))}),a.on("close",()=>{i.clearTimeout(f)}),a.params.destroyOnClose&&a.once("closed",()=>{setTimeout(()=>{a.destroy()},0)}),a}render(){const e=this;if(e.params.render)return e.params.render.call(e,e);const{position:n,horizontalPosition:s,cssClass:a,icon:i,text:o,closeButton:r,closeButtonColor:l,closeButtonText:f}=e.params,c=n==="top"||n==="bottom"?`toast-horizontal-${s}`:"";return R("div",{class:`toast toast-${n} ${c} ${a||""} ${i?"toast-with-icon":""}`},R("div",{class:"toast-content"},i&&R("div",{class:"toast-icon"},i),R("div",{class:"toast-text"},o),r&&!i&&R("a",{class:`toast-button button ${l?`color-${l}`:""}`},f)))}};const xs=uC,dC={name:"toast",static:{Toast:xs},create(){const t=this;t.toast=te({},on({app:t,constructor:xs,defaultSelector:".toast.modal-in"}),{show(e){return te(e,{destroyOnClose:!0}),new xs(t,e).open()}})},params:{toast:{icon:null,text:null,position:"bottom",horizontalPosition:"left",closeButton:!1,closeButtonColor:null,closeButtonText:"Ok",closeTimeout:null,cssClass:null,render:null,containerEl:null}}},xn={init(t){const e=this,n={iosPreloaderContent:yn,mdPreloaderContent:Cn},s=P(t);s.length===0||s.children(".preloader-inner").length>0||s.children(".preloader-inner-line").length>0||s.append(n[`${e.theme}PreloaderContent`])},visible:!1,show(t){t===void 0&&(t="white");const e=this;if(xn.visible)return;const s={iosPreloaderContent:yn,mdPreloaderContent:Cn}[`${e.theme}PreloaderContent`]||"";P("html").addClass("with-modal-preloader"),e.$el.append(` +
    +
    +
    ${s}
    +
    + `),xn.visible=!0},showIn(t,e){e===void 0&&(e="white");const n=this,a={iosPreloaderContent:yn,mdPreloaderContent:Cn}[`${n.theme}PreloaderContent`]||"";P(t||"html").addClass("with-modal-preloader"),P(t||n.$el).append(` +
    +
    +
    ${a}
    +
    + `)},hide(){const t=this;xn.visible&&(P("html").removeClass("with-modal-preloader"),t.$el.find(".preloader-backdrop, .preloader-modal").remove(),xn.visible=!1)},hideIn(t){const e=this;P(t||"html").removeClass("with-modal-preloader"),P(t||e.$el).find(".preloader-backdrop, .preloader-modal").remove()}},pC={name:"preloader",create(){It(this,{preloader:xn})},on:{photoBrowserOpen(t){const e=this;t.$el.find(".preloader").each(n=>{e.preloader.init(n)})},tabMounted(t){const e=this;P(t).find(".preloader").each(n=>{e.preloader.init(n)})},pageInit(t){const e=this;t.$el.find(".preloader").each(n=>{e.preloader.init(n)})}},vnode:{preloader:{insert(t){const e=this,n=t.elm;e.preloader.init(n)}}}},mC={set(){const t=this;for(var e=arguments.length,n=new Array(e),s=0;s"u"||i===null)return a;i||(i=0);const r=P(a||t.$el);if(r.length===0)return a;const l=Math.min(Math.max(i,0),100);let f;if(r.hasClass("progressbar")?f=r.eq(0):f=r.children(".progressbar"),f.length===0||f.hasClass("progressbar-infinite"))return f;let c=f.children("span");return c.length===0&&(c=P(""),f.append(c)),c.transition(typeof o<"u"?o:"").transform(`translate3d(${(-100+l)*(t.rtl?-1:1)}%,0,0)`),f[0]},show(){const t=this;for(var e=arguments.length,n=new Array(e),s=0;s + ${r==="infinite"?"":""} + `),l.append(f))),typeof i<"u"&&t.progressbar.set(f,i),f[0]},hide(t,e){e===void 0&&(e=!0);const s=P(t||this.$el);if(s.length===0)return;let a;return s.hasClass("progressbar")||s.hasClass("progressbar-infinite")?a=s:a=s.children(".progressbar, .progressbar-infinite"),a.length===0||!a.hasClass("progressbar-in")||a.hasClass("progressbar-out")||a.removeClass("progressbar-in").addClass("progressbar-out").animationEnd(()=>{e&&a.remove()}),a}},hC={name:"progressbar",create(){It(this,{progressbar:mC})},on:{tabMounted(t){const e=this;P(t).find(".progressbar").each(n=>{const s=P(n);e.progressbar.set(s,s.attr("data-progress"))})},pageInit(t){const e=this;t.$el.find(".progressbar").each(n=>{const s=P(n);e.progressbar.set(s,s.attr("data-progress"))})}},vnode:{progressbar:{insert(t){const e=this,n=t.elm;e.progressbar.set(n,n.getAttribute("data-progress"))},update(t){const e=this,n=t.elm;e.progressbar.set(n,n.getAttribute("data-progress"))}}}},gC={init(){const t=this,e=Le();let n,s,a,i,o,r,l,f,c,u,d,m,h,p,b,g,v,_,k,E,S;function I(w,D){s=!1,n=!0,S=!1,a=w.type==="touchstart"?w.targetTouches[0].pageY:w.pageY,o=P(w.target).closest("li").eq(0),h=o.index(),l=o.parents(".sortable");const O=o.parents(".list-group");O.length&&O.parents(l).length&&(l=O),r=l.children("ul").children("li:not(.disallow-sorting):not(.no-sorting)"),t.panel&&(t.panel.allowOpen=!1),t.swipeout&&(t.swipeout.allow=!1),D&&(o.addClass("sorting"),l.addClass("sortable-sorting"),S=!0)}function T(w){if(!n||!o)return;const D=w.type==="touchmove"?w.targetTouches[0].pageY:w.pageY;if(!s){p=o.parents(".page"),b=o.parents(".page-content");const B=parseInt(b.css("padding-top"),10),q=parseInt(b.css("padding-bottom"),10);E=b[0].scrollTop,v=p.offset().top+B,g=p.height()-B-q,o.addClass("sorting"),l.addClass("sortable-sorting"),_=o[0].offsetTop,c=o[0].offsetTop,u=o.parent().height()-_-o.height(),f=o[0].offsetHeight,k=o.offset().top}s=!0,w.preventDefault(),w.f7PreventSwipePanel=!0,i=D-a;const O=b[0].scrollTop-E,L=Math.min(Math.max(i+O,-c),u);o.transform(`translate3d(0,${L}px,0)`);const j=44;let W=!0;i+O+j<-c&&(W=!1),i+O-j>u&&(W=!1),m=void 0,d=void 0;let Y;W&&(k+i+f+j>v+g&&(Y=k+i+f+j-(v+g)),k+i{const q=P(B);if(q[0]===o[0])return;const X=q[0].offsetTop,H=q.height(),G=_+L;let ce;const ye=q[0].f7Translate;G>=X-H/2&&o.index()q.index()?(ce=f,q[0].f7Translate=ce,q.transform(`translate3d(0, ${ce}px,0)`),d=void 0,m||(m=q)):(ce=void 0,q.transform("translate3d(0, 0%,0)")),ye!==ce&&(q.trigger("sortable:move"),t.emit("sortableMove",q[0],l[0])),q[0].f7Translate=ce})}function A(){if(!n||!s){n&&!s&&(t.panel&&(t.panel.allowOpen=!0),t.swipeout&&(t.swipeout.allow=!0),S&&(o.removeClass("sorting"),l.removeClass("sortable-sorting"))),n=!1,s=!1;return}t.panel&&(t.panel.allowOpen=!0),t.swipeout&&(t.swipeout.allow=!0),r.transform(""),o.removeClass("sorting"),l.removeClass("sortable-sorting");let w;d?w=d.index():m&&(w=m.index());let D=l.dataset().sortableMoveElements;if(typeof D>"u"&&(D=t.params.sortable.moveElements),D&&(d&&o.insertAfter(d),m&&o.insertBefore(m)),(d||m)&&l.hasClass("virtual-list")){h=o[0].f7VirtualListIndex,typeof h>"u"&&(h=o.attr("data-virtual-list-index")),m?(w=m[0].f7VirtualListIndex,typeof w>"u"&&(w=m.attr("data-virtual-list-index"))):(w=d[0].f7VirtualListIndex,typeof w>"u"&&(w=d.attr("data-virtual-list-index"))),w!==null?w=parseInt(w,10):w=void 0;const O=l[0].f7VirtualList;h&&(h=parseInt(h,10)),w&&(w=parseInt(w,10)),O&&O.moveItem(h,w)}typeof w<"u"&&!Number.isNaN(w)&&w!==h&&(o.trigger("sortable:sort",{from:h,to:w}),t.emit("sortableSort",o[0],{from:h,to:w,el:o[0]},l[0])),m=void 0,d=void 0,n=!1,s=!1}const y=it().passiveListener?{passive:!1,capture:!1}:!1;P(e).on(t.touchEvents.start,".list.sortable .sortable-handler",I,y),t.on("touchmove:active",T),t.on("touchend:passive",A),P(e).on("taphold",".sortable-tap-hold",(w,D)=>{I(D,!0)})},enable(t){t===void 0&&(t=".list.sortable");const e=this,n=P(t);n.length!==0&&(n.addClass("sortable-enabled"),n.trigger("sortable:enable"),e.emit("sortableEnable",n[0]))},disable(t){t===void 0&&(t=".list.sortable");const e=this,n=P(t);n.length!==0&&(n.removeClass("sortable-enabled"),n.trigger("sortable:disable"),e.emit("sortableDisable",n[0]))},toggle(t){t===void 0&&(t=".list.sortable");const e=this,n=P(t);n.length!==0&&(n.hasClass("sortable-enabled")?e.sortable.disable(n):e.sortable.enable(n))}},bC={name:"sortable",params:{sortable:{moveElements:!0}},create(){It(this,{sortable:gC})},on:{init(){const t=this;t.params.sortable&&t.sortable.init()}},clicks:{".sortable-enable":function(e,n){n===void 0&&(n={}),this.sortable.enable(n.sortable)},".sortable-disable":function(e,n){n===void 0&&(n={}),this.sortable.disable(n.sortable)},".sortable-toggle":function(e,n){n===void 0&&(n={}),this.sortable.toggle(n.sortable)}}},qt={init(){const t=this,e=Le(),n={};let s,a,i,o,r,l,f,c,u,d,m,h,p,b,g,v,_,k,E,S,I;function T(D){t.swipeout.allow&&(a=!1,s=!0,i=void 0,n.x=D.type==="touchstart"?D.targetTouches[0].pageX:D.pageX,n.y=D.type==="touchstart"?D.targetTouches[0].pageY:D.pageY,o=new Date().getTime(),l=P(this))}function A(D){if(!s)return;const O=D.type==="touchmove"?D.targetTouches[0].pageX:D.pageX,L=D.type==="touchmove"?D.targetTouches[0].pageY:D.pageY;if(typeof i>"u"&&(i=!!(i||Math.abs(L-n.y)>Math.abs(O-n.x))),i){s=!1;return}if(!a){if(P(".list.sortable-opened").length>0)return;f=l.find(".swipeout-content"),c=l.find(".swipeout-actions-right"),u=l.find(".swipeout-actions-left"),d=null,m=null,g=null,v=null,E=null,k=null,u.length>0&&(d=u.outerWidth(),g=u.children("a"),k=u.find(".swipeout-overswipe")),c.length>0&&(m=c.outerWidth(),v=c.children("a"),E=c.find(".swipeout-overswipe")),p=l.hasClass("swipeout-opened"),p&&(b=l.find(".swipeout-actions-left.swipeout-actions-opened").length>0?"left":"right"),l.removeClass("swipeout-transitioning"),t.params.swipeout.noFollow||(l.find(".swipeout-actions-opened").removeClass("swipeout-actions-opened"),l.removeClass("swipeout-opened"))}if(a=!0,D.cancelable&&D.preventDefault(),r=O-n.x,h=r,p&&(b==="right"?h-=m:h+=d),h>0&&u.length===0||h<0&&c.length===0){if(!p){s=!1,a=!1,f.transform(""),v&&v.length>0&&v.transform(""),g&&g.length>0&&g.transform("");return}h=0}h<0?_="to-left":h>0?_="to-right":_||(_="to-left");let j,W;if(D.f7PreventSwipePanel=!0,t.params.swipeout.noFollow){p?(b==="right"&&r>0&&t.swipeout.close(l),b==="left"&&r<0&&t.swipeout.close(l)):(r<0&&c.length>0&&t.swipeout.open(l,"right"),r>0&&u.length>0&&t.swipeout.open(l,"left")),s=!1,a=!1;return}if(S=!1,I=!1,c.length>0){let Y=h;if(W=Y/m,Y<-m){const B=Y/-m;Y=-m-(-Y-m)**.8,h=Y,E.length>0&&B>t.params.swipeout.overswipeRatio&&(I=!0)}_!=="to-left"&&(W=0,Y=0),v.each(B=>{const q=P(B);typeof B.f7SwipeoutButtonOffset>"u"&&(q[0].f7SwipeoutButtonOffset=B.offsetLeft),j=B.f7SwipeoutButtonOffset,E.length>0&&q.hasClass("swipeout-overswipe")&&_==="to-left"&&(q.css({left:`${I?-j:0}px`}),I?(q.hasClass("swipeout-overswipe-active")||(l.trigger("swipeout:overswipeenter"),t.emit("swipeoutOverswipeEnter",l[0])),q.addClass("swipeout-overswipe-active")):(q.hasClass("swipeout-overswipe-active")&&(l.trigger("swipeout:overswipeexit"),t.emit("swipeoutOverswipeExit",l[0])),q.removeClass("swipeout-overswipe-active"))),q.transform(`translate3d(${Y-j*(1+Math.max(W,-1))}px,0,0)`)})}if(u.length>0){let Y=h;if(W=Y/d,Y>d){const B=Y/m;Y=d+(Y-d)**.8,h=Y,k.length>0&&B>t.params.swipeout.overswipeRatio&&(S=!0)}_!=="to-right"&&(Y=0,W=0),g.each((B,q)=>{const X=P(B);typeof B.f7SwipeoutButtonOffset>"u"&&(X[0].f7SwipeoutButtonOffset=d-B.offsetLeft-B.offsetWidth),j=B.f7SwipeoutButtonOffset,k.length>0&&X.hasClass("swipeout-overswipe")&&_==="to-right"&&(X.css({left:`${S?j:0}px`}),S?(X.hasClass("swipeout-overswipe-active")||(l.trigger("swipeout:overswipeenter"),t.emit("swipeoutOverswipeEnter",l[0])),X.addClass("swipeout-overswipe-active")):(X.hasClass("swipeout-overswipe-active")&&(l.trigger("swipeout:overswipeexit"),t.emit("swipeoutOverswipeExit",l[0])),X.removeClass("swipeout-overswipe-active"))),g.length>1&&X.css("z-index",g.length-q),X.transform(`translate3d(${Y+j*(1-Math.min(W,1))}px,0,0)`)})}l.trigger("swipeout",W),t.emit("swipeout",l[0],W),f.transform(`translate3d(${h}px,0,0)`)}function y(){if(!s||!a){s=!1,a=!1;return}s=!1,a=!1;const D=new Date().getTime()-o,O=_==="to-left"?c:u,L=_==="to-left"?m:d;let j,W,Y;if(D<300&&(r<-10&&_==="to-left"||r>10&&_==="to-right")||D>=300&&Math.abs(h)>L/2?j="open":j="close",D<300&&(Math.abs(h)===0&&(j="close"),Math.abs(h)===L&&(j="open")),j==="open"){qt.el=l[0],l.trigger("swipeout:open"),t.emit("swipeoutOpen",l[0]),l.addClass("swipeout-opened swipeout-transitioning");const q=_==="to-left"?-L:L;if(f.transform(`translate3d(${q}px,0,0)`),O.addClass("swipeout-actions-opened"),W=_==="to-left"?v:g,W)for(Y=0;Y0&&g!==W&&g.each(q=>{const X=P(q);B=q.f7SwipeoutButtonOffset,typeof B>"u"&&(X[0].f7SwipeoutButtonOffset=d-q.offsetLeft-q.offsetWidth),X.transform(`translate3d(${B}px,0,0)`)}),v&&v.length>0&&v!==W&&v.each(q=>{const X=P(q);B=q.f7SwipeoutButtonOffset,typeof B>"u"&&(X[0].f7SwipeoutButtonOffset=q.offsetLeft),X.transform(`translate3d(${-B}px,0,0)`)}),f.transitionEnd(()=>{p&&j==="open"||!p&&j==="close"||(l.trigger(j==="open"?"swipeout:opened":"swipeout:closed"),t.emit(j==="open"?"swipeoutOpened":"swipeoutClosed",l[0]),l.removeClass("swipeout-transitioning"),p&&j==="close"&&(c.length>0&&v.transform(""),u.length>0&&g.transform("")))})}const w=it().passiveListener?{passive:!0}:!1;t.on("touchstart",D=>{if(qt.el){const O=P(D.target);P(qt.el).is(O[0])||O.parents(".swipeout").is(qt.el)||O.hasClass("modal-in")||(O.attr("class")||"").indexOf("-backdrop")>0||O.hasClass("actions-modal")||O.parents(".actions-modal.modal-in, .dialog.modal-in").length>0||t.swipeout.close(qt.el)}}),P(e).on(t.touchEvents.start,"li.swipeout",T,w),t.on("touchmove:active",A),t.on("touchend:passive",y)},allow:!0,el:void 0,open(){const t=this;for(var e=arguments.length,n=new Array(e),s=0;s0?i="right":i="left");const l=r.find(`.swipeout-actions-${i}`),f=r.find(".swipeout-content");if(l.length===0)return;r.trigger("swipeout:open").addClass("swipeout-opened").removeClass("swipeout-transitioning"),t.emit("swipeoutOpen",r[0]),l.addClass("swipeout-actions-opened");const c=l.children("a"),u=l.outerWidth(),d=i==="right"?-u:u;c.length>1&&c.each((m,h)=>{const p=P(m);i==="right"?p.transform(`translate3d(${-m.offsetLeft}px,0,0)`):p.css("z-index",c.length-h).transform(`translate3d(${u-m.offsetWidth-m.offsetLeft}px,0,0)`)}),r.addClass("swipeout-transitioning"),f.transitionEnd(()=>{r.trigger("swipeout:opened"),t.emit("swipeoutOpened",r[0]),o&&o.call(r[0])}),Bt(()=>{c.transform(`translate3d(${d}px,0,0)`),f.transform(`translate3d(${d}px,0,0)`)}),qt.el=r[0]},close(t,e){const n=this,s=P(t).eq(0);if(s.length===0||!s.hasClass("swipeout-opened"))return;const a=s.find(".swipeout-actions-opened").hasClass("swipeout-actions-right")?"right":"left",i=s.find(".swipeout-actions-opened").removeClass("swipeout-actions-opened"),o=i.children("a"),r=i.outerWidth();n.swipeout.allow=!1,s.trigger("swipeout:close"),n.emit("swipeoutClose",s[0]),s.removeClass("swipeout-opened").addClass("swipeout-transitioning");let l;function f(){n.swipeout.allow=!0,!s.hasClass("swipeout-opened")&&(s.removeClass("swipeout-transitioning"),o.transform(""),s.trigger("swipeout:closed"),n.emit("swipeoutClosed",s[0]),e&&e.call(s[0]),l&&clearTimeout(l))}s.find(".swipeout-content").transform("").transitionEnd(f),l=setTimeout(f,500),o.each(c=>{const u=P(c);a==="right"?u.transform(`translate3d(${-c.offsetLeft}px,0,0)`):u.transform(`translate3d(${r-c.offsetWidth-c.offsetLeft}px,0,0)`),u.css({left:"0px"}).removeClass("swipeout-overswipe-active")}),qt.el&&qt.el===s[0]&&(qt.el=void 0)},delete(t,e){const n=this,s=P(t).eq(0);s.length!==0&&(qt.el=void 0,s.trigger("swipeout:delete"),n.emit("swipeoutDelete",s[0]),s.css({height:`${s.outerHeight()}px`}),s.transitionEnd(()=>{if(s.trigger("swipeout:deleted"),n.emit("swipeoutDeleted",s[0]),e&&e.call(s[0]),s.parents(".virtual-list").length>0){const a=s.parents(".virtual-list")[0].f7VirtualList,i=s[0].f7VirtualListIndex;a&&typeof i<"u"&&a.deleteItem(i)}else n.params.swipeout.removeElements?n.params.swipeout.removeElementsWithTimeout?setTimeout(()=>{s.remove()},n.params.swipeout.removeElementsTimeout):s.remove():s.removeClass("swipeout-deleting swipeout-transitioning")}),Bt(()=>{s.addClass("swipeout-deleting swipeout-transitioning").css({height:"0px"}).find(".swipeout-content").transform("translate3d(-100%,0,0)")}))}},vC={name:"swipeout",params:{swipeout:{actionsNoFold:!1,noFollow:!1,removeElements:!0,removeElementsWithTimeout:!1,removeElementsTimeout:0,overswipeRatio:1.2}},create(){It(this,{swipeout:qt})},clicks:{".swipeout-open":function(e,n){n===void 0&&(n={}),this.swipeout.open(n.swipeout,n.side)},".swipeout-close":function(e){const n=this,s=e.closest(".swipeout");s.length!==0&&n.swipeout.close(s)},".swipeout-delete":function(e,n){n===void 0&&(n={});const s=this,a=e.closest(".swipeout");if(a.length===0)return;const{confirm:i,confirmTitle:o}=n;n.confirm?s.dialog.confirm(i,o,()=>{s.swipeout.delete(a)}):s.swipeout.delete(a)}},on:{init(){const t=this;t.params.swipeout&&t.swipeout.init()}}},ld={toggleClicked(t){const e=this;let n=t.closest(".accordion-item").eq(0);n.length||(n=t.parents("li").eq(0));const s=t.parents(".accordion-item-content").eq(0);s.length&&s.parents(n).length||t.parents("li").length>1&&t.parents("li")[0]!==n[0]||e.accordion.toggle(n)},open(t){const e=this,n=P(t);let s=!1;function a(){s=!0}if(n.trigger("accordion:beforeopen",{prevent:a},a),e.emit("accordionBeforeOpen",n[0],a),s)return;const i=n.parents(".accordion-list").eq(0);let o=n.children(".accordion-item-content");if(o.removeAttr("aria-hidden"),o.length===0&&(o=n.find(".accordion-item-content")),o.length===0)return;const r=i.length>0&&n.parent().children(".accordion-item-opened");r.length>0&&e.accordion.close(r),o.transitionEnd(()=>{n.hasClass("accordion-item-opened")?(o.transition(0),o.css("height","auto"),Bt(()=>{o.transition(""),n.trigger("accordion:opened"),e.emit("accordionOpened",n[0])})):(o.css("height",""),n.trigger("accordion:closed"),e.emit("accordionClosed",n[0]))}),o.css("height",`${o[0].scrollHeight}px`),n.trigger("accordion:open"),n.addClass("accordion-item-opened"),e.emit("accordionOpen",n[0])},close(t){const e=this,n=P(t);let s=!1;function a(){s=!0}if(n.trigger("accordion:beforeclose",{prevent:a},a),e.emit("accordionBeforeClose",n[0],a),s)return;let i=n.children(".accordion-item-content");i.length===0&&(i=n.find(".accordion-item-content")),n.removeClass("accordion-item-opened"),i.attr("aria-hidden",!0),i.transition(0),i.css("height",`${i[0].scrollHeight}px`),i.transitionEnd(()=>{n.hasClass("accordion-item-opened")?(i.transition(0),i.css("height","auto"),Bt(()=>{i.transition(""),n.trigger("accordion:opened"),e.emit("accordionOpened",n[0])})):(i.css("height",""),n.trigger("accordion:closed"),e.emit("accordionClosed",n[0]))}),Bt(()=>{i.transition(""),i.css("height",""),n.trigger("accordion:close"),e.emit("accordionClose",n[0])})},toggle(t){const e=this,n=P(t);n.length!==0&&(n.hasClass("accordion-item-opened")?e.accordion.close(t):e.accordion.open(t))}},_C={name:"accordion",create(){It(this,{accordion:ld})},clicks:{".accordion-item .item-link, .accordion-item-toggle, .links-list.accordion-list > ul > li > a":function(e){const n=this;ld.toggleClicked.call(n,e)}}},kC={name:"contactsList"};let EC=class extends rt{constructor(e,n){n===void 0&&(n={}),super(n,[e]);const s=this,a=Ke(),i=Le();let o;e.theme==="md"?o=48:e.theme==="ios"&&(o=44);const r={cols:1,height:o,cache:!0,dynamicHeightBufferSize:1,showFilteredItemsOnly:!1,renderExternal:void 0,setListHeight:!0,searchByItem:void 0,searchAll:void 0,ul:null,createUl:!0,scrollableParentEl:void 0,renderItem(b){return` +
  • +
    +
    +
    ${b}
    +
    +
    +
  • + `.trim()},on:{}};if(s.useModulesParams(r),s.params=te(r,n),(s.params.height===void 0||!s.params.height)&&(s.params.height=o),s.$el=P(n.el),s.el=s.$el[0],s.$el.length===0)return;s.$el[0].f7VirtualList=s,s.items=s.params.items,s.params.showFilteredItemsOnly&&(s.filteredItems=[]),s.params.renderItem&&(s.renderItem=s.params.renderItem),s.$pageContentEl=s.$el.parents(".page-content"),s.pageContentEl=s.$pageContentEl[0],s.$scrollableParentEl=s.params.scrollableParentEl?P(s.params.scrollableParentEl).eq(0):s.$pageContentEl,!s.$scrollableParentEl.length&&s.$pageContentEl.length&&(s.$scrollableParentEl=s.$pageContentEl),s.scrollableParentEl=s.$scrollableParentEl[0],typeof s.params.updatableScroll<"u"?s.updatableScroll=s.params.updatableScroll:(s.updatableScroll=!0,a.ios&&a.osVersion.split(".")[0]<8&&(s.updatableScroll=!1));const l=s.params.ul;s.$ul=l?P(s.params.ul):s.$el.children("ul"),s.$ul.length===0&&s.params.createUl&&(s.$el.append("
      "),s.$ul=s.$el.children("ul")),s.ul=s.$ul[0];let f;!s.ul&&!s.params.createUl?f=s.$el:f=s.$ul,te(s,{$itemsWrapEl:f,itemsWrapEl:f[0],domCache:{},tempDomElement:i.createElement("ul"),lastRepaintY:null,fragment:i.createDocumentFragment(),pageHeight:void 0,rowsPerScreen:void 0,rowsBefore:void 0,rowsAfter:void 0,rowsToRender:void 0,maxBufferHeight:0,listHeight:void 0,dynamicHeight:typeof s.params.height=="function",autoHeight:s.params.height==="auto"}),s.useModules();const c=s.handleScroll.bind(s),u=s.handleResize.bind(s);let d,m,h,p;return s.attachEvents=function(){d=s.$el.parents(".page").eq(0),m=s.$el.parents(".tab").filter(g=>P(g).parent(".tabs").parent(".tabs-animated-wrap, swiper-container.tabs").length===0).eq(0),h=s.$el.parents(".panel").eq(0),p=s.$el.parents(".popup").eq(0),s.$scrollableParentEl.on("scroll",c),d.length&&d.on("page:reinit",u),m.length&&m.on("tab:show",u),h.length&&h.on("panel:open",u),p.length&&p.on("popup:open",u),e.on("resize",u)},s.detachEvents=function(){s.$scrollableParentEl.off("scroll",c),d.length&&d.off("page:reinit",u),m.length&&m.off("tab:show",u),h.length&&h.off("panel:open",u),p.length&&p.off("popup:open",u),e.off("resize",u)},s.init(),s}setListSize(e){const n=this,s=n.filteredItems||n.items;if(e||(n.pageHeight=n.$scrollableParentEl[0].offsetHeight),n.dynamicHeight){n.listHeight=0,n.heights=[];for(let a=0;a{a[parseInt(i.getAttribute("data-virtual-list-index"),10)]=i});for(let i=0;i"u"&&(n.heights[o]=40),n.listHeight+=n.heights[o]}}else n.listHeight=Math.ceil(s.length/n.params.cols)*n.params.height,n.rowsPerScreen=Math.ceil(n.pageHeight/n.params.height),n.rowsBefore=n.params.rowsBefore||n.rowsPerScreen*2,n.rowsAfter=n.params.rowsAfter||n.rowsPerScreen,n.rowsToRender=n.rowsPerScreen+n.rowsBefore+n.rowsAfter,n.maxBufferHeight=n.rowsBefore/2*n.params.height;(n.updatableScroll||n.params.setListHeight)&&n.$itemsWrapEl.css({height:`${n.listHeight}px`})}render(e,n){const s=this;e&&(s.lastRepaintY=null);let a=-(s.$el[0].getBoundingClientRect().top-s.$scrollableParentEl[0].getBoundingClientRect().top);if(typeof n<"u"&&(a=n),s.lastRepaintY===null||Math.abs(a-s.lastRepaintY)>s.maxBufferHeight||!s.updatableScroll&&s.$scrollableParentEl[0].scrollTop+s.pageHeight>=s.$scrollableParentEl[0].scrollHeight)s.lastRepaintY=a;else return;const i=s.filteredItems||s.items;let o,r,l=0,f=0;if(s.dynamicHeight||s.autoHeight){let m=0,h;s.maxBufferHeight=s.pageHeight;for(let p=0;p"u"&&(m+h>=a-s.pageHeight*2*s.params.dynamicHeightBufferSize?o=p:l+=h),typeof r>"u"&&((m+h>=a+s.pageHeight*2*s.params.dynamicHeightBufferSize||p===s.heights.length-1)&&(r=p+1),f+=h),m+=h;r=Math.min(r,i.length)}else o=(parseInt(a/s.params.height,10)-s.rowsBefore)*s.params.cols,o<0&&(o=0),r=Math.min(o+s.rowsToRender*s.params.cols,i.length);let c;const u=[];s.reachEnd=!1;let d;for(d=o;d{s.setListSize(!0)})}filterItems(e,n){n===void 0&&(n=!0);const s=this;s.filteredItems=[];for(let a=0;an.items.length)return!1;let s=0;if(n.dynamicHeight||n.autoHeight)for(let i=0;i=0;s-=1)n.items.unshift(e[s]);if(n.params.cache){const s={};Object.keys(n.domCache).forEach(a=>{s[parseInt(a,10)+e.length]=n.domCache[a]}),n.domCache=s}n.update()}prependItem(e){this.prependItems([e])}moveItem(e,n){const s=this,a=e;let i=n;if(a===i)return;const o=s.items.splice(a,1)[0];if(i>=s.items.length?(s.items.push(o),i=s.items.length-1):s.items.splice(i,0,o),s.params.cache){const r={};Object.keys(s.domCache).forEach(l=>{const f=parseInt(l,10),c=au)&&(r[f]=s.domCache[f]),f===c&&(r[u]=s.domCache[f]),f>c&&f<=u&&(r[f+d]=s.domCache[f])}),s.domCache=r}s.update()}insertItemBefore(e,n){const s=this;if(e===0){s.prependItem(n);return}if(e>=s.items.length){s.appendItem(n);return}if(s.items.splice(e,0,n),s.params.cache){const a={};Object.keys(s.domCache).forEach(i=>{const o=parseInt(i,10);o>=e&&(a[o+1]=s.domCache[o])}),s.domCache=a}s.update()}deleteItems(e){const n=this;let s,a=0;for(let i=0;is&&(a=-i),o+=a,s=e[i];const r=n.items.splice(o,1)[0];if(n.filteredItems&&n.filteredItems.indexOf(r)>=0&&n.filteredItems.splice(n.filteredItems.indexOf(r),1),n.params.cache){const l={};Object.keys(n.domCache).forEach(f=>{const c=parseInt(f,10);c===o?delete n.domCache[o]:parseInt(f,10)>o?l[c-1]=n.domCache[f]:l[c]=n.domCache[f]}),n.domCache=l}}n.update()}deleteAllItems(){const e=this;e.items=[],delete e.filteredItems,e.params.cache&&(e.domCache={}),e.update()}deleteItem(e){this.deleteItems([e])}clearCache(){const e=this;e.domCache={}}update(e){const n=this;e&&n.params.cache&&(n.domCache={}),n.heightsCalculated=[],n.setListSize(),n.render(!0)}init(){const e=this;e.attachEvents(),e.setListSize(),e.render()}destroy(){let e=this;e.detachEvents(),e.$el[0].f7VirtualList=null,delete e.$el[0].f7VirtualList,ft(e),e=null}};const od=EC,CC={name:"virtualList",static:{VirtualList:od},create(){const t=this;t.virtualList=ct({defaultSelector:".virtual-list",constructor:od,app:t,domProp:"f7VirtualList"})}};let yC=class extends rt{constructor(e,n){n===void 0&&(n={}),super(n,[e]);const s=this,a={el:null,listEl:null,indexes:"auto",iosItemHeight:14,mdItemHeight:14,scrollList:!0,label:!1,renderItem(E,S){return` +
    • ${E}
    • + `.trim()},renderSkipPlaceholder(){return'
    • '},on:{}};s.useModulesParams(a),s.params=te(a,n);let i,o,r,l;if(s.params.el)i=P(s.params.el);else return s;if(i[0].f7ListIndex)return i[0].f7ListIndex;if(l=i.find("ul"),l.length===0&&(l=P("
        "),i.append(l)),s.params.listEl&&(o=P(s.params.listEl)),s.params.indexes==="auto"&&!o)return s;o?r=o.parents(".page-content").eq(0):(r=i.siblings(".page-content").eq(0),r.length===0&&(r=i.parents(".page").eq(0).find(".page-content").eq(0))),i[0].f7ListIndex=s,te(s,{app:e,$el:i,el:i&&i[0],$ul:l,ul:l&&l[0],$listEl:o,listEl:o&&o[0],$pageContentEl:r,pageContentEl:r&&r[0],indexes:n.indexes,height:0,skipRate:0}),s.useModules();function f(){const E={index:s};s.calcSize(),E!==s.height&&s.render()}function c(E){const S=P(E.target).closest("li");if(!S.length)return;let I=S.index();if(s.skipRate>0){const A=I/(S.siblings("li").length-1);I=Math.round((s.indexes.length-1)*A)}const T=s.indexes[I];s.$el.trigger("listindex:click",{content:T,index:I}),s.emit("local::click listIndexClick",s,T,I),s.$el.trigger("listindex:select",{content:T,index:I}),s.emit("local::select listIndexSelect",s,T,I),s.$listEl&&s.params.scrollList&&s.scrollListToIndex(T,I)}let u,d,m,h,p,b=null;function g(E){const S=l.children();S.length&&(m=S[0].getBoundingClientRect().top,h=S[S.length-1].getBoundingClientRect().top+S[0].offsetHeight,E.type==="touchstart"?E.targetTouches[0].pageX:E.pageX,E.type==="touchstart"?E.targetTouches[0].pageY:E.pageY,u=!0,d=!1,b=null)}function v(E){if(!u)return;!d&&s.params.label&&(p=P(''),i.append(p)),d=!0;const S=E.type==="touchmove"?E.targetTouches[0].pageY:E.pageY;E.preventDefault();let I=(S-m)/(h-m);I=Math.min(Math.max(I,0),1);const T=Math.round((s.indexes.length-1)*I),A=s.indexes[T],y=h-m,w=(s.height-y)/2+(1-I)*y;T!==b&&(s.params.label&&p.html(A).transform(`translateY(-${w}px)`),s.$listEl&&s.params.scrollList&&s.scrollListToIndex(A,T)),b=T,s.$el.trigger("listindex:select"),s.emit("local::select listIndexSelect",s,A,T)}function _(){u&&(u=!1,d=!1,s.params.label&&(p&&p.remove(),p=void 0))}const k=it().passiveListener?{passive:!0}:!1;return s.attachEvents=function(){i.parents(".tab").on("tab:show",f),i.parents(".page").on("page:reinit",f),i.parents(".panel").on("panel:open",f),i.parents(".sheet-modal, .actions-modal, .popup, .popover, .login-screen, .dialog, .toast").on("modal:open",f),e.on("resize",f),i.on("click",c),i.on(e.touchEvents.start,g,k),e.on("touchmove:active",v),e.on("touchend:passive",_)},s.detachEvents=function(){i.parents(".tab").off("tab:show",f),i.parents(".page").off("page:reinit",f),i.parents(".panel").off("panel:open",f),i.parents(".sheet-modal, .actions-modal, .popup, .popover, .login-screen, .dialog, .toast").off("modal:open",f),e.off("resize",f),i.off("click",c),i.off(e.touchEvents.start,g,k),e.off("touchmove:active",v),e.off("touchend:passive",_)},s.init(),s}scrollListToIndex(e,n){const s=this,{$listEl:a,$pageContentEl:i,app:o}=s;if(!a||!i||i.length===0)return s;let r;if(a.find(".list-group-title").each(d=>{if(r)return;const m=P(d);m.text()===e&&(r=m)}),!r||r.length===0)return s;const l=r.parent().offset().top;let f=parseInt(i.css("padding-top"),10);const c=i[0].scrollTop,u=r.offset().top;if(i.parents(".page-with-navbar-large").length){const d=o.navbar.getElByPage(i.parents(".page-with-navbar-large").eq(0)),m=P(d).find(".title-large");m.length&&(f-=m[0].offsetHeight||0)}return l<=f?i.scrollTop(l+c-f):i.scrollTop(u+c-f),s}renderSkipPlaceholder(){const e=this;return e.params.renderSkipPlaceholder.call(e)}renderItem(e,n){const s=this;return s.params.renderItem.call(s,e,n)}render(){const e=this,{$ul:n,indexes:s,skipRate:a}=e;let i;const o=s.map((r,l)=>{if(l%a!==0&&a>0)return i=!0,"";let f=e.renderItem(r,l);return i&&(f=e.renderSkipPlaceholder()+f),i=!1,f}).join("");return n.html(o),e}calcSize(){const e=this,{app:n,params:s,el:a,indexes:i}=e,o=a.offsetHeight,r=s[`${n.theme}ItemHeight`],l=Math.floor(o/r),f=i.length;let c=0;return f>l&&(c=Math.ceil((f*2-1)/l)),e.height=o,e.skipRate=c,e}calcIndexes(){const e=this;return e.params.indexes==="auto"?(e.indexes=[],e.$listEl.find(".list-group-title").each(n=>{const s=P(n).text();e.indexes.indexOf(s)<0&&e.indexes.push(s)})):e.indexes=e.params.indexes,e}update(){const e=this;return e.calcIndexes(),e.calcSize(),e.render(),e}init(){const e=this;e.calcIndexes(),e.calcSize(),e.render(),e.attachEvents()}destroy(){let e=this;e.$el.trigger("listindex:beforedestroy",e),e.emit("local::beforeDestroy listIndexBeforeDestroy"),e.detachEvents(),e.$el[0]&&(e.$el[0].f7ListIndex=null,delete e.$el[0].f7ListIndex),ft(e),e=null}};const fd=yC,wC={name:"listIndex",static:{ListIndex:fd},create(){const t=this;t.listIndex=ct({defaultSelector:".list-index",constructor:fd,app:t,domProp:"f7ListIndex"})},on:{tabMounted(t){const e=this;P(t).find(".list-index-init").each(n=>{const s=te(P(n).dataset(),{el:n});e.listIndex.create(s)})},tabBeforeRemove(t){P(t).find(".list-index-init").each(e=>{e.f7ListIndex&&e.f7ListIndex.destroy()})},pageInit(t){const e=this;t.$el.find(".list-index-init").each(n=>{const s=te(P(n).dataset(),{el:n});e.listIndex.create(s)})},pageBeforeRemove(t){t.$el.find(".list-index-init").each(e=>{e.f7ListIndex&&e.f7ListIndex.destroy()})}},vnode:{"list-index-init":{insert(t){const e=this,n=t.elm,s=te(P(n).dataset(),{el:n});e.listIndex.create(s)},destroy(t){const e=t.elm;e.f7ListIndex&&e.f7ListIndex.destroy()}}}},SC={name:"timeline"},TC={show(){const t=this;let e,n,s,a,i;for(var o=arguments.length,r=new Array(o),l=0;l2&&n.constructor===Object&&([e,s,a,n]=r))),typeof s>"u"&&(s=!0);const f=P(e);if(a&&f[0]&&(f[0].f7TabRoute=a),!i&&(f.length===0||f.hasClass("tab-active")))return{$newTabEl:f,newTabEl:f[0]};let c;n&&(c=P(n));const u=f.parent(".tabs");if(u.length===0)return{$newTabEl:f,newTabEl:f[0]};t.swipeout&&(t.swipeout.allowOpen=!0);const d=[];function m(v){d.push(v)}function h(){d.forEach(v=>{v()})}let p=!1;if(u.parent().hasClass("tabs-animated-wrap")){u.parent()[s?"removeClass":"addClass"]("not-animated");const v=parseFloat(u.css("transition-duration").replace(",","."));s&&v&&(u.transitionEnd(h),p=!0);const _=(t.rtl?f.index():-f.index())*100;u.transform(`translate3d(${_}%,0,0)`)}let b;if(u[0].nodeName.toLowerCase()==="swiper-container"&&t.swiper){b=u[0].swiper;const v=b.slides.indexOf(f[0]);b&&b.activeIndex!==v?(p=!0,b.once("slideChangeTransitionEnd",()=>{h()}).slideTo(v,s?void 0:0)):b&&b.animating&&(p=!0,b.once("slideChangeTransitionEnd",()=>{h()}))}const g=u.children(".tab-active");if(g.removeClass("tab-active"),!i&&(!b||b&&!b.animating||b&&a)&&(g.hasClass("view")&&g.children(".page").length&&g.children(".page").each(v=>{P(v).trigger("page:tabhide"),t.emit("pageTabHide",v)}),g.trigger("tab:hide"),t.emit("tabHide",g[0])),f.addClass("tab-active"),!i&&(!b||b&&!b.animating||b&&a)&&(f.hasClass("view")&&f.children(".page").length&&f.children(".page").each(v=>{P(v).trigger("page:tabshow"),t.emit("pageTabShow",v)}),f.trigger("tab:show"),t.emit("tabShow",f[0])),!c&&(typeof e=="string"?c=P(`.tab-link[href="${e}"]`):c=P(`.tab-link[href="#${f.attr("id")}"]`),(!c||c&&c.length===0)&&P("[data-tab]").each(v=>{f.is(P(v).attr("data-tab"))&&(c=P(v))}),a&&(!c||c&&c.length===0)&&(c=P(`[data-route-tab-id="${a.route.tab.id}"]`),c.length===0&&(c=P(`.tab-link[href="${a.url}"]`))),c.length>1&&f.parents(".page").length&&(c=c.filter(v=>P(v).parents(".page")[0]===f.parents(".page")[0]),t.theme==="ios"&&c.length===0&&a))){const v=f.parents(".page"),_=P(t.navbar.getElByPage(v));c=_.find(`[data-route-tab-id="${a.route.tab.id}"]`),c.length===0&&(c=_.find(`.tab-link[href="${a.url}"]`))}if(c.length>0){let v;if(g&&g.length>0){const _=g.attr("id");_&&(v=P(`.tab-link[href="#${_}"]`),(!v||v&&v.length===0)&&(v=P(`.tab-link[data-route-tab-id="${_}"]`))),(!v||v&&v.length===0)&&P("[data-tab]").each(k=>{g.is(P(k).attr("data-tab"))&&(v=P(k))}),(!v||v&&v.length===0)&&(v=c.siblings(".tab-link-active"))}else a&&(v=c.siblings(".tab-link-active"));if(v&&v.length>1&&g&&g.parents(".page").length&&(v=v.filter(_=>P(_).parents(".page")[0]===g.parents(".page")[0])),v&&v.length>0&&v.removeClass("tab-link-active"),c&&c.length>0){c.addClass("tab-link-active");const _=c.parents(".tabbar, .tabbar-icons");t.toolbar&&_.length>0&&(_.hasClass("tabbar-highlight")||t.theme!=="ios")&&t.toolbar.setHighlight(_)}}return{$newTabEl:f,newTabEl:f[0],$oldTabEl:g,oldTabEl:g[0],onTabsChanged:m,animated:p}}},MC={name:"tabs",create(){const t=this;te(t,{tab:{show:TC.show.bind(t)}})},on:{"pageInit tabMounted":function(e){const s=P(e.el||e).find(".tabs-animated-wrap > .tabs > .tab-active")[0];if(!s)return;this.tab.show({tabEl:s,animatedInit:!0,animate:!1})}},clicks:{".tab-link":function(e,n){n===void 0&&(n={}),(e.attr("href")&&e.attr("href").indexOf("#")===0||e.attr("data-tab"))&&this.tab.show({tabEl:n.tab||e.attr("href"),tabLinkEl:e,animate:n.animate})}}};function PC(t){const e=t.app;if(t.swipeInitialized)return;te(t,{swipeable:!0,swipeInitialized:!0});const n=t.params,{$el:s,$backdropEl:a,side:i,effect:o}=t;let r,l,f,c,u,d;const m={};let h,p,b,g,v,_,k,E=0;function S(w){if(!t.swipeable||f||!e.panel.allowOpen||!n.swipe&&!n.swipeOnlyClose||l||P(".modal-in:not(.toast):not(.notification), .photo-browser-in").length>0)return;r=e.panel.get(i==="left"?"right":"left")||{};const D=r.opened&&r.$el&&!r.$el.hasClass("panel-in-breakpoint");!t.opened&&D||!n.swipeOnlyClose&&D||w.target&&w.target.nodeName.toLowerCase()==="input"&&w.target.type==="range"||P(w.target).closest(".range-slider, swiper-container.tabs, .calendar-months, .no-swipe-panel, .card-opened").length>0||(m.x=w.type==="touchstart"?w.targetTouches[0].pageX:w.pageX,m.y=w.type==="touchstart"?w.targetTouches[0].pageY:w.pageY,!(n.swipeOnlyClose&&!t.opened)&&(n.swipeActiveArea&&!t.opened&&(i==="left"&&m.x>n.swipeActiveArea||i==="right"&&m.x"u"&&(u=!!(u||Math.abs(O-m.y)>Math.abs(D-m.x))),u){l=!1;return}if(!_){if(D>m.x?_="to-right":_="to-left",n.swipeActiveArea>0&&!t.opened){if(i==="left"&&m.x>n.swipeActiveArea){l=!1;return}if(i==="right"&&m.xv&&(b=v)):(b=p-(t.opened?v:0),b>0&&(b=0),b<-v&&(b=-v)):(b=p+(t.opened?v:j),b<0&&(b=0),b>v+j&&(b=v+j));const W=Math.abs(b/v);if(o==="reveal")n.swipeNoFollow||(k.transform(`translate3d(${b}px,0,0)`).transition(0),a&&a.transform(`translate3d(${b}px,0,0)`).transition(0)),s.trigger("panel:swipe",Math.abs(b/v)),t.emit("local::swipe panelSwipe",t,Math.abs(b/v));else{if(i==="left"&&(b-=v),!n.swipeNoFollow&&(g=1-Math.abs(b/v),a&&(a.transition(0),a.css({opacity:g})),s.transform(`translate3d(${b}px,0,0)`).transition(0),o==="push")){const Y=i==="left"?b+v:b-v;k.transform(`translate3d(${Y}px,0,0)`).transition(0),a&&a.transform(`translate3d(${Y}px,0,0)`).transition(0)}s.trigger("panel:swipe",Math.abs(b/v)),t.emit("local::swipe panelSwipe",t,Math.abs(b/v))}n.swipeNoFollow&&(t.opened&&W===0||!t.opened&&W===1)&&(d=!0,T(w))}function T(w){if(!l||!c){l=!1,c=!1;return}const D=w.type==="gesturestart"||f;l=!1,c=!1;const O=new Date().getTime()-h;let L;const j=o==="floating"?i==="left"?8:-8:0,W=(b===j||Math.abs(b)===v)&&!n.swipeNoFollow,Y=n.swipeThreshold||0;D?L="reset":t.opened?o==="cover"||o==="push"||o==="floating"?b===0?L="reset":O<300&&Math.abs(b)>0?L="swap":O>=300&&Math.abs(b)=0||O>=300&&Math.abs(b)<=v/2?i==="left"&&b===v?L="reset":L="swap":L="reset":Math.abs(p)0||O>=300&&Math.abs(b)0||O>=300&&Math.abs(b)>=v/2?L="swap":L="reset",L==="swap"&&(t.opened?t.close(!W):t.open(!W));let B=!0;if(L==="reset"&&!t.opened)if(W)s.removeClass("panel-in-swipe");else{B=!1;const q=o==="reveal"?k:s;t.setStateClasses("before-closing"),q.transitionEnd(()=>{s.hasClass("panel-in")||(s.removeClass("panel-in-swipe"),t.setStateClasses("after-closing"))})}(o==="reveal"||o==="push")&&Bt(()=>{k.transition(""),k.transform("")}),B&&s.removeClass("panel-in-swipe"),s.transition("").transform(""),a&&a.transform("").transition("").css({opacity:"",visibility:""})}function A(w){f=!0,T(w)}function y(){f=!1}e.on("touchstart:passive",S),e.on("touchmove:active",I),e.on("touchend:passive",T),e.on("gesturestart",A),e.on("gestureend",y),t.on("panelDestroy",()=>{e.off("touchstart:passive",S),e.off("touchmove:active",I),e.off("touchend:passive",T),e.off("gesturestart",A),e.off("gestureend",y)})}function IC(t){const e=t.app,n=it();if(t.resizableInitialized)return;te(t,{resizable:!0,resizableWidth:null,resizableInitialized:!0});const s=P("html"),{$el:a,$backdropEl:i,side:o,effect:r}=t;if(!a)return;let l,f;const c={};let u,d,m,h,p,b;function g(T){if(!T)return null;if(T.indexOf("%")>=0||T.indexOf("vw")>=0)return parseInt(T,10)/100*e.width;const A=parseInt(T,10);return Number.isNaN(A)?null:A}function v(){return t.resizable&&a.hasClass("panel-resizable")}function _(T){v()&&(c.x=T.type==="touchstart"?T.targetTouches[0].pageX:T.pageX,c.y=T.type==="touchstart"?T.targetTouches[0].pageY:T.pageY,f=!1,l=!0,h=g(a.css("min-width")),p=g(a.css("max-width")),b=a.hasClass("panel-in-breakpoint"))}function k(T){if(!l)return;const A=T.type==="touchmove"?T.targetTouches[0].pageX:T.pageX;f||(d=a[0].offsetWidth,a.transition(0),a.addClass("panel-resizing"),s.css("cursor","col-resize"),(r!=="cover"||b)&&(m=P(t.getViewEl()),t.$containerEl&&t.$containerEl.hasClass("page")&&m.add(t.$containerEl.children(".page-content, .tabs, .fab"))),r!=="cover"&&!b&&(i.transition(0),m.transition(0))),f=!0,T.preventDefault(),u=A-c.x;let y=o==="left"?d+u:d-u;h&&!Number.isNaN(h)&&(y=Math.max(y,h)),p&&!Number.isNaN(p)&&(y=Math.min(y,p)),y=Math.min(Math.max(y,0),e.width),t.resizableWidth=y,a[0].style.width=`${y}px`,r!=="cover"&&!b?(m&&m.transform(`translate3d(${o==="left"?y:-y}px, 0, 0)`),i&&i.transform(`translate3d(${o==="left"?y:-y}px, 0, 0)`)):b&&m&&m.css(`margin-${o}`,`${y}px`),a.trigger("panel:resize",y),t.emit("local::resize panelResize",t,y)}function E(){if(P("html").css("cursor",""),!l||!f){l=!1,f=!1;return}l=!1,f=!1,s[0].style.setProperty(`--f7-panel-${o}-width`,`${t.resizableWidth}px`),a[0].style.width="",r!=="cover"&&!b&&(m.transform(""),i.transform("")),a.removeClass("panel-resizing"),Bt(()=>{a.transition(""),r!=="cover"&&(i.transition(""),m&&m.transition(""))})}function S(){!t.opened||!t.resizableWidth||(h=g(a.css("min-width")),p=g(a.css("max-width")),h&&!Number.isNaN(h)&&t.resizableWidthp&&(t.resizableWidth=Math.min(t.resizableWidth,p)),t.resizableWidth=Math.min(Math.max(t.resizableWidth,0),e.width),s[0].style.setProperty(`--f7-panel-${o}-width`,`${t.resizableWidth}px`))}t.$el.find(".panel-resize-handler").length===0&&t.$el.append('
        '),t.$resizeHandlerEl=t.$el.children(".panel-resize-handler"),a.addClass("panel-resizable");const I=n.passiveListener?{passive:!0}:!1;t.$el.on(e.touchEvents.start,".panel-resize-handler",_,I),e.on("touchmove:active",k),e.on("touchend:passive",E),e.on("resize",S),t.on("beforeOpen",S),t.once("panelDestroy",()=>{a.removeClass("panel-resizable"),t.$resizeHandlerEl.remove(),t.$el.off(e.touchEvents.start,".panel-resize-handler",_,I),e.off("touchmove:active",k),e.off("touchend:passive",E),e.off("resize",S),t.off("beforeOpen",S)})}let AC=class extends rt{constructor(e,n){n===void 0&&(n={});const s=te({on:{}},e.params.panel,n);super(s,[e]);const a=this;a.params=s,a.$containerEl=a.params.containerEl?P(a.params.containerEl).eq(0):e.$el,a.containerEl=a.$containerEl[0],a.containerEl||(a.$containerEl=e.$el,a.containerEl=e.$el[0]);let i;if(a.params.el?i=P(a.params.el).eq(0):a.params.content&&(i=P(a.params.content).filter(c=>c.nodeType===1).eq(0)),i.length===0)return a;if(i[0].f7Panel)return i[0].f7Panel;i[0].f7Panel=a;let{side:o,effect:r,resizable:l}=a.params;typeof o>"u"&&(o=i.hasClass("panel-left")?"left":"right"),typeof r>"u"&&(r=i.hasClass("panel-cover")?"cover":i.hasClass("panel-push")?"push":i.hasClass("panel-floating")?"floating":"reveal"),typeof l>"u"&&(l=i.hasClass("panel-resizable"));let f;return a.params.backdrop&&a.params.backdropEl?f=P(a.params.backdropEl):a.params.backdrop&&(f=a.$containerEl.children(".panel-backdrop"),f.length===0&&(f=P('
        '),a.$containerEl.prepend(f))),te(a,{app:e,side:o,effect:r,resizable:l,$el:i,el:i[0],opened:!1,$backdropEl:f,backdropEl:f&&f[0]}),a.useModules(),a.init(),a}getViewEl(){const e=this;let n;return e.$containerEl.children(".views").length>0?n=e.$containerEl.children(".views")[0]:n=e.$containerEl.children(".view")[0],n}setStateClasses(e){const n=this,{side:s,el:a,effect:i}=n,o=n.getViewEl(),r=o&&o.contains(a),l=!o||r?n.$containerEl:P("html");e==="open"&&l.addClass(`with-panel with-panel-${n.side}-${n.effect}`),e==="before-closing"&&l.addClass("with-panel-closing"),e==="closing"&&(l.addClass("with-panel-closing"),l.removeClass(`with-panel with-panel-${n.side}-${n.effect}`)),e==="after-closing"&&l.removeClass("with-panel-closing"),e==="closed"&&l.removeClass(`with-panel-${s}-${i}`)}enableVisibleBreakpoint(){const e=this;return e.visibleBreakpointDisabled=!1,e.setVisibleBreakpoint(),e}disableVisibleBreakpoint(){const e=this;return e.visibleBreakpointDisabled=!0,e.setVisibleBreakpoint(),e}toggleVisibleBreakpoint(){const e=this;return e.visibleBreakpointDisabled=!e.visibleBreakpointDisabled,e.setVisibleBreakpoint(),e}setVisibleBreakpoint(e){e===void 0&&(e=!0);const n=this,s=n.app;n.visibleBreakpointResizeHandler||(n.visibleBreakpointResizeHandler=function(){n.setVisibleBreakpoint()},s.on("resize",n.visibleBreakpointResizeHandler));const{side:a,$el:i,$containerEl:o,params:r,visibleBreakpointDisabled:l}=n,f=r.visibleBreakpoint,c=P(n.getViewEl()),u=i.hasClass("panel-in-breakpoint");o&&o.hasClass("page")&&c.add(o.children(".page-content, .tabs, .fab")),s.width>=f&&typeof f<"u"&&f!==null&&!l?u?c.css({[`margin-${a}`]:`${i.width()}px`}):(n.setStateClasses("closed"),i.addClass("panel-in-breakpoint").removeClass("panel-in panel-in-collapsed"),n.onOpen(!1),n.onOpened(),c.css({[`margin-${a}`]:`${i.width()}px`}),s.allowPanelOpen=!0,e&&(n.emit("local::breakpoint panelBreakpoint",n),n.$el.trigger("panel:breakpoint"))):u&&(i.removeClass("panel-in-breakpoint panel-in"),n.onClose(),n.onClosed(),c.css({[`margin-${a}`]:""}),e&&(n.emit("local::breakpoint panelBreakpoint",n),n.$el.trigger("panel:breakpoint")))}enableCollapsedBreakpoint(){const e=this;return e.collapsedBreakpointDisabled=!1,e.setCollapsedBreakpoint(),e}disableCollapsedBreakpoint(){const e=this;return e.collapsedBreakpointDisabled=!0,e.setCollapsedBreakpoint(),e}toggleCollapsedBreakpoint(){const e=this;return e.collapsedBreakpointDisabled=!e.collapsedBreakpointDisabled,e.setCollapsedBreakpoint(),e}setCollapsedBreakpoint(e){e===void 0&&(e=!0);const n=this,s=n.app;n.collapsedBreakpointResizeHandler||(n.collapsedBreakpointResizeHandler=function(){n.setCollapsedBreakpoint()},s.on("resize",n.collapsedBreakpointResizeHandler));const{$el:a,params:i,collapsedBreakpointDisabled:o}=n;if(a.hasClass("panel-in-breakpoint"))return;const r=i.collapsedBreakpoint,l=a.hasClass("panel-in-collapsed");s.width>=r&&typeof r<"u"&&r!==null&&!o?l||(n.setStateClasses("closed"),a.addClass("panel-in-collapsed").removeClass("panel-in"),n.collapsed=!0,s.allowPanelOpen=!0,e&&(n.emit("local::collapsedBreakpoint panelCollapsedBreakpoint",n),n.$el.trigger("panel:collapsedbreakpoint"))):l&&(a.removeClass("panel-in-collapsed panel-in"),n.collapsed=!1,e&&(n.emit("local::collapsedBreakpoint panelCollapsedBreakpoint",n),n.$el.trigger("panel:collapsedbreakpoint")))}enableResizable(){const e=this;return e.resizableInitialized?(e.resizable=!0,e.$el.addClass("panel-resizable")):IC(e),e}disableResizable(){const e=this;return e.resizable=!1,e.$el.removeClass("panel-resizable"),e}enableSwipe(){const e=this;return e.swipeInitialized?e.swipeable=!0:PC(e),e}disableSwipe(){const e=this;return e.swipeable=!1,e}onOpen(e){e===void 0&&(e=!0);const n=this;n._openTransitionStarted=!1;const s=n.app;n.opened=!0,s.panel.allowOpen=!1,n.$el.trigger("panel:beforeopen"),n.emit("local::beforeOpen panelBeforeOpen",n),e&&n.setStateClasses("open"),n.$el.trigger("panel:open"),n.emit("local::open panelOpen",n)}onOpened(){const e=this,n=e.app;n.panel.allowOpen=!0,e.$el.trigger("panel:opened"),e.emit("local::opened panelOpened",e)}onClose(){const e=this,n=e.app;e.opened=!1,n.panel.allowOpen=!1,e.$el.trigger("panel:beforeclose"),e.emit("local::beforeClose panelBeforeClose",e),e.setStateClasses("closing"),e.$el.trigger("panel:close"),e.emit("local::close panelClose",e)}onClosed(){const e=this,n=e.app;if(n.panel.allowOpen=!0,e.setStateClasses("after-closing"),e.$el.removeClass("panel-out"),e.$backdropEl){const s=n.panel.get(".panel-in");(!s||s&&!s.$backdropEl)&&e.$backdropEl.removeClass("panel-backdrop-in")}e.$el.trigger("panel:closed"),e.emit("local::closed panelClosed",e)}toggle(e){e===void 0&&(e=!0);const n=this,s=n.params.visibleBreakpoint;return n.app.width>=s&&typeof s<"u"&&s!==null?n.toggleVisibleBreakpoint():(n.opened?n.close(e):n.open(e),n)}insertToRoot(){const e=this,n=Le(),{$el:s,$backdropEl:a,$containerEl:i}=e,o=s.parent(),r=s.parents(n).length>0;if(!o.is(i)||s.prevAll(".views, .view").length){const l=i.children(".panel, .views, .view").eq(0),f=i.children(".panel-backdrop").eq(0);l.length?s.insertBefore(l):f?s.insertBefore(f):i.prepend(s),a&&a.length&&(!a.parent().is(i)&&a.nextAll(".panel").length===0||a.parent().is(i)&&a.nextAll(".panel").length===0)&&a.insertBefore(s),e.once("panelClosed",()=>{r?o.append(s):s.remove()})}}open(e){e===void 0&&(e=!0);const n=this,s=n.app;if(!s.panel.allowOpen)return!1;const{effect:a,$el:i,$backdropEl:o,opened:r,$containerEl:l}=n;if(!i||i.hasClass("panel-in"))return n;if(n.insertToRoot(),r||i.hasClass("panel-in-breakpoint")||i.hasClass("panel-in"))return!1;const f=s.panel.get(".panel-in");f&&f!==n&&f.close(e),i[e?"removeClass":"addClass"]("not-animated"),i.addClass("panel-in"),o&&(o.addClass("panel-backdrop-in"),o[e?"removeClass":"addClass"]("not-animated")),["cover","push","floating"].includes(n.effect)&&(n._clientLeft=i[0].clientLeft);const c=P(n.getViewEl());l&&l.hasClass("page")&&c.add(l.children(".page-content, .tabs"));const u=a==="reveal"?c:i;function d(){u.transitionStart(()=>{n._openTransitionStarted=!0})}function m(){u.transitionEnd(h=>{P(h.target).is(u)?i.hasClass("panel-out")?n.onClosed():n.onOpened():m()})}return e?(o&&o.removeClass("not-animated"),d(),m(),i.removeClass("panel-out not-animated").addClass("panel-in"),n.onOpen()):(o&&o.addClass("not-animated"),i.removeClass("panel-out").addClass("panel-in not-animated"),n.onOpen(),n.onOpened(),n._openTransitionStarted=!0),!0}close(e){e===void 0&&(e=!0);const n=this,{effect:s,$el:a,$backdropEl:i,opened:o,$containerEl:r}=n;if(!o||a.hasClass("panel-in-breakpoint")||!a.hasClass("panel-in"))return n;a[e?"removeClass":"addClass"]("not-animated"),i&&i[e?"removeClass":"addClass"]("not-animated");const l=P(n.getViewEl());r&&r.hasClass("page")&&l.add(r.children(".page-content, .tabs"));const f=s==="reveal"?l:a;n._openTransitionStarted||(e=!1);function c(){a.hasClass("panel-out")?n.onClosed():a.hasClass("panel-in")&&n.onOpened(),n.setStateClasses("after-closing")}return e?(f.transitionEnd(()=>{c()}),a.removeClass("panel-in").addClass("panel-out"),n.onClose()):(a.addClass("not-animated").removeClass("panel-in").addClass("panel-out"),n.onClose(),n.onClosed()),n}init(){const e=this;typeof e.params.visibleBreakpoint<"u"&&e.setVisibleBreakpoint(),typeof e.params.collapsedBreakpoint<"u"&&e.setCollapsedBreakpoint(),e.params.swipe&&e.enableSwipe(),e.resizable&&e.enableResizable()}destroy(){let e=this;const n=e.app,{$containerEl:s}=e;if(e.$el){if(e.emit("local::beforeDestroy panelBeforeDestroy",e),e.$el.trigger("panel:beforedestroy"),e.visibleBreakpointResizeHandler&&n.off("resize",e.visibleBreakpointResizeHandler),e.collapsedBreakpointResizeHandler&&n.off("resize",e.collapsedBreakpointResizeHandler),e.$el.hasClass("panel-in-breakpoint")||e.$el.hasClass("panel-in-collapsed")){const a=P(e.getViewEl());s&&s.hasClass("page")&&a.add(s.children(".page-content, .tabs")),e.$el.removeClass("panel-in-breakpoint panel-in-collapsed panel-in"),a.css({[`margin-${e.side}`]:""}),e.emit("local::breakpoint panelBreakpoint",e),e.$el.trigger("panel:breakpoint")}e.$el.trigger("panel:destroy"),e.emit("local::destroy panelDestroy",e),e.el&&(e.el.f7Panel=null,delete e.el.f7Panel),ft(e),e=null}}};const $s=AC,OC={name:"panel",params:{panel:{opened:void 0,side:void 0,effect:void 0,resizable:void 0,backdrop:!0,backdropEl:void 0,visibleBreakpoint:void 0,collapsedBreakpoint:void 0,swipe:!1,swipeNoFollow:!1,swipeOnlyClose:!1,swipeActiveArea:0,swipeThreshold:0,closeByBackdropClick:!0,containerEl:void 0}},static:{Panel:$s},create(){const t=this;te(t,{panel:{allowOpen:!0,create(e){return new $s(t,e)},get(e){if(e===void 0&&(e=".panel"),e instanceof $s)return e;(e==="left"||e==="right")&&(e=`.panel-${e}`);const n=P(e);if(!(n.length===0||n.length>1))return n[0].f7Panel},destroy(e){e===void 0&&(e=".panel");const n=t.panel.get(e);if(n&&n.destroy)return n.destroy()},open(e,n){e===void 0&&(e=".panel"),(e==="left"||e==="right")&&(e=`.panel-${e}`);let s=t.panel.get(e);if(s&&s.open)return s.open(n);if(!s)return s=t.panel.create({el:e}),s.open(n)},close(e,n){e===void 0&&(e=".panel-in"),(e==="left"||e==="right")&&(e=`.panel-${e}`);let s=t.panel.get(e);if(s&&s.open)return s.close(n);if(!s)return s=t.panel.create({el:e}),s.close(n)},toggle(e,n){e===void 0&&(e=".panel"),(e==="left"||e==="right")&&(e=`.panel-${e}`);let s=t.panel.get(e);if(s&&s.toggle)return s.toggle(n);if(!s)return s=t.panel.create({el:e}),s.toggle(n)}}})},on:{init(){const t=this;P(".panel-init").each(e=>{const n=Object.assign({el:e},P(e).dataset()||{});t.panel.create(n)})},pageInit(t){const e=this;t.$el.find(".panel-init").each(n=>{const s=Object.assign({el:n},P(n).dataset()||{});e.panel.create(s)})},pageBeforeRemove(t){const e=this;t.$el.find(".panel-init").each(n=>{const s=e.panel.get(n);s&&s.destroy&&s.destroy()})}},vnode:{"panel-init":{insert(t){const e=this,n=t.elm,s=Object.assign({el:n},P(n).dataset()||{});e.panel.create(s)},destroy(t){const e=this,n=t.elm,s=e.panel.get(n);s&&s.destroy&&s.destroy()}}},clicks:{".panel-open":function(e,n){n===void 0&&(n={}),this.panel.open(n.panel,n.animate)},".panel-close":function(e,n){n===void 0&&(n={}),this.panel.close(n.panel,n.animate)},".panel-toggle":function(e,n){n===void 0&&(n={}),this.panel.toggle(n.panel,n.animate)},".panel-backdrop":function(){const e=this,n=P(".panel-in:not(.panel-out)");if(!n.length)return;const s=n[0]&&n[0].f7Panel;n.trigger("panel:backdrop-click"),s&&s.emit("backdropClick",s),e.emit("panelBackdropClick",s||n[0]),!(s&&s.params.closeByBackdropClick===!1)&&e.params.panel.closeByBackdropClick&&e.panel.close()}}},BC={open(t,e){t===void 0&&(t=".card-expandable"),e===void 0&&(e=!0);const n=this,s=Ke(),a=Le(),i=it(),o=P(t).eq(0);if(!o||!o.length||o.hasClass("card-opened")||o.hasClass("card-opening")||o.hasClass("card-closing"))return;const r=o.parents(".page").eq(0);if(!r.length||r.find(".card-opened").length)return;let l;function f(){l=!0}if(o.trigger("card:beforeopen",{prevent:f}),n.emit("cardBeforeOpen",o[0],f),l)return;const c=Object.assign({animate:e},n.params.card,o.dataset()),u=o.parents(".page-content");let d;o.attr("data-backdrop-el")&&(d=P(o.attr("data-backdrop-el"))),!d&&c.backdrop&&(d=u.find(".card-backdrop"),d.length||(d=P('
        '),u.append(d)));let m,h;c.hideNavbarOnOpen&&(m=r.children(".navbar"),m.length||r[0].f7Page&&(m=r[0].f7Page.$navbarEl)),c.hideToolbarOnOpen&&(h=r.children(".toolbar"),h.length||(h=r.parents(".view").children(".toolbar")),h.length||(h=r.parents(".views").children(".toolbar")));const p=o.css("transform");let b;p&&p.match(/[2-9]/)&&(b=!0);const g=o.children(".card-content"),v=P(a.createElement("div")).addClass("card-expandable-size");o.append(v);let _=o[0].offsetWidth,k=o[0].offsetHeight,E=r[0].offsetWidth,S=r[0].offsetHeight,I=v[0].offsetWidth||E,T=v[0].offsetHeight||S,A;m&&!c.hideStatusbarOnOpen&&T===S&&(A=parseInt(m.css("--f7-safe-area-top"),10),Number.isNaN(A)&&(A=0)),A&&(T-=A);let y=I/_,w=T/k,D=o.offset(),O=r.offset();A&&(O.top+=A/2),D.left-=O.left;let L,j;if(b){const ze=p.replace(/matrix\(|\)/g,"").split(",").map(fe=>fe.trim());if(ze&&ze.length>1){const fe=parseFloat(ze[0]);L=D.left-_*(1-fe)/2,j=D.top-O.top-k*(1-fe)/2,n.rtl&&(L-=o[0].scrollLeft)}else L=o[0].offsetLeft,j=o[0].offsetTop-(u.length?u[0].scrollTop:0)}else L=D.left,j=D.top-O.top,n.rtl&&(L-=o[0].scrollLeft);L-=(E-I)/2,j-=(S-T)/2;let W=I-_-L;n.rtl&&([L,W]=[W,L]);let Y=T-k-j,B=(W-L)/2,q=(Y-j)/2;c.hideNavbarOnOpen&&m&&m.length&&(m.closest(".navbar-hidden").length?o[0].f7KeepNavbarOnClose=!0:(delete o[0].f7KeepNavbarOnClose,n.navbar.hide(m,c.animate,c.hideStatusbarOnOpen,!0))),c.hideToolbarOnOpen&&h&&h.length&&(h.closest(".toolbar-hidden").length?o[0].f7KeepToolbarOnClose=!0:(delete o[0].f7KeepToolbarOnClose,n.toolbar.hide(h,c.animate))),d&&d.removeClass("card-backdrop-out").addClass("card-backdrop-in"),o.removeClass("card-transitioning"),c.animate&&o.addClass("card-opening"),o.trigger("card:open"),n.emit("cardOpen",o[0]);function X(){r.addClass("page-with-card-opened"),s.ios&&u.length&&(u.css("height",`${u[0].offsetHeight+1}px`),setTimeout(()=>{u.css("height","")})),o.addClass("card-opened"),o.removeClass("card-opening"),o.trigger("card:opened"),n.emit("cardOpened",o[0],r[0])}g.css({width:`${I}px`,height:`${T}px`}).transform(`translate3d(${n.rtl?L+B:-L-B}px, 0px, 0) scale(${1/y}, ${1/w})`),o.transform(`translate3d(${n.rtl?-B:B}px, ${q}px, 0) scale(${y}, ${w})`),c.animate?o.transitionEnd(()=>{X()}):X();function H(){o.removeClass("card-transitioning"),_=o[0].offsetWidth,k=o[0].offsetHeight,E=r[0].offsetWidth,S=r[0].offsetHeight,I=v[0].offsetWidth||E,T=v[0].offsetHeight||S,A=0,m&&!c.hideStatusbarOnOpen&&T===S&&(A=parseInt(m.css("--f7-safe-area-top"),10),Number.isNaN(A)&&(A=0)),A&&(T-=A),y=I/_,w=T/k,o.transform("translate3d(0px, 0px, 0) scale(1)"),D=o.offset(),O=r.offset(),A&&(O.top+=A/2),D.left-=O.left,D.top-=O.top,L=D.left-(E-I)/2,n.rtl&&(L-=o[0].scrollLeft),j=D.top-(S-T)/2,W=I-_-L,Y=T-k-j,n.rtl&&([L,W]=[W,L]),B=(W-L)/2,q=(Y-j)/2,o.transform(`translate3d(${n.rtl?-B:B}px, ${q}px, 0) scale(${y}, ${w})`),g.css({width:`${I}px`,height:`${T}px`}).transform(`translate3d(${n.rtl?L+B:-L-B}px, 0px, 0) scale(${1/y}, ${1/w})`)}let G,ce,ye,ne,me,K,pe,ke,he,re,Ce,Pe;function Ve(ze){!P(ze.target).closest(o).length||!ze.isTrusted||o.hasClass("card-opened")&&(Pe=o.find(c.scrollableEl),Pe[0]&&Pe[0]!==g[0]&&!Pe[0].contains(ze.target)?G=0:G=Pe.scrollTop(),ce=!0,ne=ze.targetTouches[0].pageX,me=ze.targetTouches[0].pageY,ke=void 0,re=!1,Ce=!1)}function Me(ze){if(!(!ce||!ze.isTrusted)){if(K=ze.targetTouches[0].pageX,pe=ze.targetTouches[0].pageY,typeof ke>"u"&&(ke=!!(ke||Math.abs(pe-me)>Math.abs(K-ne))),!Ce&&!re&&(!ke&&ze.targetTouches[0].clientX<=50?Ce=!0:re=!0),!(Ce||re)||re&&G!==0){ce=!0,ye=!0;return}ye||o.removeClass("card-transitioning"),ye=!0,he=Math.max(re?(pe-me)/150:(K-ne)/(_/2),0),(he>0&&re||Ce)&&(re&&s.ios&&Pe[0]===g[0]&&(Pe.css("-webkit-overflow-scrolling","auto"),Pe.scrollTop(0)),ze.preventDefault()),he>1&&(he**=.3),he>(re?1.3:1.1)?(ce=!1,ye=!1,n.card.close(o)):o.transform(`translate3d(${n.rtl?-B:B}px, ${q}px, 0) scale(${y*(1-he*.2)}, ${w*(1-he*.2)})`)}}function He(ze){!ce||!ye||!ze.isTrusted||(ce=!1,ye=!1,s.ios&&Pe.css("-webkit-overflow-scrolling",""),he>=.8?n.card.close(o):o.addClass("card-transitioning").transform(`translate3d(${n.rtl?-B:B}px, ${q}px, 0) scale(${y}, ${w})`))}o[0].detachEventHandlers=function(){n.off("resize",H),i.touch&&c.swipeToClose&&(n.off("touchstart:passive",Ve),n.off("touchmove:active",Me),n.off("touchend:passive",He))},n.on("resize",H),i.touch&&c.swipeToClose&&(n.on("touchstart:passive",Ve),n.on("touchmove:active",Me),n.on("touchend:passive",He))},close(t,e){t===void 0&&(t=".card-expandable.card-opened"),e===void 0&&(e=!0);const n=this,s=Ke(),a=P(t).eq(0);if(!a||!a.length||!a.hasClass("card-opened")||a.hasClass("card-opening")||a.hasClass("card-closing"))return;const i=a.children(".card-content"),o=a.parents(".page-content"),r=a.parents(".page").eq(0);if(!r.length)return;const l=Object.assign({animate:e},n.params.card,a.dataset()),f=a.find(l.scrollableEl);let c,u,d;a.attr("data-backdrop-el")&&(d=P(a.attr("data-backdrop-el"))),l.backdrop&&(d=a.parents(".page-content").find(".card-backdrop")),l.hideNavbarOnOpen&&(c=r.children(".navbar"),c.length||r[0].f7Page&&(c=r[0].f7Page.$navbarEl),c&&c.length&&!a[0].f7KeepNavbarOnClose&&n.navbar.show(c,l.animate,!0)),l.hideToolbarOnOpen&&(u=r.children(".toolbar"),u.length||(u=r.parents(".view").children(".toolbar")),u.length||(u=r.parents(".views").children(".toolbar")),u&&u.length&&!a[0].f7KeepToolbarOnClose&&n.toolbar.show(u,l.animate)),r.removeClass("page-with-card-opened"),s.ios&&o.length&&(o.css("height",`${o[0].offsetHeight+1}px`),setTimeout(()=>{o.css("height","")})),d&&d.length&&d.removeClass("card-backdrop-in").addClass("card-backdrop-out"),a.removeClass("card-opened card-transitioning"),l.animate?a.addClass("card-closing"):a.addClass("card-no-transition"),a.transform(""),a.trigger("card:close"),n.emit("cardClose",a[0],r[0]);const m=a.hasClass("card-expandable-animate-width");function h(){m||i.css({width:"",height:""}),d&&d.length&&d.removeClass("card-backdrop-in card-backdrop-out"),a.removeClass("card-closing card-no-transition"),a.trigger("card:closed"),a.find(".card-expandable-size").remove(),n.emit("cardClosed",a[0],r[0])}m&&i.css({width:"",height:""}),i.transform("").scrollTop(0,e?300:0),f.length&&f[0]!==i[0]&&f.scrollTop(0,e?300:0),e?i.transitionEnd(()=>{h()}):h(),a[0].detachEventHandlers&&(a[0].detachEventHandlers(),delete a[0].detachEventHandlers)},toggle(t,e){t===void 0&&(t=".card-expandable");const n=this,s=P(t).eq(0);s.length&&(s.hasClass("card-opened")?n.card.close(s,e):n.card.open(s,e))}},LC={name:"card",params:{card:{hideNavbarOnOpen:!0,hideStatusbarOnOpen:!0,hideToolbarOnOpen:!0,scrollableEl:".card-content",swipeToClose:!0,closeByBackdropClick:!0,backdrop:!0}},create(){It(this,{card:BC})},on:{pageBeforeIn(t){const e=this;if(e.params.card.hideNavbarOnOpen&&t.navbarEl&&t.$el.find(".card-opened.card-expandable").length&&e.navbar.hide(t.navbarEl,!0,e.params.card.hideStatusbarOnOpen,!0),e.params.card.hideToolbarOnOpen&&t.$el.find(".card-opened.card-expandable").length){let n=t.$el.children(".toolbar");n.length||(n=t.$el.parents(".view").children(".toolbar")),n.length||(n=t.$el.parents(".views").children(".toolbar")),n&&n.length&&e.toolbar.hide(n)}}},clicks:{".card-close":function(e,n){this.card.close(n.card,n.animate)},".card-open":function(e,n){this.card.open(n.card,n.animate)},".card-expandable":function(e,n,s){const a=this;e.hasClass("card-opened")||e.hasClass("card-opening")||e.hasClass("card-closing")||P(s.target).closest(".card-prevent-open, .card-close").length||a.card.open(e)},".card-backdrop-in":function(){const e=this;let n=!1;e.params.card.closeByBackdropClick&&(n=!0);const s=P(".card-opened");s.length&&(s.attr("data-close-by-backdrop-click")==="true"?n=!0:s.attr("data-close-by-backdrop-click")==="false"&&(n=!1),n&&e.card.close(s))}}},DC={name:"chip"},Qs={store(t,e){const n=this,s=Se();let a=t;const i=P(t);i.length&&i.is("form")&&i.attr("id")&&(a=i.attr("id")),n.form.data[`form-${a}`]=e,s.localStorage[`f7form-${a}`]=JSON.stringify(e)},get(t){const e=this,n=Se();let s=t;const a=P(t);if(a.length&&a.is("form")&&a.attr("id")&&(s=a.attr("id")),n.localStorage[`f7form-${s}`])return JSON.parse(n.localStorage[`f7form-${s}`]);if(e.form.data[`form-${s}`])return e.form.data[`form-${s}`]},remove(t){const e=this,n=Se();let s=t;const a=P(t);a.length&&a.is("form")&&a.attr("id")&&(s=a.attr("id")),e.form.data[`form-${s}`]&&(e.form.data[`form-${s}`]="",delete e.form.data[`form-${s}`]),n.localStorage[`f7form-${s}`]&&(n.localStorage[`f7form-${s}`]="",n.localStorage.removeItem(`f7form-${s}`))}},cd={init(t){const e=this,n=P(t),s=n.attr("id");if(!s)return;const a=e.form.getFormData(s);a&&e.form.fillFromData(n,a);function i(){const o=e.form.convertToData(n);o&&(e.form.storeFormData(s,o),n.trigger("form:storedata",o),e.emit("formStoreData",n[0],o))}n.on("change submit",i)},destroy(t){P(t).off("change submit")}};function RC(t){const e=this,n=P(t).eq(0);if(n.length===0)return;const s={},a=["submit","image","button","file"],i=[];return n.find("input, select, textarea").each(o=>{const r=P(o);if(r.hasClass("ignore-store-data")||r.hasClass("no-store-data"))return;const l=r.attr("name"),f=r.attr("type"),c=o.nodeName.toLowerCase();if(!(a.indexOf(f)>=0)&&!(i.indexOf(l)>=0||!l))if(c==="select"&&r.prop("multiple"))i.push(l),s[l]=[],n.find(`select[name="${l}"] option`).each(u=>{u.selected&&s[l].push(u.value)});else switch(f){case"checkbox":i.push(l),s[l]=[],n.find(`input[name="${l}"]`).each(u=>{u.checked&&s[l].push(u.value)});break;case"radio":i.push(l),n.find(`input[name="${l}"]`).each(u=>{u.checked&&(s[l]=u.value)});break;default:s[l]=r.val();break}}),n.trigger("form:todata",s),e.emit("formToData",n[0],s),s}function HC(t,e){const n=this,s=P(t).eq(0);if(!s.length)return;let a=e;const i=s.attr("id");if(!a&&i&&(a=n.form.getFormData(i)),!a)return;const o=["submit","image","button","file"],r=[];s.find("input, select, textarea").each(l=>{const f=P(l);if(f.hasClass("ignore-store-data")||f.hasClass("no-store-data"))return;const c=f.attr("name"),u=f.attr("type"),d=l.nodeName.toLowerCase();if(!(typeof a[c]>"u"||a[c]===null)&&!(o.indexOf(u)>=0)&&!(r.indexOf(c)>=0||!c)){if(d==="select"&&f.prop("multiple"))r.push(c),s.find(`select[name="${c}"] option`).each(m=>{const h=m;a[c].indexOf(m.value)>=0?h.selected=!0:h.selected=!1});else switch(u){case"checkbox":r.push(c),s.find(`input[name="${c}"]`).each(m=>{const h=m;a[c].indexOf(m.value)>=0?h.checked=!0:h.checked=!1});break;case"radio":r.push(c),s.find(`input[name="${c}"]`).each(m=>{const h=m;a[c]===m.value?h.checked=!0:h.checked=!1});break;default:f.val(a[c]);break}(d==="select"||d==="input"||d==="textarea")&&f.trigger("change","fromdata")}}),s.trigger("form:fromdata",a),n.emit("formFromData",s[0],a)}function zC(){const t=this,e=Se(),n=Le();function s(a,i){const o=P(this);if(a.type==="change"&&!o.hasClass("form-ajax-submit-onchange")||(a.type==="submit"&&a.preventDefault(),a.type==="change"&&i==="fromdata"))return;const r=(o.attr("method")||"GET").toUpperCase(),l=o.attr("enctype")||o.prop("enctype");let f=o.attr("action");if(!f)return;let c;r==="POST"?l==="application/x-www-form-urlencoded"||l==="application/json"?(c=t.form.convertToData(o[0]),l==="application/json"&&(c=JSON.stringify(c))):c=new e.FormData(o[0]):(c=wn(t.form.convertToData(o[0])),f.includes("?")?f+=`&${c}`:f+=`?${c}`),o.trigger("formajax:beforesend",{data:c}),t.emit("formAjaxBeforeSend",o[0],c),fetch(f,{method:r,headers:{"Content-Type":l||"application/x-www-form-urlencoded"},...r==="POST"||r==="PUT"?{body:c}:{}}).then(u=>{o.trigger("formajax:complete",{data:c,response:u}),t.emit("formAjaxComplete",o[0],c,u),o.trigger("formajax:success",{data:c,response:u}),t.emit("formAjaxSuccess",o[0],c,u)}).catch(u=>{o.trigger("formajax:error",{data:c,error:u}),t.emit("formAjaxError",o[0],c,u)})}P(n).on("submit change","form.form-ajax-submit, form.form-ajax-submit-onchange",s)}const FC={name:"form",create(){const t=this;te(t,{form:{data:{},storeFormData:Qs.store.bind(t),getFormData:Qs.get.bind(t),removeFormData:Qs.remove.bind(t),convertToData:RC.bind(t),fillFromData:HC.bind(t),storage:{init:cd.init.bind(t),destroy:cd.destroy.bind(t)}}})},on:{init(){const t=this;zC.call(t)},tabBeforeRemove(t){const e=this;P(t).find(".form-store-data").each(n=>{e.form.storage.destroy(n)})},tabMounted(t){const e=this;P(t).find(".form-store-data").each(n=>{e.form.storage.init(n)})},pageBeforeRemove(t){const e=this;t.$el.find(".form-store-data").each(n=>{e.form.storage.destroy(n)})},pageInit(t){const e=this;t.$el.find(".form-store-data").each(n=>{e.form.storage.init(n)})}}},Nt={ignoreTypes:["checkbox","button","submit","range","radio","image"],createTextareaResizableShadow(){const t=Le(),e=P(t.createElement("textarea"));e.addClass("textarea-resizable-shadow"),e.prop({disabled:!0,readonly:!0}),Nt.textareaResizableShadow=e},textareaResizableShadow:void 0,resizeTextarea(t){const e=this,n=Se(),s=P(t);Nt.textareaResizableShadow||Nt.createTextareaResizableShadow();const a=Nt.textareaResizableShadow;if(!s.length||!s.hasClass("resizable"))return;Nt.textareaResizableShadow.parents().length===0&&e.$el.append(a);const i=n.getComputedStyle(s[0]);"padding-top padding-bottom padding-left padding-right margin-left margin-right margin-top margin-bottom width font-size font-family font-style font-weight line-height font-variant text-transform letter-spacing border box-sizing display".split(" ").forEach(f=>{let c=i[f];"font-size line-height letter-spacing width".split(" ").indexOf(f)>=0&&(c=c.replace(",",".")),a.css(f,c)});const o=s[0].clientHeight;a.val("");const r=a[0].scrollHeight;a.val(s.val()),a.css("height",0);const l=a[0].scrollHeight;o!==l&&(l>r?s.css("height",`${l}px`):lr||l`),l.insertAfter(e)),l.text(r)),l.length>0&&(n.addClass("item-input-with-error-message"),s.addClass("input-with-error-message")),n.addClass("item-input-invalid"),s.addClass("input-invalid"),e.addClass("input-invalid"),i(),!1}return n.removeClass("item-input-invalid item-input-with-error-message"),s.removeClass("input-invalid input-with-error-message"),e.removeClass("input-invalid"),i(),!0},validateInputs(t){const e=this;return P(t).find("input, textarea, select").map(s=>e.input.validate(s)).indexOf(!1)<0},focus(t){const e=P(t),n=e.attr("type");Nt.ignoreTypes.indexOf(n)>=0||(e.parents(".item-input").addClass("item-input-focused"),e.parents(".input").addClass("input-focused"),e.addClass("input-focused"))},blur(t){const e=P(t);e.parents(".item-input").removeClass("item-input-focused"),e.parents(".input").removeClass("input-focused"),e.removeClass("input-focused")},checkEmptyState(t){const e=this;let n=P(t);if(n.is("input, select, textarea, .item-input [contenteditable]")||(n=n.find("input, select, textarea, .item-input [contenteditable]").eq(0)),!n.length)return;const s=n[0].hasAttribute("contenteditable");let a;s?n.find(".text-editor-placeholder").length?a="":a=n.html():a=n.val();const i=n.parents(".item-input"),o=n.parents(".input");a&&typeof a=="string"&&a.trim()!==""||Array.isArray(a)&&a.length>0?(i.addClass("item-input-with-value"),o.addClass("input-with-value"),n.addClass("input-with-value"),n.trigger("input:notempty"),e.emit("inputNotEmpty",n[0])):(i.removeClass("item-input-with-value"),o.removeClass("input-with-value"),n.removeClass("input-with-value"),n.trigger("input:empty"),e.emit("inputEmpty",n[0]))},scrollIntoView(t,e,n,s){e===void 0&&(e=0);const a=P(t),i=a.parents(".page-content, .panel, .card-expandable .card-content").eq(0);if(!i.length)return!1;const o=i[0].offsetHeight,r=i[0].scrollTop,l=parseInt(i.css("padding-top"),10),f=parseInt(i.css("padding-bottom"),10),c=i.offset().top-r,u=a.offset().top-c,d=a[0].offsetHeight,m=u+r-l,h=u+r-o+f+d,p=m+(h-m)/2;return r>m?(i.scrollTop(n?p:m,e),!0):r{s&&s.activeElement===c&&t.input.scrollIntoView(c,t.params.input.scrollIntoViewDuration,t.params.input.scrollIntoViewCentered,t.params.input.scrollIntoViewAlways)}):t.input.scrollIntoView(c,t.params.input.scrollIntoViewDuration,t.params.input.scrollIntoViewCentered,t.params.input.scrollIntoViewAlways)),t.input.focus(c)}function i(){const c=P(this),u=c[0].nodeName.toLowerCase();t.input.blur(c),(c.dataset().validate||c.attr("validate")!==null||c.attr("data-validate-on-blur")!==null)&&t.input.validate(c),u==="textarea"&&c.hasClass("resizable")&&Nt.textareaResizableShadow&&Nt.textareaResizableShadow.remove()}function o(){const c=P(this),u=c.attr("type"),d=c[0].nodeName.toLowerCase(),m=c[0].hasAttribute("contenteditable");Nt.ignoreTypes.indexOf(u)>=0||(t.input.checkEmptyState(c),!m&&(c.attr("data-validate-on-blur")===null&&(c.dataset().validate||c.attr("validate")!==null)&&t.input.validate(c),d==="textarea"&&c.hasClass("resizable")&&t.input.resizeTextarea(c)))}function r(c){const u=P(this);u.attr("data-validate-on-blur")===null&&(u.dataset().validate||u.attr("validate")!==null)&&(c.preventDefault(),t.input.validate(u))}function l(){const u=P(this).siblings("input, textarea").eq(0),d=u.val();u.val("").trigger("input change").focus().trigger("input:clear",d),t.emit("inputClear",d)}function f(c){c.preventDefault()}P(s).on("click",".input-clear-button",l),P(s).on("mousedown",".input-clear-button",f),P(s).on("change input","input, textarea, select, .item-input [contenteditable]",o,!0),P(s).on("focus","input, textarea, select, .item-input [contenteditable]",a,!0),P(s).on("blur","input, textarea, select, .item-input [contenteditable]",i,!0),P(s).on("invalid","input, textarea, select",r,!0)}},NC={name:"input",params:{input:{scrollIntoViewOnFocus:void 0,scrollIntoViewCentered:!1,scrollIntoViewDuration:0,scrollIntoViewAlways:!1}},create(){const t=this;typeof t.params.input.scrollIntoViewOnFocus>"u"&&(t.params.input.scrollIntoViewOnFocus=Ke().android),It(t,{input:Nt})},on:{init(){this.input.init()},tabMounted(t){const e=this,n=P(t);n.find(".item-input, .input").each(s=>{P(s).find("input, select, textarea, [contenteditable]").each(i=>{const o=P(i);Nt.ignoreTypes.indexOf(o.attr("type"))>=0||e.input.checkEmptyState(o)})}),n.find("textarea.resizable").each(s=>{e.input.resizeTextarea(s)})},pageInit(t){const e=this,n=t.$el;n.find(".item-input, .input").each(s=>{P(s).find("input, select, textarea, [contenteditable]").each(i=>{const o=P(i);Nt.ignoreTypes.indexOf(o.attr("type"))>=0||e.input.checkEmptyState(o)})}),n.find("textarea.resizable").each(s=>{e.input.resizeTextarea(s)})},"panelBreakpoint panelCollapsedBreakpoint panelResize panelOpen panelSwipeOpen resize viewMasterDetailBreakpoint":function(e){const n=this;e&&e.$el?e.$el.find("textarea.resizable").each(s=>{n.input.resizeTextarea(s)}):P("textarea.resizable").each(s=>{n.input.resizeTextarea(s)})}}},VC={name:"checkbox"},YC={name:"radio"};let qC=class extends rt{constructor(e,n){n===void 0&&(n={}),super(n,[e]);const s=this,a=it(),i={};s.useModulesParams(i),s.params=te(i,n);const o=s.params.el;if(!o)return s;const r=P(o);if(r.length===0)return s;if(r[0].f7Toggle)return r[0].f7Toggle;const l=r.children('input[type="checkbox"]');te(s,{app:e,$el:r,el:r[0],$inputEl:l,inputEl:l[0],disabled:r.hasClass("disabled")||l.hasClass("disabled")||l.attr("disabled")||l[0].disabled}),Object.defineProperty(s,"checked",{enumerable:!0,configurable:!0,set(k){!s||typeof s.$inputEl>"u"||s.checked!==k&&(l[0].checked=k,s.$inputEl.trigger("change"))},get(){return l[0].checked}}),r[0].f7Toggle=s;let f;const c={};let u,d,m,h,p;function b(k){f||s.disabled||(c.x=k.type==="touchstart"?k.targetTouches[0].pageX:k.pageX,c.y=k.type==="touchstart"?k.targetTouches[0].pageY:k.pageY,d=0,f=!0,u=void 0,h=Ht(),p=s.checked,m=r[0].offsetWidth,_t(()=>{f&&r.addClass("toggle-active-state")}))}function g(k){if(!f||s.disabled)return;const E=k.type==="touchmove"?k.targetTouches[0].pageX:k.pageX,S=k.type==="touchmove"?k.targetTouches[0].pageY:k.pageY,I=e.rtl?-1:1;if(typeof u>"u"&&(u=!!(u||Math.abs(S-c.y)>Math.abs(E-c.x))),u){f=!1;return}k.preventDefault(),d=E-c.x;let T;d*I<0&&Math.abs(d)>m/3&&p&&(T=!0),d*I>0&&Math.abs(d)>m/3&&!p&&(T=!0),T&&(c.x=E,s.checked=!p,p=!p)}function v(){if(!f||s.disabled){u&&r.removeClass("toggle-active-state"),f=!1;return}const k=e.rtl?-1:1;f=!1,r.removeClass("toggle-active-state");let E;Ht()-h<300&&(d*k<0&&p&&(E=!0),d*k>0&&!p&&(E=!0),E&&(s.checked=!p))}function _(){s.$el.trigger("toggle:change"),s.emit("local::change toggleChange",s)}s.attachEvents=function(){const E=a.passiveListener?{passive:!0}:!1;r.on(e.touchEvents.start,b,E),e.on("touchmove",g),e.on("touchend:passive",v),s.$inputEl.on("change",_)},s.detachEvents=function(){const E=a.passiveListener?{passive:!0}:!1;r.off(e.touchEvents.start,b,E),e.off("touchmove",g),e.off("touchend:passive",v),s.$inputEl.off("change",_)},s.useModules(),s.init()}toggle(){const e=this;e.checked=!e.checked}init(){this.attachEvents()}destroy(){let e=this;e.$el.trigger("toggle:beforedestroy"),e.emit("local::beforeDestroy toggleBeforeDestroy",e),delete e.$el[0].f7Toggle,e.detachEvents(),ft(e),e=null}};const ud=qC,WC={name:"toggle",create(){const t=this;t.toggle=ct({defaultSelector:".toggle",constructor:ud,app:t,domProp:"f7Toggle"})},static:{Toggle:ud},on:{tabMounted(t){const e=this;P(t).find(".toggle-init").each(n=>e.toggle.create({el:n}))},tabBeforeRemove(t){P(t).find(".toggle-init").each(e=>{e.f7Toggle&&e.f7Toggle.destroy()})},pageInit(t){const e=this;t.$el.find(".toggle-init").each(n=>e.toggle.create({el:n}))},pageBeforeRemove(t){t.$el.find(".toggle-init").each(e=>{e.f7Toggle&&e.f7Toggle.destroy()})}},vnode:{"toggle-init":{insert(t){const e=this,n=t.elm;e.toggle.create({el:n})},destroy(t){const e=t.elm;e.f7Toggle&&e.f7Toggle.destroy()}}}};let jC=class extends rt{constructor(e,n){super(n,[e]);const s=this,a=it(),i={el:null,inputEl:null,dual:!1,step:1,label:!1,min:0,max:100,value:0,draggableBar:!0,vertical:!1,verticalReversed:!1,formatLabel:null,scale:!1,scaleSteps:5,scaleSubSteps:0,formatScaleLabel:null,limitKnobPosition:e.theme==="ios"};s.useModulesParams(i),s.params=te(i,n);const o=s.params.el;if(!o)return s;const r=P(o);if(r.length===0)return s;if(r[0].f7Range)return r[0].f7Range;const l=r.dataset();"step min max value scaleSteps scaleSubSteps".split(" ").forEach(he=>{typeof n[he]>"u"&&typeof l[he]<"u"&&(s.params[he]=parseFloat(l[he]))}),"dual label vertical verticalReversed scale".split(" ").forEach(he=>{typeof n[he]>"u"&&typeof l[he]<"u"&&(s.params[he]=l[he])}),s.params.value||(typeof l.value<"u"&&(s.params.value=l.value),typeof l.valueLeft<"u"&&typeof l.valueRight<"u"&&(s.params.value=[parseFloat(l.valueLeft),parseFloat(l.valueRight)]));let f;s.params.dual||(s.params.inputEl?f=P(s.params.inputEl):r.find('input[type="range"]').length&&(f=r.find('input[type="range"]').eq(0)));const{dual:c,step:u,label:d,min:m,max:h,value:p,vertical:b,verticalReversed:g,scale:v,scaleSteps:_,scaleSubSteps:k,limitKnobPosition:E}=s.params;te(s,{app:e,$el:r,el:r[0],$inputEl:f,inputEl:f?f[0]:void 0,dual:c,step:u,label:d,min:m,max:h,value:p,previousValue:p,vertical:b,verticalReversed:g,scale:v,scaleSteps:_,scaleSubSteps:k,limitKnobPosition:E}),f&&("step min max".split(" ").forEach(he=>{!n[he]&&f.attr(he)&&(s.params[he]=parseFloat(f.attr(he)),s[he]=parseFloat(f.attr(he)))}),typeof f.val()<"u"&&(s.params.value=parseFloat(f.val()),s.value=parseFloat(f.val()))),s.dual&&r.addClass("range-slider-dual"),s.label&&r.addClass("range-slider-label"),s.vertical?(r.addClass("range-slider-vertical"),s.verticalReversed&&r.addClass("range-slider-vertical-reversed")):r.addClass("range-slider-horizontal");const S=P('
        '),I=P('
        ');S.append(I);const T=` +
        +
        + ${s.label?'
        ':""} +
        + `,A=[P(T)];s.dual&&A.push(P(T)),r.append(S),A.forEach(he=>{r.append(he)});const y=[];s.label&&(y.push(A[0].find(".range-knob-label")),s.dual&&y.push(A[1].find(".range-knob-label")));let w;s.scale&&s.scaleSteps>=1&&(w=P(` +
        + ${s.renderScale()} +
        + `),r.append(w)),te(s,{knobs:A,labels:y,$barEl:S,$barActiveEl:I,$scaleEl:w}),r[0].f7Range=s;let D;const O={};let L,j,W,Y,B,q,X,H;function G(){X=!0}function ce(he){if(D||!s.params.draggableBar&&P(he.target).closest(".range-knob").length===0)return;X=!1,O.x=he.type==="touchstart"?he.targetTouches[0].pageX:he.pageX,O.y=he.type==="touchstart"?he.targetTouches[0].pageY:he.pageY,he.type==="touchstart"&&(H=he.targetTouches[0].identifier),D=!0,L=void 0,j=r.offset(),W=j.left,Y=j.top;let re;s.vertical?(re=(O.y-Y)/s.rangeHeight,s.verticalReversed||(re=1-re)):s.app.rtl?re=(W+s.rangeWidth-O.x)/s.rangeWidth:re=(O.x-W)/s.rangeWidth;let Ce=re*(s.max-s.min)+s.min;s.dual?Math.abs(s.value[0]-Ce){D&&B.addClass("range-knob-active-state")},70),s.on("change",G),s.setValue(Ce,!0)}function ye(he){if(!D)return;let re,Ce;if(he.type==="touchmove")for(let Me=0;Me"u"&&typeof Ce>"u")return;if(typeof L>"u"&&!s.vertical&&(L=!!(L||Math.abs(Ce-O.y)>Math.abs(re-O.x))),L){D=!1;return}he.preventDefault();let Pe;s.vertical?(Pe=(Ce-Y)/s.rangeHeight,s.verticalReversed||(Pe=1-Pe)):s.app.rtl?Pe=(W+s.rangeWidth-re)/s.rangeWidth:Pe=(re-W)/s.rangeWidth;let Ve=Pe*(s.max-s.min)+s.min;if(s.dual){let Me,He;q===0?(Me=Ve,He=s.value[1],Me>He&&(He=Me)):(Me=s.value[0],He=Ve,He{let I=v*k[S];if(b){const T=v*k[S]-g/2;T<0&&(I=g/2),T+g>v&&(I=v-g/2)}E.css(_,`${I}px`),d&&m[S].text(e.formatLabel(u[S],m[S][0]))})}else{const k=(u-r)/(l-r);c.css(h?"height":"width",`${k*100}%`);let E=v*k;if(b){const S=v*k-g/2;S<0&&(E=g/2),S+g>v&&(E=v-g/2)}f[0].css(_,`${E}px`),d&&m[0].text(e.formatLabel(u,m[0][0]))}e.dual&&u.indexOf(r)>=0||!e.dual&&u===r?e.$el.addClass("range-slider-min"):e.$el.removeClass("range-slider-min"),e.dual&&u.indexOf(l)>=0||!e.dual&&u===l?e.$el.addClass("range-slider-max"):e.$el.removeClass("range-slider-max")}setValue(e,n){const s=this,{step:a,min:i,max:o}=s;let r,l;if(s.dual){l=[s.value[0],s.value[1]];let f=e;if(Array.isArray(f)||(f=[e,e]),e[0]>e[1]&&(f=[f[0],f[0]]),f=f.map(c=>Math.max(Math.min(Math.round(c/a)*a,o),i)),f[0]===s.value[0]&&f[1]===s.value[1])return s;f.forEach((c,u)=>{s.value[u]=c}),r=l[0]!==f[0]||l[1]!==f[1],s.layout()}else{l=s.value;const f=Math.max(Math.min(Math.round(e/a)*a,o),i);s.value=f,s.layout(),r=l!==f}return r&&(s.previousValue=l),r&&(s.$el.trigger("range:change",s.value),s.$inputEl&&!s.dual&&(s.$inputEl.val(s.value),n?s.$inputEl.trigger("input"):s.$inputEl.trigger("input change")),n||(s.$el.trigger("range:changed",s.value),s.emit("local::changed rangeChanged",s,s.value)),s.emit("local::change rangeChange",s,s.value)),s}getValue(){return this.value}formatLabel(e,n){const s=this;return s.params.formatLabel?s.params.formatLabel.call(s,e,n):e}formatScaleLabel(e){const n=this;return n.params.formatScaleLabel?n.params.formatScaleLabel.call(n,e):e}renderScale(){const e=this,{app:n,verticalReversed:s,vertical:a}=e,i=a?s?"top":"bottom":n.rtl?"right":"left";let o="";return Array.from({length:e.scaleSteps+1}).forEach((r,l)=>{const f=(e.max-e.min)/e.scaleSteps,c=e.min+f*l,u=(c-e.min)/(e.max-e.min);o+=`
        ${e.formatScaleLabel(c)}
        `,e.scaleSubSteps&&e.scaleSubSteps>1&&l{const h=f/e.scaleSubSteps,b=(c+h*(m+1)-e.min)/(e.max-e.min);o+=`
        `})}),o}updateScale(){const e=this;if(!e.scale||e.scaleSteps<1){e.$scaleEl&&e.$scaleEl.remove(),delete e.$scaleEl;return}e.$scaleEl||(e.$scaleEl=P('
        '),e.$el.append(e.$scaleEl)),e.$scaleEl.html(e.renderScale())}init(){const e=this;return e.calcSize(),e.layout(),e.attachEvents(),e}destroy(){let e=this;e.$el.trigger("range:beforedestroy"),e.emit("local::beforeDestroy rangeBeforeDestroy",e),delete e.$el[0].f7Range,e.detachEvents(),ft(e),e=null}};const ps=jC,XC={name:"range",create(){const t=this;t.range=te(ct({defaultSelector:".range-slider",constructor:ps,app:t,domProp:"f7Range"}),{getValue(e){e===void 0&&(e=".range-slider");const n=t.range.get(e);if(n)return n.getValue()},setValue(e,n){e===void 0&&(e=".range-slider");const s=t.range.get(e);if(s)return s.setValue(n)}})},static:{Range:ps},on:{tabMounted(t){const e=this;P(t).find(".range-slider-init").each(n=>new ps(e,{el:n}))},tabBeforeRemove(t){P(t).find(".range-slider-init").each(e=>{e.f7Range&&e.f7Range.destroy()})},pageInit(t){const e=this;t.$el.find(".range-slider-init").each(n=>new ps(e,{el:n}))},pageBeforeRemove(t){t.$el.find(".range-slider-init").each(e=>{e.f7Range&&e.f7Range.destroy()})}},vnode:{"range-slider-init":{insert(t){const e=t.elm;this.range.create({el:e})},destroy(t){const e=t.elm;e.f7Range&&e.f7Range.destroy()}}}};let GC=class extends rt{constructor(e,n){super(n,[e]);const s=this,a={el:null,inputEl:null,valueEl:null,value:0,formatValue:null,step:1,min:0,max:100,watchInput:!0,autorepeat:!1,autorepeatDynamic:!1,wraps:!1,manualInputMode:!1,decimalPoint:4,buttonsEndInputMode:!0};s.useModulesParams(a),s.params=te(a,n),s.params.values.params.max&&(s.params.value=s.params.max);const i=s.params.el;if(!i)return s;const o=P(i);if(o.length===0)return s;if(o[0].f7Stepper)return o[0].f7Stepper;let r;if(s.params.inputEl?r=P(s.params.inputEl):o.find(".stepper-input-wrap").find("input, textarea").length&&(r=o.find(".stepper-input-wrap").find("input, textarea").eq(0)),r&&r.length){"step min max".split(" ").forEach(H=>{!n[H]&&r.attr(H)&&(s.params[H]=parseFloat(r.attr(H)))});const q=parseInt(s.params.decimalPoint,10);Number.isNaN(q)?s.params.decimalPoint=0:s.params.decimalPoint=q;const X=parseFloat(r.val());typeof n.value>"u"&&!Number.isNaN(X)&&(X||X===0)&&(s.params.value=X)}let l;s.params.valueEl?l=P(s.params.valueEl):o.find(".stepper-value").length&&(l=o.find(".stepper-value").eq(0));const f=o.find(".stepper-button-plus"),c=o.find(".stepper-button-minus"),{step:u,min:d,max:m,value:h,decimalPoint:p}=s.params;te(s,{app:e,$el:o,el:o[0],$buttonPlusEl:f,buttonPlusEl:f[0],$buttonMinusEl:c,buttonMinusEl:c[0],$inputEl:r,inputEl:r?r[0]:void 0,$valueEl:l,valueEl:l?l[0]:void 0,step:u,min:d,max:m,value:h,decimalPoint:p,typeModeChanged:!1}),o[0].f7Stepper=s;const b={};let g,v,_,k,E,S=null,I=!1,T=!1;function A(q,X,H,G,ce,ye){clearTimeout(E),E=setTimeout(()=>{q===1&&(_=!0,I=!0),clearInterval(k),ye(),k=setInterval(()=>{ye()},ce),q{s[S]()})}function w(q){if(!g||T)return;const X=q.type==="touchmove"?q.targetTouches[0].pageX:q.pageX,H=q.type==="touchmove"?q.targetTouches[0].pageY:q.pageY;typeof v>"u"&&!I&&(v=!!(v||Math.abs(H-b.y)>Math.abs(X-b.x)));const G=((X-b.x)**2+(H-b.y)**2)**.5;(v||G>20)&&(g=!1,clearTimeout(E),clearInterval(k))}function D(){clearTimeout(E),clearInterval(k),S=null,I=!1,g=!1}function O(){if(T){s.params.buttonsEndInputMode&&(T=!1,s.endTypeMode(!0));return}if(_){_=!1;return}s.decrement(!0)}function L(){if(T){s.params.buttonsEndInputMode&&(T=!1,s.endTypeMode(!0));return}if(_){_=!1;return}s.increment(!0)}function j(q){!q.target.readOnly&&s.params.manualInputMode&&(T=!0,typeof q.target.selectionStart=="number"&&(q.target.selectionStart=q.target.value.length,q.target.selectionEnd=q.target.value.length))}function W(q){(q.keyCode===13||q.which===13)&&(q.preventDefault(),T=!1,s.endTypeMode())}function Y(){T=!1,s.endTypeMode(!0)}function B(q){if(T){s.typeValue(q.target.value);return}q.detail&&q.detail.sentByF7Stepper||s.setValue(q.target.value,!0)}return s.attachEvents=function(){c.on("click",O),f.on("click",L),s.params.watchInput&&r&&r.length&&(r.on("input",B),r.on("click",j),r.on("blur",Y),r.on("keyup",W)),s.params.autorepeat&&(e.on("touchstart:passive",y),e.on("touchmove:active",w),e.on("touchend:passive",D))},s.detachEvents=function(){c.off("click",O),f.off("click",L),s.params.watchInput&&r&&r.length&&(r.off("input",B),r.off("click",j),r.off("blur",Y),r.off("keyup",W))},s.useModules(),s.init(),s}minus(){return this.decrement()}plus(){return this.increment()}decrement(){const e=this;return e.setValue(e.value-e.step,!1,!0)}increment(){const e=this;return e.setValue(e.value+e.step,!1,!0)}setValue(e,n,s){const a=this,{step:i,min:o,max:r}=a,l=a.value;let f=Math.round(e/i)*i;if(a.params.wraps&&s?(f>r&&(f=o),f{const s=P(n).dataset();e.stepper.create(te({el:n},s||{}))})},tabBeforeRemove(t){P(t).find(".stepper-init").each(e=>{e.f7Stepper&&e.f7Stepper.destroy()})},pageInit(t){const e=this;t.$el.find(".stepper-init").each(n=>{const s=P(n).dataset();e.stepper.create(te({el:n},s||{}))})},pageBeforeRemove(t){t.$el.find(".stepper-init").each(e=>{e.f7Stepper&&e.f7Stepper.destroy()})}},vnode:{"stepper-init":{insert(t){const e=this,n=t.elm,s=P(n).dataset();e.stepper.create(te({el:n},s||{}))},destroy(t){const e=t.elm;e.f7Stepper&&e.f7Stepper.destroy()}}}},Ks=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"OE",letters:"ŒŒ"},{base:"oe",letters:"œœ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],dp={};for(let t=0;tdp[e]||e)}let xC=class extends rt{constructor(e,n){n===void 0&&(n={}),super(n,[e]);const s=this,a=te({on:{}},e.params.smartSelect);s.useModulesParams(a),s.params=te({},a,n),s.app=e;const i=P(s.params.el).eq(0);if(i.length===0)return s;if(i[0].f7SmartSelect)return i[0].f7SmartSelect;const o=i.find("select").eq(0);if(o.length===0)return s;let r;s.params.setValueText&&(r=P(s.params.valueEl),r.length===0&&(r=i.find(".item-after")),r.length===0&&(r=P('
        '),r.insertAfter(i.find(".item-title"))));let l=n.url;l||(i.attr("href")&&i.attr("href")!=="#"?l=i.attr("href"):o.attr("name")&&(l=`${o.attr("name").toLowerCase()}-select/`)),l||(l=s.params.url);const f=o[0].multiple,c=f?"checkbox":"radio",u=Rs();te(s,{$el:i,el:i[0],$selectEl:o,selectEl:o[0],$valueEl:r,valueEl:r&&r[0],url:l,multiple:f,inputType:c,id:u,inputName:`${c}-${u}`,selectName:o.attr("name"),maxLength:o.attr("maxlength")||n.maxLength}),i[0].f7SmartSelect=s;function d(){s.open()}function m(){const p=s.$selectEl.val();s.$el.trigger("smartselect:change",p),s.emit("local::change smartSelectChange",s,p),s.vl&&s.vl.clearCache(),s.setValueText()}s.attachEvents=function(){i.on("click",d),i.on("change","select",m)},s.detachEvents=function(){i.off("click",d),i.off("change","select",m)};function h(){let p,b;const g=this,v=g.value;let _=[],k;if(g.type==="checkbox"){for(let E=0;EE.value===v)[0]),k=p.dataset?p.dataset.displayAs:P(p).data("display-as"),b=k&&typeof k<"u"?k:p.textContent,_=[b],s.selectEl.value=v;s.$selectEl.trigger("change"),s.params.setValueText&&s.formatValueTextContent(_),s.params.closeOnSelect&&s.inputType==="radio"&&s.close()}return s.attachInputsEvents=function(){s.$containerEl.on("change",'input[type="checkbox"], input[type="radio"]',h)},s.detachInputsEvents=function(){s.$containerEl.off("change",'input[type="checkbox"], input[type="radio"]',h)},s.useModules(),s.init(),s}setValue(e){const n=this;let s=e,a=[],i,o,r;if(n.multiple){Array.isArray(s)||(s=[s]);for(let l=0;l=0?i.selected=!0:i.selected=!1,i.selected&&(o=i.dataset?i.dataset.displayAs:P(i).data("display-value-as"),r=o&&typeof o<"u"?o:i.textContent,a.push(r.trim()))}else i=n.$selectEl.find(`option[value="${s}"]`)[0],i&&(o=i.dataset?i.dataset.displayAs:P(i).data("display-as"),r=o&&typeof o<"u"?o:i.textContent,a=[r]),n.selectEl.value=s;return n.params.setValueText&&n.formatValueTextContent(a),n.$selectEl.trigger("change"),n}unsetValue(){const e=this;e.params.setValueText&&e.formatValueTextContent([]),e.$selectEl.find("option").each(n=>{n.selected=!1,n.checked=!1}),e.$selectEl[0].value=null,e.$containerEl&&e.$containerEl.find(`input[name="${e.inputName}"][type="checkbox"], input[name="${e.inputName}"][type="radio"]`).prop("checked",!1),e.$selectEl.trigger("change")}getValue(){return this.$selectEl.val()}get view(){const{params:e,$el:n}=this;let s;if(e.view&&(s=e.view),s||(s=n.parents(".view").length&&n.parents(".view")[0].f7View),!s&&e.openIn==="page")throw Error("Smart Select requires initialized View");return s}checkMaxLength(){const e=this,n=e.$containerEl;e.selectEl.selectedOptions.length>=e.maxLength?n.find('input[type="checkbox"]').each(s=>{s.checked?P(s).parents("li").removeClass("disabled"):P(s).parents("li").addClass("disabled")}):n.find(".disabled").removeClass("disabled")}formatValueTextContent(e){const n=this,s=n.formatValueText(e);s.includes("<")&&s.includes(">")?n.$valueEl.html(s):n.$valueEl.text(s)}formatValueText(e){const n=this;let s;return n.params.formatValueText?s=n.params.formatValueText.call(n,e,n):s=e.join(", "),s}setValueText(e){const n=this;let s=[];typeof e<"u"?Array.isArray(e)?s=e:s=[e]:n.$selectEl.find("option").each(a=>{const i=P(a);if(a.selected){const o=a.dataset?a.dataset.displayAs:i.data("display-value-as");o&&typeof o<"u"?s.push(o):s.push(a.textContent.trim())}}),n.params.setValueText&&n.formatValueTextContent(s)}getItemsData(){const e=this,n=e.app.theme,s=[];let a;return e.$selectEl.find("option").each(i=>{const o=P(i),r=o.dataset(),l=r.optionImage||e.params.optionImage,f=r.optionIcon||e.params.optionIcon,c=n==="ios"&&(r.optionIconIos||e.params.optionIconIos),u=n==="md"&&(r.optionIconMd||e.params.optionIconMd),d=r.inputIconPosition||e.params.inputIconPosition||"",m=l||f||c||u,h=r.optionColor;let p=r.optionClass||"";o[0].disabled&&(p+=" disabled");const b=o.parent("optgroup")[0],g=b&&b.label;let v=!1;b&&b!==a&&(v=!0,a=b,s.push({groupLabel:g,isLabel:v})),s.push({value:o[0].value,text:o[0].textContent.trim(),selected:o[0].selected,groupEl:b,groupLabel:g,image:l,icon:f,iconIos:c,iconMd:u,inputIconPosition:d,color:h,className:p,disabled:o[0].disabled,id:e.id,hasMedia:m,checkbox:e.inputType==="checkbox",radio:e.inputType==="radio",inputName:e.inputName,inputType:e.inputType})}),e.items=s,s}renderSearchbar(){const e=this;return e.params.renderSearchbar?e.params.renderSearchbar.call(e):R("form",{class:"searchbar"},R("div",{class:"searchbar-inner"},R("div",{class:"searchbar-input-wrap"},R("input",{type:"search",spellcheck:e.params.searchbarSpellcheck||"false",placeholder:e.params.searchbarPlaceholder}),R("i",{class:"searchbar-icon"}),R("span",{class:"input-clear-button"})),e.params.searchbarDisableButton&&R("span",{class:"searchbar-disable-button"},e.params.searchbarDisableText)))}renderItem(e,n){const s=this;if(s.params.renderItem)return s.params.renderItem.call(s,e,n);function a(r){return r===void 0&&(r=""),r.indexOf(":")>=0?r.split(":")[1]:""}function i(r){if(r===void 0&&(r=""),r.indexOf(":")>=0){let l=r.split(":")[0];return l==="f7"&&(l="f7-icons"),l==="material"&&(l="material-icons"),l}return r}let o;if(e.isLabel)o=`
      • ${e.groupLabel}
      • `;else{let r=e.selected,l;if(s.params.virtualList){const p=s.getValue();r=s.multiple?p.indexOf(e.value)>=0:p===e.value,s.multiple&&(l=s.multiple&&!r&&p.length===parseInt(s.maxLength,10))}const{icon:f,iconIos:c,iconMd:u}=e,d=f||c||u,m=a(f||c||u||""),h=i(f||c||u||"");o=R("li",{class:`${e.className||""}${l?" disabled":""}`},R("label",{class:`item-${e.inputType} ${e.inputIconPosition?`item-${e.inputType}-icon-${e.inputIconPosition}`:""} item-content`},R("input",{type:e.inputType,name:e.inputName,value:e.value,_checked:r}),R("i",{class:`icon icon-${e.inputType}`}),e.hasMedia&&R("div",{class:"item-media"},d&&R("i",{class:`icon ${h}`},m),e.image&&R("img",{src:e.image})),R("div",{class:"item-inner"},R("div",{class:`item-title${e.color?` text-color-${e.color}`:""}`},e.text))))}return o}renderItems(){const e=this;return e.params.renderItems?e.params.renderItems.call(e,e.items):` + ${e.items.map((s,a)=>`${e.renderItem(s,a)}`).join("")} + `}renderPage(){const e=this;if(e.params.renderPage)return e.params.renderPage.call(e,e.items);let n=e.params.pageTitle;if(typeof n>"u"){const a=e.$el.find(".item-title");n=a.length?a.text().trim():""}const s=e.params.cssClass;return R("div",{class:`page smart-select-page ${s}`,"data-name":"smart-select-page","data-select-name":e.selectName},R("div",{class:`navbar ${e.params.navbarColorTheme?`color-${e.params.navbarColorTheme}`:""}`},R("div",{class:"navbar-bg"}),R("div",{class:`navbar-inner sliding ${e.params.navbarColorTheme?`color-${e.params.navbarColorTheme}`:""}`},R("div",{class:"left"},R("a",{class:"link back"},R("i",{class:"icon icon-back"}),R("span",{class:"if-not-md"},e.params.pageBackLinkText))),n&&R("div",{class:"title"},n),e.params.searchbar&&R("div",{class:"subnavbar"},e.renderSearchbar()))),e.params.searchbar&&R("div",{class:"searchbar-backdrop"}),R("div",{class:"page-content"},R("div",{class:`list list-outline-ios list-strong-ios list-dividers-ios smart-select-list-${e.id} ${e.params.virtualList?" virtual-list":""} ${e.params.formColorTheme?`color-${e.params.formColorTheme}`:""}`},R("ul",null,!e.params.virtualList&&e.renderItems(e.items)))))}renderPopup(){const e=this;if(e.params.renderPopup)return e.params.renderPopup.call(e,e.items);let n=e.params.pageTitle;if(typeof n>"u"){const a=e.$el.find(".item-title");n=a.length?a.text().trim():""}const s=e.params.cssClass||"";return R("div",{class:`popup smart-select-popup ${s} ${e.params.popupTabletFullscreen?"popup-tablet-fullscreen":""}`,"data-select-name":e.selectName},R("div",{class:"view"},R("div",{class:`page smart-select-page ${e.params.searchbar?"page-with-subnavbar":""}`,"data-name":"smart-select-page"},R("div",{class:`navbar ${e.params.navbarColorTheme?`color-${e.params.navbarColorTheme}`:""}`},R("div",{class:"navbar-bg"}),R("div",{class:"navbar-inner sliding"},n&&R("div",{class:"title"},n),R("div",{class:"right"},R("a",{class:"link popup-close","data-popup":`.smart-select-popup[data-select-name='${e.selectName}']`},e.params.popupCloseLinkText)),e.params.searchbar&&R("div",{class:"subnavbar"},e.renderSearchbar()))),e.params.searchbar&&R("div",{class:"searchbar-backdrop"}),R("div",{class:"page-content"},R("div",{class:`list list-outline-ios list-strong-ios list-dividers-ios smart-select-list-${e.id} ${e.params.virtualList?" virtual-list":""} ${e.params.formColorTheme?`color-${e.params.formColorTheme}`:""}`},R("ul",null,!e.params.virtualList&&e.renderItems(e.items)))))))}renderSheet(){const e=this;if(e.params.renderSheet)return e.params.renderSheet.call(e,e.items);const n=e.params.cssClass;return R("div",{class:`sheet-modal smart-select-sheet ${n}`,"data-select-name":e.selectName},R("div",{class:`toolbar toolbar-top ${e.params.toolbarColorTheme?`color-${e.params.toolbarColorTheme}`:""}`},R("div",{class:"toolbar-inner"},R("div",{class:"left"}),R("div",{class:"right"},R("a",{class:"link sheet-close"},e.params.sheetCloseLinkText)))),R("div",{class:"sheet-modal-inner"},R("div",{class:"page-content"},R("div",{class:`list list-strong-ios list-dividers-ios smart-select-list-${e.id} ${e.params.virtualList?" virtual-list":""} ${e.params.formColorTheme?`color-${e.params.formColorTheme}`:""}`},R("ul",null,!e.params.virtualList&&e.renderItems(e.items))))))}renderPopover(){const e=this;if(e.params.renderPopover)return e.params.renderPopover.call(e,e.items);const n=e.params.cssClass;return R("div",{class:`popover smart-select-popover ${n}`,"data-select-name":e.selectName},R("div",{class:"popover-inner"},R("div",{class:`list list-strong-ios list-dividers-ios smart-select-list-${e.id} ${e.params.virtualList?" virtual-list":""} ${e.params.formColorTheme?`color-${e.params.formColorTheme}`:""}`},R("ul",null,!e.params.virtualList&&e.renderItems(e.items)))))}scrollToSelectedItem(){const e=this,{params:n,$containerEl:s}=e;if(!e.opened)return e;if(n.virtualList){let a;e.vl.items.forEach((i,o)=>{typeof a>"u"&&i.selected&&(a=o)}),typeof a<"u"&&e.vl.scrollToItem(a)}else{const a=s.find("input:checked").parents("li");if(!a.length)return e;const i=s.find(".page-content, .popover-inner");if(!i.length)return e;i.scrollTop(a.offset().top-i.offset().top-parseInt(i.css("padding-top"),10))}return e}onOpen(e,n){const s=this,a=s.app,i=P(n);if(s.$containerEl=i,s.openedIn=e,s.opened=!0,s.params.virtualList&&(s.vl=a.virtualList.create({el:i.find(".virtual-list"),items:s.items,renderItem:s.renderItem.bind(s),height:s.params.virtualListHeight,searchByItem(o,r){return!!(r.text&&gs(r.text).toLowerCase().indexOf(o.trim().toLowerCase())>=0)}})),s.params.scrollToSelectedItem&&s.scrollToSelectedItem(),s.params.searchbar){let o=i.find(".searchbar");if(e==="page"&&a.theme==="ios"&&(o=P(a.navbar.getElByPage(i)).find(".searchbar")),s.params.appendSearchbarNotFound&&(e==="page"||e==="popup")){let l=null;typeof s.params.appendSearchbarNotFound=="string"?l=P(`
        ${s.params.appendSearchbarNotFound}
        `):typeof s.params.appendSearchbarNotFound=="boolean"?l=P('
        Nothing found
        '):l=s.params.appendSearchbarNotFound,l&&i.find(".page-content").append(l[0])}const r=te({el:o,backdropEl:i.find(".searchbar-backdrop"),searchContainer:`.smart-select-list-${s.id}`,searchIn:".item-title"},typeof s.params.searchbar=="object"?s.params.searchbar:{});s.searchbar=a.searchbar.create(r)}s.maxLength&&s.checkMaxLength(),s.params.closeOnSelect&&s.$containerEl.find(`input[type="radio"][name="${s.inputName}"]:checked`).parents("label").once("click",()=>{s.close()}),s.attachInputsEvents(),s.$el.trigger("smartselect:open"),s.emit("local::open smartSelectOpen",s)}onOpened(){const e=this;e.$el.trigger("smartselect:opened"),e.emit("local::opened smartSelectOpened",e)}onClose(){const e=this;e.destroyed||(e.vl&&e.vl.destroy&&(e.vl.destroy(),e.vl=null,delete e.vl),e.searchbar&&e.searchbar.destroy&&(e.searchbar.destroy(),e.searchbar=null,delete e.searchbar),e.detachInputsEvents(),e.$el.trigger("smartselect:close"),e.emit("local::close smartSelectClose",e))}onClosed(){const e=this;e.destroyed||(e.opened=!1,e.$containerEl=null,delete e.$containerEl,e.$el.trigger("smartselect:closed"),e.emit("local::closed smartSelectClosed",e))}openPage(){const e=this;if(e.opened)return e;e.getItemsData();const n=e.renderPage(e.items);return e.view.router.navigate({url:e.url,route:{content:n,path:e.url,on:{pageBeforeIn(s,a){e.onOpen("page",a.el)},pageAfterIn(s,a){e.onOpened("page",a.el)},pageBeforeOut(s,a){e.onClose("page",a.el)},pageAfterOut(s,a){e.onClosed("page",a.el)}}}}),e}openPopup(){const e=this;if(e.opened)return e;e.getItemsData();const s={content:e.renderPopup(e.items),push:e.params.popupPush,swipeToClose:e.params.popupSwipeToClose,closeByBackdropClick:e.params.closeByBackdropClick,on:{popupOpen(a){e.onOpen("popup",a.el)},popupOpened(a){e.onOpened("popup",a.el)},popupClose(a){e.onClose("popup",a.el)},popupClosed(a){e.onClosed("popup",a.el)}}};return e.params.routableModals&&e.view?e.view.router.navigate({url:e.url,route:{path:e.url,popup:s}}):e.modal=e.app.popup.create(s).open(),e}openSheet(){const e=this;if(e.opened)return e;e.getItemsData();const s={content:e.renderSheet(e.items),backdrop:e.params.sheetBackdrop,scrollToEl:e.$el,closeByOutsideClick:!0,push:e.params.sheetPush,swipeToClose:e.params.sheetSwipeToClose,closeByBackdropClick:e.params.closeByBackdropClick,on:{sheetOpen(a){e.onOpen("sheet",a.el)},sheetOpened(a){e.onOpened("sheet",a.el)},sheetClose(a){e.onClose("sheet",a.el)},sheetClosed(a){e.onClosed("sheet",a.el)}}};return e.params.routableModals&&e.view?e.view.router.navigate({url:e.url,route:{path:e.url,sheet:s}}):e.modal=e.app.sheet.create(s).open(),e}openPopover(){const e=this;if(e.opened)return e;e.getItemsData();const s={content:e.renderPopover(e.items),targetEl:e.$el,closeByBackdropClick:e.params.closeByBackdropClick,on:{popoverOpen(a){e.onOpen("popover",a.el)},popoverOpened(a){e.onOpened("popover",a.el)},popoverClose(a){e.onClose("popover",a.el)},popoverClosed(a){e.onClosed("popover",a.el)}}};return e.params.routableModals&&e.view?e.view.router.navigate({url:e.url,route:{path:e.url,popover:s}}):e.modal=e.app.popover.create(s).open(),e}open(e){const n=this;if(n.opened)return n;let s=!1;function a(){s=!0}if(n.$el&&n.$el.trigger("smartselect:beforeopen",{prevent:a}),n.emit("local::beforeOpen smartSelectBeforeOpen",n,a),s)return n;const i=e||n.params.openIn;return n[`open${i.split("").map((o,r)=>r===0?o.toUpperCase():o).join("")}`](),n}close(){const e=this;return e.opened&&(e.params.routableModals&&e.view||e.openedIn==="page"?e.view.router.back():(e.modal.once("modalClosed",()=>{_t(()=>{e.destroyed||(e.modal.destroy(),delete e.modal)})}),e.modal.close())),e}init(){const e=this;e.attachEvents(),e.setValueText()}destroy(){const e=this;e.emit("local::beforeDestroy smartSelectBeforeDestroy",e),e.$el.trigger("smartselect:beforedestroy"),e.detachEvents(),delete e.$el[0].f7SmartSelect,ft(e),e.destroyed=!0}};const pd=xC,$C={name:"smartSelect",params:{smartSelect:{el:void 0,valueEl:void 0,setValueText:!0,formatValueText:null,openIn:"page",popupPush:!1,popupSwipeToClose:void 0,sheetPush:!1,sheetSwipeToClose:void 0,sheetBackdrop:!1,pageTitle:void 0,pageBackLinkText:"Back",popupCloseLinkText:"Close",popupTabletFullscreen:!1,closeByBackdropClick:!0,sheetCloseLinkText:"Done",searchbar:!1,searchbarPlaceholder:"Search",searchbarDisableText:"Cancel",searchbarDisableButton:!0,searchbarSpellcheck:!1,closeOnSelect:!1,virtualList:!1,virtualListHeight:void 0,scrollToSelectedItem:!1,formColorTheme:void 0,navbarColorTheme:void 0,routableModals:!1,url:"select/",inputIconPosition:"start",cssClass:"",renderPage:void 0,renderPopup:void 0,renderSheet:void 0,renderPopover:void 0,renderItems:void 0,renderItem:void 0,renderSearchbar:void 0}},static:{SmartSelect:pd},create(){const t=this;t.smartSelect=te(ct({defaultSelector:".smart-select",constructor:pd,app:t,domProp:"f7SmartSelect"}),{open(e){const n=t.smartSelect.get(e);if(n&&n.open)return n.open()},close(e){const n=t.smartSelect.get(e);if(n&&n.close)return n.close()}})},on:{tabMounted(t){const e=this;P(t).find(".smart-select-init").each(n=>{e.smartSelect.create(te({el:n},P(n).dataset()))})},tabBeforeRemove(t){P(t).find(".smart-select-init").each(e=>{e.f7SmartSelect&&e.f7SmartSelect.destroy&&e.f7SmartSelect.destroy()})},pageInit(t){const e=this;t.$el.find(".smart-select-init").each(n=>{e.smartSelect.create(te({el:n},P(n).dataset()))})},pageBeforeRemove(t){t.$el.find(".smart-select-init").each(e=>{e.f7SmartSelect&&e.f7SmartSelect.destroy&&e.f7SmartSelect.destroy()})}},clicks:{".smart-select":function(e,n){const s=this;e[0].f7SmartSelect||s.smartSelect.create(te({el:e},n)).open()}},vnode:{"smart-select-init":{insert(t){const e=this,n=t.elm;e.smartSelect.create(te({el:n},P(n).dataset()))},destroy(t){const e=t.elm;e.f7SmartSelect&&e.f7SmartSelect.destroy&&e.f7SmartSelect.destroy()}}}},QC={name:"grid"};let KC=class extends rt{constructor(e,n){n===void 0&&(n={}),super(n,[e]);const s=this;s.params=te({},e.params.calendar,n);let a;if(s.params.containerEl&&(a=P(s.params.containerEl),a.length===0))return s;let i;s.params.inputEl&&(i=P(s.params.inputEl));const o=s.params.direction==="horizontal";let r=1;o&&(r=e.rtl?-1:1),te(s,{app:e,$containerEl:a,containerEl:a&&a[0],inline:a&&a.length>0,$inputEl:i,inputEl:i&&i[0],initialized:!1,opened:!1,url:s.params.url,isHorizontal:o,inverter:r,animating:!1,allowTouchMove:!0,hasTimePicker:s.params.timePicker&&!s.params.rangePicker&&!s.params.multiple}),s.dayFormatter=E=>new Intl.DateTimeFormat(s.params.locale,{day:"numeric"}).format(E).replace(/日/,""),s.monthFormatter=E=>new Intl.DateTimeFormat(s.params.locale,{month:"long"}).format(E),s.yearFormatter=E=>new Intl.DateTimeFormat(s.params.locale,{year:"numeric"}).format(E),s.timeSelectorFormatter=E=>new Intl.DateTimeFormat(s.params.locale,s.params.timePickerFormat).format(E);const l=s.timeSelectorFormatter(new Date).toLowerCase();s.is12HoursFormat=l.indexOf("pm")>=0||l.indexOf("am")>=0;let{monthNames:f,monthNamesShort:c,dayNames:u,dayNamesShort:d}=s.params;const{monthNamesIntl:m,monthNamesShortIntl:h,dayNamesIntl:p,dayNamesShortIntl:b}=s.getIntlNames();f==="auto"&&(f=m),c==="auto"&&(c=h),u==="auto"&&(u=p),d==="auto"&&(d=b),te(s,{monthNames:f,monthNamesShort:c,dayNames:u,dayNamesShort:d});function g(){s.open()}function v(E){E.preventDefault()}function _(){s.setValue([]),s.opened&&s.update()}function k(E){const S=P(E.target);s.destroyed||!s.params||s.isPopover()||!s.opened||s.closing||S.closest('[class*="backdrop"]').length||s.monthPickerPopover||s.yearPickerPopover||s.timePickerPopover||(i&&i.length>0?S[0]!==i[0]&&S.closest(".sheet-modal, .calendar-modal").length===0&&s.close():P(E.target).closest(".sheet-modal, .calendar-modal").length===0&&s.close())}return te(s,{attachInputEvents(){s.$inputEl.on("click",g),s.$inputEl.on("input:clear",_),s.params.inputReadOnly&&(s.$inputEl.on("focus mousedown",v),s.$inputEl[0]&&(s.$inputEl[0].f7ValidateReadonly=!0))},detachInputEvents(){s.$inputEl.off("click",g),s.$inputEl.off("input:clear",_),s.params.inputReadOnly&&(s.$inputEl.off("focus mousedown",v),s.$inputEl[0]&&delete s.$inputEl[0].f7ValidateReadonly)},attachHtmlEvents(){e.on("click",k)},detachHtmlEvents(){e.off("click",k)}}),s.attachCalendarEvents=function(){let S=!0,I,T,A,y,w,D,O,L,j,W,Y,B,q,X;const{$el:H,$wrapperEl:G}=s;function ce(Me){T||I||!Me.isTrusted||(I=!0,A=Me.type==="touchstart"?Me.targetTouches[0].pageX:Me.pageX,w=A,y=Me.type==="touchstart"?Me.targetTouches[0].pageY:Me.pageY,D=y,O=new Date().getTime(),B=0,S=!0,X=void 0,j=s.monthsTranslate)}function ye(Me){if(!I||!Me.isTrusted)return;const{isHorizontal:He}=s;if(w=Me.type==="touchmove"?Me.targetTouches[0].pageX:Me.pageX,D=Me.type==="touchmove"?Me.targetTouches[0].pageY:Me.pageY,typeof X>"u"&&(X=!!(X||Math.abs(D-y)>Math.abs(w-A))),He&&X||!s.allowTouchMove){I=!1;return}if(Me.preventDefault(),s.animating){I=!1;return}S=!1,T||(T=!0,W=G[0].offsetWidth,Y=G[0].offsetHeight,G.transition(0)),q=He?w-A:D-y,B=q/(He?W:Y),j=(s.monthsTranslate*s.inverter+B)*100,G.transform(`translate3d(${He?j:0}%, ${He?0:j}%, 0)`)}function ne(Me){if(!I||!T||!Me.isTrusted){I=!1,T=!1;return}I=!1,T=!1,L=new Date().getTime(),L-O<300?Math.abs(q)<10?s.resetMonth():q>=10?e.rtl?s.nextMonth():s.prevMonth():e.rtl?s.prevMonth():s.nextMonth():B<=-.5?e.rtl?s.prevMonth():s.nextMonth():B>=.5?e.rtl?s.nextMonth():s.prevMonth():s.resetMonth(),setTimeout(()=>{S=!0},100)}function me(Me){if(!S)return;let He=P(Me.target).parents(".calendar-day");if(He.length===0&&P(Me.target).hasClass("calendar-day")&&(He=P(Me.target)),He.length===0||He.hasClass("calendar-day-disabled"))return;s.params.rangePicker||(He.hasClass("calendar-day-next")&&s.nextMonth(),He.hasClass("calendar-day-prev")&&s.prevMonth());const ze=parseInt(He.attr("data-year"),10),fe=parseInt(He.attr("data-month"),10),ee=parseInt(He.attr("data-day"),10);if(s.emit("local::dayClick calendarDayClick",s,He[0],ze,fe,ee),!He.hasClass("calendar-day-selected")||s.params.multiple||s.params.rangePicker){const Fe=new Date(ze,fe,ee,0,0,0);s.hasTimePicker&&(s.value&&s.value[0]?Fe.setHours(s.value[0].getHours(),s.value[0].getMinutes()):Fe.setHours(new Date().getHours(),new Date().getMinutes())),s.addValue(Fe)}s.params.closeOnSelect&&(s.params.rangePicker&&s.value.length===2||!s.params.rangePicker)&&s.close()}function K(){s.nextMonth()}function pe(){s.prevMonth()}function ke(){s.nextYear()}function he(){s.prevYear()}function re(){s.openMonthPicker()}function Ce(){s.openYearPicker()}function Pe(){s.openTimePicker()}const Ve=e.touchEvents.start==="touchstart"&&it().passiveListener?{passive:!0,capture:!1}:!1;H.find(".calendar-prev-month-button").on("click",pe),H.find(".calendar-next-month-button").on("click",K),H.find(".calendar-prev-year-button").on("click",he),H.find(".calendar-next-year-button").on("click",ke),s.params.monthPicker&&H.find(".current-month-value").on("click",re),s.params.yearPicker&&H.find(".current-year-value").on("click",Ce),s.hasTimePicker&&H.find(".calendar-time-selector a").on("click",Pe),G.on("click",me),s.params.touchMove&&(G.on(e.touchEvents.start,ce,Ve),e.on("touchmove:active",ye),e.on("touchend:passive",ne)),s.detachCalendarEvents=function(){H.find(".calendar-prev-month-button").off("click",pe),H.find(".calendar-next-month-button").off("click",K),H.find(".calendar-prev-year-button").off("click",he),H.find(".calendar-next-year-button").off("click",ke),s.params.monthPicker&&H.find(".current-month-value").off("click",re),s.params.yearPicker&&H.find(".current-year-value").off("click",Ce),s.hasTimePicker&&H.find(".calendar-time-selector a").off("click",Pe),G.off("click",me),s.params.touchMove&&(G.off(e.touchEvents.start,ce,Ve),e.off("touchmove:active",ye),e.off("touchend:passive",ne))}},s.init(),s}get view(){const{$inputEl:e,app:n,params:s}=this;let a;return s.view?a=s.view:e&&(a=e.parents(".view").length&&e.parents(".view")[0].f7View),a||(a=n.views.main),a}getIntlNames(){const e=this,n=e.params.locale,s=[],a=[],i=[],o=[],r=new Intl.DateTimeFormat(n,{month:"long"}),l=new Intl.DateTimeFormat(n,{month:"short"}),f=new Intl.DateTimeFormat(n,{weekday:"long"}),c=new Intl.DateTimeFormat(n,{weekday:"short"});let u,d,m;for(let p=0;p<24;p+=1){const b=new Date().setMonth(p,1),g=e.yearFormatter(b);u&&g!==u&&(d&&(m=!0),d=!0,u=g),u||(u=g),d&&u===g&&!m&&(s.push(r.format(b)),a.push(l.format(b)))}const h=new Date().getDay();for(let p=0;p<7;p+=1){const b=new Date().getTime()+(p-h)*24*60*60*1e3;i.push(f.format(b)),o.push(c.format(b))}return{monthNamesIntl:s,monthNamesShortIntl:a,dayNamesIntl:i,dayNamesShortIntl:o}}normalizeDate(e){const n=this,s=new Date(e);return n.hasTimePicker?new Date(s.getFullYear(),s.getMonth(),s.getDate(),s.getHours(),s.getMinutes()):new Date(s.getFullYear(),s.getMonth(),s.getDate())}normalizeValues(e){const n=this;let s=[];return e&&Array.isArray(e)&&(s=e.map(a=>n.normalizeDate(a))),s}initInput(){const e=this;e.$inputEl&&e.params.inputReadOnly&&e.$inputEl.prop("readOnly",!0)}isPopover(){const e=this,{app:n,modal:s,params:a}=e,i=Ke();if(a.openIn==="sheet"||s&&s.type!=="popover")return!1;if(!e.inline&&e.inputEl){if(a.openIn==="popover")return!0;if(i.ios)return!!i.ipad;if(n.width>=768)return!0}return!1}formatDate(e){const n=this,s=new Date(e),a=s.getFullYear(),i=s.getMonth(),o=i+1,r=s.getDate(),l=s.getDay(),{monthNames:f,monthNamesShort:c,dayNames:u,dayNamesShort:d}=n,{dateFormat:m,locale:h}=n.params;function p(g){return g<10?`0${g}`:g}if(typeof m=="string"){const g={yyyy:a,yy:String(a).substring(2),mm:p(o),m:o,MM:f[i],M:c[i],dd:p(r),d:r,DD:u[l],D:d[l]};if(n.params.timePicker){const _=s.getHours(),k=s.getMinutes(),E=s.getSeconds();let S=_;_>12&&(S=_-12),_===0&&(S=12);const I=_>=12&&_!==0?"pm":"am";Object.assign(g,{HH:p(_),H:_,hh:p(S),h:S,ss:p(E),s:E,":mm":p(k),":m":k,a:I,A:I.toUpperCase()})}const v=new RegExp(Object.keys(g).map(_=>`(${_})`).join("|"),"g");return m.replace(v,_=>_ in g?g[_]:_)}return typeof m=="function"?m(s):new Intl.DateTimeFormat(h,m).format(s)}formatValue(){const e=this,{value:n}=e;return e.params.formatValue?e.params.formatValue.call(e,n):n.map(s=>e.formatDate(s)).join(e.params.rangePicker?" - ":", ")}addValue(e){const n=this,{multiple:s,rangePicker:a,rangePickerMinDays:i,rangePickerMaxDays:o}=n.params;if(s){n.value||(n.value=[]);let r;for(let l=0;l"u"?n.value.push(e):n.value.splice(r,1),n.updateValue()}else a?(n.value||(n.value=[]),(n.value.length===2||n.value.length===0)&&(n.value=[]),n.value.length===0||Math.abs(n.value[0].getTime()-e.getTime())>=(i-1)*60*60*24*1e3&&(o===0||Math.abs(n.value[0].getTime()-e.getTime())<=(o-1)*60*60*24*1e3)?n.value.push(e):n.value=[],n.value.sort((r,l)=>r-l),n.updateValue()):(n.value=[e],n.updateValue())}setValue(e){const n=this,s=n.value;if(Array.isArray(s)&&Array.isArray(e)&&s.length===e.length){let a=!0;if(s.forEach((i,o)=>{i!==e[o]&&(a=!1)}),a)return}n.value=e,n.updateValue()}getValue(){return this.value}updateValue(e){const n=this,{$el:s,$wrapperEl:a,$inputEl:i,value:o,params:r}=n;let l;if(s&&s.length>0){a.find(".calendar-day-selected").removeClass("calendar-day-selected calendar-day-selected-range calendar-day-selected-left calendar-day-selected-right");let f;if(r.rangePicker&&o.length===2){const c=new Date(o[0]).getTime(),u=new Date(o[1]).getTime();for(l=c;l<=u;l+=24*60*60*1e3){f=new Date(l);let d="calendar-day-selected";c!==u&&(l!==c&&l!==u&&(d+=" calendar-day-selected-range"),l===c&&(d+=" calendar-day-selected-left"),l===u&&(d+=" calendar-day-selected-right")),a.find(`.calendar-day[data-date="${f.getFullYear()}-${f.getMonth()}-${f.getDate()}"]`).addClass(d)}f=new Date(c),a.find(`.calendar-day[data-date="${f.getFullYear()}-${f.getMonth()}-${f.getDate()}"]`).removeClass("calendar-day-selected-range").addClass("calendar-day-selected calendar-day-selected-left"),f=new Date(u),a.find(`.calendar-day[data-date="${f.getFullYear()}-${f.getMonth()}-${f.getDate()}"]`).removeClass("calendar-day-selected-range").addClass("calendar-day-selected calendar-day-selected-right")}else for(l=0;l0&&n.hasTimePicker&&s.find(".calendar-time-selector a").text(o&&o.length?n.timeSelectorFormatter(o[0]):n.params.timePickerPlaceholder),i&&i.length||r.header){const f=n.formatValue(o);r.header&&s&&s.length&&s.find(".calendar-selected-date").text(f),i&&i.length&&!e&&(i.val(f),i.trigger("change"))}}updateCurrentMonthYear(e){const n=this,{$months:s,$el:a,monthNames:i}=n;let o,r;typeof e>"u"?(n.currentMonth=parseInt(s.eq(1).attr("data-month"),10),n.currentYear=parseInt(s.eq(1).attr("data-year"),10),o=s.eq(1).attr("data-locale-month"),r=s.eq(1).attr("data-locale-year")):(n.currentMonth=parseInt(s.eq(e==="next"?s.length-1:0).attr("data-month"),10),n.currentYear=parseInt(s.eq(e==="next"?s.length-1:0).attr("data-year"),10),o=s.eq(e==="next"?s.length-1:0).attr("data-locale-month"),r=s.eq(e==="next"?s.length-1:0).attr("data-locale-year")),a.find(".current-month-value").text(i[o]),a.find(".current-year-value").text(r)}update(){const e=this,{currentYear:n,currentMonth:s,$wrapperEl:a}=e,i=new Date(n,s),o=e.renderMonth(i,"prev"),r=e.renderMonth(i),l=e.renderMonth(i,"next");a.transition(0).html(`${o}${r}${l}`).transform("translate3d(0,0,0)"),e.$months=a.find(".calendar-month"),e.monthsTranslate=0,e.setMonthsTranslate(),e.$months.each(f=>{e.emit("local::monthAdd calendarMonthAdd",f)})}onMonthChangeStart(e){const n=this,{$months:s,currentYear:a,currentMonth:i}=n;n.updateCurrentMonthYear(e),s.removeClass("calendar-month-current calendar-month-prev calendar-month-next");const o=e==="next"?s.length-1:0;s.eq(o).addClass("calendar-month-current"),s.eq(e==="next"?o-1:o+1).addClass(e==="next"?"calendar-month-prev":"calendar-month-next"),n.emit("local::monthYearChangeStart calendarMonthYearChangeStart",n,a,i)}onMonthChangeEnd(e,n){const s=this,{currentYear:a,currentMonth:i,$wrapperEl:o,monthsTranslate:r}=s;s.animating=!1;let l,f,c;o.find(".calendar-month:not(.calendar-month-prev):not(.calendar-month-current):not(.calendar-month-next)").remove(),typeof e>"u"&&(e="next",n=!0),n?(o.find(".calendar-month-next, .calendar-month-prev").remove(),f=s.renderMonth(new Date(a,i),"prev"),l=s.renderMonth(new Date(a,i),"next")):c=s.renderMonth(new Date(a,i),e),(e==="next"||n)&&o.append(c||l),(e==="prev"||n)&&o.prepend(c||f);const u=o.find(".calendar-month");s.$months=u,s.setMonthsTranslate(r),s.emit("local::monthAdd calendarMonthAdd",s,e==="next"?u.eq(u.length-1)[0]:u.eq(0)[0]),s.emit("local::monthYearChangeEnd calendarMonthYearChangeEnd",s,a,i)}setMonthsTranslate(e){const n=this,{$months:s,isHorizontal:a,inverter:i}=n;e=e||n.monthsTranslate||0,typeof n.monthsTranslate>"u"&&(n.monthsTranslate=e),s.removeClass("calendar-month-current calendar-month-prev calendar-month-next");const o=-(e+1)*100*i,r=-e*100*i,l=-(e-1)*100*i;s.eq(0).transform(`translate3d(${a?o:0}%, ${a?0:o}%, 0)`).addClass("calendar-month-prev"),s.eq(1).transform(`translate3d(${a?r:0}%, ${a?0:r}%, 0)`).addClass("calendar-month-current"),s.eq(2).transform(`translate3d(${a?l:0}%, ${a?0:l}%, 0)`).addClass("calendar-month-next")}nextMonth(e){const n=this,{params:s,$wrapperEl:a,inverter:i,isHorizontal:o}=n;(typeof e>"u"||typeof e=="object")&&(e="",s.animate||(e=0));const r=parseInt(n.$months.eq(n.$months.length-1).attr("data-month"),10),l=parseInt(n.$months.eq(n.$months.length-1).attr("data-year"),10),c=new Date(l,r).getTime(),u=!n.animating;if(s.maxDate&&c>new Date(s.maxDate).getTime()){n.resetMonth();return}if(n.monthsTranslate-=1,r===n.currentMonth){const m=-n.monthsTranslate*100*i,h=P(n.renderMonth(c,"next")).transform(`translate3d(${o?m:0}%, ${o?0:m}%, 0)`).addClass("calendar-month-next");a.append(h[0]),n.$months=a.find(".calendar-month"),n.emit("local::monthAdd calendarMonthAdd",n.$months.eq(n.$months.length-1)[0])}n.animating=!0,n.onMonthChangeStart("next");const d=n.monthsTranslate*100*i;a.transition(e).transform(`translate3d(${o?d:0}%, ${o?0:d}%, 0)`),u&&a.transitionEnd(()=>{n.onMonthChangeEnd("next")}),s.animate||n.onMonthChangeEnd("next")}prevMonth(e){const n=this,{params:s,$wrapperEl:a,inverter:i,isHorizontal:o}=n;(typeof e>"u"||typeof e=="object")&&(e="",s.animate||(e=0));const r=parseInt(n.$months.eq(0).attr("data-month"),10),l=parseInt(n.$months.eq(0).attr("data-year"),10),c=new Date(l,r+1,-1).getTime(),u=!n.animating;if(s.minDate){let m=new Date(s.minDate);if(m=new Date(m.getFullYear(),m.getMonth(),1),c{n.onMonthChangeEnd("prev")}),s.animate||n.onMonthChangeEnd("prev")}resetMonth(e){e===void 0&&(e="");const n=this,{$wrapperEl:s,inverter:a,isHorizontal:i,monthsTranslate:o}=n,r=o*100*a;s.transition(e).transform(`translate3d(${i?r:0}%, ${i?0:r}%, 0)`)}setYearMonth(e,n,s){const a=this,{params:i,isHorizontal:o,$wrapperEl:r,inverter:l}=a;typeof e>"u"&&(e=a.currentYear),typeof n>"u"&&(n=a.currentMonth),(typeof s>"u"||typeof s=="object")&&(s="",i.animate||(s=0));let f;if(enew Date(i.maxDate).getTime())return!1;if(i.minDate){let g=new Date(i.minDate);if(g=new Date(g.getFullYear(),g.getMonth(),1),fc?"next":"prev",d=a.renderMonth(new Date(e,n));a.monthsTranslate=a.monthsTranslate||0;const m=a.monthsTranslate;let h;const p=!a.animating&&s!==0;f>c?(a.monthsTranslate-=1,a.animating||a.$months.eq(a.$months.length-1).remove(),r.append(d),a.$months=r.find(".calendar-month"),h=-(m-1)*100*l,a.$months.eq(a.$months.length-1).transform(`translate3d(${o?h:0}%, ${o?0:h}%, 0)`).addClass("calendar-month-next")):(a.monthsTranslate+=1,a.animating||a.$months.eq(0).remove(),r.prepend(d),a.$months=r.find(".calendar-month"),h=-(m+1)*100*l,a.$months.eq(0).transform(`translate3d(${o?h:0}%, ${o?0:h}%, 0)`).addClass("calendar-month-prev")),a.emit("local::monthAdd calendarMonthAdd",u==="next"?a.$months.eq(a.$months.length-1)[0]:a.$months.eq(0)[0]),a.animating=!0,a.onMonthChangeStart(u);const b=a.monthsTranslate*100*l;r.transition(s).transform(`translate3d(${o?b:0}%, ${o?0:b}%, 0)`),p&&r.transitionEnd(()=>{a.onMonthChangeEnd(u,!0)}),(!i.animate||s===0)&&a.onMonthChangeEnd(u,!0)}nextYear(){const e=this;e.setYearMonth(e.currentYear+1)}prevYear(){const e=this;e.setYearMonth(e.currentYear-1)}dateInRange(e,n){let s=!1,a;if(!n)return!1;if(Array.isArray(n))for(a=0;a=new Date(n[a].from).getTime()&&(s=!0):n[a].from?e>=new Date(n[a].from).getTime()&&(s=!0):n[a].to&&e<=new Date(n[a].to).getTime()&&(s=!0):n[a].date?e===new Date(n[a].date).getTime()&&(s=!0):e===new Date(n[a]).getTime()&&(s=!0);else n.from||n.to?n.from&&n.to?e<=new Date(n.to).getTime()&&e>=new Date(n.from).getTime()&&(s=!0):n.from?e>=new Date(n.from).getTime()&&(s=!0):n.to&&e<=new Date(n.to).getTime()&&(s=!0):n.date?s=e===new Date(n.date).getTime():typeof n=="function"&&(s=n(new Date(e)));return s}daysInMonth(e){const n=new Date(e);return new Date(n.getFullYear(),n.getMonth()+1,0).getDate()}renderMonths(e){const n=this;return n.params.renderMonths?n.params.renderMonths.call(n,e):R("div",{class:"calendar-months-wrapper"},n.renderMonth(e,"prev"),n.renderMonth(e),n.renderMonth(e,"next"))}renderMonth(e,n){const s=this,{params:a,value:i}=s;if(a.renderMonth)return a.renderMonth.call(s,e,n);let o=new Date(e),r=o.getFullYear(),l=o.getMonth(),f=s.monthNames.indexOf(s.monthFormatter(o));f<0&&(f=l);let c=s.yearFormatter(o);n==="next"&&(l===11?o=new Date(r+1,0):o=new Date(r,l+1,1)),n==="prev"&&(l===0?o=new Date(r-1,11):o=new Date(r,l-1,1)),(n==="next"||n==="prev")&&(l=o.getMonth(),r=o.getFullYear(),f=s.monthNames.indexOf(s.monthFormatter(o)),f<0&&(f=l),c=s.yearFormatter(o));const u=[],d=new Date().setHours(0,0,0,0),m=a.minDate?new Date(a.minDate).getTime():null,h=a.maxDate?new Date(a.maxDate).getTime():null,p=6,b=7,g=s.daysInMonth(new Date(o.getFullYear(),o.getMonth()).getTime()-10*24*60*60*1e3),v=s.daysInMonth(o),_=a.firstDay===6?0:1;let k="",E=0+(a.firstDay-1),S,I,T=new Date(o.getFullYear(),o.getMonth()).getDay();if(T===0&&(T=7),i&&i.length)for(let A=0;A_&&a.firstDay!==1&&(E-=7,O=E-T);const j=w-1+a.firstDay>6?w-1-7+a.firstDay:w-1+a.firstDay;O<0?(O=g+O+1,L+=" calendar-day-prev",D=new Date(l-1<0?r-1:r,l-1<0?11:l-1,O).getTime()):(O+=1,O>v?(O-=v,L+=" calendar-day-next",D=new Date(l+1>11?r+1:r,l+1>11?0:l+1,O).getTime()):D=new Date(r,l,O).getTime()),D===d&&(L+=" calendar-day-today"),a.rangePicker&&u.length===2?(D>=u[0]&&D<=u[1]&&(L+=" calendar-day-selected"),u[0]!==u[1]&&(D>u[0]&&D=0&&(L+=" calendar-day-selected"),a.weekendDays.indexOf(j)>=0&&(L+=" calendar-day-weekend");let W="";if(I=!1,a.events&&s.dateInRange(D,a.events)&&(I=!0),I&&(L+=" calendar-day-has-events",W=` + + + + `,Array.isArray(a.events))){const X=[];a.events.forEach(H=>{const G=H.color||"";X.indexOf(G)<0&&s.dateInRange(D,H)&&X.push(G)}),W=` + + ${X.map(H=>` + + `.trim()).join("")} + + `}if(a.rangesClasses)for(let X=0;Xh)&&(S=!0),a.disabled&&s.dateInRange(D,a.disabled)&&(S=!0),S&&(L+=" calendar-day-disabled"),D=new Date(D);const Y=D.getFullYear(),B=D.getMonth(),q=s.dayFormatter(D);y+=` +
        + ${q}${W} +
        `.trim()}k+=`
        ${y}
        `}return k=`
        ${k}
        `,k}renderWeekHeader(){const e=this;if(e.params.renderWeekHeader)return e.params.renderWeekHeader.call(e);const{params:n}=e;let s="";for(let a=0;a<7;a+=1){const i=a+n.firstDay>6?a-7+n.firstDay:a+n.firstDay,o=e.dayNamesShort[i];s+=`
        ${o}
        `}return R("div",{class:"calendar-week-header"},s)}renderMonthSelector(){const e=this;return e.params.renderMonthSelector?e.params.renderMonthSelector.call(e):R("div",{class:"calendar-month-selector"},R("a",{class:"link icon-only calendar-prev-month-button"},R("i",{class:"icon icon-prev"})),e.params.monthPicker?R("a",{class:"current-month-value link"}):R("span",{class:"current-month-value"}),R("a",{class:"link icon-only calendar-next-month-button"},R("i",{class:"icon icon-next"})))}renderYearSelector(){const e=this;return e.params.renderYearSelector?e.params.renderYearSelector.call(e):R("div",{class:"calendar-year-selector"},R("a",{class:"link icon-only calendar-prev-year-button"},R("i",{class:"icon icon-prev"})),e.params.yearPicker?R("a",{class:"current-year-value link"}):R("span",{class:"current-year-value"}),R("a",{class:"link icon-only calendar-next-year-button"},R("i",{class:"icon icon-next"})))}renderTimeSelector(){const e=this,n=e.value&&e.value[0];let s;return n&&(s=e.timeSelectorFormatter(n)),R("div",{class:"calendar-time-selector"},R("span",null,e.params.timePickerLabel),R("a",{class:"link"},s||e.params.timePickerPlaceholder))}renderHeader(){const e=this;return e.params.renderHeader?e.params.renderHeader.call(e):R("div",{class:"calendar-header"},R("div",{class:"calendar-selected-date"},e.params.headerPlaceholder))}renderFooter(){const e=this,n=e.app;return e.params.renderFooter?e.params.renderFooter.call(e):R("div",{class:"calendar-footer"},R("a",{class:`${n.theme==="md"?"button button-round":"link"} calendar-close sheet-close popover-close`},e.params.toolbarCloseText))}renderToolbar(){const e=this;return e.params.renderToolbar?e.params.renderToolbar.call(e,e):R("div",{class:"toolbar toolbar-top"},R("div",{class:"toolbar-inner"},e.params.monthSelector?e.renderMonthSelector():"",e.params.yearSelector?e.renderYearSelector():""))}renderInline(){const e=this,{cssClass:n,toolbar:s,header:a,footer:i,rangePicker:o,weekHeader:r}=e.params,{value:l,hasTimePicker:f}=e,c=l&&l.length?l[0]:new Date().setHours(0,0,0);return R("div",{class:`calendar calendar-inline ${o?"calendar-range":""} ${n||""}`},a&&e.renderHeader(),s&&e.renderToolbar(),r&&e.renderWeekHeader(),R("div",{class:"calendar-months"},e.renderMonths(c)),f&&e.renderTimeSelector(),i&&e.renderFooter())}renderCustomModal(){const e=this,{cssClass:n,toolbar:s,header:a,footer:i,rangePicker:o,weekHeader:r}=e.params,{value:l,hasTimePicker:f}=e,c=l&&l.length?l[0]:new Date().setHours(0,0,0);return R("div",{class:`calendar calendar-modal ${o?"calendar-range":""} ${n||""}`},a&&e.renderHeader(),s&&e.renderToolbar(),r&&e.renderWeekHeader(),R("div",{class:"calendar-months"},e.renderMonths(c)),f&&e.renderTimeSelector(),i&&e.renderFooter())}renderSheet(){const e=this,{cssClass:n,toolbar:s,header:a,footer:i,rangePicker:o,weekHeader:r}=e.params,{value:l,hasTimePicker:f}=e,c=l&&l.length?l[0]:new Date().setHours(0,0,0);return R("div",{class:`sheet-modal calendar calendar-sheet ${o?"calendar-range":""} ${n||""}`},a&&e.renderHeader(),s&&e.renderToolbar(),r&&e.renderWeekHeader(),R("div",{class:"sheet-modal-inner calendar-months"},e.renderMonths(c)),f&&e.renderTimeSelector(),i&&e.renderFooter())}renderPopover(){const e=this,{cssClass:n,toolbar:s,header:a,footer:i,rangePicker:o,weekHeader:r}=e.params,{value:l,hasTimePicker:f}=e,c=l&&l.length?l[0]:new Date().setHours(0,0,0);return R("div",{class:"popover calendar-popover"},R("div",{class:"popover-inner"},R("div",{class:`calendar ${o?"calendar-range":""} ${n||""}`},a&&e.renderHeader(),s&&e.renderToolbar(),r&&e.renderWeekHeader(),R("div",{class:"calendar-months"},e.renderMonths(c)),f&&e.renderTimeSelector(),i&&e.renderFooter())))}render(){const e=this,{params:n}=e;if(n.render)return n.render.call(e);if(!e.inline){let s=n.openIn;return s==="auto"&&(s=e.isPopover()?"popover":"sheet"),s==="popover"?e.renderPopover():s==="sheet"?e.renderSheet():e.renderCustomModal()}return e.renderInline()}openMonthPicker(){const e=this,{$el:n,app:s}=e;if(!n||!n.length)return;n.append('
        '),e.monthPickerPopover=s.popover.create({el:n.find(".calendar-month-picker-popover"),targetEl:n.find(".calendar-month-selector"),backdrop:!0,backdropUnique:!0,on:{close(){e.closeMonthPicker()},closed(){e.monthPickerPopover.$el&&e.monthPickerPopover.$el.remove(),e.monthPickerPopover.destroy(),e.monthPickerInstance&&(e.monthPickerInstance.close(),e.monthPickerInstance.destroy()),delete e.monthPickerInstance,delete e.monthPickerPopover}}}),e.monthPickerPopover.open();const a=parseInt(e.$el.find(".calendar-month-current").attr("data-locale-month"),10),i=[],o=[];e.monthNames.forEach((r,l)=>{i.push(l),o.push(r)}),e.monthPickerInstance=s.picker.create({containerEl:e.monthPickerPopover.$el.find(".calendar-month-picker"),value:[a],toolbar:e.params.monthPickerToolbar,rotateEffect:!1,toolbarCloseText:e.params.monthPickerCloseText,cols:[{values:i,displayValues:o}]})}closeMonthPicker(){const e=this;e.monthPickerPopover&&e.monthPickerPopover.opened&&e.monthPickerPopover.close();const n=e.monthPickerInstance.value[0],s=parseInt(e.$el.find(".calendar-month-current").attr("data-locale-month"),10),a=e.currentMonth,i=s-a,o=n-i;e.setYearMonth(e.currentYear,o,0)}openYearPicker(){const e=this,{$el:n,app:s}=e;if(!n||!n.length)return;n.append('
        '),e.yearPickerPopover=s.popover.create({el:n.find(".calendar-year-picker-popover"),targetEl:n.find(".calendar-year-selector"),backdrop:!0,backdropUnique:!0,on:{close(){e.closeYearPicker()},closed(){e.yearPickerPopover.$el&&e.yearPickerPopover.$el.remove(),e.yearPickerPopover.destroy(),e.yearPickerInstance&&(e.yearPickerInstance.close(),e.yearPickerInstance.destroy()),delete e.yearPickerInstance,delete e.yearPickerPopover}}}),e.yearPickerPopover.open();const a=e.currentYear;let i=e.params.yearPickerMin||new Date().getFullYear()-100;e.params.minDate&&(i=Math.max(i,new Date(e.params.minDate).getFullYear()));let o=e.params.yearPickerMax||new Date().getFullYear()+100;e.params.maxDate&&(o=Math.min(o,new Date(e.params.maxDate).getFullYear()));const r=[];for(let l=i;l<=o;l+=1)r.push(l);e.yearPickerInstance=s.picker.create({containerEl:e.yearPickerPopover.$el.find(".calendar-year-picker"),value:[a],toolbar:e.params.yearPickerToolbar,rotateEffect:!1,toolbarCloseText:e.params.yearPickerCloseText,cols:[{values:r}]})}closeYearPicker(){const e=this;e.yearPickerPopover&&e.yearPickerPopover.opened&&e.yearPickerPopover.close(),e.setYearMonth(e.yearPickerInstance.value[0],void 0,0)}openTimePicker(){const e=this,{$el:n,app:s,is12HoursFormat:a}=e;if(!n||!n.length)return;n.append('
        ');const i=[],o=[],r=a?1:0,l=a?12:23;for(let c=r;c<=l;c+=1)i.push(c);for(let c=0;c<=59;c+=1)o.push(c);let f;e.value&&e.value.length?f=[e.value[0].getHours(),e.value[0].getMinutes()]:f=[new Date().getHours(),new Date().getMinutes()],a&&(f.push(f[0]<12?"AM":"PM"),f[0]>12&&(f[0]-=12),f[0]===0&&(f[0]=12)),e.timePickerPopover=s.popover.create({el:n.find(".calendar-time-picker-popover"),targetEl:n.find(".calendar-time-selector .link"),backdrop:!0,backdropUnique:!0,on:{close(){e.closeTimePicker()},closed(){e.timePickerPopover.$el&&e.timePickerPopover.$el.remove(),e.timePickerPopover.destroy(),e.timePickerInstance&&(e.timePickerInstance.close(),e.timePickerInstance.destroy()),delete e.timePickerInstance,delete e.timePickerPopover}}}),e.timePickerPopover.open(),e.timePickerInstance=s.picker.create({containerEl:e.timePickerPopover.$el.find(".calendar-time-picker"),value:f,toolbar:e.params.timePickerToolbar,rotateEffect:!1,toolbarCloseText:e.params.timePickerCloseText,cols:[{values:i},{divider:!0,content:":"},{values:o,displayValues:o.map(c=>c<10?`0${c}`:c)},...a?[{values:["AM","PM"]}]:[]]})}closeTimePicker(){const e=this,{is12HoursFormat:n}=e;if(e.timePickerInstance){const s=e.timePickerInstance.value;let a=parseInt(s[0],10);const i=parseInt(s[1],10),o=e.timePickerInstance.value[2];n&&(o==="AM"&&a===12?a=0:o==="PM"&&a!==12&&(a+=12));let r=e.value&&e.value.length&&e.value[0];r?(r=new Date(r),r.setHours(a,i)):(r=new Date,r.setHours(a,i,0,0)),e.setValue([r]),e.timePickerPopover&&e.timePickerPopover.opened&&e.timePickerPopover.close()}}onOpen(){const e=this,{initialized:n,$el:s,app:a,$inputEl:i,inline:o,value:r,params:l}=e;e.closing=!1,e.opened=!0,e.opening=!0,e.attachCalendarEvents();const f=!r&&l.value;n?r&&e.setValue(r,0):r?e.setValue(r,0):l.value&&e.setValue(e.normalizeValues(l.value),0),e.updateCurrentMonthYear(),e.monthsTranslate=0,e.setMonthsTranslate(),f?e.updateValue():l.header&&r&&e.updateValue(!0),!o&&i&&i.length&&a.theme==="md"&&i.trigger("focus"),e.initialized=!0,e.$months.each(c=>{e.emit("local::monthAdd calendarMonthAdd",c)}),s&&s.trigger("calendar:open"),i&&i.trigger("calendar:open"),e.emit("local::open calendarOpen",e)}onOpened(){const e=this;e.opening=!1,e.$el&&e.$el.trigger("calendar:opened"),e.$inputEl&&e.$inputEl.trigger("calendar:opened"),e.emit("local::opened calendarOpened",e)}onClose(){const e=this,n=e.app;if(e.opening=!1,e.closing=!0,e.$inputEl)if(n.theme==="md")e.$inputEl.trigger("blur");else{const s=e.$inputEl.attr("validate"),a=e.$inputEl.attr("required");s&&a&&n.input.validate(e.$inputEl)}e.detachCalendarEvents&&e.detachCalendarEvents(),e.$el&&e.$el.trigger("calendar:close"),e.$inputEl&&e.$inputEl.trigger("calendar:close"),e.emit("local::close calendarClose",e)}onClosed(){const e=this;e.opened=!1,e.closing=!1,e.inline||_t(()=>{e.modal&&e.modal.el&&e.modal.destroy&&(e.params.routableModals||e.modal.destroy()),delete e.modal}),e.timePickerInstance&&(e.timePickerInstance.destroy&&e.timePickerInstance.destroy(),delete e.timePickerInstance),e.$el&&e.$el.trigger("calendar:closed"),e.$inputEl&&e.$inputEl.trigger("calendar:closed"),e.emit("local::closed calendarClosed",e)}open(){const e=this,{app:n,opened:s,inline:a,$inputEl:i,params:o}=e;if(s)return;if(a){e.$el=P(e.render()),e.$el[0].f7Calendar=e,e.$wrapperEl=e.$el.find(".calendar-months-wrapper"),e.$months=e.$wrapperEl.find(".calendar-month"),e.$containerEl.append(e.$el),e.onOpen(),e.onOpened();return}let r=o.openIn;r==="auto"&&(r=e.isPopover()?"popover":"sheet");const l=e.render(),f={targetEl:i,scrollToEl:o.scrollToInput?i:void 0,content:l,backdrop:o.backdrop===!0||(r==="popover"||r==="customModal")&&n.params.popover.backdrop!==!1&&o.backdrop!==!1,closeByBackdropClick:o.closeByBackdropClick,on:{open(){const c=this;e.modal=c,e.$el=r==="popover"?c.$el.find(".calendar"):c.$el,e.$wrapperEl=e.$el.find(".calendar-months-wrapper"),e.$months=e.$wrapperEl.find(".calendar-month"),e.$el[0].f7Calendar=e,r==="customModal"&&P(e.$el).find(".calendar-close").once("click",()=>{e.close()}),e.onOpen()},opened(){e.onOpened()},close(){e.onClose()},closed(){e.onClosed()}}};r==="sheet"&&(f.push=o.sheetPush,f.swipeToClose=o.sheetSwipeToClose),o.routableModals&&e.view?e.view.router.navigate({url:e.url,route:{path:e.url,[r]:f}}):(e.modal=n[r].create(f),e.modal.open())}close(){const e=this,{opened:n,inline:s}=e;if(n){if(s){e.onClose(),e.onClosed();return}e.params.routableModals&&e.view?e.view.router.back():e.modal.close()}}init(){const e=this;if(e.initInput(),e.inline){e.open(),e.emit("local::init calendarInit",e);return}!e.initialized&&e.params.value&&e.setValue(e.normalizeValues(e.params.value)),e.$inputEl&&e.attachInputEvents(),e.params.closeByOutsideClick&&e.attachHtmlEvents(),e.emit("local::init calendarInit",e)}destroy(){const e=this;if(e.destroyed)return;const{$el:n}=e;e.emit("local::beforeDestroy calendarBeforeDestroy",e),n&&n.trigger("calendar:beforedestroy"),e.close(),e.$inputEl&&e.detachInputEvents(),e.params.closeByOutsideClick&&e.detachHtmlEvents(),e.timePickerInstance&&(e.timePickerInstance.destroy&&e.timePickerInstance.destroy(),delete e.timePickerInstance),n&&n.length&&delete e.$el[0].f7Calendar,ft(e),e.destroyed=!0}};const md=KC,ZC={name:"calendar",static:{Calendar:md},create(){const t=this;t.calendar=ct({defaultSelector:".calendar",constructor:md,app:t,domProp:"f7Calendar"}),t.calendar.close=function(n){n===void 0&&(n=".calendar");const s=P(n);if(s.length===0)return;const a=s[0].f7Calendar;!a||a&&!a.opened||a.close()}},params:{calendar:{dateFormat:void 0,monthNames:"auto",monthNamesShort:"auto",dayNames:"auto",dayNamesShort:"auto",locale:void 0,firstDay:1,weekendDays:[0,6],multiple:!1,rangePicker:!1,rangePickerMinDays:1,rangePickerMaxDays:0,direction:"horizontal",minDate:null,maxDate:null,disabled:null,events:null,rangesClasses:null,touchMove:!0,animate:!0,closeOnSelect:!1,monthSelector:!0,monthPicker:!0,monthPickerToolbar:!0,monthPickerCloseText:"Done",yearSelector:!0,yearPicker:!0,yearPickerToolbar:!0,yearPickerMin:void 0,yearPickerMax:void 0,yearPickerCloseText:"Done",timePicker:!1,timePickerToolbar:!0,timePickerLabel:"Time",timePickerFormat:{hour:"numeric",minute:"numeric"},timePickerPlaceholder:"Select time",timePickerCloseText:"Done",weekHeader:!0,value:null,containerEl:null,openIn:"auto",sheetPush:!1,sheetSwipeToClose:void 0,formatValue:null,inputEl:null,inputReadOnly:!0,closeByOutsideClick:!0,scrollToInput:!0,header:!1,headerPlaceholder:"Select date",toolbar:!0,toolbarCloseText:"Done",footer:!1,cssClass:null,routableModals:!1,view:null,url:"date/",backdrop:null,closeByBackdropClick:!0,renderWeekHeader:null,renderMonths:null,renderMonth:null,renderMonthSelector:null,renderYearSelector:null,renderHeader:null,renderFooter:null,renderToolbar:null,renderInline:null,renderPopover:null,renderSheet:null,render:null}}};function JC(t,e){const n=this,s=P(t),a=s.index(),i=n.cols[a];if(i.divider)return;i.$el=s,i.el=s[0],i.$itemsEl=i.$el.find(".picker-items"),i.items=i.$itemsEl.find(".picker-item");let o,r;i.replaceValues=function(u,d){i.detachEvents(),i.values=u,i.displayValues=d,i.$itemsEl.html(n.renderColumn(i,!0)),i.items=i.$itemsEl.find(".picker-item"),i.calcSize(),i.setValue(i.values[0],!0),i.attachEvents()},i.calcSize=function(){r=i.$el[0].offsetHeight,o=i.items[0].offsetHeight;const u=i.el.style.getPropertyValue("--f7-picker-scroll-padding");i.el.style.setProperty("--f7-picker-scroll-padding",`${(r-o)/2}px`),u||(i.$itemsEl[0].scrollTop=0)},i.setValue=function(u,d){const m=i.$itemsEl.find(`.picker-item[data-picker-value="${u}"]`).index();if(typeof m>"u"||m===-1)return;const h=m*o;i.$itemsEl[0].scrollTop=h,i.updateItems(m,h,d)},i.updateItems=function(u,d,m){typeof d>"u"&&(d=i.$itemsEl[0].scrollTop),typeof u>"u"&&(u=Math.round(d/o)),u<0&&(u=0),u>=i.items.length&&(u=i.items.length-1);const h=i.activeIndex;i.activeIndex=u,i.$itemsEl.find(".picker-item-selected").removeClass("picker-item-selected");const p=i.items.eq(u);p.addClass("picker-item-selected").children().transform(""),n.params.rotateEffect&&i.items.each(b=>{const g=P(b),_=(b.offsetTop-(r-o)/2-d)/o,k=Math.ceil(i.height/o/2)+1;let E=-24*_;E>180&&(E=180),E<-180&&(E=-180),Math.abs(_)>k?g.addClass("picker-item-far"):g.removeClass("picker-item-far"),g.children("span").transform(`translate3d(0, ${-_*o}px, -100px) rotateX(${E}deg)`)}),(m||typeof m>"u")&&(i.value=p.attr("data-picker-value"),i.displayValue=i.displayValues?i.displayValues[u]:i.value,h!==u&&(i.onChange&&i.onChange(n,i.value,i.displayValue),n.updateValue()))};function l(){i.updateItems()}function f(){const c=P(this).attr("data-picker-value");i.setValue(c)}i.attachEvents=function(){i.$itemsEl.on("scroll",l),i.items.on("click",f)},i.detachEvents=function(){i.items.off("click",f)},i.init=function(){i.calcSize(),a===0&&i.$el.addClass("picker-column-first"),a===n.cols.length-1&&i.$el.addClass("picker-column-last"),n.params.freeMode&&i.$el.addClass("picker-column-free-mode"),e&&i.updateItems(0),i.attachEvents()},i.destroy=function(){i.detachEvents()},i.init()}let ey=class extends rt{constructor(e,n){n===void 0&&(n={}),super(n,[e]);const s=this,a=Ke(),i=Se();s.params=te({},e.params.picker,n);let o;if(s.params.containerEl&&(o=P(s.params.containerEl),o.length===0))return s;let r;s.params.inputEl&&(r=P(s.params.inputEl));let l=s.params.scrollToInput?r:void 0;if(s.params.scrollToEl){const p=P(s.params.scrollToEl);p.length>0&&(l=p)}te(s,{app:e,$containerEl:o,containerEl:o&&o[0],inline:o&&o.length>0,needsOriginFix:a.ios||i.navigator.userAgent.toLowerCase().indexOf("safari")>=0&&i.navigator.userAgent.toLowerCase().indexOf("chrome")<0&&!a.android,cols:[],$inputEl:r,inputEl:r&&r[0],$scrollToEl:l,initialized:!1,opened:!1,url:s.params.url});function f(){s.resizeCols()}function c(){s.open()}function u(p){p.preventDefault()}let d=null;function m(p){d=p.target}function h(p){if(s.destroyed||!s.params)return;const b=P(p.target);s.isPopover()||!s.opened||s.closing||b.closest('[class*="backdrop"]').length||(r&&r.length>0?d===p.target&&b[0]!==r[0]&&b.closest(".sheet-modal").length===0&&s.close():P(p.target).closest(".sheet-modal").length===0&&s.close())}return te(s,{attachResizeEvent(){e.on("resize",f)},detachResizeEvent(){e.off("resize",f)},attachInputEvents(){s.$inputEl.on("click",c),s.params.inputReadOnly&&(s.$inputEl.on("focus mousedown",u),s.$inputEl[0]&&(s.$inputEl[0].f7ValidateReadonly=!0))},detachInputEvents(){s.$inputEl.off("click",c),s.params.inputReadOnly&&(s.$inputEl.off("focus mousedown",u),s.$inputEl[0]&&delete s.$inputEl[0].f7ValidateReadonly)},attachHtmlEvents(){e.on("click",h),e.on("touchstart",m)},detachHtmlEvents(){e.off("click",h),e.off("touchstart",m)}}),s.init(),s}get view(){const{app:e,params:n,$inputEl:s}=this;let a;return n.view?a=n.view:s&&(a=s.parents(".view").length&&s.parents(".view")[0].f7View),a||(a=e.views.main),a}initInput(){const e=this;e.$inputEl&&e.params.inputReadOnly&&e.$inputEl.prop("readOnly",!0)}resizeCols(){const e=this;if(e.opened)for(let n=0;n=768)return!0}return!1}formatValue(){const e=this,{value:n,displayValue:s}=e;return e.params.formatValue?e.params.formatValue.call(e,n,s):n.join(" ")}setValue(e){const n=this;let s=0;if(n.cols.length===0){n.value=e,n.updateValue(e);return}for(let a=0;a!r.divider);for(let r=0;r=0||(n.value=s,n.displayValue=a,n.emit("local::change pickerChange",n,n.value,n.displayValue),n.inputEl&&(n.$inputEl.val(n.formatValue()),n.$inputEl.trigger("change")))}initColumn(e,n){const s=this;JC.call(s,e,n)}destroyColumn(e){const n=this,a=P(e).index();n.cols[a]&&n.cols[a].destroy&&n.cols[a].destroy()}renderToolbar(){const e=this;return e.params.renderToolbar?e.params.renderToolbar.call(e,e):R("div",{class:"toolbar toolbar-top"},R("div",{class:"toolbar-inner"},R("div",{class:"left"}),R("div",{class:"right"},R("a",{class:"link sheet-close popover-close"},e.params.toolbarCloseText))))}renderColumn(e,n){const s=`picker-column ${e.textAlign?`picker-column-${e.textAlign}`:""} ${e.cssClass||""}`;let a,i;return e.divider?a=` +
        ${e.content}
        + `:(i=e.values.map((o,r)=>` +
        + ${e.displayValues?e.displayValues[r]:o} +
        + `).join(""),a=` +
        +
        ${i}
        +
        + `),n?i.trim():a.trim()}renderInline(){const e=this,{rotateEffect:n,cssClass:s,toolbar:a}=e.params;return R("div",{class:`picker picker-inline ${n?"picker-3d":""} ${s||""}`},a&&e.renderToolbar(),R("div",{class:"picker-columns"},e.cols.map(o=>e.renderColumn(o)),R("div",{class:"picker-center-highlight"})))}renderSheet(){const e=this,{rotateEffect:n,cssClass:s,toolbar:a}=e.params;return R("div",{class:`sheet-modal picker picker-sheet ${n?"picker-3d":""} ${s||""}`},a&&e.renderToolbar(),R("div",{class:"sheet-modal-inner picker-columns"},e.cols.map(o=>e.renderColumn(o)),R("div",{class:"picker-center-highlight"})))}renderPopover(){const e=this,{rotateEffect:n,cssClass:s,toolbar:a}=e.params;return R("div",{class:"popover picker-popover"},R("div",{class:"popover-inner"},R("div",{class:`picker ${n?"picker-3d":""} ${s||""}`},a&&e.renderToolbar(),R("div",{class:"picker-columns"},e.cols.map(o=>e.renderColumn(o)),R("div",{class:"picker-center-highlight"})))))}render(){const e=this;return e.params.render?e.params.render.call(e):e.inline?e.renderInline():e.isPopover()?e.renderPopover():e.renderSheet()}onOpen(){const e=this,{initialized:n,$el:s,app:a,$inputEl:i,inline:o,value:r,params:l}=e;e.opened=!0,e.closing=!1,e.opening=!0,e.attachResizeEvent(),s.find(".picker-column").each(f=>{let c=!0;(!n&&l.value||n&&r)&&(c=!1),e.initColumn(f,c)}),n?r&&e.setValue(r):r?e.setValue(r):l.value&&e.setValue(l.value),!o&&i&&i.length&&a.theme==="md"&&i.trigger("focus"),e.initialized=!0,s&&s.trigger("picker:open"),i&&i.trigger("picker:open"),e.emit("local::open pickerOpen",e)}onOpened(){const e=this;e.opening=!1,e.$el&&e.$el.trigger("picker:opened"),e.$inputEl&&e.$inputEl.trigger("picker:opened"),e.emit("local::opened pickerOpened",e)}onClose(){const e=this,n=e.app;if(e.opening=!1,e.closing=!0,e.detachResizeEvent(),e.cols.forEach(s=>{s.destroy&&s.destroy()}),e.$inputEl)if(n.theme==="md")e.$inputEl.trigger("blur");else{const s=e.$inputEl.attr("validate"),a=e.$inputEl.attr("required");s&&a&&n.input.validate(e.$inputEl)}e.$el&&e.$el.trigger("picker:close"),e.$inputEl&&e.$inputEl.trigger("picker:close"),e.emit("local::close pickerClose",e)}onClosed(){const e=this;e.opened=!1,e.closing=!1,e.inline||_t(()=>{e.modal&&e.modal.el&&e.modal.destroy&&(e.params.routableModals||e.modal.destroy()),delete e.modal}),e.$el&&e.$el.trigger("picker:closed"),e.$inputEl&&e.$inputEl.trigger("picker:closed"),e.emit("local::closed pickerClosed",e)}open(){const e=this,{app:n,opened:s,inline:a,$inputEl:i,$scrollToEl:o,params:r}=e;if(s)return;if(e.cols.length===0&&r.cols.length&&r.cols.forEach(u=>{e.cols.push(u)}),a){e.$el=P(e.render()),e.$el[0].f7Picker=e,e.$containerEl.append(e.$el),e.onOpen(),e.onOpened();return}const l=e.isPopover(),f=l?"popover":"sheet",c={targetEl:i,scrollToEl:o,content:e.render(),backdrop:typeof r.backdrop<"u"?r.backdrop:l,on:{open(){const u=this;e.modal=u,e.$el=l?u.$el.find(".picker"):u.$el,e.$el[0].f7Picker=e,e.onOpen()},opened(){e.onOpened()},close(){e.onClose()},closed(){e.onClosed()}}};f==="sheet"&&(c.push=r.sheetPush,c.swipeToClose=r.sheetSwipeToClose),r.routableModals&&e.view?e.view.router.navigate({url:e.url,route:{path:e.url,[f]:c}}):(e.modal=n[f].create(c),e.modal.open())}close(){const e=this,{opened:n,inline:s}=e;if(n){if(s){e.onClose(),e.onClosed();return}e.params.routableModals&&e.view?e.view.router.back():e.modal.close()}}init(){const e=this;if(e.initInput(),e.inline){e.open(),e.emit("local::init pickerInit",e);return}!e.initialized&&e.params.value&&e.setValue(e.params.value),e.$inputEl&&e.attachInputEvents(),e.params.closeByOutsideClick&&e.attachHtmlEvents(),e.emit("local::init pickerInit",e)}destroy(){const e=this;if(e.destroyed)return;const{$el:n}=e;e.emit("local::beforeDestroy pickerBeforeDestroy",e),n&&n.trigger("picker:beforedestroy"),e.close(),e.$inputEl&&e.detachInputEvents(),e.params.closeByOutsideClick&&e.detachHtmlEvents(),n&&n.length&&delete e.$el[0].f7Picker,ft(e),e.destroyed=!0}};const hd=ey,ty={name:"picker",static:{Picker:hd},create(){const t=this;t.picker=ct({defaultSelector:".picker",constructor:hd,app:t,domProp:"f7Picker"}),t.picker.close=function(n){n===void 0&&(n=".picker");const s=P(n);if(s.length===0)return;const a=s[0].f7Picker;!a||a&&!a.opened||a.close()}},params:{picker:{rotateEffect:!1,freeMode:!1,cols:[],containerEl:null,openIn:"auto",sheetPush:!1,sheetSwipeToClose:void 0,backdrop:void 0,formatValue:null,inputEl:null,inputReadOnly:!0,closeByOutsideClick:!0,scrollToInput:!0,scrollToEl:void 0,toolbar:!0,toolbarCloseText:"Done",cssClass:null,routableModals:!1,view:null,url:"select/",renderToolbar:null,render:null}}},ny={handle(t,e){const n=this,s=P(t),a=s[0].scrollTop,i=s[0].scrollHeight,o=s[0].offsetHeight;let r=s[0].getAttribute("data-infinite-distance");const l=s.find(".virtual-list");let f;const c=s.hasClass("infinite-scroll-top");if(r||(r=50),typeof r=="string"&&r.indexOf("%")>=0&&(r=parseInt(r,10)/100*o),r>o&&(r=o),c)a=i-r){if(l.length>0&&(f=l.eq(-1)[0].f7VirtualList,f&&!f.reachEnd&&!f.params.updatableScroll))return;s.trigger("infinite",e),n.emit("infinite",s[0],e)}},create(t){const e=P(t),n=this;function s(a){n.infiniteScroll.handle(this,a)}e.each(a=>{a.f7InfiniteScrollHandler=s,a.addEventListener("scroll",a.f7InfiniteScrollHandler)})},destroy(t){P(t).each(n=>{n.removeEventListener("scroll",n.f7InfiniteScrollHandler),delete n.f7InfiniteScrollHandler})}},sy={name:"infiniteScroll",create(){It(this,{infiniteScroll:ny})},on:{tabMounted(t){const e=this,n=P(t),s=n.find(".infinite-scroll-content");n.is(".infinite-scroll-content")&&s.add(n),s.each(a=>{e.infiniteScroll.create(a)})},tabBeforeRemove(t){const e=P(t),n=this,s=e.find(".infinite-scroll-content");e.is(".infinite-scroll-content")&&s.add(e),s.each(a=>{n.infiniteScroll.destroy(a)})},pageInit(t){const e=this;t.$el.find(".infinite-scroll-content").each(n=>{e.infiniteScroll.create(n)})},pageBeforeRemove(t){const e=this;t.$el.find(".infinite-scroll-content").each(n=>{e.infiniteScroll.destroy(n)})}}};let ay=class extends rt{constructor(e,n){super({},[e]);const s=this,a=Ke(),i=it(),o=P(n),r=o.find(".ptr-preloader");s.$el=o,s.el=o[0],s.app=e,s.bottom=s.$el.hasClass("ptr-bottom"),s.useModulesParams({});const l=e.theme==="md",f=e.theme==="ios";s.done=function(){const K=l?r:o,pe=ke=>{P(ke.target).closest(r).length||(o.removeClass("ptr-transitioning ptr-pull-up ptr-pull-down ptr-closing"),o.trigger("ptr:done"),s.emit("local::done ptrDone",o[0]),K.off("transitionend",pe))};return K.on("transitionend",pe),o.removeClass("ptr-refreshing").addClass("ptr-transitioning ptr-closing"),s},s.refresh=function(){return o.hasClass("ptr-refreshing")||(o.addClass("ptr-transitioning ptr-refreshing"),o.trigger("ptr:refresh",s.done),s.emit("local::refresh ptrRefresh",o[0],s.done)),s},s.mousewheel=o.attr("data-ptr-mousewheel")==="true";let c,u,d;const m={};let h,p,b=!1,g=!1,v=!1,_=0,k,E,S,I,T,A,y=!1,w,D,O;const L=o.parents(".page");if((L.find(".navbar").length>0||L.parents(".view").children(".navbars").length>0)&&(y=!0),L.hasClass("no-navbar")&&(y=!1),!s.bottom){const me=e.navbar.getElByPage(L[0]);if(me){const K=P(me),pe=K.hasClass("navbar-large-transparent")||K.hasClass("navbar-large")&&K.hasClass("navbar-transparent"),ke=K.hasClass("navbar-transparent")&&!K.hasClass("navbar-large");pe?o.addClass("ptr-with-navbar-large-transparent"):ke&&o.addClass("ptr-with-navbar-transparent")}}!y&&!s.bottom&&o.addClass("ptr-no-navbar"),o.attr("data-ptr-distance")?T=!0:l?I=66:f&&(I=44);function j(me){me===void 0&&(me=0);const K=r.find(".preloader-inner-line"),pe=1/K.length;K.forEach((ke,he)=>{const re=(me-he*pe)/pe;ke.style.opacity=Math.max(Math.min(re,1),0)*.27})}function W(){r.find(".preloader-inner-line").css("opacity","")}function Y(me){if(me.isTrusted){if(u)if(a.os==="android"){if("targetTouches"in me&&me.targetTouches.length>1)return}else return;o.hasClass("ptr-refreshing")||P(me.target).closest(".sortable-handler, .ptr-ignore, .card-expandable.card-opened").length||(d=!1,A=!1,u=!0,h=void 0,S=void 0,me.type==="touchstart"&&(c=me.targetTouches[0].identifier),m.x=me.type==="touchstart"?me.targetTouches[0].pageX:me.pageX,m.y=me.type==="touchstart"?me.targetTouches[0].pageY:me.pageY)}}function B(me){if(!u||!me.isTrusted)return;let K,pe,ke;if(me.type==="touchmove"){if(c&&me.touches)for(let re=0;re"u"&&(h=!!(h||Math.abs(pe-m.y)>Math.abs(K-m.x))),!h){u=!1;return}if(E=o[0].scrollTop,!d){o.removeClass("ptr-transitioning"),f&&j(0);let re;if(w=o[0].scrollHeight,D=o[0].offsetHeight,s.bottom&&(O=w-D),E>w){u=!1;return}const Ce=P(me.target).closest(".ptr-watch-scroll");if(Ce.length&&Ce.each(Pe=>{Pe!==n&&Pe.scrollHeight>Pe.offsetHeight&&P(Pe).css("overflow")==="auto"&&(!s.bottom&&Pe.scrollTop>0||s.bottom&&Pe.scrollTop=0&&(I=w*parseInt(I,10)/100)),_=o.hasClass("ptr-refreshing")?I:0,w===D||a.os!=="ios"||l?g=!0:g=!1,v=!1}if(d=!0,p=pe-m.y,typeof S>"u"&&(s.bottom?E!==O:E!==0)&&(S=!0),s.bottom?p<0&&E>=O||E>O:p>0&&E<=0||E<0){a.os==="ios"&&parseInt(a.osVersion.split(".")[0],10)>7&&(!s.bottom&&E===0&&!S&&(g=!0),s.bottom&&E===O&&!S&&(g=!0)),!g&&s.bottom&&!l&&(o.css("-webkit-overflow-scrolling","auto"),o.scrollTop(O),v=!0),g||v?(me.cancelable&&me.preventDefault(),k=(s.bottom?-1*Math.abs(p)**.85:p**.85)+_,l?r.transform(`translate3d(0,${k}px,0)`).find(".ptr-arrow").transform(`rotate(${180*(Math.abs(p)/66)+100}deg)`):(s.bottom||f?o.children().transform(`translate3d(0,${k}px,0)`):o.transform(`translate3d(0,${k}px,0)`),f&&r.transform("translate3d(0,0px,0)"))):f&&!s.bottom&&r.transform(`translate3d(0,${E}px,0)`);let re;f&&!b&&(re=g||v?Math.abs(p)**.85/I:Math.abs(p)/(I*2),j(re)),(g||v)&&Math.abs(p)**.85>I||!g&&Math.abs(p)>=I*2?(b=!0,o.addClass("ptr-pull-up").removeClass("ptr-pull-down"),W()):(b=!1,o.removeClass("ptr-pull-up").addClass("ptr-pull-down")),A||(o.trigger("ptr:pullstart"),s.emit("local::pullStart ptrPullStart",o[0]),A=!0),o.trigger("ptr:pullmove",{event:me,scrollTop:E,translate:k,touchesDiff:p}),s.emit("local::pullMove ptrPullMove",o[0],{event:me,scrollTop:E,translate:k,touchesDiff:p})}else A=!1,o.removeClass("ptr-pull-up ptr-pull-down"),b=!1}function q(me){if(me.isTrusted){if(me.type==="touchend"&&me.changedTouches&&me.changedTouches.length>0&&c&&me.changedTouches[0].identifier!==c){u=!1,h=!1,d=!1,c=null;return}if(!u||!d){u=!1,d=!1;return}k&&(o.addClass("ptr-transitioning"),k=0),l?r.transform("").find(".ptr-arrow").transform(""):(r.transform(""),s.bottom||f?o.children().transform(""):o.transform("")),!g&&s.bottom&&!l&&o.css("-webkit-overflow-scrolling",""),b?(o.addClass("ptr-refreshing"),o.trigger("ptr:refresh",s.done),s.emit("local::refresh ptrRefresh",o[0],s.done)):o.removeClass("ptr-pull-down"),u=!1,d=!1,A&&(o.trigger("ptr:pullend"),s.emit("local::pullEnd ptrPullEnd",o[0]))}}let X,H,G=!0,ce=0;function ye(){G=!0,H=!1,ce=0,k&&(o.addClass("ptr-transitioning"),k=0),l?r.transform("").find(".ptr-arrow").transform(""):(r.transform(""),s.bottom?o.children().transform(""):o.transform("")),b?(o.addClass("ptr-refreshing"),o.trigger("ptr:refresh",s.done),s.emit("local::refresh ptrRefresh",o[0],s.done)):o.removeClass("ptr-pull-down"),A&&(o.trigger("ptr:pullend"),s.emit("local::pullEnd ptrPullEnd",o[0]))}function ne(me){if(!G)return;const{deltaX:K,deltaY:pe}=me;if(Math.abs(K)>Math.abs(pe)||o.hasClass("ptr-refreshing")||P(me.target).closest(".sortable-handler, .ptr-ignore, .card-expandable.card-opened").length)return;if(clearTimeout(X),E=o[0].scrollTop,!H){o.removeClass("ptr-transitioning"),f&&j(0);let he;if(w=o[0].scrollHeight,D=o[0].offsetHeight,s.bottom&&(O=w-D),E>w){G=!1;return}const re=P(me.target).closest(".ptr-watch-scroll");if(re.length&&re.each(Ce=>{Ce!==n&&Ce.scrollHeight>Ce.offsetHeight&&P(Ce).css("overflow")==="auto"&&(!s.bottom&&Ce.scrollTop>0||s.bottom&&Ce.scrollTop=0&&(I=w*parseInt(I,10)/100))}if(d=!0,ce-=pe,p=ce,typeof S>"u"&&(s.bottom?E!==O:E!==0)&&(S=!0),s.bottom?p<0&&E>=O||E>O:p>0&&E<=0||E<0){me.cancelable&&me.preventDefault(),k=p,Math.abs(k)>I&&(k=I+(Math.abs(k)-I)**.7,s.bottom&&(k=-k)),l?r.transform(`translate3d(0,${k}px,0)`).find(".ptr-arrow").transform(`rotate(${180*(Math.abs(p)/66)+100}deg)`):s.bottom?o.children().transform(`translate3d(0,${k}px,0)`):(o.transform(`translate3d(0,${k}px,0)`),f&&r.transform(`translate3d(0,${-k}px,0)`));let he;f&&!b&&(he=Math.abs(k)/I,j(he)),Math.abs(k)>I?(b=!0,o.addClass("ptr-pull-up").removeClass("ptr-pull-down"),W()):(b=!1,o.removeClass("ptr-pull-up").addClass("ptr-pull-down")),A||(o.trigger("ptr:pullstart"),s.emit("local::pullStart ptrPullStart",o[0]),A=!0),o.trigger("ptr:pullmove",{event:me,scrollTop:E,translate:k,touchesDiff:p}),s.emit("local::pullMove ptrPullMove",o[0],{event:me,scrollTop:E,translate:k,touchesDiff:p})}else A=!1,o.removeClass("ptr-pull-up ptr-pull-down"),b=!1;X=setTimeout(ye,300)}return!L.length||!o.length||(o[0].f7PullToRefresh=s,s.attachEvents=function(){const K=i.passiveListener?{passive:!0}:!1;o.on(e.touchEvents.start,Y,K),e.on("touchmove:active",B),e.on("touchend:passive",q),s.mousewheel&&!s.bottom&&o.on("wheel",ne)},s.detachEvents=function(){const K=i.passiveListener?{passive:!0}:!1;o.off(e.touchEvents.start,Y,K),e.off("touchmove:active",B),e.off("touchend:passive",q),s.mousewheel&&!s.bottom&&o.off("wheel",ne)},s.useModules(),s.init()),s}init(){this.attachEvents()}destroy(){let e=this;e.emit("local::beforeDestroy ptrBeforeDestroy",e),e.$el.trigger("ptr:beforedestroy"),delete e.el.f7PullToRefresh,e.detachEvents(),ft(e),e=null}};const gd=ay,iy={name:"pullToRefresh",create(){const t=this;t.ptr=te(ct({defaultSelector:".ptr-content",constructor:gd,app:t,domProp:"f7PullToRefresh"}),{done(e){const n=t.ptr.get(e);if(n)return n.done()},refresh(e){const n=t.ptr.get(e);if(n)return n.refresh()}})},static:{PullToRefresh:gd},on:{tabMounted(t){const e=this,n=P(t),s=n.find(".ptr-content");n.is(".ptr-content")&&s.add(n),s.each(a=>{e.ptr.create(a)})},tabBeforeRemove(t){const e=P(t),n=this,s=e.find(".ptr-content");e.is(".ptr-content")&&s.add(e),s.each(a=>{n.ptr.destroy(a)})},pageInit(t){const e=this;t.$el.find(".ptr-content").each(n=>{e.ptr.create(n)})},pageBeforeRemove(t){const e=this;t.$el.find(".ptr-content").each(n=>{e.ptr.destroy(n)})}}};let ry=class extends rt{constructor(e,n){n===void 0&&(n={}),super(n,[e]);const s=this,a={};s.useModulesParams(a),s.params=te(a,n);const i=P(s.params.el);if(i.length===0)return;if(s.$el=i,s.el=i[0],s.$el[0].f7DataTable){const l=s.$el[0].f7DataTable;return s.destroy(),l}s.$el[0].f7DataTable=s,te(s,{collapsible:i.hasClass("data-table-collapsible"),$headerEl:i.find(".data-table-header"),$headerSelectedEl:i.find(".data-table-header-selected")});function o(l){if(l.detail&&l.detail.sentByF7DataTable)return;const f=P(this),c=f[0].checked,u=f.parents("td,th").index();if(f.parents("thead").length>0)u===0&&i.find("tbody tr")[c?"addClass":"removeClass"]("data-table-row-selected"),i.find(`tbody tr td:nth-child(${u+1}) input`).prop("checked",c).trigger("change",{sentByF7DataTable:!0}),f.prop("indeterminate",!1);else{u===0&&f.parents("tr")[c?"addClass":"removeClass"]("data-table-row-selected");const d=i.find(`tbody .checkbox-cell:nth-child(${u+1}) input[type="checkbox"]:checked`).length,m=i.find("tbody tr").length,h=i.find(`thead .checkbox-cell:nth-child(${u+1}) input[type="checkbox"]`);c?d===m&&h.prop("checked",!0).trigger("change",{sentByF7DataTable:!0}):h.prop("checked",!1),h.prop("indeterminate",d>0&&d{const s=P(n),a=s.index(),i=s.attr("data-collapsible-title");!i&&i!==""&&s.attr("data-collapsible-title",e.$el.find("thead th").eq(a).text())})}checkSelectedHeader(){const e=this;if(e.$headerEl.length>0&&e.$headerSelectedEl.length>0){const n=e.$el.find("tbody .checkbox-cell input:checked").length;e.$el[n>0?"addClass":"removeClass"]("data-table-has-checked"),e.$headerSelectedEl.find(".data-table-selected-count").text(n)}}init(){const e=this;e.attachEvents(),e.setCollapsibleLabels(),e.checkSelectedHeader()}destroy(){let e=this;e.$el.trigger("datatable:beforedestroy"),e.emit("local::beforeDestroy dataTableBeforeDestroy",e),e.detachEvents(),e.$el[0]&&(e.$el[0].f7DataTable=null,delete e.$el[0].f7DataTable),ft(e),e=null}};const bd=ry,ly={name:"dataTable",static:{DataTable:bd},create(){const t=this;t.dataTable=ct({defaultSelector:".data-table",constructor:bd,app:t,domProp:"f7DataTable"})},on:{tabBeforeRemove(t){const e=this;P(t).find(".data-table-init").each(n=>{e.dataTable.destroy(n)})},tabMounted(t){const e=this;P(t).find(".data-table-init").each(n=>{e.dataTable.create({el:n})})},pageBeforeRemove(t){const e=this;t.$el.find(".data-table-init").each(n=>{e.dataTable.destroy(n)})},pageInit(t){const e=this;t.$el.find(".data-table-init").each(n=>{e.dataTable.create({el:n})})}},vnode:{"data-table-init":{insert(t){const e=this,n=t.elm;e.dataTable.create({el:n})},destroy(t){const e=this,n=t.elm;e.dataTable.destroy(n)}}}},oy={morphOpen(t,e){const n=this,s=P(t),a=P(e);if(a.length===0)return;a.transition(0).addClass("fab-morph-target-visible");const i={width:a[0].offsetWidth,height:a[0].offsetHeight,offset:a.offset(),borderRadius:a.css("border-radius"),zIndex:a.css("z-index")},o={width:s[0].offsetWidth,height:s[0].offsetHeight,offset:s.offset(),translateX:Cs(s[0],"x"),translateY:Cs(s[0],"y")};s[0].f7FabMorphData={$targetEl:a,target:i,fab:o};const r=o.offset.left+o.width/2-(i.offset.left+i.width/2)-o.translateX,l=o.offset.top+o.height/2-(i.offset.top+i.height/2)-o.translateY,f=i.width/o.width,c=i.height/o.height;let u=Math.ceil(parseInt(i.borderRadius,10)/Math.max(f,c));u>0&&(u+=2),s[0].f7FabMorphResizeHandler=function(){s.transition(0).transform(""),a.transition(0),i.width=a[0].offsetWidth,i.height=a[0].offsetHeight,i.offset=a.offset(),o.offset=s.offset();const m=o.offset.left+o.width/2-(i.offset.left+i.width/2)-o.translateX,h=o.offset.top+o.height/2-(i.offset.top+i.height/2)-o.translateY,p=i.width/o.width,b=i.height/o.height;s.transform(`translate3d(${-m}px, ${-h}px, 0) scale(${p}, ${b})`)},a.css("opacity",0).transform(`scale(${1/f}, ${1/c})`),s.addClass("fab-opened").css("z-index",i.zIndex-1).transform(`translate3d(${-r}px, ${-l}px, 0)`),s.transitionEnd(()=>{a.transition(""),Bt(()=>{a.css("opacity",1).transform("scale(1,1)"),s.transform(`translate3d(${-r}px, ${-l}px, 0) scale(${f}, ${c})`).css("border-radius",`${u}px`).css("box-shadow","none").css("opacity","0")}),n.on("resize",s[0].f7FabMorphResizeHandler),a.parents(".page-content").length>0&&a.parents(".page-content").on("scroll",s[0].f7FabMorphResizeHandler)})},morphClose(t){const e=this,n=P(t),s=n[0].f7FabMorphData;if(!s)return;const{$targetEl:a,target:i,fab:o}=s;if(a.length===0)return;const r=o.offset.left+o.width/2-(i.offset.left+i.width/2)-o.translateX,l=o.offset.top+o.height/2-(i.offset.top+i.height/2)-o.translateY,f=i.width/o.width,c=i.height/o.height;e.off("resize",n[0].f7FabMorphResizeHandler),a.parents(".page-content").length>0&&a.parents(".page-content").off("scroll",n[0].f7FabMorphResizeHandler),a.css("opacity",0).transform(`scale(${1/f}, ${1/c})`),n.transition("").css("box-shadow","").css("border-radius","").css("opacity","1").transform(`translate3d(${-r}px, ${-l}px, 0)`),n.transitionEnd(()=>{n.css("z-index","").removeClass("fab-opened").transform(""),Bt(()=>{n.transitionEnd(()=>{a.removeClass("fab-morph-target-visible").css("opacity","").transform("").transition("")})})})},open(t,e){const n=this,s=P(t).eq(0),a=s.find(".fab-buttons");if(s.length&&!s.hasClass("fab-opened")&&!(!a.length&&!s.hasClass("fab-morph"))){if(n.fab.openedEl){if(n.fab.openedEl===s[0])return;n.fab.close(n.fab.openedEl)}n.fab.openedEl=s[0],s.hasClass("fab-morph")?n.fab.morphOpen(s,e||s.attr("data-morph-to")):s.addClass("fab-opened"),s.siblings(".fab-backdrop").addClass("backdrop-in"),s.trigger("fab:open")}},close(t){t===void 0&&(t=".fab-opened");const e=this,n=P(t).eq(0),s=n.find(".fab-buttons");n.length&&n.hasClass("fab-opened")&&(!s.length&&!n.hasClass("fab-morph")||(e.fab.openedEl=null,n.hasClass("fab-morph")?e.fab.morphClose(n):n.removeClass("fab-opened"),n.siblings(".fab-backdrop").removeClass("backdrop-in"),n.trigger("fab:close")))},toggle(t){const e=this;P(t).hasClass("fab-opened")?e.fab.close(t):e.fab.open(t)}},fy={name:"fab",create(){It(this,{fab:{openedEl:null,...oy}})},clicks:{".fab > a":function(e){this.fab.toggle(e.parents(".fab"))},".fab-open":function(e,n){n===void 0&&(n={}),this.fab.open(n.fab)},".fab-close":function(e,n){n===void 0&&(n={}),this.fab.close(n.fab)},".fab-backdrop":function(){this.fab.close()}}};let cy=class extends rt{constructor(e,n){n===void 0&&(n={}),super(n,[e]);const s=this,a={el:void 0,inputEl:void 0,inputEvents:"change input compositionend",disableButton:!0,disableButtonEl:void 0,backdropEl:void 0,searchContainer:void 0,searchItem:"li",searchIn:void 0,searchGroup:".list-group",searchGroupTitle:".list-group-title",ignore:".searchbar-ignore",foundEl:".searchbar-found",notFoundEl:".searchbar-not-found",hideOnEnableEl:".searchbar-hide-on-enable",hideOnSearchEl:".searchbar-hide-on-search",backdrop:!0,removeDiacritics:!0,customSearch:!1,hideGroupTitles:!0,hideGroups:!0,disableOnBackdropClick:!0,expandable:!1,inline:!1};s.useModulesParams(a),s.params=te(a,n);const i=P(s.params.el);if(i.length===0)return s;if(i[0].f7Searchbar)return i[0].f7Searchbar;i[0].f7Searchbar=s;let o;const r=i.parents(".navbar");if(i.parents(".page").length>0)o=i.parents(".page");else if(r.length>0&&(o=P(e.navbar.getPageByEl(r[0])),!o.length)){const y=i.parents(".view").find(".page-current");y[0]&&y[0].f7Page&&y[0].f7Page.navbarEl===r[0]&&(o=y)}let l;n.foundEl?l=P(n.foundEl):typeof s.params.foundEl=="string"&&o&&(l=o.find(s.params.foundEl));let f;n.notFoundEl?f=P(n.notFoundEl):typeof s.params.notFoundEl=="string"&&o&&(f=o.find(s.params.notFoundEl));let c;n.hideOnEnableEl?c=P(n.hideOnEnableEl):typeof s.params.hideOnEnableEl=="string"&&o&&(c=o.find(s.params.hideOnEnableEl));let u;n.hideOnSearchEl?u=P(n.hideOnSearchEl):typeof s.params.hideOnSearchEl=="string"&&o&&(u=o.find(s.params.hideOnSearchEl));const d=s.params.expandable||i.hasClass("searchbar-expandable"),m=s.params.inline||i.hasClass("searchbar-inline");typeof s.params.backdrop>"u"&&(s.params.backdrop=!m);let h;s.params.backdrop&&(s.params.backdropEl?h=P(s.params.backdropEl):o&&o.length>0?h=o.find(".searchbar-backdrop"):h=i.siblings(".searchbar-backdrop"),h.length===0&&(h=P('
        '),o&&o.length?i.parents(o).length>0&&r&&i.parents(r).length===0?h.insertBefore(i):h.insertBefore(o.find(".page-content").eq(0)):h.insertBefore(i)));let p;s.params.searchContainer&&(p=P(s.params.searchContainer));let b;s.params.inputEl?b=P(s.params.inputEl):b=i.find('input[type="search"]').eq(0);let g;s.params.disableButton&&(s.params.disableButtonEl?g=P(s.params.disableButtonEl):g=i.find(".searchbar-disable-button")),te(s,{app:e,view:e.views.get(i.parents(".view")),$el:i,el:i[0],$backdropEl:h,backdropEl:h&&h[0],$searchContainer:p,searchContainer:p&&p[0],$inputEl:b,inputEl:b[0],$disableButtonEl:g,disableButtonEl:g&&g[0],disableButtonHasMargin:!1,$pageEl:o,pageEl:o&&o[0],$navbarEl:r,navbarEl:r&&r[0],$foundEl:l,foundEl:l&&l[0],$notFoundEl:f,notFoundEl:f&&f[0],$hideOnEnableEl:c,hideOnEnableEl:c&&c[0],$hideOnSearchEl:u,hideOnSearchEl:u&&u[0],previousQuery:"",query:"",isVirtualList:p&&p.hasClass("virtual-list"),virtualList:void 0,enabled:!1,expandable:d,inline:m});function v(y){y.preventDefault()}function _(y){s.enable(y),s.$el.addClass("searchbar-focused")}function k(){s.$el.removeClass("searchbar-focused")}function E(){const y=s.$inputEl.val().trim();(s.$searchContainer&&s.$searchContainer.length>0&&(s.params.searchIn||s.isVirtualList||s.params.searchIn===s.params.searchItem)||s.params.customSearch)&&s.search(y,!0)}function S(y,w){s.$el.trigger("searchbar:clear",w),s.emit("local::clear searchbarClear",s,w)}function I(y){s.disable(y)}function T(){!s||s&&!s.$el||s.enabled&&(s.$el.removeClass("searchbar-enabled"),s.expandable&&s.$el.parents(".navbar").removeClass("with-searchbar-expandable-enabled with-searchbar-expandable-enabled-no-transition"))}function A(){!s||s&&!s.$el||s.enabled&&(s.$el.addClass("searchbar-enabled"),s.expandable&&s.$el.parents(".navbar").addClass("with-searchbar-expandable-enabled-no-transition"))}return s.attachEvents=function(){i.on("submit",v),s.params.disableButton&&s.$disableButtonEl.on("click",I),s.params.disableOnBackdropClick&&s.$backdropEl&&s.$backdropEl.on("click",I),s.expandable&&e.theme==="ios"&&s.view&&r.length&&s.$pageEl&&(s.$pageEl.on("page:beforeout",T),s.$pageEl.on("page:beforein",A)),s.$inputEl.on("focus",_),s.$inputEl.on("blur",k),s.$inputEl.on(s.params.inputEvents,E),s.$inputEl.on("input:clear",S)},s.detachEvents=function(){i.off("submit",v),s.params.disableButton&&s.$disableButtonEl.off("click",I),s.params.disableOnBackdropClick&&s.$backdropEl&&s.$backdropEl.off("click",I),s.expandable&&e.theme==="ios"&&s.view&&r.length&&s.$pageEl&&(s.$pageEl.off("page:beforeout",T),s.$pageEl.off("page:beforein",A)),s.$inputEl.off("focus",_),s.$inputEl.off("blur",k),s.$inputEl.off(s.params.inputEvents,E),s.$inputEl.off("input:clear",S)},s.useModules(),s.init(),s}clear(e){const n=this;if(!n.query&&e&&P(e.target).hasClass("searchbar-clear"))return n.disable(),n;const s=n.value;return n.$inputEl.val("").trigger("change").focus(),n.$el.trigger("searchbar:clear",s),n.emit("local::clear searchbarClear",n,s),n}setDisableButtonMargin(){const e=this;if(e.expandable)return;const n=e.app;e.$disableButtonEl.transition(0).show(),e.$disableButtonEl.css(`margin-${n.rtl?"left":"right"}`,`${-e.disableButtonEl.offsetWidth}px`),e._clientLeft=e.$disableButtonEl[0].clientLeft,e.$disableButtonEl.transition(""),e.disableButtonHasMargin=!0}enable(e){const n=this;if(n.enabled)return n;const s=n.app,a=Le(),i=Ke();n.enabled=!0;function o(){if(n.$backdropEl&&(n.$searchContainer&&n.$searchContainer.length||n.params.customSearch)&&!n.$el.hasClass("searchbar-enabled")&&!n.query&&n.backdropShow(),n.$el.addClass("searchbar-enabled"),(!n.$disableButtonEl||n.$disableButtonEl&&n.$disableButtonEl.length===0)&&n.$el.addClass("searchbar-enabled-no-disable-button"),!n.expandable&&n.$disableButtonEl&&n.$disableButtonEl.length>0&&s.theme!=="md"&&(n.disableButtonHasMargin||n.setDisableButtonMargin(),n.$disableButtonEl.css(`margin-${s.rtl?"left":"right"}`,"0px")),n.expandable){const f=n.$el.parents(".navbar");if(f.hasClass("navbar-large")&&n.$pageEl){const c=n.$pageEl.find(".page-content"),u=f.find(".title-large");c.addClass("with-searchbar-expandable-enabled"),f.hasClass("navbar-large")&&f.hasClass("navbar-large-collapsed")&&u.length&&c.length&&(c.transition(0),c[0].scrollTop-=u[0].offsetHeight,setTimeout(()=>{c.transition("")},200))}s.theme==="md"&&f.length?f.addClass("with-searchbar-expandable-enabled"):(f.addClass("with-searchbar-expandable-enabled"),f.hasClass("navbar-large")&&f.addClass("navbar-large-collapsed"))}n.$hideOnEnableEl&&n.$hideOnEnableEl.addClass("hidden-by-searchbar"),n.$el.trigger("searchbar:enable"),n.emit("local::enable searchbarEnable",n)}let r=!1;return e===!0&&a.activeElement!==n.inputEl&&(r=!0),i.ios&&s.theme==="ios"?n.expandable?(r&&n.$inputEl.focus(),o()):(r&&n.$inputEl.focus(),e&&(e.type==="focus"||e===!0)?_t(()=>{o()},400):o()):(r&&n.$inputEl.focus(),s.theme==="md"&&n.expandable&&n.$el.parents(".page, .view, .navbar-inner, .navbar").scrollLeft(s.rtl?100:0),o()),n}disable(){const e=this;if(!e.enabled)return e;const n=e.app;if(e.$inputEl.val("").trigger("change"),e.$el.removeClass("searchbar-enabled searchbar-focused searchbar-enabled-no-disable-button"),e.expandable){const s=e.$el.parents(".navbar"),a=e.$pageEl&&e.$pageEl.find(".page-content");if(s.hasClass("navbar-large")&&a.length){const i=s.find(".title-large");if(e.$el.transitionEnd(()=>{a.removeClass("with-searchbar-expandable-closing")}),s.hasClass("navbar-large")&&s.hasClass("navbar-large-collapsed")&&i.length){const o=a[0].scrollTop,r=i[0].offsetHeight;o>r&&(a.transition(0),a[0].scrollTop=o+r,setTimeout(()=>{a.transition("")},200))}a.removeClass("with-searchbar-expandable-enabled").addClass("with-searchbar-expandable-closing")}n.theme==="md"&&s.length?(s.removeClass("with-searchbar-expandable-enabled with-searchbar-expandable-enabled-no-transition").addClass("with-searchbar-expandable-closing"),e.$el.transitionEnd(()=>{s.removeClass("with-searchbar-expandable-closing")})):(s.removeClass("with-searchbar-expandable-enabled with-searchbar-expandable-enabled-no-transition").addClass("with-searchbar-expandable-closing"),e.$el.transitionEnd(()=>{s.removeClass("with-searchbar-expandable-closing")}),e.$pageEl&&e.$pageEl.find(".page-content").trigger("scroll"))}return!e.expandable&&e.$disableButtonEl&&e.$disableButtonEl.length>0&&n.theme!=="md"&&e.$disableButtonEl.css(`margin-${n.rtl?"left":"right"}`,`${-e.disableButtonEl.offsetWidth}px`),e.$backdropEl&&(e.$searchContainer&&e.$searchContainer.length||e.params.customSearch)&&e.backdropHide(),e.enabled=!1,e.$inputEl.blur(),e.$hideOnEnableEl&&e.$hideOnEnableEl.removeClass("hidden-by-searchbar"),e.$el.trigger("searchbar:disable"),e.emit("local::disable searchbarDisable",e),e}toggle(){const e=this;return e.enabled?e.disable():e.enable(!0),e}backdropShow(){const e=this;return e.$backdropEl&&e.$backdropEl.addClass("searchbar-backdrop-in"),e}backdropHide(){const e=this;return e.$backdropEl&&e.$backdropEl.removeClass("searchbar-backdrop-in"),e}search(e,n){const s=this;if(s.previousQuery=s.query||"",e===s.previousQuery)return s;n||(s.enabled||s.enable(),s.$inputEl.val(e),s.$inputEl.trigger("input")),s.query=e,s.value=e;const{$searchContainer:a,$el:i,$foundEl:o,$notFoundEl:r,$hideOnSearchEl:l,isVirtualList:f}=s;if(e.length>0&&l?l.addClass("hidden-by-searchbar"):l&&l.removeClass("hidden-by-searchbar"),(a&&a.length&&i.hasClass("searchbar-enabled")||s.params.customSearch&&i.hasClass("searchbar-enabled"))&&(e.length===0?s.backdropShow():s.backdropHide()),s.params.customSearch)return i.trigger("searchbar:search",{query:e,previousQuery:s.previousQuery}),s.emit("local::search searchbarSearch",s,e,s.previousQuery),s;let c=[],u;if(f){if(s.virtualList=a[0].f7VirtualList,e.trim()==="")return s.virtualList.resetFilter(),r&&r.hide(),o&&o.show(),i.trigger("searchbar:search",{query:e,previousQuery:s.previousQuery}),s.emit("local::search searchbarSearch",s,e,s.previousQuery),s;if(u=s.params.removeDiacritics?gs(e):e,s.virtualList.params.searchAll)c=s.virtualList.params.searchAll(u,s.virtualList.items)||[];else if(s.virtualList.params.searchByItem)for(let d=0;d{const h=P(m);let p=[],b=s.params.searchIn?h.find(s.params.searchIn):h;s.params.searchIn===s.params.searchItem&&(b=h),b.each(v=>{let _=P(v).text().trim().toLowerCase();s.params.removeDiacritics&&(_=gs(_)),p.push(_)}),p=p.join(" ");let g=0;for(let v=0;v=0&&(g+=1);g!==d.length&&!(s.params.ignore&&h.is(s.params.ignore))?h.addClass("hidden-by-searchbar"):c.push(h[0])}),s.params.hideGroupTitles&&a.find(s.params.searchGroupTitle).each(m=>{const h=P(m),p=h.nextAll(s.params.searchItem);let b=!0;for(let v=0;v{const h=P(m),p=s.params.ignore&&h.is(s.params.ignore);h.find(s.params.searchItem).filter(g=>!P(g).hasClass("hidden-by-searchbar")).length===0&&!p?h.addClass("hidden-by-searchbar"):h.removeClass("hidden-by-searchbar")})}return c.length===0?(r&&r.show(),o&&o.hide()):(r&&r.hide(),o&&o.show()),f&&s.virtualList&&s.virtualList.filterItems(c),i.trigger("searchbar:search",{query:e,previousQuery:s.previousQuery,foundItems:c}),s.emit("local::search searchbarSearch",s,e,s.previousQuery,c),s}init(){const e=this;e.expandable&&e.$el&&e.$el.addClass("searchbar-expandable"),e.inline&&e.$el&&e.$el.addClass("searchbar-inline"),e.attachEvents()}destroy(){const e=this;e.emit("local::beforeDestroy searchbarBeforeDestroy",e),e.$el.trigger("searchbar:beforedestroy"),e.detachEvents(),e.$el[0]&&(e.$el[0].f7Searchbar=null,delete e.$el[0].f7Searchbar),ft(e)}};const vd=cy,uy={name:"searchbar",static:{Searchbar:vd},create(){const t=this;t.searchbar=ct({defaultSelector:".searchbar",constructor:vd,app:t,domProp:"f7Searchbar",addMethods:"clear enable disable toggle search".split(" ")})},on:{tabMounted(t){const e=this;P(t).find(".searchbar-init").each(n=>{const s=P(n);e.searchbar.create(te(s.dataset(),{el:n}))})},tabBeforeRemove(t){P(t).find(".searchbar-init").each(e=>{e.f7Searchbar&&e.f7Searchbar.destroy&&e.f7Searchbar.destroy()})},pageInit(t){const e=this;t.$el.find(".searchbar-init").each(n=>{const s=P(n);e.searchbar.create(te(s.dataset(),{el:n}))}),e.theme==="ios"&&t.view&&t.view.router.dynamicNavbar&&t.$navbarEl&&t.$navbarEl.length>0&&t.$navbarEl.find(".searchbar-init").each(n=>{const s=P(n);e.searchbar.create(te(s.dataset(),{el:n}))})},pageBeforeRemove(t){const e=this;t.$el.find(".searchbar-init").each(n=>{n.f7Searchbar&&n.f7Searchbar.destroy&&n.f7Searchbar.destroy()}),e.theme==="ios"&&t.view&&t.view.router.dynamicNavbar&&t.$navbarEl&&t.$navbarEl.length>0&&t.$navbarEl.find(".searchbar-init").each(n=>{n.f7Searchbar&&n.f7Searchbar.destroy&&n.f7Searchbar.destroy()})}},clicks:{".searchbar-clear":function(e,n){n===void 0&&(n={});const a=this.searchbar.get(n.searchbar);a&&a.clear()},".searchbar-enable":function(e,n){n===void 0&&(n={});const a=this.searchbar.get(n.searchbar);a&&a.enable(!0)},".searchbar-disable":function(e,n){n===void 0&&(n={});const a=this.searchbar.get(n.searchbar);a&&a.disable()},".searchbar-toggle":function(e,n){n===void 0&&(n={});const a=this.searchbar.get(n.searchbar);a&&a.toggle()}},vnode:{"searchbar-init":{insert(t){const e=this,n=t.elm,s=P(n);e.searchbar.create(te(s.dataset(),{el:n}))},destroy(t){const e=t.elm;e.f7Searchbar&&e.f7Searchbar.destroy&&e.f7Searchbar.destroy()}}}};function ma(){return ma=Object.assign?Object.assign.bind():function(t){for(var e=1;e${s.textHeader}`,"")),s.text&&s.textFooter&&(s.text=s.text.replace(``,""));let a=n.find(".message-avatar").css("background-image");return(a==="none"||a==="")&&(a=void 0),a&&typeof a=="string"?a=a.replace("url(","").replace(")","").replace(/"/g,"").replace(/'/g,""):a=void 0,s.avatar=a,s}getMessagesData(){const e=this,n=[];return e.$el.find(".message, .messages-title").each(s=>{n.push(e.getMessageData(s))}),n}renderMessage(e){const n=this,s=te({type:"sent",attrs:{}},e);return n.params.renderMessage?n.params.renderMessage.call(n,s):s.isTitle?`
        ${s.text}
        `:R("div",ma({class:`message message-${s.type} ${s.isTyping?"message-typing":""} ${s.cssClass||""}`},s.attrs),s.avatar&&R("div",{class:"message-avatar",style:`background-image:url(${s.avatar})`}),R("div",{class:"message-content"},s.name&&R("div",{class:"message-name"},s.name),s.header&&R("div",{class:"message-header"},s.header),R("div",{class:"message-bubble"},s.textHeader&&R("div",{class:"message-text-header"},s.textHeader),s.image&&R("div",{class:"message-image"},s.image),s.imageSrc&&!s.image&&R("div",{class:"message-image"},R("img",{src:s.imageSrc})),(s.text||s.isTyping)&&R("div",{class:"message-text"},s.text||"",s.isTyping&&R("div",{class:"message-typing-indicator"},R("div",null),R("div",null),R("div",null))),s.textFooter&&R("div",{class:"message-text-footer"},s.textFooter)),s.footer&&R("div",{class:"message-footer"},s.footer)))}renderMessages(e,n){e===void 0&&(e=this.messages),n===void 0&&(n=this.params.newMessagesFirst?"prepend":"append");const s=this,a=e.map(i=>s.renderMessage(i)).join("");s.$el[n](a)}isFirstMessage(){const e=this;return e.params.firstMessageRule?e.params.firstMessageRule(...arguments):!1}isLastMessage(){const e=this;return e.params.lastMessageRule?e.params.lastMessageRule(...arguments):!1}isTailMessage(){const e=this;return e.params.tailMessageRule?e.params.tailMessageRule(...arguments):!1}isSameNameMessage(){const e=this;return e.params.sameNameMessageRule?e.params.sameNameMessageRule(...arguments):!1}isSameHeaderMessage(){const e=this;return e.params.sameHeaderMessageRule?e.params.sameHeaderMessageRule(...arguments):!1}isSameFooterMessage(){const e=this;return e.params.sameFooterMessageRule?e.params.sameFooterMessageRule(...arguments):!1}isSameAvatarMessage(){const e=this;return e.params.sameAvatarMessageRule?e.params.sameAvatarMessageRule(...arguments):!1}isCustomClassMessage(){const e=this;if(e.params.customClassMessageRule)return e.params.customClassMessageRule(...arguments)}layout(){const e=this;e.$el.find(".message, .messages-title").each((n,s)=>{const a=P(n);e.messages||(e.messages=e.getMessagesData());const i=[],o=e.messages[s],r=e.messages[s-1],l=e.messages[s+1];e.isFirstMessage(o,r,l)&&i.push("message-first"),e.isLastMessage(o,r,l)&&i.push("message-last"),e.isTailMessage(o,r,l)&&i.push("message-tail"),e.isSameNameMessage(o,r,l)&&i.push("message-same-name"),e.isSameHeaderMessage(o,r,l)&&i.push("message-same-header"),e.isSameFooterMessage(o,r,l)&&i.push("message-same-footer"),e.isSameAvatarMessage(o,r,l)&&i.push("message-same-avatar");let f=e.isCustomClassMessage(o,r,l);f&&f.length&&(typeof f=="string"&&(f=f.split(" ")),f.forEach(c=>{i.push(c)})),a.removeClass("message-first message-last message-tail message-same-name message-same-header message-same-footer message-same-avatar"),i.forEach(c=>{a.addClass(c)})})}clear(){const e=this;e.messages=[],e.$el.html("")}removeMessage(e,n){n===void 0&&(n=!0);const s=this;let a,i;return typeof e=="number"?(a=e,i=s.$el.find(".message, .messages-title").eq(a)):s.messages&&s.messages.indexOf(e)>=0?(a=s.messages.indexOf(e),i=s.$el.children().eq(a)):(i=P(e),a=i.index()),i.length===0||(i.remove(),s.messages.splice(a,1),s.params.autoLayout&&n&&s.layout()),s}removeMessages(e,n){n===void 0&&(n=!0);const s=this;if(Array.isArray(e)){const a=[];e.forEach(i=>{a.push(s.$el.find(".message, .messages-title").eq(i))}),a.forEach(i=>{s.removeMessage(i,!1)})}else P(e).each(a=>{s.removeMessage(a,!1)});return s.params.autoLayout&&n&&s.layout(),s}addMessage(){const e=this;let n,s,a;for(var i=arguments.length,o=new Array(i),r=0;r"u"&&(s=!0),typeof a>"u"&&(a=e.params.newMessagesFirst?"prepend":"append"),e.addMessages([n],s,a)}setScrollData(){const e=this,n=e.pageContentEl.scrollHeight,s=e.pageContentEl.offsetHeight,a=e.pageContentEl.scrollTop;return e.scrollData={scrollHeightBefore:n,heightBefore:s,scrollBefore:a},{scrollHeightBefore:n,heightBefore:s,scrollBefore:a}}addMessages(){const e=this;let n,s,a;for(var i=arguments.length,o=new Array(i),r=0;r"u"&&(s=!0),typeof a>"u"&&(a=e.params.newMessagesFirst?"prepend":"append");const{scrollHeightBefore:l,scrollBefore:f}=e.setScrollData();let c="";const u=e.messages.filter(m=>m.isTyping)[0];n.forEach(m=>{u?a==="append"?e.messages.splice(e.messages.indexOf(u),0,m):e.messages.splice(e.messages.indexOf(u)+1,0,m):e.messages[a==="append"?"push":"unshift"](m),c+=e.renderMessage(m)});const d=P(c);return s&&(a==="append"&&!e.params.newMessagesFirst&&d.addClass("message-appear-from-bottom"),a==="prepend"&&e.params.newMessagesFirst&&d.addClass("message-appear-from-top")),u?a==="append"?d.insertBefore(e.$el.find(".message-typing")):d.insertAfter(e.$el.find(".message-typing")):e.$el[a](d),e.params.autoLayout&&e.layout(),a==="prepend"&&!u&&(e.pageContentEl.scrollTop=f+(e.pageContentEl.scrollHeight-l)),e.params.scrollMessages&&(a==="append"&&!e.params.newMessagesFirst||a==="prepend"&&e.params.newMessagesFirst&&!u)&&e.scrollWithEdgeCheck(s),e}showTyping(e){e===void 0&&(e={});const n=this,s=n.messages.filter(a=>a.isTyping)[0];return s&&n.removeMessage(n.messages.indexOf(s)),n.addMessage(te({type:"received",isTyping:!0},e)),n}hideTyping(){const e=this;let n,s;if(e.messages.forEach((a,i)=>{a.isTyping&&(n=i)}),typeof n<"u"&&e.$el.find(".message").eq(n).hasClass("message-typing")&&(s=!0,e.removeMessage(n)),!s){const a=e.$el.find(".message-typing");a.length&&e.removeMessage(a)}return e}scrollWithEdgeCheck(e){const n=this,{scrollBefore:s,scrollHeightBefore:a,heightBefore:i}=n.scrollData;if(n.params.scrollMessagesOnEdge){let o=!1;n.params.newMessagesFirst&&s===0&&(o=!0),!n.params.newMessagesFirst&&s-(a-i)>=-10&&(o=!0),o&&n.scroll(e?void 0:0)}else n.scroll(e?void 0:0)}scroll(e,n){e===void 0&&(e=300);const s=this,a=s.pageContentEl.scrollTop;let i;if(typeof n<"u")i=n;else if(i=s.params.newMessagesFirst?0:s.pageContentEl.scrollHeight-s.pageContentEl.offsetHeight,i===a)return s;return s.$pageContentEl.scrollTop(i,e),s}init(){const e=this;(!e.messages||e.messages.length===0)&&(e.messages=e.getMessagesData()),e.params.messages&&e.params.messages.length&&e.renderMessages(),e.params.autoLayout&&e.layout(),e.params.scrollMessages&&e.scroll(0)}destroy(){const e=this;e.emit("local::beforeDestroy messagesBeforeDestroy",e),e.$el.trigger("messages:beforedestroy"),e.$el[0]&&(e.$el[0].f7Messages=null,delete e.$el[0].f7Messages),ft(e)}};const _d=dy,py={name:"messages",static:{Messages:_d},create(){const t=this;t.messages=ct({defaultSelector:".messages",constructor:_d,app:t,domProp:"f7Messages",addMethods:"renderMessages layout scroll clear removeMessage removeMessages addMessage addMessages".split(" ")})},on:{tabBeforeRemove(t){const e=this;P(t).find(".messages-init").each(n=>{e.messages.destroy(n)})},tabMounted(t){const e=this;P(t).find(".messages-init").each(n=>{e.messages.create({el:n})})},pageBeforeRemove(t){const e=this;t.$el.find(".messages-init").each(n=>{e.messages.destroy(n)})},pageInit(t){const e=this;t.$el.find(".messages-init").each(n=>{e.messages.create({el:n})})}},vnode:{"messages-init":{insert(t){const e=this,n=t.elm;e.messages.create({el:n})},destroy(t){const e=this,n=t.elm;e.messages.destroy(n)}}}};let my=class extends rt{constructor(e,n){n===void 0&&(n={}),super(n,[e]);const s=this,a={top:!1,topOffset:0,bottomOffset:0,attachments:[],renderAttachments:void 0,renderAttachment:void 0,maxHeight:null,resizePage:!0};s.useModulesParams(a),s.params=te(a,n);const i=P(s.params.el);if(i.length===0)return s;if(i[0].f7Messagebar)return i[0].f7Messagebar;i[0].f7Messagebar=s;const o=i.parents(".page").eq(0),r=o.find(".page-content").eq(0),l=i.find(".messagebar-area");let f;s.params.textareaEl?f=P(s.params.textareaEl):f=i.find("textarea");const c=i.find(".messagebar-attachments"),u=i.find(".messagebar-sheet");s.params.top&&i.addClass("messagebar-top"),te(s,{$el:i,el:i[0],$areaEl:l,areaEl:l[0],$textareaEl:f,textareaEl:f[0],$attachmentsEl:c,attachmentsEl:c[0],attachmentsVisible:c.hasClass("messagebar-attachments-visible"),$sheetEl:u,sheetEl:u[0],sheetVisible:u.hasClass("messagebar-sheet-visible"),$pageEl:o,pageEl:o[0],$pageContentEl:r,pageContentEl:r,top:i.hasClass("messagebar-top")||s.params.top,attachments:[]});function d(){s.params.resizePage&&s.resizePage()}function m(v){v.preventDefault()}function h(v){const _=P(this).index();P(v.target).closest(".messagebar-attachment-delete").length?(P(this).trigger("messagebar:attachmentdelete",_),s.emit("local::attachmentDelete messagebarAttachmentDelete",s,this,_)):(P(this).trigger("messagebar:attachmentclick",_),s.emit("local::attachmentClick messagebarAttachmentClick",s,this,_))}function p(){s.checkEmptyState(),s.$el.trigger("messagebar:change"),s.emit("local::change messagebarChange",s)}function b(){s.sheetHide(),s.$el.addClass("messagebar-focused"),s.$el.trigger("messagebar:focus"),s.emit("local::focus messagebarFocus",s)}function g(){s.$el.removeClass("messagebar-focused"),s.$el.trigger("messagebar:blur"),s.emit("local::blur messagebarBlur",s)}return s.attachEvents=function(){i.on("textarea:resize",d),i.on("submit",m),i.on("click",".messagebar-attachment",h),f.on("change input",p),f.on("focus",b),f.on("blur",g),e.on("resize",d)},s.detachEvents=function(){i.off("textarea:resize",d),i.off("submit",m),i.off("click",".messagebar-attachment",h),f.off("change input",p),f.off("focus",b),f.off("blur",g),e.off("resize",d)},s.useModules(),s.init(),s}focus(){const e=this;return e.$textareaEl.focus(),e}blur(){const e=this;return e.$textareaEl.blur(),e}clear(){const e=this;return e.$textareaEl.val("").trigger("change"),e}getValue(){return this.$textareaEl.val().trim()}setValue(e){const n=this;return n.$textareaEl.val(e).trigger("change"),n}setPlaceholder(e){const n=this;return n.$textareaEl.attr("placeholder",e),n}resizePage(){const e=this,{params:n,$el:s,top:a,$pageEl:i,$pageContentEl:o,$areaEl:r,$textareaEl:l,$sheetEl:f,$attachmentsEl:c}=e,u=s[0].offsetHeight;let d=n.maxHeight;if(!a){const m=parseInt(o.css("padding-bottom"),10),h=u+n.bottomOffset;if(h!==m&&o.length){const p=parseInt(o.css("padding-top"),10),b=o[0].scrollHeight,g=o[0].offsetHeight,_=o[0].scrollTop===b-g;d||(d=i[0].offsetHeight-p-f.outerHeight()-c.outerHeight()-parseInt(r.css("margin-top"),10)-parseInt(r.css("margin-bottom"),10)),l.css("max-height",`${d}px`),o.css("padding-bottom",`${h}px`),_&&o.scrollTop(o[0].scrollHeight-g),s.trigger("messagebar:resizepage"),e.emit("local::resizePage messagebarResizePage",e)}}}checkEmptyState(){const e=this,{$el:n,$textareaEl:s}=e,a=s.val().trim();a&&a.length?n.addClass("messagebar-with-value"):n.removeClass("messagebar-with-value")}attachmentsCreate(e){e===void 0&&(e="");const n=this,s=P(`
        ${e}
        `);return s.insertBefore(n.$textareaEl),te(n,{$attachmentsEl:s,attachmentsEl:s[0]}),n}attachmentsShow(e){e===void 0&&(e="");const n=this;return n.$attachmentsEl=n.$el.find(".messagebar-attachments"),n.$attachmentsEl.length===0&&n.attachmentsCreate(e),n.$el.addClass("messagebar-attachments-visible"),n.attachmentsVisible=!0,n.params.resizePage&&n.resizePage(),n}attachmentsHide(){const e=this;return e.$el.removeClass("messagebar-attachments-visible"),e.attachmentsVisible=!1,e.params.resizePage&&e.resizePage(),e}attachmentsToggle(){const e=this;return e.attachmentsVisible?e.attachmentsHide():e.attachmentsShow(),e}renderAttachment(e){const n=this;return n.params.renderAttachment?n.params.renderAttachment.call(n,e):` +
        + + +
        + `}renderAttachments(){const e=this;let n;e.params.renderAttachments?n=e.params.renderAttachments.call(e,e.attachments):n=`${e.attachments.map(s=>e.renderAttachment(s)).join("")}`,e.$attachmentsEl.length===0?e.attachmentsCreate(n):e.$attachmentsEl.html(n)}sheetCreate(e){e===void 0&&(e="");const n=this,s=P(`
        ${e}
        `);return n.$el.append(s),te(n,{$sheetEl:s,sheetEl:s[0]}),n}sheetShow(e){e===void 0&&(e="");const n=this;return n.$sheetEl=n.$el.find(".messagebar-sheet"),n.$sheetEl.length===0&&n.sheetCreate(e),n.$el.addClass("messagebar-sheet-visible"),n.sheetVisible=!0,n.params.resizePage&&n.resizePage(),n}sheetHide(){const e=this;return e.$el.removeClass("messagebar-sheet-visible"),e.sheetVisible=!1,e.params.resizePage&&e.resizePage(),e}sheetToggle(){const e=this;return e.sheetVisible?e.sheetHide():e.sheetShow(),e}init(){const e=this;return e.attachEvents(),e.checkEmptyState(),e}destroy(){const e=this;e.emit("local::beforeDestroy messagebarBeforeDestroy",e),e.$el.trigger("messagebar:beforedestroy"),e.detachEvents(),e.$el[0]&&(e.$el[0].f7Messagebar=null,delete e.$el[0].f7Messagebar),ft(e)}};const kd=my,hy={name:"messagebar",static:{Messagebar:kd},create(){const t=this;t.messagebar=ct({defaultSelector:".messagebar",constructor:kd,app:t,domProp:"f7Messagebar",addMethods:"clear getValue setValue setPlaceholder resizePage focus blur attachmentsCreate attachmentsShow attachmentsHide attachmentsToggle renderAttachments sheetCreate sheetShow sheetHide sheetToggle".split(" ")})},on:{tabBeforeRemove(t){const e=this;P(t).find(".messagebar-init").each(n=>{e.messagebar.destroy(n)})},tabMounted(t){const e=this;P(t).find(".messagebar-init").each(n=>{e.messagebar.create(te({el:n},P(n).dataset()))})},pageBeforeRemove(t){const e=this;t.$el.find(".messagebar-init").each(n=>{e.messagebar.destroy(n)})},pageInit(t){const e=this;t.$el.find(".messagebar-init").each(n=>{e.messagebar.create(te({el:n},P(n).dataset()))})}},vnode:{"messagebar-init":{insert(t){const e=this,n=t.elm;e.messagebar.create(te({el:n},P(n).dataset()))},destroy(t){const e=this,n=t.elm;e.messagebar.destroy(n)}}}};function gy(t){const e=t;Object.keys(e).forEach(n=>{try{e[n]=null}catch{}try{delete e[n]}catch{}})}function Tn(t,e=0){return setTimeout(t,e)}function Wt(){return Date.now()}function by(t){const e=Se();let n;return e.getComputedStyle&&(n=e.getComputedStyle(t,null)),!n&&t.currentStyle&&(n=t.currentStyle),n||(n=t.style),n}function ha(t,e="x"){const n=Se();let s,a,i;const o=by(t);return n.WebKitCSSMatrix?(a=o.transform||o.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map(r=>r.replace(",",".")).join(", ")),i=new n.WebKitCSSMatrix(a==="none"?"":a)):(i=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=i.toString().split(",")),e==="x"&&(n.WebKitCSSMatrix?a=i.m41:s.length===16?a=parseFloat(s[12]):a=parseFloat(s[4])),e==="y"&&(n.WebKitCSSMatrix?a=i.m42:s.length===16?a=parseFloat(s[13]):a=parseFloat(s[5])),a||0}function $n(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function vy(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Vt(...t){const e=Object(t[0]),n=["__proto__","constructor","prototype"];for(let s=1;sn.indexOf(o)<0);for(let o=0,r=i.length;oa?"next":"prev",f=(u,d)=>l==="next"&&u>=d||l==="prev"&&u<=d,c=()=>{o=new Date().getTime(),i===null&&(i=o);const u=Math.max(Math.min((o-i)/r,1),0),d=.5-Math.cos(u*Math.PI)/2;let m=a+d*(e-a);if(f(m,e)&&(m=e),t.wrapperEl.scrollTo({[n]:m}),f(m,e)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:m})}),s.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=s.requestAnimationFrame(c)};c()}function Pn(t){return t.querySelector(".swiper-slide-transform")||t.shadowEl&&t.shadowEl.querySelector(".swiper-slide-transform")||t}function St(t,e=""){return[...t.children].filter(n=>n.matches(e))}function Xt(t,e=[]){const n=document.createElement(t);return n.classList.add(...Array.isArray(e)?e:[e]),n}function ws(t){const e=Se(),n=Le(),s=t.getBoundingClientRect(),a=n.body,i=t.clientTop||a.clientTop||0,o=t.clientLeft||a.clientLeft||0,r=t===e?e.scrollY:t.scrollTop,l=t===e?e.scrollX:t.scrollLeft;return{top:s.top+r-i,left:s.left+l-o}}function _y(t,e){const n=[];for(;t.previousElementSibling;){const s=t.previousElementSibling;e?s.matches(e)&&n.push(s):n.push(s),t=s}return n}function ky(t,e){const n=[];for(;t.nextElementSibling;){const s=t.nextElementSibling;e?s.matches(e)&&n.push(s):n.push(s),t=s}return n}function gn(t,e){return Se().getComputedStyle(t,null).getPropertyValue(e)}function ss(t){let e=t,n;if(e){for(n=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(n+=1);return n}}function Sn(t,e){const n=[];let s=t.parentElement;for(;s;)e?s.matches(e)&&n.push(s):n.push(s),s=s.parentElement;return n}function Jn(t,e){function n(s){s.target===t&&(e.call(t,s),t.removeEventListener("transitionend",n))}e&&t.addEventListener("transitionend",n)}function ga(t,e,n){const s=Se();return n?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}let Zs;function Ey(){const t=Se(),e=Le();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function mp(){return Zs||(Zs=Ey()),Zs}let Js;function Cy({userAgent:t}={}){const e=mp(),n=Se(),s=n.navigator.platform,a=t||n.navigator.userAgent,i={ios:!1,android:!1},o=n.screen.width,r=n.screen.height,l=a.match(/(Android);?[\s\/]+([\d.]+)?/);let f=a.match(/(iPad).*OS\s([\d_]+)/);const c=a.match(/(iPod)(.*OS\s([\d_]+))?/),u=!f&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),d=s==="Win32";let m=s==="MacIntel";const h=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!f&&m&&e.touch&&h.indexOf(`${o}x${r}`)>=0&&(f=a.match(/(Version)\/([\d.]+)/),f||(f=[0,1,"13_0_0"]),m=!1),l&&!d&&(i.os="android",i.android=!0),(f||u||c)&&(i.os="ios",i.ios=!0),i}function yy(t={}){return Js||(Js=Cy(t)),Js}let ea;function wy(){const t=Se();let e=!1;function n(){const s=t.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(n()){const s=String(t.navigator.userAgent);if(s.includes("Version/")){const[a,i]=s.split("Version/")[1].split(" ")[0].split(".").map(o=>Number(o));e=a<16||a===16&&i<2}}return{isSafari:e||n(),needPerspectiveFix:e,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}function Sy(){return ea||(ea=wy()),ea}function Ty({swiper:t,on:e,emit:n}){const s=Se();let a=null,i=null;const o=()=>{!t||t.destroyed||!t.initialized||(n("beforeResize"),n("resize"))},r=()=>{!t||t.destroyed||!t.initialized||(a=new ResizeObserver(c=>{i=s.requestAnimationFrame(()=>{const{width:u,height:d}=t;let m=u,h=d;c.forEach(({contentBoxSize:p,contentRect:b,target:g})=>{g&&g!==t.el||(m=b?b.width:(p[0]||p).inlineSize,h=b?b.height:(p[0]||p).blockSize)}),(m!==u||h!==d)&&o()})}),a.observe(t.el))},l=()=>{i&&s.cancelAnimationFrame(i),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null)},f=()=>{!t||t.destroyed||!t.initialized||n("orientationchange")};e("init",()=>{if(t.params.resizeObserver&&typeof s.ResizeObserver<"u"){r();return}s.addEventListener("resize",o),s.addEventListener("orientationchange",f)}),e("destroy",()=>{l(),s.removeEventListener("resize",o),s.removeEventListener("orientationchange",f)})}function My({swiper:t,extendParams:e,on:n,emit:s}){const a=[],i=Se(),o=(f,c={})=>{const u=i.MutationObserver||i.WebkitMutationObserver,d=new u(m=>{if(t.__preventObserver__)return;if(m.length===1){s("observerUpdate",m[0]);return}const h=function(){s("observerUpdate",m[0])};i.requestAnimationFrame?i.requestAnimationFrame(h):i.setTimeout(h,0)});d.observe(f,{attributes:typeof c.attributes>"u"?!0:c.attributes,childList:typeof c.childList>"u"?!0:c.childList,characterData:typeof c.characterData>"u"?!0:c.characterData}),a.push(d)},r=()=>{if(t.params.observer){if(t.params.observeParents){const f=Sn(t.el);for(let c=0;c{a.forEach(f=>{f.disconnect()}),a.splice(0,a.length)};e({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",r),n("destroy",l)}const Py={on(t,e,n){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;const a=n?"unshift":"push";return t.split(" ").forEach(i=>{s.eventsListeners[i]||(s.eventsListeners[i]=[]),s.eventsListeners[i][a](e)}),s},once(t,e,n){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;function a(...i){s.off(t,a),a.__emitterProxy&&delete a.__emitterProxy,e.apply(s,i)}return a.__emitterProxy=e,s.on(t,a,n)},onAny(t,e){const n=this;if(!n.eventsListeners||n.destroyed||typeof t!="function")return n;const s=e?"unshift":"push";return n.eventsAnyListeners.indexOf(t)<0&&n.eventsAnyListeners[s](t),n},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const n=e.eventsAnyListeners.indexOf(t);return n>=0&&e.eventsAnyListeners.splice(n,1),e},off(t,e){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||t.split(" ").forEach(s=>{typeof e>"u"?n.eventsListeners[s]=[]:n.eventsListeners[s]&&n.eventsListeners[s].forEach((a,i)=>{(a===e||a.__emitterProxy&&a.__emitterProxy===e)&&n.eventsListeners[s].splice(i,1)})}),n},emit(...t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let n,s,a;return typeof t[0]=="string"||Array.isArray(t[0])?(n=t[0],s=t.slice(1,t.length),a=e):(n=t[0].events,s=t[0].data,a=t[0].context||e),s.unshift(a),(Array.isArray(n)?n:n.split(" ")).forEach(o=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(r=>{r.apply(a,[o,...s])}),e.eventsListeners&&e.eventsListeners[o]&&e.eventsListeners[o].forEach(r=>{r.apply(a,s)})}),e}};function Iy(){const t=this;let e,n;const s=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=s.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?n=t.params.height:n=s.clientHeight,!(e===0&&t.isHorizontal()||n===0&&t.isVertical())&&(e=e-parseInt(gn(s,"padding-left")||0,10)-parseInt(gn(s,"padding-right")||0,10),n=n-parseInt(gn(s,"padding-top")||0,10)-parseInt(gn(s,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(n)&&(n=0),Object.assign(t,{width:e,height:n,size:t.isHorizontal()?e:n}))}function Ay(){const t=this;function e(w){return t.isHorizontal()?w:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[w]}function n(w,D){return parseFloat(w.getPropertyValue(e(D))||0)}const s=t.params,{wrapperEl:a,slidesEl:i,size:o,rtlTranslate:r,wrongRTL:l}=t,f=t.virtual&&s.virtual.enabled,c=f?t.virtual.slides.length:t.slides.length,u=St(i,`.${t.params.slideClass}, swiper-slide`),d=f?t.virtual.slides.length:u.length;let m=[];const h=[],p=[];let b=s.slidesOffsetBefore;typeof b=="function"&&(b=s.slidesOffsetBefore.call(t));let g=s.slidesOffsetAfter;typeof g=="function"&&(g=s.slidesOffsetAfter.call(t));const v=t.snapGrid.length,_=t.slidesGrid.length;let k=s.spaceBetween,E=-b,S=0,I=0;if(typeof o>"u")return;typeof k=="string"&&k.indexOf("%")>=0?k=parseFloat(k.replace("%",""))/100*o:typeof k=="string"&&(k=parseFloat(k)),t.virtualSize=-k,u.forEach(w=>{r?w.style.marginLeft="":w.style.marginRight="",w.style.marginBottom="",w.style.marginTop=""}),s.centeredSlides&&s.cssMode&&(Qn(a,"--swiper-centered-offset-before",""),Qn(a,"--swiper-centered-offset-after",""));const T=s.grid&&s.grid.rows>1&&t.grid;T&&t.grid.initSlides(d);let A;const y=s.slidesPerView==="auto"&&s.breakpoints&&Object.keys(s.breakpoints).filter(w=>typeof s.breakpoints[w].slidesPerView<"u").length>0;for(let w=0;w1&&m.push(t.virtualSize-o)}if(f&&s.loop){const w=p[0]+k;if(s.slidesPerGroup>1){const D=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/s.slidesPerGroup),O=w*s.slidesPerGroup;for(let L=0;L!s.cssMode||s.loop?!0:O!==u.length-1).forEach(D=>{D.style[w]=`${k}px`})}if(s.centeredSlides&&s.centeredSlidesBounds){let w=0;p.forEach(O=>{w+=O+(k||0)}),w-=k;const D=w-o;m=m.map(O=>O<=0?-b:O>D?D+g:O)}if(s.centerInsufficientSlides){let w=0;if(p.forEach(D=>{w+=D+(k||0)}),w-=k,w{m[L]=O-D}),h.forEach((O,L)=>{h[L]=O+D})}}if(Object.assign(t,{slides:u,snapGrid:m,slidesGrid:h,slidesSizesGrid:p}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){Qn(a,"--swiper-centered-offset-before",`${-m[0]}px`),Qn(a,"--swiper-centered-offset-after",`${t.size/2-p[p.length-1]/2}px`);const w=-t.snapGrid[0],D=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(O=>O+w),t.slidesGrid=t.slidesGrid.map(O=>O+D)}if(d!==c&&t.emit("slidesLengthChange"),m.length!==v&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),h.length!==_&&t.emit("slidesGridLengthChange"),s.watchSlidesProgress&&t.updateSlidesOffset(),!f&&!s.cssMode&&(s.effect==="slide"||s.effect==="fade")){const w=`${s.containerModifierClass}backface-hidden`,D=t.el.classList.contains(w);d<=s.maxBackfaceHiddenSlides?D||t.el.classList.add(w):D&&t.el.classList.remove(w)}}function Oy(t){const e=this,n=[],s=e.virtual&&e.params.virtual.enabled;let a=0,i;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const o=r=>s?e.slides[e.getSlideIndexByData(r)]:e.slides[r];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(r=>{n.push(r)});else for(i=0;ie.slides.length&&!s)break;n.push(o(r))}else n.push(o(e.activeIndex));for(i=0;ia?r:a}(a||a===0)&&(e.wrapperEl.style.height=`${a}px`)}function By(){const t=this,e=t.slides,n=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let s=0;s"u"&&e.updateSlidesOffset();let o=-t;a&&(o=t),s.forEach(l=>{l.classList.remove(n.slideVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let r=n.spaceBetween;typeof r=="string"&&r.indexOf("%")>=0?r=parseFloat(r.replace("%",""))/100*e.size:typeof r=="string"&&(r=parseFloat(r));for(let l=0;l=0&&m1&&h<=e.size||m<=0&&h>=e.size)&&(e.visibleSlides.push(f),e.visibleSlidesIndexes.push(l),s[l].classList.add(n.slideVisibleClass)),f.progress=a?-u:u,f.originalProgress=a?-d:d}}function Dy(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const n=e.params,s=e.maxTranslate()-e.minTranslate();let{progress:a,isBeginning:i,isEnd:o,progressLoop:r}=e;const l=i,f=o;if(s===0)a=0,i=!0,o=!0;else{a=(t-e.minTranslate())/s;const c=Math.abs(t-e.minTranslate())<1,u=Math.abs(t-e.maxTranslate())<1;i=c||a<=0,o=u||a>=1,c&&(a=0),u&&(a=1)}if(n.loop){const c=e.getSlideIndexByData(0),u=e.getSlideIndexByData(e.slides.length-1),d=e.slidesGrid[c],m=e.slidesGrid[u],h=e.slidesGrid[e.slidesGrid.length-1],p=Math.abs(t);p>=d?r=(p-d)/h:r=(p+h-m)/h,r>1&&(r-=1)}Object.assign(e,{progress:a,progressLoop:r,isBeginning:i,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&e.updateSlidesProgress(t),i&&!l&&e.emit("reachBeginning toEdge"),o&&!f&&e.emit("reachEnd toEdge"),(l&&!i||f&&!o)&&e.emit("fromEdge"),e.emit("progress",a)}function Ry(){const t=this,{slides:e,params:n,slidesEl:s,activeIndex:a}=t,i=t.virtual&&n.virtual.enabled,o=l=>St(s,`.${n.slideClass}${l}, swiper-slide${l}`)[0];e.forEach(l=>{l.classList.remove(n.slideActiveClass,n.slideNextClass,n.slidePrevClass)});let r;if(i)if(n.loop){let l=a-t.virtual.slidesBefore;l<0&&(l=t.virtual.slides.length+l),l>=t.virtual.slides.length&&(l-=t.virtual.slides.length),r=o(`[data-swiper-slide-index="${l}"]`)}else r=o(`[data-swiper-slide-index="${a}"]`);else r=e[a];if(r){r.classList.add(n.slideActiveClass);let l=ky(r,`.${n.slideClass}, swiper-slide`)[0];n.loop&&!l&&(l=e[0]),l&&l.classList.add(n.slideNextClass);let f=_y(r,`.${n.slideClass}, swiper-slide`)[0];n.loop&&!f===0&&(f=e[e.length-1]),f&&f.classList.add(n.slidePrevClass)}t.emitSlidesClasses()}const bs=(t,e)=>{if(!t||t.destroyed||!t.params)return;const n=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,s=e.closest(n());if(s){const a=s.querySelector(`.${t.params.lazyPreloaderClass}`);a&&a.remove()}},ta=(t,e)=>{if(!t.slides[e])return;const n=t.slides[e].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},ba=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const n=t.slides.length;if(!n||!e||e<0)return;e=Math.min(e,n);const s=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),a=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const o=a,r=[o-e];r.push(...Array.from({length:e}).map((l,f)=>o+s+f)),t.slides.forEach((l,f)=>{r.includes(l.column)&&ta(t,f)});return}const i=a+s-1;if(t.params.rewind||t.params.loop)for(let o=a-e;o<=i+e;o+=1){const r=(o%n+n)%n;(ri)&&ta(t,r)}else for(let o=Math.max(a-e,0);o<=Math.min(i+e,n-1);o+=1)o!==a&&(o>i||o=e[i]&&s=e[i]&&s=e[i]&&(a=i);return n.normalizeSlideIndex&&(a<0||typeof a>"u")&&(a=0),a}function zy(t){const e=this,n=e.rtlTranslate?e.translate:-e.translate,{snapGrid:s,params:a,activeIndex:i,realIndex:o,snapIndex:r}=e;let l=t,f;const c=d=>{let m=d-e.virtual.slidesBefore;return m<0&&(m=e.virtual.slides.length+m),m>=e.virtual.slides.length&&(m-=e.virtual.slides.length),m};if(typeof l>"u"&&(l=Hy(e)),s.indexOf(n)>=0)f=s.indexOf(n);else{const d=Math.min(a.slidesPerGroupSkip,l);f=d+Math.floor((l-d)/a.slidesPerGroup)}if(f>=s.length&&(f=s.length-1),l===i){f!==r&&(e.snapIndex=f,e.emit("snapIndexChange")),e.params.loop&&e.virtual&&e.params.virtual.enabled&&(e.realIndex=c(l));return}let u;e.virtual&&a.virtual.enabled&&a.loop?u=c(l):e.slides[l]?u=parseInt(e.slides[l].getAttribute("data-swiper-slide-index")||l,10):u=l,Object.assign(e,{previousSnapIndex:r,snapIndex:f,previousRealIndex:o,realIndex:u,previousIndex:i,activeIndex:l}),e.initialized&&ba(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),o!==u&&e.emit("realIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&e.emit("slideChange")}function Fy(t){const e=this,n=e.params,s=t.closest(`.${n.slideClass}, swiper-slide`);let a=!1,i;if(s){for(let o=0;ol?c=l:s&&ti?o="next":a=l.length&&(b=l.length-1);const g=-l[b];if(r.normalizeSlideIndex)for(let _=0;_=E&&k=E&&k=E&&(o=_)}if(i.initialized&&o!==u&&(!i.allowSlideNext&&(d?g>i.translate&&g>i.minTranslate():gi.translate&&g>i.maxTranslate()&&(u||0)!==o))return!1;o!==(c||0)&&n&&i.emit("beforeSlideChangeStart"),i.updateProgress(g);let v;if(o>u?v="next":o0?(i._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[_?"scrollLeft":"scrollTop"]=k})):m[_?"scrollLeft":"scrollTop"]=k,E&&requestAnimationFrame(()=>{i.wrapperEl.style.scrollSnapType="",i._immediateVirtual=!1})}else{if(!i.support.smoothScroll)return pp({swiper:i,targetPosition:k,side:_?"left":"top"}),!0;m.scrollTo({[_?"left":"top"]:k,behavior:"smooth"})}return!0}return i.setTransition(e),i.setTranslate(g),i.updateActiveIndex(o),i.updateSlidesClasses(),i.emit("beforeTransitionStart",e,s),i.transitionStart(n,v),e===0?i.transitionEnd(n,v):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(k){!i||i.destroyed||k.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,v))}),i.wrapperEl.addEventListener("transitionend",i.onSlideToWrapperTransitionEnd)),!0}function Ky(t=0,e=this.params.speed,n=!0,s){typeof t=="string"&&(t=parseInt(t,10));const a=this;let i=t;return a.params.loop&&(a.virtual&&a.params.virtual.enabled?i=i+a.virtual.slidesBefore:i=a.getSlideIndexByData(i)),a.slideTo(i,e,n,s)}function Zy(t=this.params.speed,e=!0,n){const s=this,{enabled:a,params:i,animating:o}=s;if(!a)return s;let r=i.slidesPerGroup;i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(r=Math.max(s.slidesPerViewDynamic("current",!0),1));const l=s.activeIndexd(g));let p=i[h.indexOf(m)-1];if(typeof p>"u"&&a.cssMode){let g;i.forEach((v,_)=>{m>=v&&(g=_)}),typeof g<"u"&&(p=i[g>0?g-1:g])}let b=0;if(typeof p<"u"&&(b=o.indexOf(p),b<0&&(b=s.activeIndex-1),a.slidesPerView==="auto"&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(b=b-s.slidesPerViewDynamic("previous",!0)+1,b=Math.max(b,0))),a.rewind&&s.isBeginning){const g=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(g,t,e,n)}return s.slideTo(b,t,e,n)}function e3(t=this.params.speed,e=!0,n){const s=this;return s.slideTo(s.activeIndex,t,e,n)}function t3(t=this.params.speed,e=!0,n,s=.5){const a=this;let i=a.activeIndex;const o=Math.min(a.params.slidesPerGroupSkip,i),r=o+Math.floor((i-o)/a.params.slidesPerGroup),l=a.rtlTranslate?a.translate:-a.translate;if(l>=a.snapGrid[r]){const f=a.snapGrid[r],c=a.snapGrid[r+1];l-f>(c-f)*s&&(i+=a.params.slidesPerGroup)}else{const f=a.snapGrid[r-1],c=a.snapGrid[r];l-f<=(c-f)*s&&(i-=a.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,a.slidesGrid.length-1),a.slideTo(i,t,e,n)}function n3(){const t=this,{params:e,slidesEl:n}=t,s=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let a=t.clickedIndex,i;const o=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;i=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?at.slides.length-t.loopedSlides+s/2?(t.loopFix(),a=t.getSlideIndex(St(n,`${o}[data-swiper-slide-index="${i}"]`)[0]),Tn(()=>{t.slideTo(a)})):t.slideTo(a):a>t.slides.length-s?(t.loopFix(),a=t.getSlideIndex(St(n,`${o}[data-swiper-slide-index="${i}"]`)[0]),Tn(()=>{t.slideTo(a)})):t.slideTo(a)}else t.slideTo(a)}const s3={slideTo:Qy,slideToLoop:Ky,slideNext:Zy,slidePrev:Jy,slideReset:e3,slideToClosest:t3,slideToClickedSlide:n3};function a3(t){const e=this,{params:n,slidesEl:s}=e;if(!n.loop||e.virtual&&e.params.virtual.enabled)return;St(s,`.${n.slideClass}, swiper-slide`).forEach((i,o)=>{i.setAttribute("data-swiper-slide-index",o)}),e.loopFix({slideRealIndex:t,direction:n.centeredSlides?void 0:"next"})}function i3({slideRealIndex:t,slideTo:e=!0,direction:n,setTranslate:s,activeSlideIndex:a,byController:i,byMousewheel:o}={}){const r=this;if(!r.params.loop)return;r.emit("beforeLoopFix");const{slides:l,allowSlidePrev:f,allowSlideNext:c,slidesEl:u,params:d}=r;if(r.allowSlidePrev=!0,r.allowSlideNext=!0,r.virtual&&d.virtual.enabled){e&&(!d.centeredSlides&&r.snapIndex===0?r.slideTo(r.virtual.slides.length,0,!1,!0):d.centeredSlides&&r.snapIndex"u"?a=r.getSlideIndex(r.slides.filter(S=>S.classList.contains(d.slideActiveClass))[0]):g=a;const v=n==="next"||!n,_=n==="prev"||!n;let k=0,E=0;if(ar.slides.length-h*2){E=Math.max(a-(r.slides.length-h*2),d.slidesPerGroup);for(let S=0;S{r.slides[S].swiperLoopMoveDOM=!0,u.prepend(r.slides[S]),r.slides[S].swiperLoopMoveDOM=!1}),v&&b.forEach(S=>{r.slides[S].swiperLoopMoveDOM=!0,u.append(r.slides[S]),r.slides[S].swiperLoopMoveDOM=!1}),r.recalcSlides(),d.slidesPerView==="auto"&&r.updateSlides(),d.watchSlidesProgress&&r.updateSlidesOffset(),e){if(p.length>0&&_)if(typeof t>"u"){const S=r.slidesGrid[g],T=r.slidesGrid[g+k]-S;o?r.setTranslate(r.translate-T):(r.slideTo(g+k,0,!1,!0),s&&(r.touches[r.isHorizontal()?"startX":"startY"]+=T))}else s&&r.slideToLoop(t,0,!1,!0);else if(b.length>0&&v)if(typeof t>"u"){const S=r.slidesGrid[g],T=r.slidesGrid[g-E]-S;o?r.setTranslate(r.translate-T):(r.slideTo(g-E,0,!1,!0),s&&(r.touches[r.isHorizontal()?"startX":"startY"]+=T))}else r.slideToLoop(t,0,!1,!0)}if(r.allowSlidePrev=f,r.allowSlideNext=c,r.controller&&r.controller.control&&!i){const S={slideRealIndex:t,slideTo:!1,direction:n,setTranslate:s,activeSlideIndex:a,byController:!0};Array.isArray(r.controller.control)?r.controller.control.forEach(I=>{!I.destroyed&&I.params.loop&&I.loopFix(S)}):r.controller.control instanceof r.constructor&&r.controller.control.params.loop&&r.controller.control.loopFix(S)}r.emit("loopFix")}function r3(){const t=this,{params:e,slidesEl:n}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const s=[];t.slides.forEach(a=>{const i=typeof a.swiperSlideIndex>"u"?a.getAttribute("data-swiper-slide-index")*1:a.swiperSlideIndex;s[i]=a}),t.slides.forEach(a=>{a.removeAttribute("data-swiper-slide-index")}),s.forEach(a=>{n.append(a)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}const l3={loopCreate:a3,loopFix:i3,loopDestroy:r3};function o3(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const n=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function f3(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}const c3={setGrabCursor:o3,unsetGrabCursor:f3};function u3(t,e=this){function n(s){if(!s||s===Le()||s===Se())return null;s.assignedSlot&&(s=s.assignedSlot);const a=s.closest(t);return!a&&!s.getRootNode?null:a||n(s.getRootNode().host)}return n(e)}function d3(t){const e=this,n=Le(),s=Se(),a=e.touchEventsData;a.evCache.push(t);const{params:i,touches:o,enabled:r}=e;if(!r||!i.simulateTouch&&t.pointerType==="mouse"||e.animating&&i.preventInteractionOnTransition)return;!e.animating&&i.cssMode&&i.loop&&e.loopFix();let l=t;l.originalEvent&&(l=l.originalEvent);let f=l.target;if(i.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(f)||"which"in l&&l.which===3||"button"in l&&l.button>0||a.isTouched&&a.isMoved)return;const c=!!i.noSwipingClass&&i.noSwipingClass!=="",u=t.composedPath?t.composedPath():t.path;c&&l.target&&l.target.shadowRoot&&u&&(f=u[0]);const d=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,m=!!(l.target&&l.target.shadowRoot);if(i.noSwiping&&(m?u3(d,f):f.closest(d))){e.allowClick=!0;return}if(i.swipeHandler&&!f.closest(i.swipeHandler))return;o.currentX=l.pageX,o.currentY=l.pageY;const h=o.currentX,p=o.currentY,b=i.edgeSwipeDetection||i.iOSEdgeSwipeDetection,g=i.edgeSwipeThreshold||i.iOSEdgeSwipeThreshold;if(b&&(h<=g||h>=s.innerWidth-g))if(b==="prevent")t.preventDefault();else return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=h,o.startY=p,a.touchStartTime=Wt(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,i.threshold>0&&(a.allowThresholdMove=!1);let v=!0;f.matches(a.focusableElements)&&(v=!1,f.nodeName==="SELECT"&&(a.isTouched=!1)),n.activeElement&&n.activeElement.matches(a.focusableElements)&&n.activeElement!==f&&n.activeElement.blur();const _=v&&e.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||_)&&!f.isContentEditable&&l.preventDefault(),i.freeMode&&i.freeMode.enabled&&e.freeMode&&e.animating&&!i.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",l)}function p3(t){const e=Le(),n=this,s=n.touchEventsData,{params:a,touches:i,rtlTranslate:o,enabled:r}=n;if(!r||!a.simulateTouch&&t.pointerType==="mouse")return;let l=t;if(l.originalEvent&&(l=l.originalEvent),!s.isTouched){s.startMoving&&s.isScrolling&&n.emit("touchMoveOpposite",l);return}const f=s.evCache.findIndex(S=>S.pointerId===l.pointerId);f>=0&&(s.evCache[f]=l);const c=s.evCache.length>1?s.evCache[0]:l,u=c.pageX,d=c.pageY;if(l.preventedByNestedSwiper){i.startX=u,i.startY=d;return}if(!n.allowTouchMove){l.target.matches(s.focusableElements)||(n.allowClick=!1),s.isTouched&&(Object.assign(i,{startX:u,startY:d,prevX:n.touches.currentX,prevY:n.touches.currentY,currentX:u,currentY:d}),s.touchStartTime=Wt());return}if(a.touchReleaseOnEdges&&!a.loop){if(n.isVertical()){if(di.startY&&n.translate>=n.minTranslate()){s.isTouched=!1,s.isMoved=!1;return}}else if(ui.startX&&n.translate>=n.minTranslate())return}if(e.activeElement&&l.target===e.activeElement&&l.target.matches(s.focusableElements)){s.isMoved=!0,n.allowClick=!1;return}if(s.allowTouchCallbacks&&n.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;i.currentX=u,i.currentY=d;const m=i.currentX-i.startX,h=i.currentY-i.startY;if(n.params.threshold&&Math.sqrt(m**2+h**2)"u"){let S;n.isHorizontal()&&i.currentY===i.startY||n.isVertical()&&i.currentX===i.startX?s.isScrolling=!1:m*m+h*h>=25&&(S=Math.atan2(Math.abs(h),Math.abs(m))*180/Math.PI,s.isScrolling=n.isHorizontal()?S>a.touchAngle:90-S>a.touchAngle)}if(s.isScrolling&&n.emit("touchMoveOpposite",l),typeof s.startMoving>"u"&&(i.currentX!==i.startX||i.currentY!==i.startY)&&(s.startMoving=!0),s.isScrolling||n.zoom&&n.params.zoom&&n.params.zoom.enabled&&s.evCache.length>1){s.isTouched=!1;return}if(!s.startMoving)return;n.allowClick=!1,!a.cssMode&&l.cancelable&&l.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&l.stopPropagation();let p=n.isHorizontal()?m:h,b=n.isHorizontal()?i.currentX-i.previousX:i.currentY-i.previousY;a.oneWayMovement&&(p=Math.abs(p)*(o?1:-1),b=Math.abs(b)*(o?1:-1)),i.diff=p,p*=a.touchRatio,o&&(p=-p,b=-b);const g=n.touchesDirection;n.swipeDirection=p>0?"prev":"next",n.touchesDirection=b>0?"prev":"next";const v=n.params.loop&&!a.cssMode;if(!s.isMoved){if(v&&n.loopFix({direction:n.swipeDirection}),s.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const S=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(S)}s.allowMomentumBounce=!1,a.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",l)}let _;s.isMoved&&g!==n.touchesDirection&&v&&Math.abs(p)>=1&&(n.loopFix({direction:n.swipeDirection,setTranslate:!0}),_=!0),n.emit("sliderMove",l),s.isMoved=!0,s.currentTranslate=p+s.startTranslate;let k=!0,E=a.resistanceRatio;if(a.touchReleaseOnEdges&&(E=0),p>0?(v&&!_&&s.currentTranslate>(a.centeredSlides?n.minTranslate()-n.size/2:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),s.currentTranslate>n.minTranslate()&&(k=!1,a.resistance&&(s.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+s.startTranslate+p)**E))):p<0&&(v&&!_&&s.currentTranslate<(a.centeredSlides?n.maxTranslate()+n.size/2:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(a.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),s.currentTranslates.startTranslate&&(s.currentTranslate=s.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(s.currentTranslate=s.startTranslate),a.threshold>0)if(Math.abs(p)>a.threshold||s.allowThresholdMove){if(!s.allowThresholdMove){s.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,s.currentTranslate=s.startTranslate,i.diff=n.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY;return}}else{s.currentTranslate=s.startTranslate;return}!a.followFinger||a.cssMode||((a.freeMode&&a.freeMode.enabled&&n.freeMode||a.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(s.currentTranslate),n.setTranslate(s.currentTranslate))}function m3(t){const e=this,n=e.touchEventsData,s=n.evCache.findIndex(_=>_.pointerId===t.pointerId);if(s>=0&&n.evCache.splice(s,1),["pointercancel","pointerout","pointerleave"].includes(t.type)&&!(t.type==="pointercancel"&&(e.browser.isSafari||e.browser.isWebView)))return;const{params:a,touches:i,rtlTranslate:o,slidesGrid:r,enabled:l}=e;if(!l||!a.simulateTouch&&t.pointerType==="mouse")return;let f=t;if(f.originalEvent&&(f=f.originalEvent),n.allowTouchCallbacks&&e.emit("touchEnd",f),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&a.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}a.grabCursor&&n.isMoved&&n.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const c=Wt(),u=c-n.touchStartTime;if(e.allowClick){const _=f.path||f.composedPath&&f.composedPath();e.updateClickedSlide(_&&_[0]||f.target),e.emit("tap click",f),u<300&&c-n.lastClickTime<300&&e.emit("doubleTap doubleClick",f)}if(n.lastClickTime=Wt(),Tn(()=>{e.destroyed||(e.allowClick=!0)}),!n.isTouched||!n.isMoved||!e.swipeDirection||i.diff===0||n.currentTranslate===n.startTranslate){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let d;if(a.followFinger?d=o?e.translate:-e.translate:d=-n.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:d});return}let m=0,h=e.slidesSizesGrid[0];for(let _=0;_=r[_]&&d=r[_]&&(m=_,h=r[r.length-1]-r[r.length-2])}let p=null,b=null;a.rewind&&(e.isBeginning?b=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const g=(d-r[m])/h,v=ma.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(g>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?p:m+v):e.slideTo(m)),e.swipeDirection==="prev"&&(g>1-a.longSwipesRatio?e.slideTo(m+v):b!==null&&g<0&&Math.abs(g)>a.longSwipesRatio?e.slideTo(b):e.slideTo(m))}else{if(!a.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(f.target===e.navigation.nextEl||f.target===e.navigation.prevEl)?f.target===e.navigation.nextEl?e.slideTo(m+v):e.slideTo(m):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:m+v),e.swipeDirection==="prev"&&e.slideTo(b!==null?b:m))}}function Ed(){const t=this,{params:e,el:n}=t;if(n&&n.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:a,snapGrid:i}=t,o=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const r=o&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!r?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!o?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=a,t.allowSlideNext=s,t.params.watchOverflow&&i!==t.snapGrid&&t.checkOverflow()}function h3(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function g3(){const t=this,{wrapperEl:e,rtlTranslate:n,enabled:s}=t;if(!s)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let a;const i=t.maxTranslate()-t.minTranslate();i===0?a=0:a=(t.translate-t.minTranslate())/i,a!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function b3(t){const e=this;bs(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}let Cd=!1;function v3(){}const gp=(t,e)=>{const n=Le(),{params:s,el:a,wrapperEl:i,device:o}=t,r=!!s.nested,l=e==="on"?"addEventListener":"removeEventListener",f=e;a[l]("pointerdown",t.onTouchStart,{passive:!1}),n[l]("pointermove",t.onTouchMove,{passive:!1,capture:r}),n[l]("pointerup",t.onTouchEnd,{passive:!0}),n[l]("pointercancel",t.onTouchEnd,{passive:!0}),n[l]("pointerout",t.onTouchEnd,{passive:!0}),n[l]("pointerleave",t.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&a[l]("click",t.onClick,!0),s.cssMode&&i[l]("scroll",t.onScroll),s.updateOnWindowResize?t[f](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",Ed,!0):t[f]("observerUpdate",Ed,!0),a[l]("load",t.onLoad,{capture:!0})};function _3(){const t=this,e=Le(),{params:n}=t;t.onTouchStart=d3.bind(t),t.onTouchMove=p3.bind(t),t.onTouchEnd=m3.bind(t),n.cssMode&&(t.onScroll=g3.bind(t)),t.onClick=h3.bind(t),t.onLoad=b3.bind(t),Cd||(e.addEventListener("touchstart",v3),Cd=!0),gp(t,"on")}function k3(){gp(this,"off")}const E3={attachEvents:_3,detachEvents:k3},yd=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function C3(){const t=this,{realIndex:e,initialized:n,params:s,el:a}=t,i=s.breakpoints;if(!i||i&&Object.keys(i).length===0)return;const o=t.getBreakpoint(i,t.params.breakpointsBase,t.el);if(!o||t.currentBreakpoint===o)return;const l=(o in i?i[o]:void 0)||t.originalParams,f=yd(t,s),c=yd(t,l),u=s.enabled;f&&!c?(a.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),t.emitContainerClasses()):!f&&c&&(a.classList.add(`${s.containerModifierClass}grid`),(l.grid.fill&&l.grid.fill==="column"||!l.grid.fill&&s.grid.fill==="column")&&a.classList.add(`${s.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(p=>{if(typeof l[p]>"u")return;const b=s[p]&&s[p].enabled,g=l[p]&&l[p].enabled;b&&!g&&t[p].disable(),!b&&g&&t[p].enable()});const d=l.direction&&l.direction!==s.direction,m=s.loop&&(l.slidesPerView!==s.slidesPerView||d);d&&n&&t.changeDirection(),Vt(t.params,l);const h=t.params.enabled;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),u&&!h?t.disable():!u&&h&&t.enable(),t.currentBreakpoint=o,t.emit("_beforeBreakpoint",l),m&&n&&(t.loopDestroy(),t.loopCreate(e),t.updateSlides()),t.emit("breakpoint",l)}function y3(t,e="window",n){if(!t||e==="container"&&!n)return;let s=!1;const a=Se(),i=e==="window"?a.innerHeight:n.clientHeight,o=Object.keys(t).map(r=>{if(typeof r=="string"&&r.indexOf("@")===0){const l=parseFloat(r.substr(1));return{value:i*l,point:r}}return{value:r,point:r}});o.sort((r,l)=>parseInt(r.value,10)-parseInt(l.value,10));for(let r=0;r{typeof s=="object"?Object.keys(s).forEach(a=>{s[a]&&n.push(e+a)}):typeof s=="string"&&n.push(e+s)}),n}function T3(){const t=this,{classNames:e,params:n,rtl:s,el:a,device:i}=t,o=S3(["initialized",n.direction,{"free-mode":t.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:s},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:i.android},{ios:i.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);e.push(...o),a.classList.add(...e),t.emitContainerClasses()}function M3(){const t=this,{el:e,classNames:n}=t;e.classList.remove(...n),t.emitContainerClasses()}const P3={addClasses:T3,removeClasses:M3};function I3(){const t=this,{isLocked:e,params:n}=t,{slidesOffsetBefore:s}=n;if(s){const a=t.slides.length-1,i=t.slidesGrid[a]+t.slidesSizesGrid[a]+s*2;t.isLocked=t.size>i}else t.isLocked=t.snapGrid.length===1;n.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),n.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}const A3={checkOverflow:I3},va={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function O3(t,e){return function(s={}){const a=Object.keys(s)[0],i=s[a];if(typeof i!="object"||i===null){Vt(e,s);return}if(["navigation","pagination","scrollbar"].indexOf(a)>=0&&t[a]===!0&&(t[a]={auto:!0}),!(a in t&&"enabled"in i)){Vt(e,s);return}t[a]===!0&&(t[a]={enabled:!0}),typeof t[a]=="object"&&!("enabled"in t[a])&&(t[a].enabled=!0),t[a]||(t[a]={enabled:!1}),Vt(e,s)}}const na={eventsEmitter:Py,update:Ny,translate:Xy,transition:$y,slide:s3,loop:l3,grabCursor:c3,events:E3,breakpoints:w3,checkOverflow:A3,classes:P3},sa={};let Oa=class en{constructor(...e){let n,s;e.length===1&&e[0].constructor&&Object.prototype.toString.call(e[0]).slice(8,-1)==="Object"?s=e[0]:[n,s]=e,s||(s={}),s=Vt({},s),n&&!s.el&&(s.el=n);const a=Le();if(s.el&&typeof s.el=="string"&&a.querySelectorAll(s.el).length>1){const l=[];return a.querySelectorAll(s.el).forEach(f=>{const c=Vt({},s,{el:f});l.push(new en(c))}),l}const i=this;i.__swiper__=!0,i.support=mp(),i.device=yy({userAgent:s.userAgent}),i.browser=Sy(),i.eventsListeners={},i.eventsAnyListeners=[],i.modules=[...i.__modules__],s.modules&&Array.isArray(s.modules)&&i.modules.push(...s.modules);const o={};i.modules.forEach(l=>{l({params:s,swiper:i,extendParams:O3(s,o),on:i.on.bind(i),once:i.once.bind(i),off:i.off.bind(i),emit:i.emit.bind(i)})});const r=Vt({},va,o);return i.params=Vt({},r,sa,s),i.originalParams=Vt({},i.params),i.passedParams=Vt({},s),i.params&&i.params.on&&Object.keys(i.params.on).forEach(l=>{i.on(l,i.params.on[l])}),i.params&&i.params.onAny&&i.onAny(i.params.onAny),Object.assign(i,{enabled:i.params.enabled,el:n,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return i.params.direction==="horizontal"},isVertical(){return i.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:i.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:i.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),i.emit("_swiper"),i.params.init&&i.init(),i}getSlideIndex(e){const{slidesEl:n,params:s}=this,a=St(n,`.${s.slideClass}, swiper-slide`),i=ss(a[0]);return ss(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(n=>n.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:n,params:s}=e;e.slides=St(n,`.${s.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,n){const s=this;e=Math.min(Math.max(e,0),1);const a=s.minTranslate(),o=(s.maxTranslate()-a)*e+a;s.translateTo(o,typeof n>"u"?0:n),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const n=e.el.className.split(" ").filter(s=>s.indexOf("swiper")===0||s.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",n.join(" "))}getSlideClasses(e){const n=this;return n.destroyed?"":e.className.split(" ").filter(s=>s.indexOf("swiper-slide")===0||s.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const n=[];e.slides.forEach(s=>{const a=e.getSlideClasses(s);n.push({slideEl:s,classNames:a}),e.emit("_slideClass",s,a)}),e.emit("_slideClasses",n)}slidesPerViewDynamic(e="current",n=!1){const s=this,{params:a,slides:i,slidesGrid:o,slidesSizesGrid:r,size:l,activeIndex:f}=s;let c=1;if(a.centeredSlides){let u=i[f]?i[f].swiperSlideSize:0,d;for(let m=f+1;ml&&(d=!0));for(let m=f-1;m>=0;m-=1)i[m]&&!d&&(u+=i[m].swiperSlideSize,c+=1,u>l&&(d=!0))}else if(e==="current")for(let u=f+1;u=0;u-=1)o[f]-o[u]{o.complete&&bs(e,o)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function a(){const o=e.rtlTranslate?e.translate*-1:e.translate,r=Math.min(Math.max(o,e.maxTranslate()),e.minTranslate());e.setTranslate(r),e.updateActiveIndex(),e.updateSlidesClasses()}let i;if(s.freeMode&&s.freeMode.enabled&&!s.cssMode)a(),s.autoHeight&&e.updateAutoHeight();else{if((s.slidesPerView==="auto"||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const o=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;i=e.slideTo(o.length-1,0,!1,!0)}else i=e.slideTo(e.activeIndex,0,!1,!0);i||a()}s.watchOverflow&&n!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,n=!0){const s=this,a=s.params.direction;return e||(e=a==="horizontal"?"vertical":"horizontal"),e===a||e!=="horizontal"&&e!=="vertical"||(s.el.classList.remove(`${s.params.containerModifierClass}${a}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach(i=>{e==="vertical"?i.style.width="":i.style.height=""}),s.emit("changeDirection"),n&&s.update()),s}changeLanguageDirection(e){const n=this;n.rtl&&e==="rtl"||!n.rtl&&e==="ltr"||(n.rtl=e==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(e){const n=this;if(n.mounted)return!0;let s=e||n.params.el;if(typeof s=="string"&&(s=document.querySelector(s)),!s)return!1;s.swiper=n,s.shadowEl&&(n.isElement=!0);const a=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=(()=>s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(a()):St(s,a())[0])();return!o&&n.params.createElements&&(o=Xt("div",n.params.wrapperClass),s.append(o),St(s,`.${n.params.slideClass}`).forEach(r=>{o.append(r)})),Object.assign(n,{el:s,wrapperEl:o,slidesEl:n.isElement?s:o,mounted:!0,rtl:s.dir.toLowerCase()==="rtl"||gn(s,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(s.dir.toLowerCase()==="rtl"||gn(s,"direction")==="rtl"),wrongRTL:gn(o,"display")==="-webkit-box"}),!0}init(e){const n=this;return n.initialized||n.mount(e)===!1||(n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(),n.attachEvents(),[...n.el.querySelectorAll('[loading="lazy"]')].forEach(a=>{a.complete?bs(n,a):a.addEventListener("load",i=>{bs(n,i.target)})}),ba(n),n.initialized=!0,ba(n),n.emit("init"),n.emit("afterInit")),n}destroy(e=!0,n=!0){const s=this,{params:a,el:i,wrapperEl:o,slides:r}=s;return typeof s.params>"u"||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),a.loop&&s.loopDestroy(),n&&(s.removeClasses(),i.removeAttribute("style"),o.removeAttribute("style"),r&&r.length&&r.forEach(l=>{l.classList.remove(a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(l=>{s.off(l)}),e!==!1&&(s.el.swiper=null,gy(s)),s.destroyed=!0),null}static extendDefaults(e){Vt(sa,e)}static get extendedDefaults(){return sa}static get defaults(){return va}static installModule(e){en.prototype.__modules__||(en.prototype.__modules__=[]);const n=en.prototype.__modules__;typeof e=="function"&&n.indexOf(e)<0&&n.push(e)}static use(e){return Array.isArray(e)?(e.forEach(n=>en.installModule(n)),en):(en.installModule(e),en)}};Object.keys(na).forEach(t=>{Object.keys(na[t]).forEach(e=>{Oa.prototype[e]=na[t][e]})});Oa.use([Ty,My]);const Ss=Oa;function B3({swiper:t,extendParams:e,on:n,emit:s}){e({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let a;const i=Le();t.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const o=i.createElement("div");function r(m,h){const p=t.params.virtual;if(p.cache&&t.virtual.cache[h])return t.virtual.cache[h];let b;return p.renderSlide?(b=p.renderSlide.call(t,m,h),typeof b=="string"&&(o.innerHTML=b,b=o.children[0])):t.isElement?b=Xt("swiper-slide"):b=Xt("div",t.params.slideClass),b.setAttribute("data-swiper-slide-index",h),p.renderSlide||(b.innerHTML=m),p.cache&&(t.virtual.cache[h]=b),b}function l(m){const{slidesPerView:h,slidesPerGroup:p,centeredSlides:b,loop:g}=t.params,{addSlidesBefore:v,addSlidesAfter:_}=t.params.virtual,{from:k,to:E,slides:S,slidesGrid:I,offset:T}=t.virtual;t.params.cssMode||t.updateActiveIndex();const A=t.activeIndex||0;let y;t.rtlTranslate?y="right":y=t.isHorizontal()?"left":"top";let w,D;b?(w=Math.floor(h/2)+p+_,D=Math.floor(h/2)+p+v):(w=h+(p-1)+_,D=(g?h:p)+v);let O=A-D,L=A+w;g||(O=Math.max(O,0),L=Math.min(L,S.length-1));let j=(t.slidesGrid[O]||0)-(t.slidesGrid[0]||0);g&&A>=D?(O-=D,b||(j+=t.slidesGrid[0])):g&&A{G.style[y]=`${j-Math.abs(t.cssOverflowAdjustment())}px`}),t.updateProgress(),s("virtualUpdate");return}if(t.params.virtual.renderExternal){t.params.virtual.renderExternal.call(t,{offset:j,from:O,to:L,slides:function(){const ce=[];for(let ye=O;ye<=L;ye+=1)ce.push(S[ye]);return ce}()}),t.params.virtual.renderExternalUpdate?W():s("virtualUpdate");return}const Y=[],B=[],q=G=>{let ce=G;return G<0?ce=S.length+G:ce>=S.length&&(ce=ce-S.length),ce};if(m)t.slidesEl.querySelectorAll(`.${t.params.slideClass}, swiper-slide`).forEach(G=>{G.remove()});else for(let G=k;G<=E;G+=1)if(GL){const ce=q(G);t.slidesEl.querySelectorAll(`.${t.params.slideClass}[data-swiper-slide-index="${ce}"], swiper-slide[data-swiper-slide-index="${ce}"]`).forEach(ye=>{ye.remove()})}const X=g?-S.length:0,H=g?S.length*2:S.length;for(let G=X;G=O&&G<=L){const ce=q(G);typeof E>"u"||m?B.push(ce):(G>E&&B.push(ce),G{t.slidesEl.append(r(S[G],G))}),g)for(let G=Y.length-1;G>=0;G-=1){const ce=Y[G];t.slidesEl.prepend(r(S[ce],ce))}else Y.sort((G,ce)=>ce-G),Y.forEach(G=>{t.slidesEl.prepend(r(S[G],G))});St(t.slidesEl,".swiper-slide, swiper-slide").forEach(G=>{G.style[y]=`${j-Math.abs(t.cssOverflowAdjustment())}px`}),W()}function f(m){if(typeof m=="object"&&"length"in m)for(let h=0;h{const k=g[_],E=k.getAttribute("data-swiper-slide-index");E&&k.setAttribute("data-swiper-slide-index",parseInt(E,10)+b),v[parseInt(_,10)+b]=k}),t.virtual.cache=v}l(!0),t.slideTo(p,0)}function u(m){if(typeof m>"u"||m===null)return;let h=t.activeIndex;if(Array.isArray(m))for(let p=m.length-1;p>=0;p-=1)t.virtual.slides.splice(m[p],1),t.params.virtual.cache&&delete t.virtual.cache[m[p]],m[p]{if(!t.params.virtual.enabled)return;let m;if(typeof t.passedParams.virtual.slides>"u"){const h=[...t.slidesEl.children].filter(p=>p.matches(`.${t.params.slideClass}, swiper-slide`));h&&h.length&&(t.virtual.slides=[...h],m=!0,h.forEach((p,b)=>{p.setAttribute("data-swiper-slide-index",b),t.virtual.cache[b]=p,p.remove()}))}m||(t.virtual.slides=t.params.virtual.slides),t.classNames.push(`${t.params.containerModifierClass}virtual`),t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0,t.params.initialSlide||l()}),n("setTranslate",()=>{t.params.virtual.enabled&&(t.params.cssMode&&!t._immediateVirtual?(clearTimeout(a),a=setTimeout(()=>{l()},100)):l())}),n("init update resize",()=>{t.params.virtual.enabled&&t.params.cssMode&&Qn(t.wrapperEl,"--swiper-virtual-size",`${t.virtualSize}px`)}),Object.assign(t.virtual,{appendSlide:f,prependSlide:c,removeSlide:u,removeAllSlides:d,update:l})}function L3({swiper:t,extendParams:e,on:n,emit:s}){const a=Le(),i=Se();t.keyboard={enabled:!1},e({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function o(f){if(!t.enabled)return;const{rtlTranslate:c}=t;let u=f;u.originalEvent&&(u=u.originalEvent);const d=u.keyCode||u.charCode,m=t.params.keyboard.pageUpDown,h=m&&d===33,p=m&&d===34,b=d===37,g=d===39,v=d===38,_=d===40;if(!t.allowSlideNext&&(t.isHorizontal()&&g||t.isVertical()&&_||p)||!t.allowSlidePrev&&(t.isHorizontal()&&b||t.isVertical()&&v||h))return!1;if(!(u.shiftKey||u.altKey||u.ctrlKey||u.metaKey)&&!(a.activeElement&&a.activeElement.nodeName&&(a.activeElement.nodeName.toLowerCase()==="input"||a.activeElement.nodeName.toLowerCase()==="textarea"))){if(t.params.keyboard.onlyInViewport&&(h||p||b||g||v||_)){let k=!1;if(Sn(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&Sn(t.el,`.${t.params.slideActiveClass}`).length===0)return;const E=t.el,S=E.clientWidth,I=E.clientHeight,T=i.innerWidth,A=i.innerHeight,y=ws(E);c&&(y.left-=E.scrollLeft);const w=[[y.left,y.top],[y.left+S,y.top],[y.left,y.top+I],[y.left+S,y.top+I]];for(let D=0;D=0&&O[0]<=T&&O[1]>=0&&O[1]<=A){if(O[0]===0&&O[1]===0)continue;k=!0}}if(!k)return}t.isHorizontal()?((h||p||b||g)&&(u.preventDefault?u.preventDefault():u.returnValue=!1),((p||g)&&!c||(h||b)&&c)&&t.slideNext(),((h||b)&&!c||(p||g)&&c)&&t.slidePrev()):((h||p||v||_)&&(u.preventDefault?u.preventDefault():u.returnValue=!1),(p||_)&&t.slideNext(),(h||v)&&t.slidePrev()),s("keyPress",d)}}function r(){t.keyboard.enabled||(a.addEventListener("keydown",o),t.keyboard.enabled=!0)}function l(){t.keyboard.enabled&&(a.removeEventListener("keydown",o),t.keyboard.enabled=!1)}n("init",()=>{t.params.keyboard.enabled&&r()}),n("destroy",()=>{t.keyboard.enabled&&l()}),Object.assign(t.keyboard,{enable:r,disable:l})}function D3({swiper:t,extendParams:e,on:n,emit:s}){const a=Se();e({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let i,o=Wt(),r;const l=[];function f(v){let S=0,I=0,T=0,A=0;return"detail"in v&&(I=v.detail),"wheelDelta"in v&&(I=-v.wheelDelta/120),"wheelDeltaY"in v&&(I=-v.wheelDeltaY/120),"wheelDeltaX"in v&&(S=-v.wheelDeltaX/120),"axis"in v&&v.axis===v.HORIZONTAL_AXIS&&(S=I,I=0),T=S*10,A=I*10,"deltaY"in v&&(A=v.deltaY),"deltaX"in v&&(T=v.deltaX),v.shiftKey&&!T&&(T=A,A=0),(T||A)&&v.deltaMode&&(v.deltaMode===1?(T*=40,A*=40):(T*=800,A*=800)),T&&!S&&(S=T<1?-1:1),A&&!I&&(I=A<1?-1:1),{spinX:S,spinY:I,pixelX:T,pixelY:A}}function c(){t.enabled&&(t.mouseEntered=!0)}function u(){t.enabled&&(t.mouseEntered=!1)}function d(v){return t.params.mousewheel.thresholdDelta&&v.delta=6&&Wt()-o<60?!0:(v.direction<0?(!t.isEnd||t.params.loop)&&!t.animating&&(t.slideNext(),s("scroll",v.raw)):(!t.isBeginning||t.params.loop)&&!t.animating&&(t.slidePrev(),s("scroll",v.raw)),o=new a.Date().getTime(),!1)}function m(v){const _=t.params.mousewheel;if(v.direction<0){if(t.isEnd&&!t.params.loop&&_.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&_.releaseOnEdges)return!0;return!1}function h(v){let _=v,k=!0;if(!t.enabled||v.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const E=t.params.mousewheel;t.params.cssMode&&_.preventDefault();let S=t.el;t.params.mousewheel.eventsTarget!=="container"&&(S=document.querySelector(t.params.mousewheel.eventsTarget));const I=S&&S.contains(_.target);if(!t.mouseEntered&&!I&&!E.releaseOnEdges)return!0;_.originalEvent&&(_=_.originalEvent);let T=0;const A=t.rtlTranslate?-1:1,y=f(_);if(E.forceToAxis)if(t.isHorizontal())if(Math.abs(y.pixelX)>Math.abs(y.pixelY))T=-y.pixelX*A;else return!0;else if(Math.abs(y.pixelY)>Math.abs(y.pixelX))T=-y.pixelY;else return!0;else T=Math.abs(y.pixelX)>Math.abs(y.pixelY)?-y.pixelX*A:-y.pixelY;if(T===0)return!0;E.invert&&(T=-T);let w=t.getTranslate()+T*E.sensitivity;if(w>=t.minTranslate()&&(w=t.minTranslate()),w<=t.maxTranslate()&&(w=t.maxTranslate()),k=t.params.loop?!0:!(w===t.minTranslate()||w===t.maxTranslate()),k&&t.params.nested&&_.stopPropagation(),!t.params.freeMode||!t.params.freeMode.enabled){const D={time:Wt(),delta:Math.abs(T),direction:Math.sign(T),raw:v};l.length>=2&&l.shift();const O=l.length?l[l.length-1]:void 0;if(l.push(D),O?(D.direction!==O.direction||D.delta>O.delta||D.time>O.time+150)&&d(D):d(D),m(D))return!0}else{const D={time:Wt(),delta:Math.abs(T),direction:Math.sign(T)},O=r&&D.time=t.minTranslate()&&(L=t.minTranslate()),L<=t.maxTranslate()&&(L=t.maxTranslate()),t.setTransition(0),t.setTranslate(L),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!j&&t.isBeginning||!W&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:D.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(i),i=void 0,l.length>=15&&l.shift();const Y=l.length?l[l.length-1]:void 0,B=l[0];if(l.push(D),Y&&(D.delta>Y.delta||D.direction!==Y.direction))l.splice(0);else if(l.length>=15&&D.time-B.time<500&&B.delta-D.delta>=1&&D.delta<=6){const q=T>0?.8:.2;r=D,l.splice(0),i=Tn(()=>{t.slideToClosest(t.params.speed,!0,void 0,q)},0)}i||(i=Tn(()=>{r=D,l.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5)},500))}if(O||s("scroll",_),t.params.autoplay&&t.params.autoplayDisableOnInteraction&&t.autoplay.stop(),L===t.minTranslate()||L===t.maxTranslate())return!0}}return _.preventDefault?_.preventDefault():_.returnValue=!1,!1}function p(v){let _=t.el;t.params.mousewheel.eventsTarget!=="container"&&(_=document.querySelector(t.params.mousewheel.eventsTarget)),_[v]("mouseenter",c),_[v]("mouseleave",u),_[v]("wheel",h)}function b(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",h),!0):t.mousewheel.enabled?!1:(p("addEventListener"),t.mousewheel.enabled=!0,!0)}function g(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,h),!0):t.mousewheel.enabled?(p("removeEventListener"),t.mousewheel.enabled=!1,!0):!1}n("init",()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&g(),t.params.mousewheel.enabled&&b()}),n("destroy",()=>{t.params.cssMode&&b(),t.mousewheel.enabled&&g()}),Object.assign(t.mousewheel,{enable:b,disable:g})}function Ba(t,e,n,s){return t.params.createElements&&Object.keys(s).forEach(a=>{if(!n[a]&&n.auto===!0){let i=St(t.el,`.${s[a]}`)[0];i||(i=Xt("div",s[a]),i.className=s[a],t.el.append(i)),n[a]=i,e[a]=i}}),n}function R3({swiper:t,extendParams:e,on:n,emit:s}){e({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};const a=h=>(Array.isArray(h)||(h=[h].filter(p=>!!p)),h);function i(h){let p;return h&&typeof h=="string"&&t.isElement&&(p=t.el.shadowRoot.querySelector(h),p)?p:(h&&(typeof h=="string"&&(p=[...document.querySelectorAll(h)]),t.params.uniqueNavElements&&typeof h=="string"&&p.length>1&&t.el.querySelectorAll(h).length===1&&(p=t.el.querySelector(h))),h&&!p?h:p)}function o(h,p){const b=t.params.navigation;h=a(h),h.forEach(g=>{g&&(g.classList[p?"add":"remove"](...b.disabledClass.split(" ")),g.tagName==="BUTTON"&&(g.disabled=p),t.params.watchOverflow&&t.enabled&&g.classList[t.isLocked?"add":"remove"](b.lockClass))})}function r(){const{nextEl:h,prevEl:p}=t.navigation;if(t.params.loop){o(p,!1),o(h,!1);return}o(p,t.isBeginning&&!t.params.rewind),o(h,t.isEnd&&!t.params.rewind)}function l(h){h.preventDefault(),!(t.isBeginning&&!t.params.loop&&!t.params.rewind)&&(t.slidePrev(),s("navigationPrev"))}function f(h){h.preventDefault(),!(t.isEnd&&!t.params.loop&&!t.params.rewind)&&(t.slideNext(),s("navigationNext"))}function c(){const h=t.params.navigation;if(t.params.navigation=Ba(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(h.nextEl||h.prevEl))return;let p=i(h.nextEl),b=i(h.prevEl);Object.assign(t.navigation,{nextEl:p,prevEl:b}),p=a(p),b=a(b);const g=(v,_)=>{v&&v.addEventListener("click",_==="next"?f:l),!t.enabled&&v&&v.classList.add(...h.lockClass.split(" "))};p.forEach(v=>g(v,"next")),b.forEach(v=>g(v,"prev"))}function u(){let{nextEl:h,prevEl:p}=t.navigation;h=a(h),p=a(p);const b=(g,v)=>{g.removeEventListener("click",v==="next"?f:l),g.classList.remove(...t.params.navigation.disabledClass.split(" "))};h.forEach(g=>b(g,"next")),p.forEach(g=>b(g,"prev"))}n("init",()=>{t.params.navigation.enabled===!1?m():(c(),r())}),n("toEdge fromEdge lock unlock",()=>{r()}),n("destroy",()=>{u()}),n("enable disable",()=>{let{nextEl:h,prevEl:p}=t.navigation;h=a(h),p=a(p),[...h,...p].filter(b=>!!b).forEach(b=>b.classList[t.enabled?"remove":"add"](t.params.navigation.lockClass))}),n("click",(h,p)=>{let{nextEl:b,prevEl:g}=t.navigation;b=a(b),g=a(g);const v=p.target;if(t.params.navigation.hideOnClick&&!g.includes(v)&&!b.includes(v)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===v||t.pagination.el.contains(v)))return;let _;b.length?_=b[0].classList.contains(t.params.navigation.hiddenClass):g.length&&(_=g[0].classList.contains(t.params.navigation.hiddenClass)),s(_===!0?"navigationShow":"navigationHide"),[...b,...g].filter(k=>!!k).forEach(k=>k.classList.toggle(t.params.navigation.hiddenClass))}});const d=()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),c(),r()},m=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),u()};Object.assign(t.navigation,{enable:d,disable:m,update:r,init:c,destroy:u})}function mn(t=""){return`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function H3({swiper:t,extendParams:e,on:n,emit:s}){const a="swiper-pagination";e({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:g=>g,formatFractionTotal:g=>g,bulletClass:`${a}-bullet`,bulletActiveClass:`${a}-bullet-active`,modifierClass:`${a}-`,currentClass:`${a}-current`,totalClass:`${a}-total`,hiddenClass:`${a}-hidden`,progressbarFillClass:`${a}-progressbar-fill`,progressbarOppositeClass:`${a}-progressbar-opposite`,clickableClass:`${a}-clickable`,lockClass:`${a}-lock`,horizontalClass:`${a}-horizontal`,verticalClass:`${a}-vertical`,paginationDisabledClass:`${a}-disabled`}}),t.pagination={el:null,bullets:[]};let i,o=0;const r=g=>(Array.isArray(g)||(g=[g].filter(v=>!!v)),g);function l(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&t.pagination.el.length===0}function f(g,v){const{bulletActiveClass:_}=t.params.pagination;g&&(g=g[`${v==="prev"?"previous":"next"}ElementSibling`],g&&(g.classList.add(`${_}-${v}`),g=g[`${v==="prev"?"previous":"next"}ElementSibling`],g&&g.classList.add(`${_}-${v}-${v}`)))}function c(g){const v=g.target.closest(mn(t.params.pagination.bulletClass));if(!v)return;g.preventDefault();const _=ss(v)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===_)return;const k=t.getSlideIndexByData(_),E=t.getSlideIndexByData(t.realIndex);k>t.slides.length-t.loopedSlides&&t.loopFix({direction:k>E?"next":"prev",activeSlideIndex:k,slideTo:!1}),t.slideToLoop(_)}else t.slideTo(_)}function u(){const g=t.rtl,v=t.params.pagination;if(l())return;let _=t.pagination.el;_=r(_);let k,E;const S=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,I=t.params.loop?Math.ceil(S/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(E=t.previousRealIndex||0,k=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex<"u"?(k=t.snapIndex,E=t.previousSnapIndex):(E=t.previousIndex||0,k=t.activeIndex||0),v.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const T=t.pagination.bullets;let A,y,w;if(v.dynamicBullets&&(i=ga(T[0],t.isHorizontal()?"width":"height",!0),_.forEach(D=>{D.style[t.isHorizontal()?"width":"height"]=`${i*(v.dynamicMainBullets+4)}px`}),v.dynamicMainBullets>1&&E!==void 0&&(o+=k-(E||0),o>v.dynamicMainBullets-1?o=v.dynamicMainBullets-1:o<0&&(o=0)),A=Math.max(k-o,0),y=A+(Math.min(T.length,v.dynamicMainBullets)-1),w=(y+A)/2),T.forEach(D=>{const O=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(L=>`${v.bulletActiveClass}${L}`)].map(L=>typeof L=="string"&&L.includes(" ")?L.split(" "):L).flat();D.classList.remove(...O)}),_.length>1)T.forEach(D=>{const O=ss(D);O===k?D.classList.add(...v.bulletActiveClass.split(" ")):t.isElement&&D.setAttribute("part","bullet"),v.dynamicBullets&&(O>=A&&O<=y&&D.classList.add(...`${v.bulletActiveClass}-main`.split(" ")),O===A&&f(D,"prev"),O===y&&f(D,"next"))});else{const D=T[k];if(D&&D.classList.add(...v.bulletActiveClass.split(" ")),t.isElement&&T.forEach((O,L)=>{O.setAttribute("part",L===k?"bullet-active":"bullet")}),v.dynamicBullets){const O=T[A],L=T[y];for(let j=A;j<=y;j+=1)T[j]&&T[j].classList.add(...`${v.bulletActiveClass}-main`.split(" "));f(O,"prev"),f(L,"next")}}if(v.dynamicBullets){const D=Math.min(T.length,v.dynamicMainBullets+4),O=(i*D-i)/2-w*i,L=g?"right":"left";T.forEach(j=>{j.style[t.isHorizontal()?L:"top"]=`${O}px`})}}_.forEach((T,A)=>{if(v.type==="fraction"&&(T.querySelectorAll(mn(v.currentClass)).forEach(y=>{y.textContent=v.formatFractionCurrent(k+1)}),T.querySelectorAll(mn(v.totalClass)).forEach(y=>{y.textContent=v.formatFractionTotal(I)})),v.type==="progressbar"){let y;v.progressbarOpposite?y=t.isHorizontal()?"vertical":"horizontal":y=t.isHorizontal()?"horizontal":"vertical";const w=(k+1)/I;let D=1,O=1;y==="horizontal"?D=w:O=w,T.querySelectorAll(mn(v.progressbarFillClass)).forEach(L=>{L.style.transform=`translate3d(0,0,0) scaleX(${D}) scaleY(${O})`,L.style.transitionDuration=`${t.params.speed}ms`})}v.type==="custom"&&v.renderCustom?(T.innerHTML=v.renderCustom(t,k+1,I),A===0&&s("paginationRender",T)):(A===0&&s("paginationRender",T),s("paginationUpdate",T)),t.params.watchOverflow&&t.enabled&&T.classList[t.isLocked?"add":"remove"](v.lockClass)})}function d(){const g=t.params.pagination;if(l())return;const v=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length;let _=t.pagination.el;_=r(_);let k="";if(g.type==="bullets"){let E=t.params.loop?Math.ceil(v/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&E>v&&(E=v);for(let S=0;S`}g.type==="fraction"&&(g.renderFraction?k=g.renderFraction.call(t,g.currentClass,g.totalClass):k=` / `),g.type==="progressbar"&&(g.renderProgressbar?k=g.renderProgressbar.call(t,g.progressbarFillClass):k=``),t.pagination.bullets=[],_.forEach(E=>{g.type!=="custom"&&(E.innerHTML=k||""),g.type==="bullets"&&t.pagination.bullets.push(...E.querySelectorAll(mn(g.bulletClass)))}),g.type!=="custom"&&s("paginationRender",_[0])}function m(){t.params.pagination=Ba(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const g=t.params.pagination;if(!g.el)return;let v;typeof g.el=="string"&&t.isElement&&(v=t.el.shadowRoot.querySelector(g.el)),!v&&typeof g.el=="string"&&(v=[...document.querySelectorAll(g.el)]),v||(v=g.el),!(!v||v.length===0)&&(t.params.uniqueNavElements&&typeof g.el=="string"&&Array.isArray(v)&&v.length>1&&(v=[...t.el.querySelectorAll(g.el)],v.length>1&&(v=v.filter(_=>Sn(_,".swiper")[0]===t.el)[0])),Array.isArray(v)&&v.length===1&&(v=v[0]),Object.assign(t.pagination,{el:v}),v=r(v),v.forEach(_=>{g.type==="bullets"&&g.clickable&&_.classList.add(g.clickableClass),_.classList.add(g.modifierClass+g.type),_.classList.add(t.isHorizontal()?g.horizontalClass:g.verticalClass),g.type==="bullets"&&g.dynamicBullets&&(_.classList.add(`${g.modifierClass}${g.type}-dynamic`),o=0,g.dynamicMainBullets<1&&(g.dynamicMainBullets=1)),g.type==="progressbar"&&g.progressbarOpposite&&_.classList.add(g.progressbarOppositeClass),g.clickable&&_.addEventListener("click",c),t.enabled||_.classList.add(g.lockClass)}))}function h(){const g=t.params.pagination;if(l())return;let v=t.pagination.el;v&&(v=r(v),v.forEach(_=>{_.classList.remove(g.hiddenClass),_.classList.remove(g.modifierClass+g.type),_.classList.remove(t.isHorizontal()?g.horizontalClass:g.verticalClass),g.clickable&&_.removeEventListener("click",c)})),t.pagination.bullets&&t.pagination.bullets.forEach(_=>_.classList.remove(...g.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const g=t.params.pagination;let{el:v}=t.pagination;v=r(v),v.forEach(_=>{_.classList.remove(g.horizontalClass,g.verticalClass),_.classList.add(t.isHorizontal()?g.horizontalClass:g.verticalClass)})}),n("init",()=>{t.params.pagination.enabled===!1?b():(m(),d(),u())}),n("activeIndexChange",()=>{typeof t.snapIndex>"u"&&u()}),n("snapIndexChange",()=>{u()}),n("snapGridLengthChange",()=>{d(),u()}),n("destroy",()=>{h()}),n("enable disable",()=>{let{el:g}=t.pagination;g&&(g=r(g),g.forEach(v=>v.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),n("lock unlock",()=>{u()}),n("click",(g,v)=>{const _=v.target;let{el:k}=t.pagination;if(Array.isArray(k)||(k=[k].filter(E=>!!E)),t.params.pagination.el&&t.params.pagination.hideOnClick&&k&&k.length>0&&!_.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&_===t.navigation.nextEl||t.navigation.prevEl&&_===t.navigation.prevEl))return;const E=k[0].classList.contains(t.params.pagination.hiddenClass);s(E===!0?"paginationShow":"paginationHide"),k.forEach(S=>S.classList.toggle(t.params.pagination.hiddenClass))}});const p=()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:g}=t.pagination;g&&(g=r(g),g.forEach(v=>v.classList.remove(t.params.pagination.paginationDisabledClass))),m(),d(),u()},b=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:g}=t.pagination;g&&(g=r(g),g.forEach(v=>v.classList.add(t.params.pagination.paginationDisabledClass))),h()};Object.assign(t.pagination,{enable:p,disable:b,render:d,update:u,init:m,destroy:h})}function z3({swiper:t,extendParams:e,on:n,emit:s}){const a=Le();let i=!1,o=null,r=null,l,f,c,u;e({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null};function d(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:w,rtlTranslate:D}=t,{dragEl:O,el:L}=w,j=t.params.scrollbar,W=t.params.loop?t.progressLoop:t.progress;let Y=f,B=(c-f)*W;D?(B=-B,B>0?(Y=f-B,B=0):-B+f>c&&(Y=c+B)):B<0?(Y=f+B,B=0):B+f>c&&(Y=c-B),t.isHorizontal()?(O.style.transform=`translate3d(${B}px, 0, 0)`,O.style.width=`${Y}px`):(O.style.transform=`translate3d(0px, ${B}px, 0)`,O.style.height=`${Y}px`),j.hide&&(clearTimeout(o),L.style.opacity=1,o=setTimeout(()=>{L.style.opacity=0,L.style.transitionDuration="400ms"},1e3))}function m(w){!t.params.scrollbar.el||!t.scrollbar.el||(t.scrollbar.dragEl.style.transitionDuration=`${w}ms`)}function h(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:w}=t,{dragEl:D,el:O}=w;D.style.width="",D.style.height="",c=t.isHorizontal()?O.offsetWidth:O.offsetHeight,u=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),t.params.scrollbar.dragSize==="auto"?f=c*u:f=parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?D.style.width=`${f}px`:D.style.height=`${f}px`,u>=1?O.style.display="none":O.style.display="",t.params.scrollbar.hide&&(O.style.opacity=0),t.params.watchOverflow&&t.enabled&&w.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function p(w){return t.isHorizontal()?w.clientX:w.clientY}function b(w){const{scrollbar:D,rtlTranslate:O}=t,{el:L}=D;let j;j=(p(w)-ws(L)[t.isHorizontal()?"left":"top"]-(l!==null?l:f/2))/(c-f),j=Math.max(Math.min(j,1),0),O&&(j=1-j);const W=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*j;t.updateProgress(W),t.setTranslate(W),t.updateActiveIndex(),t.updateSlidesClasses()}function g(w){const D=t.params.scrollbar,{scrollbar:O,wrapperEl:L}=t,{el:j,dragEl:W}=O;i=!0,l=w.target===W?p(w)-w.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,w.preventDefault(),w.stopPropagation(),L.style.transitionDuration="100ms",W.style.transitionDuration="100ms",b(w),clearTimeout(r),j.style.transitionDuration="0ms",D.hide&&(j.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),s("scrollbarDragStart",w)}function v(w){const{scrollbar:D,wrapperEl:O}=t,{el:L,dragEl:j}=D;i&&(w.preventDefault?w.preventDefault():w.returnValue=!1,b(w),O.style.transitionDuration="0ms",L.style.transitionDuration="0ms",j.style.transitionDuration="0ms",s("scrollbarDragMove",w))}function _(w){const D=t.params.scrollbar,{scrollbar:O,wrapperEl:L}=t,{el:j}=O;i&&(i=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",L.style.transitionDuration=""),D.hide&&(clearTimeout(r),r=Tn(()=>{j.style.opacity=0,j.style.transitionDuration="400ms"},1e3)),s("scrollbarDragEnd",w),D.snapOnRelease&&t.slideToClosest())}function k(w){const{scrollbar:D,params:O}=t,L=D.el;if(!L)return;const j=L,W=O.passiveListeners?{passive:!1,capture:!1}:!1,Y=O.passiveListeners?{passive:!0,capture:!1}:!1;if(!j)return;const B=w==="on"?"addEventListener":"removeEventListener";j[B]("pointerdown",g,W),a[B]("pointermove",v,W),a[B]("pointerup",_,Y)}function E(){!t.params.scrollbar.el||!t.scrollbar.el||k("on")}function S(){!t.params.scrollbar.el||!t.scrollbar.el||k("off")}function I(){const{scrollbar:w,el:D}=t;t.params.scrollbar=Ba(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const O=t.params.scrollbar;if(!O.el)return;let L;typeof O.el=="string"&&t.isElement&&(L=t.el.shadowRoot.querySelector(O.el)),!L&&typeof O.el=="string"?L=a.querySelectorAll(O.el):L||(L=O.el),t.params.uniqueNavElements&&typeof O.el=="string"&&L.length>1&&D.querySelectorAll(O.el).length===1&&(L=D.querySelector(O.el)),L.length>0&&(L=L[0]),L.classList.add(t.isHorizontal()?O.horizontalClass:O.verticalClass);let j;L&&(j=L.querySelector(`.${t.params.scrollbar.dragClass}`),j||(j=Xt("div",t.params.scrollbar.dragClass),L.append(j))),Object.assign(w,{el:L,dragEl:j}),O.draggable&&E(),L&&L.classList[t.enabled?"remove":"add"](t.params.scrollbar.lockClass)}function T(){const w=t.params.scrollbar,D=t.scrollbar.el;D&&D.classList.remove(t.isHorizontal()?w.horizontalClass:w.verticalClass),S()}n("init",()=>{t.params.scrollbar.enabled===!1?y():(I(),h(),d())}),n("update resize observerUpdate lock unlock",()=>{h()}),n("setTranslate",()=>{d()}),n("setTransition",(w,D)=>{m(D)}),n("enable disable",()=>{const{el:w}=t.scrollbar;w&&w.classList[t.enabled?"remove":"add"](t.params.scrollbar.lockClass)}),n("destroy",()=>{T()});const A=()=>{t.el.classList.remove(t.params.scrollbar.scrollbarDisabledClass),t.scrollbar.el&&t.scrollbar.el.classList.remove(t.params.scrollbar.scrollbarDisabledClass),I(),h(),d()},y=()=>{t.el.classList.add(t.params.scrollbar.scrollbarDisabledClass),t.scrollbar.el&&t.scrollbar.el.classList.add(t.params.scrollbar.scrollbarDisabledClass),T()};Object.assign(t.scrollbar,{enable:A,disable:y,updateSize:h,setTranslate:d,init:I,destroy:T})}function F3({swiper:t,extendParams:e,on:n}){e({parallax:{enabled:!1}});const s=(o,r)=>{const{rtl:l}=t,f=l?-1:1,c=o.getAttribute("data-swiper-parallax")||"0";let u=o.getAttribute("data-swiper-parallax-x"),d=o.getAttribute("data-swiper-parallax-y");const m=o.getAttribute("data-swiper-parallax-scale"),h=o.getAttribute("data-swiper-parallax-opacity"),p=o.getAttribute("data-swiper-parallax-rotate");if(u||d?(u=u||"0",d=d||"0"):t.isHorizontal()?(u=c,d="0"):(d=c,u="0"),u.indexOf("%")>=0?u=`${parseInt(u,10)*r*f}%`:u=`${u*r*f}px`,d.indexOf("%")>=0?d=`${parseInt(d,10)*r}%`:d=`${d*r}px`,typeof h<"u"&&h!==null){const g=h-(h-1)*(1-Math.abs(r));o.style.opacity=g}let b=`translate3d(${u}, ${d}, 0px)`;if(typeof m<"u"&&m!==null){const g=m-(m-1)*(1-Math.abs(r));b+=` scale(${g})`}if(p&&typeof p<"u"&&p!==null){const g=p*r*-1;b+=` rotate(${g}deg)`}o.style.transform=b},a=()=>{const{el:o,slides:r,progress:l,snapGrid:f}=t;St(o,"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").forEach(c=>{s(c,l)}),r.forEach((c,u)=>{let d=c.progress;t.params.slidesPerGroup>1&&t.params.slidesPerView!=="auto"&&(d+=Math.ceil(u/2)-l*(f.length-1)),d=Math.min(Math.max(d,-1),1),c.querySelectorAll("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale], [data-swiper-parallax-rotate]").forEach(m=>{s(m,d)})})},i=(o=t.params.speed)=>{const{el:r}=t;r.querySelectorAll("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").forEach(l=>{let f=parseInt(l.getAttribute("data-swiper-parallax-duration"),10)||o;o===0&&(f=0),l.style.transitionDuration=`${f}ms`})};n("beforeInit",()=>{t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)}),n("init",()=>{t.params.parallax.enabled&&a()}),n("setTranslate",()=>{t.params.parallax.enabled&&a()}),n("setTransition",(o,r)=>{t.params.parallax.enabled&&i(r)})}function N3({swiper:t,extendParams:e,on:n,emit:s}){const a=Se();e({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};let i=1,o=!1,r,l;const f=[],c={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},u={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},d={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let m=1;Object.defineProperty(t.zoom,"scale",{get(){return m},set(W){if(m!==W){const Y=c.imageEl,B=c.slideEl;s("zoomChange",W,Y,B)}m=W}});function h(){if(f.length<2)return 1;const W=f[0].pageX,Y=f[0].pageY,B=f[1].pageX,q=f[1].pageY;return Math.sqrt((B-W)**2+(q-Y)**2)}function p(){if(f.length<2)return{x:null,y:null};const W=c.imageEl.getBoundingClientRect();return[(f[0].pageX+(f[1].pageX-f[0].pageX)/2-W.x)/i,(f[0].pageY+(f[1].pageY-f[0].pageY)/2-W.y)/i]}function b(){return t.isElement?"swiper-slide":`.${t.params.slideClass}`}function g(W){const Y=b();return!!(W.target.matches(Y)||t.slides.filter(B=>B.contains(W.target)).length>0)}function v(W){const Y=`.${t.params.zoom.containerClass}`;return!!(W.target.matches(Y)||[...t.el.querySelectorAll(Y)].filter(B=>B.contains(W.target)).length>0)}function _(W){if(W.pointerType==="mouse"&&f.splice(0,f.length),!g(W))return;const Y=t.params.zoom;if(r=!1,l=!1,f.push(W),!(f.length<2)){if(r=!0,c.scaleStart=h(),!c.slideEl){c.slideEl=W.target.closest(`.${t.params.slideClass}, swiper-slide`),c.slideEl||(c.slideEl=t.slides[t.activeIndex]);let B=c.slideEl.querySelector(`.${Y.containerClass}`);if(B&&(B=B.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),c.imageEl=B,B?c.imageWrapEl=Sn(c.imageEl,`.${Y.containerClass}`)[0]:c.imageWrapEl=void 0,!c.imageWrapEl){c.imageEl=void 0;return}c.maxRatio=c.imageWrapEl.getAttribute("data-swiper-zoom")||Y.maxRatio}if(c.imageEl){const[B,q]=p();c.originX=B,c.originY=q,c.imageEl.style.transitionDuration="0ms"}o=!0}}function k(W){if(!g(W))return;const Y=t.params.zoom,B=t.zoom,q=f.findIndex(X=>X.pointerId===W.pointerId);q>=0&&(f[q]=W),!(f.length<2)&&(l=!0,c.scaleMove=h(),c.imageEl&&(B.scale=c.scaleMove/c.scaleStart*i,B.scale>c.maxRatio&&(B.scale=c.maxRatio-1+(B.scale-c.maxRatio+1)**.5),B.scaleX.pointerId===W.pointerId);q>=0&&f.splice(q,1),!(!r||!l)&&(r=!1,l=!1,c.imageEl&&(B.scale=Math.max(Math.min(B.scale,c.maxRatio),Y.minRatio),c.imageEl.style.transitionDuration=`${t.params.speed}ms`,c.imageEl.style.transform=`translate3d(0,0,0) scale(${B.scale})`,i=B.scale,o=!1,B.scale>1&&c.slideEl?c.slideEl.classList.add(`${Y.zoomedSlideClass}`):B.scale<=1&&c.slideEl&&c.slideEl.classList.remove(`${Y.zoomedSlideClass}`),B.scale===1&&(c.originX=0,c.originY=0,c.slideEl=void 0)))}function S(W){const Y=t.device;if(!c.imageEl||u.isTouched)return;Y.android&&W.cancelable&&W.preventDefault(),u.isTouched=!0;const B=f.length>0?f[0]:W;u.touchesStart.x=B.pageX,u.touchesStart.y=B.pageY}function I(W){if(!g(W)||!v(W))return;const Y=t.zoom;if(!c.imageEl||!u.isTouched||!c.slideEl)return;u.isMoved||(u.width=c.imageEl.offsetWidth,u.height=c.imageEl.offsetHeight,u.startX=ha(c.imageWrapEl,"x")||0,u.startY=ha(c.imageWrapEl,"y")||0,c.slideWidth=c.slideEl.offsetWidth,c.slideHeight=c.slideEl.offsetHeight,c.imageWrapEl.style.transitionDuration="0ms");const B=u.width*Y.scale,q=u.height*Y.scale;if(B0?f[0].pageX:W.pageX,u.touchesCurrent.y=f.length>0?f[0].pageY:W.pageY,Math.max(Math.abs(u.touchesCurrent.x-u.touchesStart.x),Math.abs(u.touchesCurrent.y-u.touchesStart.y))>5&&(t.allowClick=!1),!u.isMoved&&!o){if(t.isHorizontal()&&(Math.floor(u.minX)===Math.floor(u.startX)&&u.touchesCurrent.xu.touchesStart.x)){u.isTouched=!1;return}if(!t.isHorizontal()&&(Math.floor(u.minY)===Math.floor(u.startY)&&u.touchesCurrent.yu.touchesStart.y)){u.isTouched=!1;return}}W.cancelable&&W.preventDefault(),W.stopPropagation(),u.isMoved=!0;const H=(Y.scale-i)/(c.maxRatio-t.params.zoom.minRatio),{originX:G,originY:ce}=c;u.currentX=u.touchesCurrent.x-u.touchesStart.x+u.startX+H*(u.width-G*2),u.currentY=u.touchesCurrent.y-u.touchesStart.y+u.startY+H*(u.height-ce*2),u.currentXu.maxX&&(u.currentX=u.maxX-1+(u.currentX-u.maxX+1)**.8),u.currentYu.maxY&&(u.currentY=u.maxY-1+(u.currentY-u.maxY+1)**.8),d.prevPositionX||(d.prevPositionX=u.touchesCurrent.x),d.prevPositionY||(d.prevPositionY=u.touchesCurrent.y),d.prevTime||(d.prevTime=Date.now()),d.x=(u.touchesCurrent.x-d.prevPositionX)/(Date.now()-d.prevTime)/2,d.y=(u.touchesCurrent.y-d.prevPositionY)/(Date.now()-d.prevTime)/2,Math.abs(u.touchesCurrent.x-d.prevPositionX)<2&&(d.x=0),Math.abs(u.touchesCurrent.y-d.prevPositionY)<2&&(d.y=0),d.prevPositionX=u.touchesCurrent.x,d.prevPositionY=u.touchesCurrent.y,d.prevTime=Date.now(),c.imageWrapEl.style.transform=`translate3d(${u.currentX}px, ${u.currentY}px,0)`}function T(){const W=t.zoom;if(!c.imageEl)return;if(!u.isTouched||!u.isMoved){u.isTouched=!1,u.isMoved=!1;return}u.isTouched=!1,u.isMoved=!1;let Y=300,B=300;const q=d.x*Y,X=u.currentX+q,H=d.y*B,G=u.currentY+H;d.x!==0&&(Y=Math.abs((X-u.currentX)/d.x)),d.y!==0&&(B=Math.abs((G-u.currentY)/d.y));const ce=Math.max(Y,B);u.currentX=X,u.currentY=G;const ye=u.width*W.scale,ne=u.height*W.scale;u.minX=Math.min(c.slideWidth/2-ye/2,0),u.maxX=-u.minX,u.minY=Math.min(c.slideHeight/2-ne/2,0),u.maxY=-u.minY,u.currentX=Math.max(Math.min(u.currentX,u.maxX),u.minX),u.currentY=Math.max(Math.min(u.currentY,u.maxY),u.minY),c.imageWrapEl.style.transitionDuration=`${ce}ms`,c.imageWrapEl.style.transform=`translate3d(${u.currentX}px, ${u.currentY}px,0)`}function A(){const W=t.zoom;c.slideEl&&t.activeIndex!==t.slides.indexOf(c.slideEl)&&(c.imageEl&&(c.imageEl.style.transform="translate3d(0,0,0) scale(1)"),c.imageWrapEl&&(c.imageWrapEl.style.transform="translate3d(0,0,0)"),c.slideEl.classList.remove(`${t.params.zoom.zoomedSlideClass}`),W.scale=1,i=1,c.slideEl=void 0,c.imageEl=void 0,c.imageWrapEl=void 0,c.originX=0,c.originY=0)}function y(W){const Y=t.zoom,B=t.params.zoom;if(!c.slideEl){W&&W.target&&(c.slideEl=W.target.closest(`.${t.params.slideClass}, swiper-slide`)),c.slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?c.slideEl=St(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:c.slideEl=t.slides[t.activeIndex]);let fe=c.slideEl.querySelector(`.${B.containerClass}`);fe&&(fe=fe.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),c.imageEl=fe,fe?c.imageWrapEl=Sn(c.imageEl,`.${B.containerClass}`)[0]:c.imageWrapEl=void 0}if(!c.imageEl||!c.imageWrapEl)return;t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),c.slideEl.classList.add(`${B.zoomedSlideClass}`);let q,X,H,G,ce,ye,ne,me,K,pe,ke,he,re,Ce,Pe,Ve,Me,He;typeof u.touchesStart.x>"u"&&W?(q=W.pageX,X=W.pageY):(q=u.touchesStart.x,X=u.touchesStart.y);const ze=typeof W=="number"?W:null;i===1&&ze&&(q=void 0,X=void 0),Y.scale=ze||c.imageWrapEl.getAttribute("data-swiper-zoom")||B.maxRatio,i=ze||c.imageWrapEl.getAttribute("data-swiper-zoom")||B.maxRatio,W&&!(i===1&&ze)?(Me=c.slideEl.offsetWidth,He=c.slideEl.offsetHeight,H=ws(c.slideEl).left+a.scrollX,G=ws(c.slideEl).top+a.scrollY,ce=H+Me/2-q,ye=G+He/2-X,K=c.imageEl.offsetWidth,pe=c.imageEl.offsetHeight,ke=K*Y.scale,he=pe*Y.scale,re=Math.min(Me/2-ke/2,0),Ce=Math.min(He/2-he/2,0),Pe=-re,Ve=-Ce,ne=ce*Y.scale,me=ye*Y.scale,nePe&&(ne=Pe),meVe&&(me=Ve)):(ne=0,me=0),ze&&Y.scale===1&&(c.originX=0,c.originY=0),c.imageWrapEl.style.transitionDuration="300ms",c.imageWrapEl.style.transform=`translate3d(${ne}px, ${me}px,0)`,c.imageEl.style.transitionDuration="300ms",c.imageEl.style.transform=`translate3d(0,0,0) scale(${Y.scale})`}function w(){const W=t.zoom,Y=t.params.zoom;if(!c.slideEl){t.params.virtual&&t.params.virtual.enabled&&t.virtual?c.slideEl=St(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:c.slideEl=t.slides[t.activeIndex];let B=c.slideEl.querySelector(`.${Y.containerClass}`);B&&(B=B.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),c.imageEl=B,B?c.imageWrapEl=Sn(c.imageEl,`.${Y.containerClass}`)[0]:c.imageWrapEl=void 0}!c.imageEl||!c.imageWrapEl||(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),W.scale=1,i=1,c.imageWrapEl.style.transitionDuration="300ms",c.imageWrapEl.style.transform="translate3d(0,0,0)",c.imageEl.style.transitionDuration="300ms",c.imageEl.style.transform="translate3d(0,0,0) scale(1)",c.slideEl.classList.remove(`${Y.zoomedSlideClass}`),c.slideEl=void 0,c.originX=0,c.originY=0)}function D(W){const Y=t.zoom;Y.scale&&Y.scale!==1?w():y(W)}function O(){const W=t.params.passiveListeners?{passive:!0,capture:!1}:!1,Y=t.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:W,activeListenerWithCapture:Y}}function L(){const W=t.zoom;if(W.enabled)return;W.enabled=!0;const{passiveListener:Y,activeListenerWithCapture:B}=O();t.wrapperEl.addEventListener("pointerdown",_,Y),t.wrapperEl.addEventListener("pointermove",k,B),["pointerup","pointercancel","pointerout"].forEach(q=>{t.wrapperEl.addEventListener(q,E,Y)}),t.wrapperEl.addEventListener("pointermove",I,B)}function j(){const W=t.zoom;if(!W.enabled)return;W.enabled=!1;const{passiveListener:Y,activeListenerWithCapture:B}=O();t.wrapperEl.removeEventListener("pointerdown",_,Y),t.wrapperEl.removeEventListener("pointermove",k,B),["pointerup","pointercancel","pointerout"].forEach(q=>{t.wrapperEl.removeEventListener(q,E,Y)}),t.wrapperEl.removeEventListener("pointermove",I,B)}n("init",()=>{t.params.zoom.enabled&&L()}),n("destroy",()=>{j()}),n("touchStart",(W,Y)=>{t.zoom.enabled&&S(Y)}),n("touchEnd",(W,Y)=>{t.zoom.enabled&&T()}),n("doubleTap",(W,Y)=>{!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&D(Y)}),n("transitionEnd",()=>{t.zoom.enabled&&t.params.zoom.enabled&&A()}),n("slideChange",()=>{t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&A()}),Object.assign(t.zoom,{enable:L,disable:j,in:y,out:w,toggle:D})}function V3({swiper:t,extendParams:e,on:n}){e({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0};function s(l,f){const c=function(){let h,p,b;return(g,v)=>{for(p=-1,h=g.length;h-p>1;)b=h+p>>1,g[b]<=v?p=b:h=b;return h}}();this.x=l,this.y=f,this.lastIndex=l.length-1;let u,d;return this.interpolate=function(h){return h?(d=c(this.x,h),u=d-1,(h-this.x[u])*(this.y[d]-this.y[u])/(this.x[d]-this.x[u])+this.y[u]):0},this}function a(l){t.controller.spline=t.params.loop?new s(t.slidesGrid,l.slidesGrid):new s(t.snapGrid,l.snapGrid)}function i(l,f){const c=t.controller.control;let u,d;const m=t.constructor;function h(p){if(p.destroyed)return;const b=t.rtlTranslate?-t.translate:t.translate;t.params.controller.by==="slide"&&(a(p),d=-t.controller.spline.interpolate(-b)),(!d||t.params.controller.by==="container")&&(u=(p.maxTranslate()-p.minTranslate())/(t.maxTranslate()-t.minTranslate()),(Number.isNaN(u)||!Number.isFinite(u))&&(u=1),d=(b-t.minTranslate())*u+p.minTranslate()),t.params.controller.inverse&&(d=p.maxTranslate()-d),p.updateProgress(d),p.setTranslate(d,t),p.updateActiveIndex(),p.updateSlidesClasses()}if(Array.isArray(c))for(let p=0;p{h.updateAutoHeight()}),Jn(h.wrapperEl,()=>{u&&h.transitionEnd()})))}if(Array.isArray(u))for(d=0;d{if(typeof window<"u"&&(typeof t.params.controller.control=="string"||t.params.controller.control instanceof HTMLElement)){const l=document.querySelector(t.params.controller.control);if(l&&l.swiper)t.controller.control=l.swiper;else if(l){const f=c=>{t.controller.control=c.detail[0],t.update(),l.removeEventListener("init",f)};l.addEventListener("init",f)}return}t.controller.control=t.params.controller.control}),n("update",()=>{r()}),n("resize",()=>{r()}),n("observerUpdate",()=>{r()}),n("setTranslate",(l,f,c)=>{!t.controller.control||t.controller.control.destroyed||t.controller.setTranslate(f,c)}),n("setTransition",(l,f,c)=>{!t.controller.control||t.controller.control.destroyed||t.controller.setTransition(f,c)}),Object.assign(t.controller,{setTranslate:i,setTransition:o})}function Y3({swiper:t,extendParams:e,on:n}){e({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),t.a11y={clicked:!1};let s=null;function a(O){const L=s;L.length!==0&&(L.innerHTML="",L.innerHTML=O)}const i=O=>(Array.isArray(O)||(O=[O].filter(L=>!!L)),O);function o(O=16){const L=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(O).replace(/x/g,L)}function r(O){O=i(O),O.forEach(L=>{L.setAttribute("tabIndex","0")})}function l(O){O=i(O),O.forEach(L=>{L.setAttribute("tabIndex","-1")})}function f(O,L){O=i(O),O.forEach(j=>{j.setAttribute("role",L)})}function c(O,L){O=i(O),O.forEach(j=>{j.setAttribute("aria-roledescription",L)})}function u(O,L){O=i(O),O.forEach(j=>{j.setAttribute("aria-controls",L)})}function d(O,L){O=i(O),O.forEach(j=>{j.setAttribute("aria-label",L)})}function m(O,L){O=i(O),O.forEach(j=>{j.setAttribute("id",L)})}function h(O,L){O=i(O),O.forEach(j=>{j.setAttribute("aria-live",L)})}function p(O){O=i(O),O.forEach(L=>{L.setAttribute("aria-disabled",!0)})}function b(O){O=i(O),O.forEach(L=>{L.setAttribute("aria-disabled",!1)})}function g(O){if(O.keyCode!==13&&O.keyCode!==32)return;const L=t.params.a11y,j=O.target;t.pagination&&t.pagination.el&&(j===t.pagination.el||t.pagination.el.contains(O.target))&&!O.target.matches(mn(t.params.pagination.bulletClass))||(t.navigation&&t.navigation.nextEl&&j===t.navigation.nextEl&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?a(L.lastSlideMessage):a(L.nextSlideMessage)),t.navigation&&t.navigation.prevEl&&j===t.navigation.prevEl&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?a(L.firstSlideMessage):a(L.prevSlideMessage)),t.pagination&&j.matches(mn(t.params.pagination.bulletClass))&&j.click())}function v(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:O,prevEl:L}=t.navigation;L&&(t.isBeginning?(p(L),l(L)):(b(L),r(L))),O&&(t.isEnd?(p(O),l(O)):(b(O),r(O)))}function _(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function k(){return _()&&t.params.pagination.clickable}function E(){const O=t.params.a11y;_()&&t.pagination.bullets.forEach(L=>{t.params.pagination.clickable&&(r(L),t.params.pagination.renderBullet||(f(L,"button"),d(L,O.paginationBulletMessage.replace(/\{\{index\}\}/,ss(L)+1)))),L.matches(mn(t.params.pagination.bulletActiveClass))?L.setAttribute("aria-current","true"):L.removeAttribute("aria-current")})}const S=(O,L,j)=>{r(O),O.tagName!=="BUTTON"&&(f(O,"button"),O.addEventListener("keydown",g)),d(O,j),u(O,L)},I=()=>{t.a11y.clicked=!0},T=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{t.destroyed||(t.a11y.clicked=!1)})})},A=O=>{if(t.a11y.clicked)return;const L=O.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!L||!t.slides.includes(L))return;const j=t.slides.indexOf(L)===t.activeIndex,W=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(L);j||W||O.sourceCapabilities&&O.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,t.slideTo(t.slides.indexOf(L),0))},y=()=>{const O=t.params.a11y;O.itemRoleDescriptionMessage&&c(t.slides,O.itemRoleDescriptionMessage),O.slideRole&&f(t.slides,O.slideRole);const L=t.slides.length;O.slideLabelMessage&&t.slides.forEach((j,W)=>{const Y=t.params.loop?parseInt(j.getAttribute("data-swiper-slide-index"),10):W,B=O.slideLabelMessage.replace(/\{\{index\}\}/,Y+1).replace(/\{\{slidesLength\}\}/,L);d(j,B)})},w=()=>{const O=t.params.a11y;t.isElement?t.el.shadowEl.append(s):t.el.append(s);const L=t.el;O.containerRoleDescriptionMessage&&c(L,O.containerRoleDescriptionMessage),O.containerMessage&&d(L,O.containerMessage);const j=t.wrapperEl,W=O.id||j.getAttribute("id")||`swiper-wrapper-${o(16)}`,Y=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";m(j,W),h(j,Y),y();let{nextEl:B,prevEl:q}=t.navigation?t.navigation:{};B=i(B),q=i(q),B&&B.forEach(X=>S(X,W,O.nextSlideMessage)),q&&q.forEach(X=>S(X,W,O.prevSlideMessage)),k()&&(Array.isArray(t.pagination.el)?t.pagination.el:[t.pagination.el]).forEach(H=>{H.addEventListener("keydown",g)}),t.el.addEventListener("focus",A,!0),t.el.addEventListener("pointerdown",I,!0),t.el.addEventListener("pointerup",T,!0)};function D(){s&&s.remove();let{nextEl:O,prevEl:L}=t.navigation?t.navigation:{};O=i(O),L=i(L),O&&O.forEach(j=>j.removeEventListener("keydown",g)),L&&L.forEach(j=>j.removeEventListener("keydown",g)),k()&&(Array.isArray(t.pagination.el)?t.pagination.el:[t.pagination.el]).forEach(W=>{W.removeEventListener("keydown",g)}),t.el.removeEventListener("focus",A,!0),t.el.removeEventListener("pointerdown",I,!0),t.el.removeEventListener("pointerup",T,!0)}n("beforeInit",()=>{s=Xt("span",t.params.a11y.notificationClass),s.setAttribute("aria-live","assertive"),s.setAttribute("aria-atomic","true")}),n("afterInit",()=>{t.params.a11y.enabled&&w()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{t.params.a11y.enabled&&y()}),n("fromEdge toEdge afterInit lock unlock",()=>{t.params.a11y.enabled&&v()}),n("paginationUpdate",()=>{t.params.a11y.enabled&&E()}),n("destroy",()=>{t.params.a11y.enabled&&D()})}function q3({swiper:t,extendParams:e,on:n}){e({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let s=!1,a={};const i=d=>d.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),o=d=>{const m=Se();let h;d?h=new URL(d):h=m.location;const p=h.pathname.slice(1).split("/").filter(_=>_!==""),b=p.length,g=p[b-2],v=p[b-1];return{key:g,value:v}},r=(d,m)=>{const h=Se();if(!s||!t.params.history.enabled)return;let p;t.params.url?p=new URL(t.params.url):p=h.location;const b=t.slides[m];let g=i(b.getAttribute("data-history"));if(t.params.history.root.length>0){let _=t.params.history.root;_[_.length-1]==="/"&&(_=_.slice(0,_.length-1)),g=`${_}/${d?`${d}/`:""}${g}`}else p.pathname.includes(d)||(g=`${d?`${d}/`:""}${g}`);t.params.history.keepQuery&&(g+=p.search);const v=h.history.state;v&&v.value===g||(t.params.history.replaceState?h.history.replaceState({value:g},null,g):h.history.pushState({value:g},null,g))},l=(d,m,h)=>{if(m)for(let p=0,b=t.slides.length;p{a=o(t.params.url),l(t.params.speed,a.value,!1)},c=()=>{const d=Se();if(t.params.history){if(!d.history||!d.history.pushState){t.params.history.enabled=!1,t.params.hashNavigation.enabled=!0;return}if(s=!0,a=o(t.params.url),!a.key&&!a.value){t.params.history.replaceState||d.addEventListener("popstate",f);return}l(0,a.value,t.params.runCallbacksOnInit),t.params.history.replaceState||d.addEventListener("popstate",f)}},u=()=>{const d=Se();t.params.history.replaceState||d.removeEventListener("popstate",f)};n("init",()=>{t.params.history.enabled&&c()}),n("destroy",()=>{t.params.history.enabled&&u()}),n("transitionEnd _freeModeNoMomentumRelease",()=>{s&&r(t.params.history.key,t.activeIndex)}),n("slideChange",()=>{s&&t.params.cssMode&&r(t.params.history.key,t.activeIndex)})}function W3({swiper:t,extendParams:e,emit:n,on:s}){let a=!1;const i=Le(),o=Se();e({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(u,d){if(t.virtual&&t.params.virtual.enabled){const m=t.slides.filter(p=>p.getAttribute("data-hash")===d)[0];return m?parseInt(m.getAttribute("data-swiper-slide-index"),10):0}return t.getSlideIndex(St(t.slidesEl,`.${t.params.slideClass}[data-hash="${d}"], swiper-slide[data-hash="${d}"]`)[0])}}});const r=()=>{n("hashChange");const u=i.location.hash.replace("#",""),d=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex],m=d?d.getAttribute("data-hash"):"";if(u!==m){const h=t.params.hashNavigation.getSlideIndex(t,u);if(typeof h>"u"||Number.isNaN(h))return;t.slideTo(h)}},l=()=>{if(!a||!t.params.hashNavigation.enabled)return;const u=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex],d=u?u.getAttribute("data-hash")||u.getAttribute("data-history"):"";t.params.hashNavigation.replaceState&&o.history&&o.history.replaceState?(o.history.replaceState(null,null,`#${d}`||""),n("hashSet")):(i.location.hash=d||"",n("hashSet"))},f=()=>{if(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)return;a=!0;const u=i.location.hash.replace("#","");if(u){const m=t.params.hashNavigation.getSlideIndex(t,u);t.slideTo(m||0,0,t.params.runCallbacksOnInit,!0)}t.params.hashNavigation.watchState&&o.addEventListener("hashchange",r)},c=()=>{t.params.hashNavigation.watchState&&o.removeEventListener("hashchange",r)};s("init",()=>{t.params.hashNavigation.enabled&&f()}),s("destroy",()=>{t.params.hashNavigation.enabled&&c()}),s("transitionEnd _freeModeNoMomentumRelease",()=>{a&&l()}),s("slideChange",()=>{a&&t.params.cssMode&&l()})}function j3({swiper:t,extendParams:e,on:n,emit:s,params:a}){t.autoplay={running:!1,paused:!1,timeLeft:0},e({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let i,o,r=a&&a.autoplay?a.autoplay.delay:3e3,l=a&&a.autoplay?a.autoplay.delay:3e3,f,c=new Date().getTime,u,d,m,h,p,b;function g(W){!t||t.destroyed||!t.wrapperEl||W.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",g),T())}const v=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?u=!0:u&&(l=f,u=!1);const W=t.autoplay.paused?f:c+l-new Date().getTime();t.autoplay.timeLeft=W,s("autoplayTimeLeft",W,W/r),o=requestAnimationFrame(()=>{v()})},_=()=>{let W;return t.virtual&&t.params.virtual.enabled?W=t.slides.filter(B=>B.classList.contains("swiper-slide-active"))[0]:W=t.slides[t.activeIndex],W?parseInt(W.getAttribute("data-swiper-autoplay"),10):void 0},k=W=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(o),v();let Y=typeof W>"u"?t.params.autoplay.delay:W;r=t.params.autoplay.delay,l=t.params.autoplay.delay;const B=_();!Number.isNaN(B)&&B>0&&typeof W>"u"&&(Y=B,r=B,l=B),f=Y;const q=t.params.speed,X=()=>{!t||t.destroyed||(t.params.autoplay.reverseDirection?!t.isBeginning||t.params.loop||t.params.rewind?(t.slidePrev(q,!0,!0),s("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(t.slides.length-1,q,!0,!0),s("autoplay")):!t.isEnd||t.params.loop||t.params.rewind?(t.slideNext(q,!0,!0),s("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(0,q,!0,!0),s("autoplay")),t.params.cssMode&&(c=new Date().getTime(),requestAnimationFrame(()=>{k()})))};return Y>0?(clearTimeout(i),i=setTimeout(()=>{X()},Y)):requestAnimationFrame(()=>{X()}),Y},E=()=>{t.autoplay.running=!0,k(),s("autoplayStart")},S=()=>{t.autoplay.running=!1,clearTimeout(i),cancelAnimationFrame(o),s("autoplayStop")},I=(W,Y)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(i),W||(b=!0);const B=()=>{s("autoplayPause"),t.params.autoplay.waitForTransition?t.wrapperEl.addEventListener("transitionend",g):T()};if(t.autoplay.paused=!0,Y){p&&(f=t.params.autoplay.delay),p=!1,B();return}f=(f||t.params.autoplay.delay)-(new Date().getTime()-c),!(t.isEnd&&f<0&&!t.params.loop)&&(f<0&&(f=0),B())},T=()=>{t.isEnd&&f<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(c=new Date().getTime(),b?(b=!1,k(f)):k(),t.autoplay.paused=!1,s("autoplayResume"))},A=()=>{if(t.destroyed||!t.autoplay.running)return;const W=Le();W.visibilityState==="hidden"&&(b=!0,I(!0)),W.visibilityState==="visible"&&T()},y=W=>{W.pointerType==="mouse"&&(b=!0,I(!0))},w=W=>{W.pointerType==="mouse"&&t.autoplay.paused&&T()},D=()=>{t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",y),t.el.addEventListener("pointerleave",w))},O=()=>{t.el.removeEventListener("pointerenter",y),t.el.removeEventListener("pointerleave",w)},L=()=>{Le().addEventListener("visibilitychange",A)},j=()=>{Le().removeEventListener("visibilitychange",A)};n("init",()=>{t.params.autoplay.enabled&&(D(),L(),c=new Date().getTime(),E())}),n("destroy",()=>{O(),j(),t.autoplay.running&&S()}),n("beforeTransitionStart",(W,Y,B)=>{t.destroyed||!t.autoplay.running||(B||!t.params.autoplay.disableOnInteraction?I(!0,!0):S())}),n("sliderFirstMove",()=>{if(!(t.destroyed||!t.autoplay.running)){if(t.params.autoplay.disableOnInteraction){S();return}d=!0,m=!1,b=!1,h=setTimeout(()=>{b=!0,m=!0,I(!0)},200)}}),n("touchEnd",()=>{if(!(t.destroyed||!t.autoplay.running||!d)){if(clearTimeout(h),clearTimeout(i),t.params.autoplay.disableOnInteraction){m=!1,d=!1;return}m&&t.params.cssMode&&T(),m=!1,d=!1}}),n("slideChange",()=>{t.destroyed||!t.autoplay.running||(p=!0)}),Object.assign(t.autoplay,{start:E,stop:S,pause:I,resume:T})}function X3({swiper:t,extendParams:e,on:n}){e({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let s=!1,a=!1;t.thumbs={swiper:null};function i(){const l=t.thumbs.swiper;if(!l||l.destroyed)return;const f=l.clickedIndex,c=l.clickedSlide;if(c&&c.classList.contains(t.params.thumbs.slideThumbActiveClass)||typeof f>"u"||f===null)return;let u;l.params.loop?u=parseInt(l.clickedSlide.getAttribute("data-swiper-slide-index"),10):u=f,t.params.loop?t.slideToLoop(u):t.slideTo(u)}function o(){const{thumbs:l}=t.params;if(s)return!1;s=!0;const f=t.constructor;if(l.swiper instanceof f)t.thumbs.swiper=l.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper.update();else if($n(l.swiper)){const c=Object.assign({},l.swiper);Object.assign(c,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new f(c),a=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",i),!0}function r(l){const f=t.thumbs.swiper;if(!f||f.destroyed)return;const c=f.params.slidesPerView==="auto"?f.slidesPerViewDynamic():f.params.slidesPerView;let u=1;const d=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(u=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(u=1),u=Math.floor(u),f.slides.forEach(p=>p.classList.remove(d)),f.params.loop||f.params.virtual&&f.params.virtual.enabled)for(let p=0;p{b.classList.add(d)});else for(let p=0;p_.getAttribute("data-swiper-slide-index")===`${t.realIndex}`)[0];b=f.slides.indexOf(v),g=t.activeIndex>t.previousIndex?"next":"prev"}else b=t.realIndex,g=b>t.previousIndex?"next":"prev";h&&(b+=g==="next"?m:-1*m),f.visibleSlidesIndexes&&f.visibleSlidesIndexes.indexOf(b)<0&&(f.params.centeredSlides?b>p?b=b-Math.floor(c/2)+1:b=b+Math.floor(c/2)-1:b>p&&f.params.slidesPerGroup,f.slideTo(b,l?0:void 0))}}n("beforeInit",()=>{const{thumbs:l}=t.params;if(!(!l||!l.swiper))if(typeof l.swiper=="string"||l.swiper instanceof HTMLElement){const f=Le(),c=()=>{const d=typeof l.swiper=="string"?f.querySelector(l.swiper):l.swiper;if(d&&d.swiper)l.swiper=d.swiper,o(),r(!0);else if(d){const m=h=>{l.swiper=h.detail[0],d.removeEventListener("init",m),o(),r(!0),l.swiper.update(),t.update()};d.addEventListener("init",m)}return d},u=()=>{if(t.destroyed)return;c()||requestAnimationFrame(u)};requestAnimationFrame(u)}else o(),r(!0)}),n("slideChange update resize observerUpdate",()=>{r()}),n("setTransition",(l,f)=>{const c=t.thumbs.swiper;!c||c.destroyed||c.setTransition(f)}),n("beforeDestroy",()=>{const l=t.thumbs.swiper;!l||l.destroyed||a&&l.destroy()}),Object.assign(t.thumbs,{init:o,update:r})}function G3({swiper:t,extendParams:e,emit:n,once:s}){e({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function a(){if(t.params.cssMode)return;const r=t.getTranslate();t.setTranslate(r),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})}function i(){if(t.params.cssMode)return;const{touchEventsData:r,touches:l}=t;r.velocities.length===0&&r.velocities.push({position:l[t.isHorizontal()?"startX":"startY"],time:r.touchStartTime}),r.velocities.push({position:l[t.isHorizontal()?"currentX":"currentY"],time:Wt()})}function o({currentPos:r}){if(t.params.cssMode)return;const{params:l,wrapperEl:f,rtlTranslate:c,snapGrid:u,touchEventsData:d}=t,h=Wt()-d.touchStartTime;if(r<-t.minTranslate()){t.slideTo(t.activeIndex);return}if(r>-t.maxTranslate()){t.slides.length1){const S=d.velocities.pop(),I=d.velocities.pop(),T=S.position-I.position,A=S.time-I.time;t.velocity=T/A,t.velocity/=2,Math.abs(t.velocity)150||Wt()-S.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=l.freeMode.momentumVelocityRatio,d.velocities.length=0;let p=1e3*l.freeMode.momentumRatio;const b=t.velocity*p;let g=t.translate+b;c&&(g=-g);let v=!1,_;const k=Math.abs(t.velocity)*20*l.freeMode.momentumBounceRatio;let E;if(gt.minTranslate())l.freeMode.momentumBounce?(g-t.minTranslate()>k&&(g=t.minTranslate()+k),_=t.minTranslate(),v=!0,d.allowMomentumBounce=!0):g=t.minTranslate(),l.loop&&l.centeredSlides&&(E=!0);else if(l.freeMode.sticky){let S;for(let I=0;I-g){S=I;break}Math.abs(u[S]-g){t.loopFix()}),t.velocity!==0){if(c?p=Math.abs((-g-t.translate)/t.velocity):p=Math.abs((g-t.translate)/t.velocity),l.freeMode.sticky){const S=Math.abs((c?-g:g)-t.translate),I=t.slidesSizesGrid[t.activeIndex];S{!t||t.destroyed||!d.allowMomentumBounce||(n("momentumBounce"),t.setTransition(l.speed),setTimeout(()=>{t.setTranslate(_),Jn(f,()=>{!t||t.destroyed||t.transitionEnd()})},0))})):t.velocity?(n("_freeModeNoMomentumRelease"),t.updateProgress(g),t.setTransition(p),t.setTranslate(g),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,Jn(f,()=>{!t||t.destroyed||t.transitionEnd()}))):t.updateProgress(g),t.updateActiveIndex(),t.updateSlidesClasses()}else if(l.freeMode.sticky){t.slideToClosest();return}else l.freeMode&&n("_freeModeNoMomentumRelease");(!l.freeMode.momentum||h>=l.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}Object.assign(t,{freeMode:{onTouchStart:a,onTouchMove:i,onTouchEnd:o}})}function U3({swiper:t,extendParams:e}){e({grid:{rows:1,fill:"column"}});let n,s,a;const i=()=>{let f=t.params.spaceBetween;return typeof f=="string"&&f.indexOf("%")>=0?f=parseFloat(f.replace("%",""))/100*t.size:typeof f=="string"&&(f=parseFloat(f)),f},o=f=>{const{slidesPerView:c}=t.params,{rows:u,fill:d}=t.params.grid;a=Math.floor(f/u),Math.floor(f/u)===f/u?n=f:n=Math.ceil(f/u)*u,c!=="auto"&&d==="row"&&(n=Math.max(n,c*u)),s=n/u},r=(f,c,u,d)=>{const{slidesPerGroup:m}=t.params,h=i(),{rows:p,fill:b}=t.params.grid;let g,v,_;if(b==="row"&&m>1){const k=Math.floor(f/(m*p)),E=f-p*m*k,S=k===0?m:Math.min(Math.ceil((u-k*p*m)/p),m);_=Math.floor(E/S),v=E-_*S+k*m,g=v+_*n/p,c.style.order=g}else b==="column"?(v=Math.floor(f/p),_=f-v*p,(v>a||v===a&&_===p-1)&&(_+=1,_>=p&&(_=0,v+=1))):(_=Math.floor(f/s),v=f-_*s);c.row=_,c.column=v,c.style[d("margin-top")]=_!==0?h&&`${h}px`:""},l=(f,c,u)=>{const{centeredSlides:d,roundLengths:m}=t.params,h=i(),{rows:p}=t.params.grid;if(t.virtualSize=(f+h)*n,t.virtualSize=Math.ceil(t.virtualSize/p)-h,t.wrapperEl.style[u("width")]=`${t.virtualSize+h}px`,d){const b=[];for(let g=0;g{if(typeof i=="string"){const o=document.createElement("div");o.innerHTML=i,s.append(o.children[0]),o.innerHTML=""}else s.append(i)};if(typeof t=="object"&&"length"in t)for(let i=0;i{if(typeof r=="string"){const l=document.createElement("div");l.innerHTML=r,a.prepend(l.children[0]),l.innerHTML=""}else a.prepend(r)};if(typeof t=="object"&&"length"in t){for(let r=0;r=r){n.appendSlide(e);return}let l=o>t?o+1:o;const f=[];for(let c=r-1;c>=t;c-=1){const u=n.slides[c];u.remove(),f.unshift(u)}if(typeof e=="object"&&"length"in e){for(let c=0;ct?o+e.length:o}else i.append(e);for(let c=0;c{if(n.params.effect!==e)return;n.classNames.push(`${n.params.containerModifierClass}${e}`),r&&r()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const u=o?o():{};Object.assign(n.params,u),Object.assign(n.originalParams,u)}),s("setTranslate",()=>{n.params.effect===e&&a()}),s("setTransition",(u,d)=>{n.params.effect===e&&i(d)}),s("transitionEnd",()=>{if(n.params.effect===e&&l){if(!f||!f().slideShadows)return;n.slides.forEach(u=>{u.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(d=>d.remove())}),l()}});let c;s("virtualUpdate",()=>{n.params.effect===e&&(n.slides.length||(c=!0),requestAnimationFrame(()=>{c&&n.slides&&n.slides.length&&(a(),c=!1)}))})}function us(t,e){const n=Pn(e);return n!==e&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function zs({swiper:t,duration:e,transformElements:n,allSlides:s}){const{activeIndex:a}=t,i=o=>o.parentElement?o.parentElement:t.slides.filter(l=>l.shadowEl&&l.shadowEl===o.parentNode)[0];if(t.params.virtualTranslate&&e!==0){let o=!1,r;s?r=n:r=n.filter(l=>{const f=l.classList.contains("swiper-slide-transform")?i(l):l;return t.getSlideIndex(f)===a}),r.forEach(l=>{Jn(l,()=>{if(o||!t||t.destroyed)return;o=!0,t.animating=!1;const f=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(f)})})}}function ew({swiper:t,extendParams:e,on:n}){e({fadeEffect:{crossFade:!1}}),Yn({effect:"fade",swiper:t,on:n,setTranslate:()=>{const{slides:i}=t,o=t.params.fadeEffect;for(let r=0;r{const o=t.slides.map(r=>Pn(r));o.forEach(r=>{r.style.transitionDuration=`${i}ms`}),zs({swiper:t,duration:i,transformElements:o,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function tw({swiper:t,extendParams:e,on:n}){e({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const s=(r,l,f)=>{let c=f?r.querySelector(".swiper-slide-shadow-left"):r.querySelector(".swiper-slide-shadow-top"),u=f?r.querySelector(".swiper-slide-shadow-right"):r.querySelector(".swiper-slide-shadow-bottom");c||(c=Xt("div",`swiper-slide-shadow-${f?"left":"top"}`),r.append(c)),u||(u=Xt("div",`swiper-slide-shadow-${f?"right":"bottom"}`),r.append(u)),c&&(c.style.opacity=Math.max(-l,0)),u&&(u.style.opacity=Math.max(l,0))};Yn({effect:"cube",swiper:t,on:n,setTranslate:()=>{const{el:r,wrapperEl:l,slides:f,width:c,height:u,rtlTranslate:d,size:m,browser:h}=t,p=t.params.cubeEffect,b=t.isHorizontal(),g=t.virtual&&t.params.virtual.enabled;let v=0,_;p.shadow&&(b?(_=t.slidesEl.querySelector(".swiper-cube-shadow"),_||(_=Xt("div","swiper-cube-shadow"),t.slidesEl.append(_)),_.style.height=`${c}px`):(_=r.querySelector(".swiper-cube-shadow"),_||(_=Xt("div","swiper-cube-shadow"),r.append(_))));for(let E=0;E-1&&(v=I*90+y*90,d&&(v=-I*90-y*90)),S.style.transform=L,p.slideShadows&&s(S,y,b)}if(l.style.transformOrigin=`50% 50% -${m/2}px`,l.style["-webkit-transform-origin"]=`50% 50% -${m/2}px`,p.shadow)if(b)_.style.transform=`translate3d(0px, ${c/2+p.shadowOffset}px, ${-c/2}px) rotateX(90deg) rotateZ(0deg) scale(${p.shadowScale})`;else{const E=Math.abs(v)-Math.floor(Math.abs(v)/90)*90,S=1.5-(Math.sin(E*2*Math.PI/360)/2+Math.cos(E*2*Math.PI/360)/2),I=p.shadowScale,T=p.shadowScale/S,A=p.shadowOffset;_.style.transform=`scale3d(${I}, 1, ${T}) translate3d(0px, ${u/2+A}px, ${-u/2/T}px) rotateX(-90deg)`}const k=(h.isSafari||h.isWebView)&&h.needPerspectiveFix?-m/2:0;l.style.transform=`translate3d(0px,0,${k}px) rotateX(${t.isHorizontal()?0:v}deg) rotateY(${t.isHorizontal()?-v:0}deg)`,l.style.setProperty("--swiper-cube-translate-z",`${k}px`)},setTransition:r=>{const{el:l,slides:f}=t;if(f.forEach(c=>{c.style.transitionDuration=`${r}ms`,c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${r}ms`})}),t.params.cubeEffect.shadow&&!t.isHorizontal()){const c=l.querySelector(".swiper-cube-shadow");c&&(c.style.transitionDuration=`${r}ms`)}},recreateShadows:()=>{const r=t.isHorizontal();t.slides.forEach(l=>{const f=Math.max(Math.min(l.progress,1),-1);s(l,f,r)})},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function Hn(t,e,n){const s=`swiper-slide-shadow${n?`-${n}`:""}`,a=Pn(e);let i=a.querySelector(`.${s}`);return i||(i=Xt("div",`swiper-slide-shadow${n?`-${n}`:""}`),a.append(i)),i}function sw({swiper:t,extendParams:e,on:n}){e({flipEffect:{slideShadows:!0,limitRotation:!0}});const s=(r,l,f)=>{let c=t.isHorizontal()?r.querySelector(".swiper-slide-shadow-left"):r.querySelector(".swiper-slide-shadow-top"),u=t.isHorizontal()?r.querySelector(".swiper-slide-shadow-right"):r.querySelector(".swiper-slide-shadow-bottom");c||(c=Hn(f,r,t.isHorizontal()?"left":"top")),u||(u=Hn(f,r,t.isHorizontal()?"right":"bottom")),c&&(c.style.opacity=Math.max(-l,0)),u&&(u.style.opacity=Math.max(l,0))};Yn({effect:"flip",swiper:t,on:n,setTranslate:()=>{const{slides:r,rtlTranslate:l}=t,f=t.params.flipEffect;for(let c=0;c{const l=t.slides.map(f=>Pn(f));l.forEach(f=>{f.style.transitionDuration=`${r}ms`,f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(c=>{c.style.transitionDuration=`${r}ms`})}),zs({swiper:t,duration:r,transformElements:l})},recreateShadows:()=>{const r=t.params.flipEffect;t.slides.forEach(l=>{let f=l.progress;t.params.flipEffect.limitRotation&&(f=Math.max(Math.min(l.progress,1),-1)),s(l,f,r)})},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function aw({swiper:t,extendParams:e,on:n}){e({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),Yn({effect:"coverflow",swiper:t,on:n,setTranslate:()=>{const{width:i,height:o,slides:r,slidesSizesGrid:l}=t,f=t.params.coverflowEffect,c=t.isHorizontal(),u=t.translate,d=c?-u+i/2:-u+o/2,m=c?f.rotate:-f.rotate,h=f.depth;for(let p=0,b=r.length;p0?E:0),W&&(W.style.opacity=-E>0?-E:0)}}},setTransition:i=>{t.slides.map(r=>Pn(r)).forEach(r=>{r.style.transitionDuration=`${i}ms`,r.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(l=>{l.style.transitionDuration=`${i}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function iw({swiper:t,extendParams:e,on:n}){e({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const s=o=>typeof o=="string"?o:`${o}px`;Yn({effect:"creative",swiper:t,on:n,setTranslate:()=>{const{slides:o,wrapperEl:r,slidesSizesGrid:l}=t,f=t.params.creativeEffect,{progressMultiplier:c}=f,u=t.params.centeredSlides;if(u){const d=l[0]/2-t.params.slidesOffsetBefore||0;r.style.transform=`translateX(calc(50% - ${d}px))`}for(let d=0;d0&&(E=f.prev,k=!0),v.forEach((D,O)=>{v[O]=`calc(${D}px + (${s(E.translate[O])} * ${Math.abs(p*c)}))`}),_.forEach((D,O)=>{_[O]=E.rotate[O]*Math.abs(p*c)}),m.style.zIndex=-Math.abs(Math.round(h))+o.length;const S=v.join(", "),I=`rotateX(${_[0]}deg) rotateY(${_[1]}deg) rotateZ(${_[2]}deg)`,T=b<0?`scale(${1+(1-E.scale)*b*c})`:`scale(${1-(1-E.scale)*b*c})`,A=b<0?1+(1-E.opacity)*b*c:1-(1-E.opacity)*b*c,y=`translate3d(${S}) ${I} ${T}`;if(k&&E.shadow||!k){let D=m.querySelector(".swiper-slide-shadow");if(!D&&E.shadow&&(D=Hn(f,m)),D){const O=f.shadowPerProgress?p*(1/f.limitProgress):p;D.style.opacity=Math.min(Math.max(Math.abs(O),0),1)}}const w=us(f,m);w.style.transform=y,w.style.opacity=A,E.origin&&(w.style.transformOrigin=E.origin)}},setTransition:o=>{const r=t.slides.map(l=>Pn(l));r.forEach(l=>{l.style.transitionDuration=`${o}ms`,l.querySelectorAll(".swiper-slide-shadow").forEach(f=>{f.style.transitionDuration=`${o}ms`})}),zs({swiper:t,duration:o,transformElements:r,allSlides:!0})},perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}function rw({swiper:t,extendParams:e,on:n}){e({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),Yn({effect:"cards",swiper:t,on:n,setTranslate:()=>{const{slides:i,activeIndex:o,rtlTranslate:r}=t,l=t.params.cardsEffect,{startTranslate:f,isTouched:c}=t.touchEventsData,u=r?-t.translate:t.translate;for(let d=0;d0&&p<1&&(c||t.params.cssMode)&&u-1&&(c||t.params.cssMode)&&u>f;if(T||A){const O=(1-Math.abs((Math.abs(p)-.5)/.5))**.5;E+=-28*p*O,k+=-.5*O,S+=96*O,v=`${-25*O*Math.abs(p)}%`}if(p<0?g=`calc(${g}px ${r?"-":"+"} (${S*Math.abs(p)}%))`:p>0?g=`calc(${g}px ${r?"-":"+"} (-${S*Math.abs(p)}%))`:g=`${g}px`,!t.isHorizontal()){const O=v;v=g,g=O}const y=p<0?`${1+(1-k)*p}`:`${1-(1-k)*p}`,w=` + translate3d(${g}, ${v}, ${_}px) + rotateZ(${l.rotate?r?-E:E:0}deg) + scale(${y}) + `;if(l.slideShadows){let O=m.querySelector(".swiper-slide-shadow");O||(O=Hn(l,m)),O&&(O.style.opacity=Math.min(Math.max((Math.abs(p)-.5)/.5,0),1))}m.style.zIndex=-Math.abs(Math.round(h))+i.length;const D=us(l,m);D.style.transform=w}},setTransition:i=>{const o=t.slides.map(r=>Pn(r));o.forEach(r=>{r.style.transitionDuration=`${i}ms`,r.querySelectorAll(".swiper-slide-shadow").forEach(l=>{l.style.transitionDuration=`${i}ms`})}),zs({swiper:t,duration:i,transformElements:o})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}const lw=[B3,L3,D3,R3,H3,z3,F3,N3,V3,Y3,q3,W3,j3,X3,G3,U3,J3,ew,tw,sw,aw,iw,rw];Ss.use(lw);const Fs=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopedSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideNextClass","slidePrevClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Ts(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Ms(t,e){const n=["__proto__","constructor","prototype"];Object.keys(e).filter(s=>n.indexOf(s)<0).forEach(s=>{typeof t[s]>"u"?t[s]=e[s]:Ts(e[s])&&Ts(t[s])&&Object.keys(e[s]).length>0?e[s].__swiper__?t[s]=e[s]:Ms(t[s],e[s]):t[s]=e[s]})}function ow(t={}){return t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function fw(t={}){return t.pagination&&typeof t.pagination.el>"u"}function cw(t={}){return t.scrollbar&&typeof t.scrollbar.el>"u"}function vs(t=""){return t.replace(/-[a-z]/g,e=>e.toUpperCase().replace("-",""))}const wd=t=>{if(parseFloat(t)===Number(t))return Number(t);if(t==="true"||t==="")return!0;if(t==="false")return!1;if(t==="null")return null;if(t!=="undefined")return t},Sd=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function Td(t,e,n){const s={},a={};Ms(s,va);const i=[...Fs,"on"],o=i.map(l=>l.replace(/_/,""));i.forEach(l=>{l=l.replace("_",""),typeof t[l]<"u"&&(a[l]=t[l])});const r=[...t.attributes];return typeof e=="string"&&typeof n<"u"&&r.push({name:e,value:n}),r.forEach(l=>{const f=Sd.filter(c=>l.name.indexOf(`${c}-`)===0)[0];if(f){const c=vs(f),u=vs(l.name.split(`${f}-`)[1]);typeof a[c]>"u"&&(a[c]={}),a[c]===!0&&(a[c]={enabled:!0}),a[c][u]=wd(l.value)}else{const c=vs(l.name);if(!o.includes(c))return;const u=wd(l.value);a[c]&&Sd.includes(l.name)?(a[c].constructor!==Object&&(a[c]={}),a[c].enabled=u):a[c]=u}}),Ms(s,a),s.navigation?s.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...s.navigation!==!0?s.navigation:{}}:s.navigation===!1&&delete s.navigation,s.scrollbar?s.scrollbar={el:".swiper-scrollbar",...s.scrollbar!==!0?s.scrollbar:{}}:s.scrollbar===!1&&delete s.scrollbar,s.pagination?s.pagination={el:".swiper-pagination",...s.pagination!==!0?s.pagination:{}}:s.pagination===!1&&delete s.pagination,{params:s,passedParams:a}}function uw({swiper:t,slides:e,passedParams:n,changedParams:s,nextEl:a,prevEl:i,scrollbarEl:o,paginationEl:r}){const l=s.filter(T=>T!=="children"&&T!=="direction"&&T!=="wrapperClass"),{params:f,pagination:c,navigation:u,scrollbar:d,virtual:m,thumbs:h}=t;let p,b,g,v,_,k,E,S;s.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&f.thumbs&&!f.thumbs.swiper&&(p=!0),s.includes("controller")&&n.controller&&n.controller.control&&f.controller&&!f.controller.control&&(b=!0),s.includes("pagination")&&n.pagination&&(n.pagination.el||r)&&(f.pagination||f.pagination===!1)&&c&&!c.el&&(g=!0),s.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||o)&&(f.scrollbar||f.scrollbar===!1)&&d&&!d.el&&(v=!0),s.includes("navigation")&&n.navigation&&(n.navigation.prevEl||i)&&(n.navigation.nextEl||a)&&(f.navigation||f.navigation===!1)&&u&&!u.prevEl&&!u.nextEl&&(_=!0);const I=T=>{t[T]&&(t[T].destroy(),T==="navigation"?(t.isElement&&(t[T].prevEl.remove(),t[T].nextEl.remove()),f[T].prevEl=void 0,f[T].nextEl=void 0,t[T].prevEl=void 0,t[T].nextEl=void 0):(t.isElement&&t[T].el.remove(),f[T].el=void 0,t[T].el=void 0))};s.includes("loop")&&t.isElement&&(f.loop&&!n.loop?k=!0:!f.loop&&n.loop?E=!0:S=!0),l.forEach(T=>{if(Ts(f[T])&&Ts(n[T]))Ms(f[T],n[T]),(T==="navigation"||T==="pagination"||T==="scrollbar")&&"enabled"in n[T]&&!n[T].enabled&&I(T);else{const A=n[T];(A===!0||A===!1)&&(T==="navigation"||T==="pagination"||T==="scrollbar")?A===!1&&I(T):f[T]=n[T]}}),l.includes("controller")&&!b&&t.controller&&t.controller.control&&f.controller&&f.controller.control&&(t.controller.control=f.controller.control),s.includes("children")&&e&&m&&f.virtual.enabled&&(m.slides=e,m.update(!0)),s.includes("children")&&e&&f.loop&&(S=!0),p&&h.init()&&h.update(!0),b&&(t.controller.control=f.controller.control),g&&(t.isElement&&(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-pagination"),t.el.shadowEl.appendChild(r)),r&&(f.pagination.el=r),c.init(),c.render(),c.update()),v&&(t.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-scrollbar"),t.el.shadowEl.appendChild(o)),o&&(f.scrollbar.el=o),d.init(),d.updateSize(),d.setTranslate()),_&&(t.isElement&&((!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-next"),t.el.shadowEl.appendChild(a)),(!i||typeof i=="string")&&(i=document.createElement("div"),i.classList.add("swiper-button-prev"),t.el.shadowEl.appendChild(i))),a&&(f.navigation.nextEl=a),i&&(f.navigation.prevEl=i),u.init(),u.update()),s.includes("allowSlideNext")&&(t.allowSlideNext=n.allowSlideNext),s.includes("allowSlidePrev")&&(t.allowSlidePrev=n.allowSlidePrev),s.includes("direction")&&t.changeDirection(n.direction,!1),(k||S)&&t.loopDestroy(),(E||S)&&t.loopCreate(),t.update()}const dw="@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}",pw=":root{--swiper-theme-color:#007aff}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}:host(.swiper-vertical)>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight swiper-slide{height:auto}:host(.swiper-autoheight) .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}:host(.swiper-3d.swiper-css-mode) .swiper-wrapper{perspective:1200px}:host(.swiper-3d) .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d swiper-slide{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}:host(.swiper-css-mode)>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}:host(.swiper-css-mode)>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>swiper-slide{scroll-snap-align:start start}:host(.swiper-horizontal.swiper-css-mode)>.swiper-wrapper{scroll-snap-type:x mandatory}:host(.swiper-vertical.swiper-css-mode)>.swiper-wrapper{scroll-snap-type:y mandatory}:host(.swiper-css-mode.swiper-free-mode)>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>swiper-slide{scroll-snap-align:none}:host(.swiper-centered)>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-centered>swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}:host(.swiper-centered.swiper-horizontal)>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}:host(.swiper-centered.swiper-vertical)>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.swiper-virtual swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}:host(.swiper-virtual.swiper-css-mode) .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}:host(.swiper-virtual.swiper-css-mode.swiper-horizontal) .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}:host(.swiper-virtual.swiper-css-mode.swiper-vertical) .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,:host(.swiper-rtl) .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-prev:after,:host(.swiper-rtl) .swiper-button-next:after{content:'prev'}.swiper-button-next,:host(.swiper-rtl) .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-next:after,:host(.swiper-rtl) .swiper-button-prev:after{content:'next'}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,:host(.swiper-horizontal.swiper-rtl) .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}:host(.swiper-rtl) .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;-ms-touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification,swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}:host(.swiper-free-mode)>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}:host(.swiper-grid)>.swiper-wrapper{flex-wrap:wrap}:host(.swiper-grid-column)>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode swiper-slide{transition-timing-function:ease-out}.swiper-fade swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade swiper-slide swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube swiper-slide swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev,.swiper-cube swiper-slide-next+swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-flip{overflow:visible}.swiper-flip swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip swiper-slide swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}";let Ps=!0;const _a=(t,e)=>{let n=document.querySelector("style#swiper-element-styles");const s=n&&n.preInit&&!t;!t&&e&&e.cssLinks().forEach(a=>{const i=document.createElement("link");i.rel="stylesheet",i.href=a,document.head.prepend(i)}),(!n||s)&&(n=n||document.createElement("style"),n.textContent=[dw,e?e.cssStyles():""].join(` +`),n.id="swiper-element-styles",n.preInit=t,document.head.prepend(n))};class mw{}const bp=typeof window>"u"||typeof HTMLElement>"u"?mw:HTMLElement;class vp extends bp{constructor(){super(),this.tempDiv=document.createElement("div"),this.shadowEl=this.attachShadow({mode:"open"})}cssStyles(){return[Ps?pw:"",...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join(` +`)}cssLinks(){return this.injectStylesUrls||[]}render(){if(this.rendered)return;Ps&&_a(!1,this);const e=this.cssStyles();e.length&&(this.stylesEl=document.createElement("style"),this.stylesEl.textContent=e,this.shadowEl.appendChild(this.stylesEl)),this.cssLinks().forEach(n=>{if(this.shadowEl.querySelector(`link[href="${n}"]`))return;const a=document.createElement("link");a.rel="stylesheet",a.href=n,this.shadowEl.appendChild(a)}),this.tempDiv.innerHTML=` + +
        + +
        + + ${ow(this.passedParams)?` +
        +
        + `:""} + ${fw(this.passedParams)?` +
        + `:""} + ${cw(this.passedParams)?` +
        + `:""} + `,[...this.tempDiv.children].forEach(n=>{this.shadowEl.appendChild(n)}),this.rendered=!0}initialize(){if(this.initialized)return;this.initialized=!0;const{params:e,passedParams:n}=Td(this);this.swiperParams=e,this.passedParams=n,delete this.swiperParams.init,this.render(),this.swiper=new Ss(this,{...e,touchEventsTarget:"container",...e.virtual?{}:{observer:!0},onAny:(s,...a)=>{const i=e.eventsPrefix?`${e.eventsPrefix}${s.toLowerCase()}`:s.toLowerCase(),o=new CustomEvent(i,{detail:a,bubbles:!0,cancelable:!0});this.dispatchEvent(o)}})}connectedCallback(){if(!(this.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM)){if(this.init===!1||this.getAttribute("init")==="false"){_a(!0,this);return}this.initialize()}}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||(this.swiper&&this.swiper.destroy&&this.swiper.destroy(),this.initialized=!1)}updateSwiperOnPropChange(e,n){const{params:s,passedParams:a}=Td(this,e,n);this.passedParams=a,this.swiperParams=s,uw({swiper:this.swiper,passedParams:this.passedParams,changedParams:[vs(e)],...e==="navigation"&&a[e]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{},...e==="pagination"&&a[e]?{paginationEl:".swiper-pagination"}:{},...e==="scrollbar"&&a[e]?{scrollbarEl:".swiper-scrollbar"}:{}})}attributeChangedCallback(e,n,s){this.initialized&&(n==="true"&&s===null&&(s=!1),this.updateSwiperOnPropChange(e,s))}static get observedAttributes(){return Fs.filter(n=>n.includes("_")).map(n=>n.replace(/[A-Z]/g,s=>`-${s}`).replace("_","").toLowerCase())}}Fs.forEach(t=>{t!=="init"&&(t=t.replace("_",""),Object.defineProperty(vp.prototype,t,{configurable:!0,get(){return(this.passedParams||{})[t]},set(e){this.passedParams||(this.passedParams={}),this.passedParams[t]=e,this.initialized&&this.updateSwiperOnPropChange(t)}}))});class hw extends bp{constructor(){super(),this.tempDiv=document.createElement("div"),this.shadowEl=this.attachShadow({mode:"open"})}render(){const e=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if(this.tempDiv.innerHTML="",[...this.tempDiv.children].forEach(n=>{this.shadowEl.appendChild(n)}),e){const n=document.createElement("div");n.classList.add("swiper-lazy-preloader"),this.appendChild(n)}}initialize(){this.render()}connectedCallback(){this.initialize()}}const gw=(t=!0)=>{typeof window>"u"||(t||(Ps=!1),Ps&&_a(!0),window.customElements.get("swiper-container")||window.customElements.define("swiper-container",vp),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",hw))};typeof window<"u"&&(window.SwiperElementRegisterParams=t=>{Fs.push(...t)});gw();function aa(t){const e=this,n=P(t);if(n.length===0)return;const s=n[0].swiper&&n[0].swiper.isElement;if(n[0].swiper&&!n[0].swiper.isElement)return;let a,i={},o,r;n.hasClass("tabs")&&(a=n.children("swiper-slide").indexOf(n.children(".tab-active")[0]),o=!0,r=n.find(".tabs-routable").length>0),n.attr("data-swiper")?i=JSON.parse(n.attr("data-swiper")):n[0].f7SwiperParams?i=n[0].f7SwiperParams:(i=n.dataset(),Object.keys(i).forEach(u=>{const d=i[u];if(typeof d=="string"&&d.indexOf("{")===0&&d.indexOf("}")>0)try{i[u]=JSON.parse(d)}catch{}})),typeof i.initialSlide>"u"&&typeof a<"u"&&(i.initialSlide=a);const l=s?n[0].swiper:e.swiper.create(n[0],i);s&&l.slideTo(a,0);function f(){l.update()}const c=n.parents(".tab").filter(u=>P(u).parent(".tabs").parent(".tabs-animated-wrap, swiper-container.tabs").length===0).eq(0);n.parents(".popup, .login-screen, .sheet-modal, .popover").on("modal:open",f),n.parents(".panel").on("panel:open",f),c&&c.length&&c.on("tab:show",f),l.on("beforeDestroy",()=>{n.parents(".popup, .login-screen, .sheet-modal, .popover").off("modal:open",f),n.parents(".panel").off("panel:open",f),c&&c.length&&c.off("tab:show",f)}),o&&l.on("slideChange",()=>{if(r){let u=e.views.get(n.parents(".view"));u||(u=e.views.main);const d=u.router,m=d.findTabRouteUrl(P(l.slides).eq(l.activeIndex)[0]);m&&setTimeout(()=>{d.navigate(m)},0)}else e.tab.show({tabEl:P(l.slides).eq(l.activeIndex)})})}const bw={name:"swiper",static:{Swiper:Ss},create(){const t=this;t.swiper=ct({defaultSelector:".swiper",constructor:Ss,domProp:"swiper"})},on:{pageMounted(t){const e=this;t.$el.find("swiper-container.tabs").each(n=>{aa.call(e,n)})},pageInit(t){const e=this;t.$el.find("swiper-container.tabs").each(n=>{aa.call(e,n)})},pageReinit(t){const e=this;t.$el.find("swiper-container.tabs").each(n=>{const s=e.swiper.get(n);s&&s.update&&s.update()})},tabMounted(t){const e=this;P(t).find("swiper-container.tabs").each(n=>{aa.call(e,n)})},tabShow(t){const e=this;P(t).find("swiper-container.tabs").each(n=>{const s=e.swiper.get(n);s&&s.update&&s.update()})},tabBeforeRemove(t){const e=this;P(t).find("swiper-container.tabs").each(n=>{e.swiper.destroy(n)})}}};let vw=class extends rt{constructor(e,n){n===void 0&&(n={}),super(n,[e]);const s=this;s.app=e;const a=te({on:{}},e.params.photoBrowser);s.useModulesParams(a),s.params=te(a,n),te(s,{exposed:!1,opened:!1,activeIndex:s.params.swiper.initialSlide,url:s.params.url,swipeToClose:{allow:!0,isTouched:!1,diff:void 0,start:void 0,current:void 0,started:!1,activeSlide:void 0,timeStart:void 0}}),s.useModules(),s.init()}get view(){const{params:e,app:n}=this;return e.view||n.views.main}onSlideChange(e){const n=this;n.activeIndex=e.activeIndex;let s=e.activeIndex+1,a=n.params.virtualSlides?n.params.photos.length:e.slides.length;e.params.loop&&(a-=2,s-=e.loopedSlides,s<1&&(s=a+s),s>a&&(s-=a));const i=n.params.virtualSlides?P(e.wrapperEl).find(`.swiper-slide[data-swiper-slide-index="${e.activeIndex}"]`):P(e.slides).eq(e.activeIndex),o=n.params.virtualSlides?P(e.wrapperEl).find(`.swiper-slide[data-swiper-slide-index="${e.previousIndex}"]`):P(e.slides).eq(e.previousIndex);let r=n.$el.find(".photo-browser-current"),l=n.$el.find(".photo-browser-total"),f;if(n.params.type==="page"&&n.params.navbar&&r.length===0&&n.app.theme==="ios"&&(f=n.app.navbar.getElByPage(n.$el),f&&(r=P(f).find(".photo-browser-current"),l=P(f).find(".photo-browser-total"))),r.length&&l.length&&(r.text(s),l.text(a),f||(f=r.parents(".navbar")[0]),f&&n.app.navbar.size(f)),n.captions.length>0){const u=e.params.loop?i.attr("data-swiper-slide-index"):n.activeIndex;n.$captionsContainerEl.find(".photo-browser-caption-active").removeClass("photo-browser-caption-active"),n.$captionsContainerEl.find(`[data-caption-index="${u}"]`).addClass("photo-browser-caption-active")}const c=o.find("video");c.length>0&&"pause"in c[0]&&c[0].pause()}onTouchStart(){const n=this.swipeToClose;n.allow&&(n.isTouched=!0)}onTouchMove(e){const n=this,s=n.swipeToClose;s.isTouched&&(s.started||(s.started=!0,s.start=e.type==="touchmove"?e.targetTouches[0].pageY:e.pageY,n.params.virtualSlides?s.activeSlide=P(n.swiper.wrapperEl).children(".swiper-slide-active"):s.activeSlide=P(n.swiper.slides).eq(n.swiper.activeIndex),s.timeStart=Ht()),e.preventDefault(),s.current=e.type==="touchmove"?e.targetTouches[0].pageY:e.pageY,s.diff=s.start-s.current,n.$el.transition(0).transform(`translate3d(0,${-s.diff}px,0)`))}onTouchEnd(){const e=this,n=e.swipeToClose;if(n.isTouched=!1,!n.started){n.started=!1;return}n.started=!1,n.allow=!1;const s=Math.abs(n.diff),a=new Date().getTime()-n.timeStart;if(a<300&&s>20||a>=300&&s>100){_t(()=>{e.$el&&(n.diff<0?e.$el.addClass("swipe-close-to-bottom"):e.$el.addClass("swipe-close-to-top")),e.emit("local::swipeToClose",e),e.$el.transform("").transition(""),e.close(),n.allow=!0});return}s!==0?e.$el.addClass("photo-browser-transitioning").transitionEnd(()=>{n.allow=!0,e.$el.removeClass("photo-browser-transitioning")}):n.allow=!0,_t(()=>{e.$el.transform("").transition("")})}renderNavbar(){const e=this;if(e.params.renderNavbar)return e.params.renderNavbar.call(e);const n=e.params.iconsColor,s=e.app.theme==="ios"&&e.params.pageBackLinkText?e.params.pageBackLinkText:"",a=typeof e.params.navbarShowCount>"u"?e.params.photos.length>1:e.params.navbarShowCount,i=e.params.type!=="page";return R("div",{class:`navbar navbar-photo-browser ${e.params.theme==="dark"?"navbar-photo-browser-dark":""}`},R("div",{class:"navbar-bg"}),R("div",{class:"navbar-inner navbar-inner-centered-title sliding"},!i&&R("div",{class:"left"},R("a",{class:`link ${s?"":"icon-only"} back`},R("i",{class:`icon icon-back ${n?`color-${n}`:""}`}),s&&R("span",null,s))),a&&R("div",{class:"title"},R("span",{class:"photo-browser-current"}),R("span",{class:"photo-browser-of"},e.params.navbarOfText),R("span",{class:"photo-browser-total"})),i&&(e.params.popupCloseLinkText||e.params.popupCloseLinkIcon)&&R("div",{class:"right"},R("a",{class:"link popup-close","data-popup":".photo-browser-popup"},e.params.popupCloseLinkIcon&&e.app.theme==="ios"&&R("i",null,R("svg",{xmlns:"http://www.w3.org/2000/svg",width:"56",height:"56",viewBox:"0 0 56 56"},R("path",{fill:"currentColor",d:"M 10.0234 43.0234 C 9.2266 43.8203 9.2031 45.1797 10.0234 45.9766 C 10.8438 46.7734 12.1797 46.7734 13.0000 45.9766 L 28.0000 30.9766 L 43.0000 45.9766 C 43.7969 46.7734 45.1563 46.7969 45.9766 45.9766 C 46.7734 45.1562 46.7734 43.8203 45.9766 43.0234 L 30.9531 28.0000 L 45.9766 13.0000 C 46.7734 12.2031 46.7969 10.8437 45.9766 10.0469 C 45.1328 9.2266 43.7969 9.2266 43.0000 10.0469 L 28.0000 25.0469 L 13.0000 10.0469 C 12.1797 9.2266 10.8203 9.2031 10.0234 10.0469 C 9.2266 10.8672 9.2266 12.2031 10.0234 13.0000 L 25.0234 28.0000 Z"}))),e.params.popupCloseLinkIcon&&e.app.theme==="md"&&R("i",null,R("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"currentColor"},R("path",{d:"M0 0h24v24H0V0z",fill:"none"}),R("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}))),e.params.popupCloseLinkText&&R("span",null,e.params.popupCloseLinkText)))))}renderToolbar(){const e=this;if(e.params.renderToolbar)return e.params.renderToolbar.call(e);const n=e.params.iconsColor;return R("div",{class:"toolbar toolbar-bottom tabbar"},R("div",{class:"toolbar-inner"},R("a",{class:"link photo-browser-prev"},R("i",{class:`icon icon-back ${n?`color-${n}`:""}`})),R("a",{class:"link photo-browser-next"},R("i",{class:`icon icon-forward ${n?`color-${n}`:""}`}))))}renderThumbs(){const e=this;return R("div",{class:"toolbar toolbar-bottom photo-browser-thumbs"},R("div",{class:"swiper"},R("div",{class:"swiper-wrapper"},e.params.thumbs.map((n,s)=>e.renderThumb(n,s)))))}renderCaption(e,n){const s=this;return s.params.renderCaption?s.params.renderCaption.call(s,e,n):R("div",{class:"photo-browser-caption","data-caption-index":n},e)}renderObject(e,n){const s=this;return s.params.renderObject?s.params.renderObject.call(s,e,n):R("div",{class:"photo-browser-slide photo-browser-object-slide swiper-slide","data-swiper-slide-index":n},e.html?e.html:e)}renderLazyPhoto(e,n){const s=this;return s.params.renderLazyPhoto?s.params.renderLazyPhoto.call(s,e,n):R("div",{class:"photo-browser-slide photo-browser-slide-lazy swiper-slide","data-swiper-slide-index":n},R("div",{class:"swiper-lazy-preloader"}),R("span",{class:"swiper-zoom-container"},R("img",{loading:"lazy",src:e.url?e.url:e})))}renderPhoto(e,n){const s=this;return s.params.renderPhoto?s.params.renderPhoto.call(s,e,n):R("div",{class:"photo-browser-slide swiper-slide","data-swiper-slide-index":n},R("span",{class:"swiper-zoom-container"},R("img",{src:e.url?e.url:e})))}renderThumb(e,n){const s=this,a=typeof e=="string"?e:e.url;return s.params.renderThumb?s.params.renderThumb.call(s,e,n):R("div",{class:"photo-browser-thumbs-slide swiper-slide","data-swiper-slide-index":n},a&&R("img",{src:a,loading:"lazy"}))}render(){const e=this;return e.params.render?e.params.render.call(e,e.params):R("div",{class:`photo-browser photo-browser-${e.params.theme}`},R("div",{class:"view"},R("div",{class:`page photo-browser-page photo-browser-page-${e.params.theme} no-toolbar ${e.params.navbar?"":"no-navbar"}`,"data-name":"photo-browser-page"},e.params.navbar&&e.renderNavbar(),e.params.toolbar&&e.renderToolbar(),e.params.thumbs&&e.params.thumbs.length&&e.renderThumbs(),R("div",{class:`photo-browser-captions photo-browser-captions-${e.params.captionsTheme||e.params.theme}`},e.params.photos.map((n,s)=>n.caption?e.renderCaption(n.caption,s):"")),R("div",{class:"photo-browser-swiper-container swiper"},R("div",{class:"photo-browser-swiper-wrapper swiper-wrapper"},!e.params.virtualSlides&&e.params.photos.map((n,s)=>n.html||(typeof n=="string"||n instanceof String)&&n.indexOf("<")>=0&&n.indexOf(">")>=0?e.renderObject(n,s):e.params.lazy===!0?e.renderLazyPhoto(n,s):e.renderPhoto(n,s)))))))}renderStandalone(){const e=this;return e.params.renderStandalone?e.params.renderStandalone.call(e):``}renderPage(){const e=this;return e.params.renderPage?e.params.renderPage.call(e):e.render()}renderPopup(){const e=this;return e.params.renderPopup?e.params.renderPopup.call(e):``}onOpen(e,n){const s=this,a=s.app,i=P(n);i[0].f7PhotoBrowser=s,s.$el=i,s.el=i[0],s.openedIn=e,s.opened=!0,s.$swiperContainerEl=s.$el.find(".photo-browser-swiper-container"),s.$swiperWrapperEl=s.$el.find(".photo-browser-swiper-wrapper"),s.slides=s.$el.find(".photo-browser-slide"),s.$captionsContainerEl=s.$el.find(".photo-browser-captions"),s.captions=s.$el.find(".photo-browser-caption");const o=s.params.thumbs&&s.params.thumbs.length>0;let r,l,f;const c=s.activeIndex,u=te({},s.params.swiper,{initialSlide:c,on:{click(m){clearTimeout(r),s.params.exposition&&(r=setTimeout(()=>{s.expositionToggle()},350)),s.emit("local::tap",m),s.emit("local::click",m)},doubleClick(m){clearTimeout(r),s.emit("local::doubleTap",m),s.emit("local::doubleClick",m)},slideChange(){const m=this;o&&s.thumbsSwiper&&!f&&(l=!0,s.thumbsSwiper.slideTo(s.swiper.activeIndex),setTimeout(()=>{l=!1})),s.onSlideChange(m);for(var h=arguments.length,p=new Array(h),b=0;b=0&&m.indexOf(">")>=0?s.renderObject(m,h):s.params.lazy===!0?s.renderLazyPhoto(m,h):s.renderPhoto(m,h)}}});const d=Se();if(s.swiper=a.swiper?a.swiper.create(s.$swiperContainerEl[0],u):new d.Swiper(s.$swiperContainerEl[0],u),(s.activeIndex===0||s.params.virtualSlides)&&s.onSlideChange(s.swiper),o){const m={el:s.$el.find(".photo-browser-thumbs .swiper")[0],slidesPerView:"auto",centeredSlides:!0,spaceBetween:4,watchSlidesProgress:!0,initialSlide:c,on:{touchMove(){f=!0},touchEnd(){f=!1},slideChange(h){l||s.swiper.slideTo(h.activeIndex,0)},click(h){if(!h.clickedSlide)return;const p=parseInt(P(h.clickedSlide).attr("data-swiper-slide-index"),10);h.slideTo(p,0)}}};s.thumbsSwiper=a.swiper?a.swiper.create(m):new d.Swiper(m)}s.$el&&s.$el.trigger("photobrowser:open"),s.emit("local::open photoBrowserOpen",s)}onOpened(){const e=this;e.$el&&e.params.type==="standalone"&&e.$el.css("animation","none"),e.$el&&e.$el.trigger("photobrowser:opened"),e.emit("local::opened photoBrowserOpened",e)}onClose(){const e=this;e.destroyed||(e.swiper&&e.swiper.destroy&&(e.swiper.destroy(!0,!1),e.swiper=null,delete e.swiper),e.thumbsSwiper&&e.thumbsSwiper.destroy&&(e.thumbsSwiper.destroy(!0,!1),e.thumbsSwiper=null,delete e.thumbsSwiper),e.$el&&e.$el.trigger("photobrowser:close"),e.emit("local::close photoBrowserClose",e))}onClosed(){const e=this;e.destroyed||(e.opened=!1,e.$el=null,e.el=null,delete e.$el,delete e.el,e.$el&&e.$el.trigger("photobrowser:closed"),e.emit("local::closed photoBrowserClosed",e))}openPage(){const e=this;if(e.opened)return e;const n=e.renderPage();return e.view.router.navigate({url:e.url,route:{content:n,path:e.url,on:{pageBeforeIn(s,a){e.view.$el.addClass(`with-photo-browser-page with-photo-browser-page-${e.params.theme}`),e.onOpen("page",a.el)},pageAfterIn(s,a){e.onOpened("page",a.el)},pageBeforeOut(s,a){e.view.$el.removeClass(`with-photo-browser-page with-photo-browser-page-exposed with-photo-browser-page-${e.params.theme}`),e.onClose("page",a.el)},pageAfterOut(s,a){e.onClosed("page",a.el)}}}}),e}openStandalone(){const e=this;if(e.opened)return e;const s={backdrop:!1,content:e.renderStandalone(),on:{popupOpen(a){e.onOpen("popup",a.el)},popupOpened(a){e.onOpened("popup",a.el)},popupClose(a){e.onClose("popup",a.el)},popupClosed(a){e.onClosed("popup",a.el)}}};return e.params.routableModals&&e.view?e.view.router.navigate({url:e.url,route:{path:e.url,popup:s}}):e.modal=e.app.popup.create(s).open(),e}openPopup(){const e=this;if(e.opened)return e;const s={content:e.renderPopup(),push:e.params.popupPush,closeByBackdropClick:e.params.closeByBackdropClick,on:{popupOpen(a){e.onOpen("popup",a.el)},popupOpened(a){e.onOpened("popup",a.el)},popupClose(a){e.onClose("popup",a.el)},popupClosed(a){e.onClosed("popup",a.el)}}};return e.params.routableModals&&e.view?e.view.router.navigate({url:e.url,route:{path:e.url,popup:s}}):e.modal=e.app.popup.create(s).open(),e}expositionEnable(){const e=this;return e.params.type==="page"&&e.view.$el.addClass("with-photo-browser-page-exposed"),e.$el&&e.$el.addClass("photo-browser-exposed"),e.params.expositionHideCaptions&&e.$captionsContainerEl.addClass("photo-browser-captions-exposed"),e.exposed=!0,e}expositionDisable(){const e=this;return e.params.type==="page"&&e.view.$el.removeClass("with-photo-browser-page-exposed"),e.$el&&e.$el.removeClass("photo-browser-exposed"),e.params.expositionHideCaptions&&e.$captionsContainerEl.removeClass("photo-browser-captions-exposed"),e.exposed=!1,e}expositionToggle(){const e=this;return e.params.type==="page"&&e.view.$el.toggleClass("with-photo-browser-page-exposed"),e.$el&&e.$el.toggleClass("photo-browser-exposed"),e.params.expositionHideCaptions&&e.$captionsContainerEl.toggleClass("photo-browser-captions-exposed"),e.exposed=!e.exposed,e}open(e){const n=this,s=n.params.type;return n.opened?(n.swiper&&typeof e<"u"&&n.swiper.slideTo(parseInt(e,10)),n):(typeof e<"u"&&(n.activeIndex=e),s==="standalone"&&n.openStandalone(),s==="page"&&n.openPage(),s==="popup"&&n.openPopup(),n)}close(){const e=this;return e.opened&&(e.params.routableModals&&e.view||e.openedIn==="page"?e.view.router.back():(e.modal.once("modalClosed",()=>{_t(()=>{e.destroyed||(e.modal.destroy(),delete e.modal)})}),e.modal.close())),e}init(){}destroy(){let e=this;e.emit("local::beforeDestroy photoBrowserBeforeDestroy",e),e.$el&&(e.$el.trigger("photobrowser:beforedestroy"),e.$el[0].f7PhotoBrowser=null,delete e.$el[0].f7PhotoBrowser),ft(e),e.destroyed=!0,e=null}};const Md=vw,_w={name:"photoBrowser",params:{photoBrowser:{photos:[],thumbs:[],exposition:!0,expositionHideCaptions:!1,type:"standalone",navbar:!0,toolbar:!0,theme:"light",captionsTheme:void 0,iconsColor:void 0,popupPush:!1,swipeToClose:!0,pageBackLinkText:"Back",popupCloseLinkText:void 0,popupCloseLinkIcon:!0,navbarOfText:"of",navbarShowCount:void 0,view:void 0,url:"photos/",routableModals:!1,virtualSlides:!0,lazy:!0,closeByBackdropClick:!0,renderNavbar:void 0,renderToolbar:void 0,renderCaption:void 0,renderObject:void 0,renderLazyPhoto:void 0,renderPhoto:void 0,renderThumb:void 0,renderPage:void 0,renderPopup:void 0,renderStandalone:void 0,swiper:{cssMode:!1,initialSlide:0,spaceBetween:20,speed:300,loop:!1,keyboard:{enabled:!0},navigation:{nextEl:".photo-browser-next",prevEl:".photo-browser-prev"},zoom:{enabled:!0,maxRatio:3,minRatio:1}}}},create(){const t=this;t.photoBrowser=ct({defaultSelector:".photo-browser-popup, .photo-browser-page",constructor:Md,app:t,domProp:"f7PhotoBrowser"})},static:{PhotoBrowser:Md}};let kw=class extends Qt{constructor(e,n){const s=te({on:{}},e.params.notification,n);super(e,s);const a=this;a.app=e,a.params=s;const{icon:i,title:o,titleRightText:r,subtitle:l,text:f,closeButton:c,closeTimeout:u,cssClass:d,closeOnClick:m}=a.params;let h;if(a.params.el)h=P(a.params.el);else{const O=a.render({icon:i,title:o,titleRightText:r,subtitle:l,text:f,closeButton:c,cssClass:d});h=P(O)}if(h&&h.length>0&&h[0].f7Modal)return h[0].f7Modal;if(h.length===0)return a.destroy();te(a,{$el:h,el:h[0],type:"notification"}),h[0].f7Modal=a,c&&h.find(".notification-close-button").on("click",()=>{a.close()}),h.on("click",O=>{c&&P(O.target).closest(".notification-close-button").length||(a.emit("local::click notificationClick",a),m&&a.close())}),a.on("beforeDestroy",()=>{h.off("click")});let p,b,g,v,_,k;const E={};function S(O){p||(p=!0,b=!1,g=void 0,_=Ht(),E.x=O.type==="touchstart"?O.targetTouches[0].pageX:O.pageX,E.y=O.type==="touchstart"?O.targetTouches[0].pageY:O.pageY)}function I(O){if(!p)return;const L=O.type==="touchmove"?O.targetTouches[0].pageX:O.pageX,j=O.type==="touchmove"?O.targetTouches[0].pageY:O.pageY;if(typeof g>"u"&&(g=!!(g||Math.abs(j-E.y)0&&(W=v**.8),a.$el.transform(`translate3d(0, ${W}px, 0)`)}function T(){if(!p||!b){p=!1,b=!1;return}if(p=!1,b=!1,v===0)return;const O=Ht()-_;a.$el.transition(""),a.$el.addClass("notification-transitioning"),a.$el.transform(""),(v<-10&&O<300||-v>=k/1)&&a.close()}function A(){a.$el.on(e.touchEvents.start,S,{passive:!0}),e.on("touchmove:active",I),e.on("touchend:passive",T)}function y(){a.$el.off(e.touchEvents.start,S,{passive:!0}),e.off("touchmove:active",I),e.off("touchend:passive",T)}let w;function D(){w=_t(()=>{if(p&&b){D();return}a.close()},u)}return a.on("open",()=>{a.params.swipeToClose&&A(),P(".notification.modal-in").each(O=>{const L=e.notification.get(O);O!==a.el&&L&&L.close()}),u&&D()}),a.on("close beforeDestroy",()=>{a.params.swipeToClose&&y(),clearTimeout(w)}),a}render(){const e=this;if(e.params.render)return e.params.render.call(e,e);const{icon:n,title:s,titleRightText:a,subtitle:i,text:o,closeButton:r,cssClass:l}=e.params;return R("div",{class:`notification ${n?"notification-with-icon":""} ${l||""}`},R("div",{class:"notification-header"},n&&R("div",{class:"notification-icon"},n),s&&R("div",{class:"notification-title"},s),a&&R("div",{class:"notification-title-right-text"},a),r&&R("span",{class:"notification-close-button"})),R("div",{class:"notification-content"},i&&R("div",{class:"notification-subtitle"},i),o&&R("div",{class:"notification-text"},o)))}};const Pd=kw,Ew={name:"notification",static:{Notification:Pd},create(){const t=this;t.notification=te({},on({app:t,constructor:Pd,defaultSelector:".notification.modal-in"}))},params:{notification:{icon:null,title:null,titleRightText:null,subtitle:null,text:null,closeButton:!1,closeTimeout:null,closeOnClick:!1,swipeToClose:!0,cssClass:null,render:null,containerEl:null}}};let Cw=class extends rt{constructor(e,n){n===void 0&&(n={}),super(n,[e]);const s=this;s.app=e;const a=Ke(),i=te({on:{}},e.params.autocomplete);s.useModulesParams(i),s.params=te(i,n);let o;s.params.openerEl&&(o=P(s.params.openerEl),o.length&&(o[0].f7Autocomplete=s));let r;s.params.inputEl&&(r=P(s.params.inputEl),r.length&&(r[0].f7Autocomplete=s));const l=Rs();let f=n.url;!f&&o&&o.length&&(o.attr("href")?f=o.attr("href"):o.find("a").length>0&&(f=o.find("a").attr("href"))),(!f||f==="#"||f==="")&&(f=s.params.url);const c=s.params.multiple?"checkbox":"radio";te(s,{$openerEl:o,openerEl:o&&o[0],$inputEl:r,inputEl:r&&r[0],id:l,url:f,value:s.params.value||[],inputType:c,inputName:`${c}-${l}`,$modalEl:void 0,$dropdownEl:void 0});let u="";function d(){let E=s.$inputEl.val().trim();s.params.source&&s.params.source.call(s,E,S=>{let I="";const T=s.params.limit?Math.min(s.params.limit,S.length):S.length;s.items=S;let A;s.params.highlightMatches&&(E=E.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),A=new RegExp(`(${E})`,"i"));let y,w;for(let D=0;D$1"):L},D)}if(I===""&&E===""&&s.params.dropdownPlaceholderText&&(I+=s.renderItem({placeholder:!0,text:s.params.dropdownPlaceholderText})),s.$dropdownEl.find("ul").html(I),s.params.typeahead){if(!y||!w||y.toLowerCase().indexOf(E.toLowerCase())!==0)return;if(u.toLowerCase()===E.toLowerCase()){s.value=[];return}if(u.toLowerCase().indexOf(E.toLowerCase())===0){u=E,s.value=[];return}r.val(y),r[0].setSelectionRange(E.length,y.length);const D=typeof s.value[0]=="object"?s.value[0][s.params.valueProperty]:s.value[0];(!D||y.toLowerCase()!==D.toLowerCase())&&(s.value=[w],s.emit("local::change autocompleteChange",[w]))}u=E})}function m(){const E=this,S=E.value,I=P(E).parents(".autocomplete-values").length>0;let T,A,y;if(I){if(s.inputType==="checkbox"&&!E.checked){for(let w=0;w0||setTimeout(()=>{s.close()},0)}function v(){s.positionDropdown()}function _(E){if(!s.opened)return;if(E.keyCode===27){E.preventDefault(),s.$inputEl.blur();return}if(E.keyCode===13){const T=s.$dropdownEl.find(".autocomplete-dropdown-selected label");if(T.length){E.preventDefault(),T.trigger("click"),s.$inputEl.blur();return}s.params.typeahead&&(E.preventDefault(),s.$inputEl.blur());return}if(E.keyCode!==40&&E.keyCode!==38)return;E.preventDefault();const S=s.$dropdownEl.find(".autocomplete-dropdown-selected");let I;S.length?(I=S[E.keyCode===40?"next":"prev"]("li"),I.length||(I=s.$dropdownEl.find("li").eq(E.keyCode===40?0:s.$dropdownEl.find("li").length-1))):I=s.$dropdownEl.find("li").eq(E.keyCode===40?0:s.$dropdownEl.find("li").length-1),!I.hasClass("autocomplete-dropdown-placeholder")&&(S.removeClass("autocomplete-dropdown-selected"),I.addClass("autocomplete-dropdown-selected"))}function k(){const E=P(this);let S;for(let I=0;I{_t(()=>{s.close()})})},s.detachPageEvents=function(){s.$el.off("change",'input[type="radio"], input[type="checkbox"]',m)},s.useModules(),s.init(),s}get view(){const e=this,{$openerEl:n,$inputEl:s,app:a}=e;let i;if(e.params.view)i=e.params.view;else if(n||s){const o=n||s;i=o.closest(".view").length&&o.closest(".view")[0].f7View}return i||(i=a.views.main),i}positionDropdown(){const e=this,{$inputEl:n,app:s,$dropdownEl:a}=e,i=n.parents(".page-content");if(i.length===0)return;const o=n.offset(),r=n[0].offsetWidth,l=n[0].offsetHeight,f=n.parents(".list");let c;f.parents().each(_=>{if(c)return;const k=P(_);k.parent(i).length&&(c=k)});const u=f.offset(),d=parseInt(i.css("padding-bottom"),10),m=f.length>0?u.left-i.offset().left:0,h=o.left-(f.length>0?u.left:0)-(s.rtl,0),p=o.top-(i.offset().top-i[0].scrollTop),b=i[0].scrollHeight-d-(p+i[0].scrollTop)-n[0].offsetHeight,g=s.rtl?"padding-right":"padding-left";let v;f.length&&(v=(s.rtl?f[0].offsetWidth-h-r:h)-(s.theme==="md"?16:15)),a.css({left:`${f.length>0?m:h}px`,top:`${p+i[0].scrollTop+l}px`,width:`${f.length>0?f[0].offsetWidth:r}px`}),a.children(".autocomplete-dropdown-inner").css({maxHeight:`${b}px`,[g]:f.length>0?`${v}px`:""})}focus(){this.$el.find("input[type=search]").focus()}source(e){const n=this;if(!n.params.source)return;const{$el:s}=n;n.params.source.call(n,e,a=>{let i="";const o=n.params.limit?Math.min(n.params.limit,a.length):a.length;n.items=a;for(let r=0;r"u"&&e.$openerEl&&e.$openerEl.length&&(n=e.$openerEl.find(".item-title").text().trim());const s=e.params.openIn==="popup",a=s?e.params.preloader&&R("div",{class:"left"},e.renderPreloader()):R("div",{class:"left sliding"},R("a",{class:"link back"},R("i",{class:"icon icon-back"}),R("span",{class:"if-not-md"},e.params.pageBackLinkText))),i=s?R("div",{class:"right"},R("a",{class:"link popup-close","data-popup":".autocomplete-popup"},e.params.popupCloseLinkText)):e.params.preloader&&R("div",{class:"right"},e.renderPreloader());return R("div",{class:`navbar ${e.params.navbarColorTheme?`color-${e.params.navbarColorTheme}`:""}`},R("div",{class:"navbar-bg"}),R("div",{class:`navbar-inner ${e.params.navbarColorTheme?`color-${e.params.navbarColorTheme}`:""}`},a,n&&R("div",{class:"title sliding"},n),i,R("div",{class:"subnavbar sliding"},e.renderSearchbar())))}renderDropdown(){const e=this;return e.params.renderDropdown?e.params.renderDropdown.call(e,e.items):R("div",{class:"autocomplete-dropdown"},R("div",{class:"autocomplete-dropdown-inner"},R("div",{class:"list no-safe-areas"},R("ul",null))),e.params.preloader&&e.renderPreloader())}renderPage(e){const n=this;return n.params.renderPage?n.params.renderPage.call(n,n.items):R("div",{class:"page page-with-subnavbar autocomplete-page","data-name":"autocomplete-page"},n.renderNavbar(e),R("div",{class:"searchbar-backdrop"}),R("div",{class:"page-content"},R("div",{class:`list autocomplete-list autocomplete-found autocomplete-list-${n.id} ${n.params.formColorTheme?`color-${n.params.formColorTheme}`:""}`},R("ul",null)),R("div",{class:"list autocomplete-not-found"},R("ul",null,R("li",{class:"item-content"},R("div",{class:"item-inner"},R("div",{class:"item-title"},n.params.notFoundText))))),R("div",{class:"list autocomplete-values"},R("ul",null))))}renderPopup(){const e=this;return e.params.renderPopup?e.params.renderPopup.call(e,e.items):R("div",{class:"popup autocomplete-popup"},R("div",{class:"view"},e.renderPage(!0),";"))}onOpen(e,n){const s=this,a=s.app,i=P(n);if(s.$el=i,s.el=i[0],s.openedIn=e,s.opened=!0,s.params.openIn==="dropdown")s.attachDropdownEvents(),s.$dropdownEl.addClass("autocomplete-dropdown-in"),s.$inputEl.trigger("input");else{let o=i.find(".searchbar");s.params.openIn==="page"&&a.theme==="ios"&&o.length===0&&(o=P(a.navbar.getElByPage(i)).find(".searchbar")),s.searchbar=a.searchbar.create({el:o,backdropEl:i.find(".searchbar-backdrop"),customSearch:!0,on:{search(r,l){l.length===0&&s.searchbar.enabled?s.searchbar.backdropShow():s.searchbar.backdropHide(),s.source(l)}}}),s.attachPageEvents(),s.updateValues(),s.params.requestSourceOnOpen&&s.source("")}s.emit("local::open autocompleteOpen",s)}autoFocus(){const e=this;return e.searchbar&&e.searchbar.$inputEl&&e.searchbar.$inputEl.focus(),e}onOpened(){const e=this;e.params.openIn!=="dropdown"&&e.params.autoFocus&&e.autoFocus(),e.emit("local::opened autocompleteOpened",e)}onClose(){const e=this;e.destroyed||(e.searchbar&&e.searchbar.destroy&&(e.searchbar.destroy(),e.searchbar=null,delete e.searchbar),e.params.openIn==="dropdown"?(e.detachDropdownEvents(),e.$dropdownEl.removeClass("autocomplete-dropdown-in").remove()):e.detachPageEvents(),e.emit("local::close autocompleteClose",e))}onClosed(){const e=this;e.destroyed||(e.opened=!1,e.$el=null,e.el=null,delete e.$el,delete e.el,e.emit("local::closed autocompleteClosed",e))}openPage(){const e=this;if(e.opened)return e;const n=e.renderPage();return e.view.router.navigate({url:e.url,route:{content:n,path:e.url,on:{pageBeforeIn(s,a){e.onOpen("page",a.el)},pageAfterIn(s,a){e.onOpened("page",a.el)},pageBeforeOut(s,a){e.onClose("page",a.el)},pageAfterOut(s,a){e.onClosed("page",a.el)}},options:{animate:e.params.animate}}}),e}openPopup(){const e=this;if(e.opened)return e;const s={content:e.renderPopup(),animate:e.params.animate,push:e.params.popupPush,swipeToClose:e.params.popupSwipeToClose,on:{popupOpen(a){e.onOpen("popup",a.el)},popupOpened(a){e.onOpened("popup",a.el)},popupClose(a){e.onClose("popup",a.el)},popupClosed(a){e.onClosed("popup",a.el)}}};return e.params.routableModals&&e.view?e.view.router.navigate({url:e.url,route:{path:e.url,popup:s}}):e.modal=e.app.popup.create(s).open(e.params.animate),e}openDropdown(){const e=this;e.$dropdownEl||(e.$dropdownEl=P(e.renderDropdown()));const n=e.$inputEl.parents(".page-content");e.params.dropdownContainerEl?P(e.params.dropdownContainerEl).append(e.$dropdownEl):n.length===0?e.$dropdownEl.insertAfter(e.$inputEl):(e.positionDropdown(),n.append(e.$dropdownEl)),e.onOpen("dropdown",e.$dropdownEl),e.onOpened("dropdown",e.$dropdownEl)}open(){const e=this;if(e.opened)return e;const n=e.params.openIn;return e[`open${n.split("").map((s,a)=>a===0?s.toUpperCase():s).join("")}`](),e}close(){const e=this;return e.opened&&(e.params.openIn==="dropdown"?(e.onClose(),e.onClosed()):e.params.routableModals&&e.view||e.openedIn==="page"?e.view.router.back({animate:e.params.animate}):(e.modal.once("modalClosed",()=>{_t(()=>{e.destroyed||(e.modal.destroy(),delete e.modal)})}),e.modal.close())),e}init(){this.attachEvents()}destroy(){const e=this;e.emit("local::beforeDestroy autocompleteBeforeDestroy",e),e.detachEvents(),e.$inputEl&&e.$inputEl[0]&&delete e.$inputEl[0].f7Autocomplete,e.$openerEl&&e.$openerEl[0]&&delete e.$openerEl[0].f7Autocomplete,ft(e),e.destroyed=!0}};const Id=Cw,yw={name:"autocomplete",params:{autocomplete:{openerEl:void 0,inputEl:void 0,view:void 0,dropdownContainerEl:void 0,dropdownPlaceholderText:void 0,typeahead:!1,highlightMatches:!0,updateInputValueOnSelect:!0,inputEvents:"input",value:void 0,multiple:!1,source:void 0,limit:void 0,valueProperty:"id",textProperty:"text",openIn:"page",pageBackLinkText:"Back",popupCloseLinkText:"Close",pageTitle:void 0,searchbarPlaceholder:"Search...",searchbarDisableText:"Cancel",searchbarDisableButton:!0,searchbarSpellcheck:!1,popupPush:!1,popupSwipeToClose:void 0,animate:!0,autoFocus:!1,closeOnSelect:!1,notFoundText:"Nothing found",requestSourceOnOpen:!1,preloaderColor:void 0,preloader:!1,formColorTheme:void 0,navbarColorTheme:void 0,routableModals:!1,url:"select/",renderDropdown:void 0,renderPage:void 0,renderPopup:void 0,renderItem:void 0,renderSearchbar:void 0,renderNavbar:void 0}},static:{Autocomplete:Id},create(){const t=this;t.autocomplete=te(ct({defaultSelector:void 0,constructor:Id,app:t,domProp:"f7Autocomplete"}),{open(e){const n=t.autocomplete.get(e);if(n&&n.open)return n.open()},close(e){const n=t.autocomplete.get(e);if(n&&n.close)return n.close()}})}};let ww=class extends rt{constructor(e,n){n===void 0&&(n={}),super(n,[e]);const s=this,a=it(),i=te({},e.params.tooltip),o=Le();s.useModulesParams(i),s.params=te(i,n),typeof n.offset>"u"&&a.touch&&s.params.trigger==="hover"&&(s.params.offset=10);const{targetEl:r,containerEl:l}=s.params;if(!r&&!s.params.delegated)return s;const f=P(r);if(f.length===0&&!s.params.delegated)return s;if(f[0]&&f[0].f7Tooltip&&!s.params.delegated)return f[0].f7Tooltip;let c=P(l||e.$el).eq(0);c.length===0&&(c=e.$el);const u=P(s.render()).eq(0);te(s,{app:e,$targetEl:f,targetEl:f&&f[0],$containerEl:c,containerEl:c&&c[0],$el:u,el:u&&u[0],text:s.params.text||"",visible:!1,opened:!1}),f[0]&&(f[0].f7Tooltip=s);const d={};let m;function h(){s.opened?s.hide():s.show(this)}function p(S){s.opened&&(P(S.target).closest(f).length||P(S.target).closest(s.$el).length)||s.hide()}function b(S){m||(m=!0,d.x=S.type==="touchstart"?S.targetTouches[0].pageX:S.pageX,d.y=S.type==="touchstart"?S.targetTouches[0].pageY:S.pageY,s.show(this))}function g(S){if(!m)return;const I=S.type==="touchmove"?S.targetTouches[0].pageX:S.pageX,T=S.type==="touchmove"?S.targetTouches[0].pageY:S.pageY;((I-d.x)**2+(T-d.y)**2)**.5>50&&(m=!1,s.hide())}function v(){m&&(m=!1,s.hide())}function _(){s.show(this)}function k(){s.hide()}function E(){u.hasClass("tooltip-in")||u.removeClass("tooltip-out").remove()}return s.attachEvents=function(){if(u.on("transitionend",E),s.params.trigger==="click"){s.params.delegated?P(o).on("click",s.params.targetEl,h):s.$targetEl.on("click",h),P("html").on("click",p);return}if(s.params.trigger!=="manual")if(a.touch){const I=a.passiveListener?{passive:!0}:!1;s.params.delegated?P(o).on(e.touchEvents.start,s.params.targetEl,b,I):s.$targetEl.on(e.touchEvents.start,b,I),e.on("touchmove",g),e.on("touchend:passive",v)}else s.params.delegated?(P(o).on(a.pointerEvents?"pointerenter":"mouseenter",s.params.targetEl,_,!0),P(o).on(a.pointerEvents?"pointerleave":"mouseleave",s.params.targetEl,k,!0)):(s.$targetEl.on(a.pointerEvents?"pointerenter":"mouseenter",_),s.$targetEl.on(a.pointerEvents?"pointerleave":"mouseleave",k))},s.detachEvents=function(){if(u.off("transitionend",E),s.params.trigger==="click"){s.params.delegated?P(o).on("click",s.params.targetEl,h):s.$targetEl.off("click",h),P("html").off("click",p);return}if(s.params.trigger!=="manual")if(a.touch){const I=a.passiveListener?{passive:!0}:!1;s.params.delegated?P(o).off(e.touchEvents.start,s.params.targetEl,b,I):s.$targetEl.off(e.touchEvents.start,b,I),e.off("touchmove",g),e.off("touchend:passive",v)}else s.params.delegated?(P(o).off(a.pointerEvents?"pointerenter":"mouseenter",s.params.targetEl,_,!0),P(o).off(a.pointerEvents?"pointerleave":"mouseleave",s.params.targetEl,k,!0)):(s.$targetEl.off(a.pointerEvents?"pointerenter":"mouseenter",_),s.$targetEl.off(a.pointerEvents?"pointerleave":"mouseleave",k))},s.useModules(),s.init(),s}setTargetEl(e){const n=this;return n.detachEvents(),n.$targetEl=P(e),n.targetEl=n.$targetEl[0],n.attachEvents(),n}position(e){const n=this,{$el:s,app:a,$containerEl:i}=n,o=!!n.params.containerEl,r=n.params.offset||0;s.css({left:"",top:""});const l=P(e||n.targetEl),[f,c]=[s.width(),s.height()];s.css({left:"",top:""});let u,d,m,h;const p=o&&i.length?i[0].getBoundingClientRect():a;if(l&&l.length>0){if(u=l.outerWidth(),d=l.outerHeight(),typeof u>"u"&&typeof d>"u"){const E=l[0].getBoundingClientRect();u=E.width,d=E.height}const _=l.offset();m=_.left-p.left,h=_.top-p.top;const k=l.parents(".page");k.length>0&&(h-=k[0].scrollTop)}let[b,g]=[0,0,0],v="top";c+r=p.height&&(g=p.height-c-8)),v==="top"||v==="bottom"?(b=u/2+m-f/2,b<8&&(b=8),b+f>p.width&&(b=p.width-f-8),b<0&&(b=0)):v==="middle"&&(b=m-f,(b<8||b+f>p.width)&&(b<8&&(b=m+u),b+f>p.width&&(b=p.width-f-8))),s.css({top:`${g}px`,left:`${b}px`})}show(e){const n=this,{$el:s,$targetEl:a,$containerEl:i}=n;i[0]&&s[0]&&!i[0].contains(s[0])&&i.append(s),n.position(e);const o=P(e);return n.visible=!0,n.opened=!0,a.trigger("tooltip:show"),s.trigger("tooltip:show"),o.length&&o[0]!==a[0]&&o.trigger("tooltip:show"),n.emit("local::show tooltipShow",n),s.removeClass("tooltip-out").addClass("tooltip-in"),n}hide(){const e=this,{$el:n,$targetEl:s}=e;return e.visible=!1,e.opened=!1,s.trigger("tooltip:hide"),n.trigger("tooltip:hide"),e.emit("local::hide tooltipHide",e),n.addClass("tooltip-out").removeClass("tooltip-in"),e}render(){const e=this;if(e.params.render)return e.params.render.call(e,e);const{cssClass:n,text:s}=e.params;return` +
        +
        ${s||""}
        +
        + `.trim()}setText(e){const n=this;return typeof e>"u"||(n.params.text=e,n.text=e,n.$el&&n.$el.children(".tooltip-content").html(e),n.opened&&n.position()),n}init(){this.attachEvents()}destroy(){const e=this;!e.$targetEl||e.destroyed||(e.$targetEl.trigger("tooltip:beforedestroy"),e.emit("local::beforeDestroy tooltipBeforeDestroy",e),e.$el.remove(),e.$targetEl[0]&&delete e.$targetEl[0].f7Tooltip,e.detachEvents(),ft(e),e.destroyed=!0)}};const Ad=ww,Sw={name:"tooltip",static:{Tooltip:Ad},create(){const t=this;t.tooltip=ct({defaultSelector:".tooltip",constructor:Ad,app:t,domProp:"f7Tooltip"}),t.tooltip.show=function(n){const s=P(n);if(s.length===0)return;const a=s[0].f7Tooltip;if(a)return a.show(s[0]),a},t.tooltip.hide=function(n){const s=P(n);if(s.length===0)return;const a=s[0].f7Tooltip;if(a)return a.hide(),a},t.tooltip.setText=function(n,s){const a=P(n);if(a.length===0)return;const i=a[0].f7Tooltip;if(i)return i.setText(s),i}},params:{tooltip:{targetEl:null,delegated:!1,text:null,cssClass:null,render:null,offset:0,trigger:"hover",containerEl:void 0}},on:{tabMounted(t){const e=this;P(t).find(".tooltip-init").each(n=>{const s=P(n).attr("data-tooltip");s&&e.tooltip.create({targetEl:n,text:s})})},tabBeforeRemove(t){P(t).find(".tooltip-init").each(e=>{e.f7Tooltip&&e.f7Tooltip.destroy()})},pageInit(t){const e=this;t.$el.find(".tooltip-init").each(n=>{const s=P(n).attr("data-tooltip");s&&e.tooltip.create({targetEl:n,text:s})}),e.theme==="ios"&&t.view&&t.view.router.dynamicNavbar&&t.$navbarEl&&t.$navbarEl.length>0&&t.$navbarEl.find(".tooltip-init").each(n=>{const s=P(n).attr("data-tooltip");s&&e.tooltip.create({targetEl:n,text:s})})},pageBeforeRemove(t){const e=this;t.$el.find(".tooltip-init").each(n=>{n.f7Tooltip&&n.f7Tooltip.destroy()}),e.theme==="ios"&&t.view&&t.view.router.dynamicNavbar&&t.$navbarEl&&t.$navbarEl.length>0&&t.$navbarEl.find(".tooltip-init").each(n=>{n.f7Tooltip&&n.f7Tooltip.destroy()})}},vnode:{"tooltip-init":{insert(t){const e=this,n=t.elm,s=P(n).attr("data-tooltip");s&&e.tooltip.create({targetEl:n,text:s})},update(t){const e=t.elm;e.f7Tooltip&&t&&t.data&&t.data.attrs&&t.data.attrs["data-tooltip"]&&e.f7Tooltip.setText(t.data.attrs["data-tooltip"])},destroy(t){const e=t.elm;e.f7Tooltip&&e.f7Tooltip.destroy()}}}},Tw={name:"skeleton"},Mw={render(t){const{sliderLabel:e,sliderValue:n,sliderValueEditable:s,alphaLabelText:a}=t.params;return R("div",{class:"color-picker-module color-picker-module-alpha-slider"},R("div",{class:"color-picker-slider-wrap"},e&&R("div",{class:"color-picker-slider-label"},a),R("div",{class:"range-slider color-picker-slider color-picker-slider-alpha"}),n&&R("div",{class:"color-picker-slider-value"},s?R("input",{type:"number",step:"0.01",min:"0",max:"1",class:"color-picker-value-alpha"}):R("span",{class:"color-picker-value-alpha"}))))},init(t){t.alphaRangeSlider=t.app.range.create({el:t.$el.find(".color-picker-slider-alpha"),min:0,max:1,step:.01,value:1,on:{change(n,s){const a=Math.floor(s*100)/100;t.setValue({alpha:a})}}});function e(n){const s=t.value.alpha;let a=parseFloat(n.target.value);if(Number.isNaN(a)){n.target.value=s;return}a=Math.max(0,Math.min(1,a)),t.setValue({alpha:a})}t.$el.on("change",".color-picker-module-alpha-slider input",e),t.destroyAlphaSliderEvents=function(){t.$el.off("change",".color-picker-module-alpha-slider input",e)}},update(t){const{value:e}=t,{sliderValue:n,sliderValueEditable:s}=t.params,{alpha:a}=e;t.alphaRangeSlider.value=a,t.alphaRangeSlider.layout(),n&&s?t.$el.find("input.color-picker-value-alpha").val(a):t.$el.find("span.color-picker-value-alpha").text(a)},destroy(t){t.alphaRangeSlider&&t.alphaRangeSlider.destroy&&t.alphaRangeSlider.destroy(),delete t.alphaRangeSlider,t.destroyAlphaSliderEvents&&t.destroyAlphaSliderEvents(),delete t.destroyAlphaSliderEvents}},Pw={render(){return R("div",{class:"color-picker-module color-picker-module-current-color"},R("div",{class:"color-picker-current-color"}))},update(t){t.$el.find(".color-picker-module-current-color .color-picker-current-color").css("background-color",t.value.hex)}},Iw={render(t){const{hexLabel:e,hexLabelText:n,hexValueEditable:s}=t.params;return R("div",{class:"color-picker-module color-picker-module-hex"},R("div",{class:"color-picker-hex-wrap"},e&&R("div",{class:"color-picker-hex-label"},n),R("div",{class:"color-picker-hex-value"},s?R("input",{type:"text",class:"color-picker-value-hex"}):R("span",{class:"color-picker-value-hex"}))))},init(t){function e(n){const s=t.value.hex;let a=n.target.value.replace(/#/g,"");if(Number.isNaN(a)||!a||a.length!==3&&a.length!==6){n.target.value=s;return}const i=0,o=parseInt(a,16),r=parseInt("ffffff",16);o>r&&(a="fff"),o{if(Array.isArray(e)){let n='
        ';return n+=e.map(s=>` +
        + `).join(""),n+="
        ",n}return R("div",{class:"color-picker-palette-value","data-palette-color":e,style:`background-color: ${e}`})})))},init(t){function e(n){const s=P(n.target).attr("data-palette-color");t.setValue({hex:s})}t.$el.on("click",".color-picker-module-palette .color-picker-palette-value",e),t.destroyPaletteEvents=function(){t.$el.off("click",".color-picker-module-hex input",e)}},destroy(t){t.destroyPaletteEvents&&t.destroyPaletteEvents(),delete t.destroyPaletteEvents}},Dw={render(){return R("div",{class:"color-picker-module color-picker-module-initial-current-colors"},R("div",{class:"color-picker-initial-current-colors"},R("div",{class:"color-picker-initial-color"}),R("div",{class:"color-picker-current-color"})))},init(t){function e(){if(t.initialValue){const{hex:n,alpha:s}=t.initialValue;t.setValue({hex:n,alpha:s})}}t.$el.on("click",".color-picker-initial-color",e),t.destroyInitialCurrentEvents=function(){t.$el.off("click",".color-picker-initial-color",e)}},update(t){t.$el.find(".color-picker-module-initial-current-colors .color-picker-initial-color").css("background-color",t.initialValue.hex),t.$el.find(".color-picker-module-initial-current-colors .color-picker-current-color").css("background-color",t.value.hex)},destroy(t){t.destroyInitialCurrentEvents&&t.destroyInitialCurrentEvents(),delete t.destroyInitialCurrentEvents}},Rw={render(t){const{barLabel:e,barValue:n,barValueEditable:s,redLabelText:a,greenLabelText:i,blueLabelText:o}=t.params;return R("div",{class:"color-picker-module color-picker-module-rgb-bars"},R("div",{class:"color-picker-bar-wrap"},e&&R("div",{class:"color-picker-bar-label"},a),R("div",{class:"range-slider color-picker-bar color-picker-bar-red"}),n&&R("div",{class:"color-picker-bar-value"},s?R("input",{type:"number",step:"1",min:"0",max:"255",class:"color-picker-value-bar-red","data-color-index":"0"}):R("span",{class:"color-picker-value-bar-red"}))),R("div",{class:"color-picker-bar-wrap"},e&&R("div",{class:"color-picker-bar-label"},i),R("div",{class:"range-slider color-picker-bar color-picker-bar-green"}),n&&R("div",{class:"color-picker-bar-value"},s?R("input",{type:"number",step:"1",min:"0",max:"255",class:"color-picker-value-bar-green","data-color-index":"1"}):R("span",{class:"color-picker-value-bar-green"}))),R("div",{class:"color-picker-bar-wrap"},e&&R("div",{class:"color-picker-bar-label"},o),R("div",{class:"range-slider color-picker-bar color-picker-bar-blue"}),n&&R("div",{class:"color-picker-bar-value"},s?R("input",{type:"number",step:"1",min:"0",max:"255",class:"color-picker-value-bar-blue","data-color-index":"2"}):R("span",{class:"color-picker-value-bar-blue"}))))},init(t){t.redBar=t.app.range.create({el:t.$el.find(".color-picker-bar-red"),min:0,max:255,step:1,value:0,vertical:!0,on:{change(n,s){t.setValue({rgb:[s,t.value.rgb[1],t.value.rgb[2]]})}}}),t.greenBar=t.app.range.create({el:t.$el.find(".color-picker-bar-green"),min:0,max:255,step:1,value:0,vertical:!0,on:{change(n,s){t.setValue({rgb:[t.value.rgb[0],s,t.value.rgb[2]]})}}}),t.blueBar=t.app.range.create({el:t.$el.find(".color-picker-bar-blue"),min:0,max:255,step:1,value:0,vertical:!0,on:{change(n,s){t.setValue({rgb:[t.value.rgb[0],t.value.rgb[1],s]})}}});function e(n){const s=[...t.value.rgb],a=parseInt(P(n.target).attr("data-color-index"),10);let i=parseInt(n.target.value,10);if(Number.isNaN(i)){n.target.value=s[a];return}i=Math.max(0,Math.min(255,i)),s[a]=i,t.setValue({rgb:s})}t.$el.on("change",".color-picker-module-rgb-bars input",e),t.destroyRgbBarsEvents=function(){t.$el.off("change",".color-picker-module-rgb-bars input",e)}},update(t){const{value:e,redBar:n,greenBar:s,blueBar:a}=t,{barValue:i,barValueEditable:o}=t.params,{rgb:r}=e;n.value=r[0],s.value=r[1],a.value=r[2],n.layout(),s.layout(),a.layout(),n.$el.find(".range-bar").css("background-image",`linear-gradient(to top, rgb(0, ${r[1]}, ${r[2]}), rgb(255, ${r[1]}, ${r[2]}))`),s.$el.find(".range-bar").css("background-image",`linear-gradient(to top, rgb(${r[0]}, 0, ${r[2]}), rgb(${r[0]}, 255, ${r[2]}))`),a.$el.find(".range-bar").css("background-image",`linear-gradient(to top, rgb(${r[0]}, ${r[1]}, 0), rgb(${r[0]}, ${r[1]}, 255))`),i&&o?(t.$el.find("input.color-picker-value-bar-red").val(r[0]),t.$el.find("input.color-picker-value-bar-green").val(r[1]),t.$el.find("input.color-picker-value-bar-blue").val(r[2])):i&&(t.$el.find("span.color-picker-value-bar-red").text(r[0]),t.$el.find("span.color-picker-value-bar-green").text(r[1]),t.$el.find("span.color-picker-value-bar-blue").text(r[2]))},destroy(t){t.redBar&&t.redBar.destroy&&t.redBar.destroy(),t.greenBar&&t.greenBar.destroy&&t.greenBar.destroy(),t.blueBar&&t.blueBar.destroy&&t.blueBar.destroy(),delete t.redBar,delete t.greenBar,delete t.blueBar,t.destroyRgbBarsEvents&&t.destroyRgbBarsEvents(),delete t.destroyRgbBarsEvents}},Hw={render(t){const{sliderLabel:e,sliderValue:n,sliderValueEditable:s,redLabelText:a,greenLabelText:i,blueLabelText:o}=t.params;return R("div",{class:"color-picker-module color-picker-module-rgb-sliders"},R("div",{class:"color-picker-slider-wrap"},e&&R("div",{class:"color-picker-slider-label"},a),R("div",{class:"range-slider color-picker-slider color-picker-slider-red"}),n&&R("div",{class:"color-picker-slider-value"},s?R("input",{type:"number",step:"1",min:"0",max:"255",class:"color-picker-value-red","data-color-index":"0"}):R("span",{class:"color-picker-value-red"}))),R("div",{class:"color-picker-slider-wrap"},e&&R("div",{class:"color-picker-slider-label"},i),R("div",{class:"range-slider color-picker-slider color-picker-slider-green"}),n&&R("div",{class:"color-picker-slider-value"},s?R("input",{type:"number",step:"1",min:"0",max:"255",class:"color-picker-value-green","data-color-index":"1"}):R("span",{class:"color-picker-value-green"}))),R("div",{class:"color-picker-slider-wrap"},e&&R("div",{class:"color-picker-slider-label"},o),R("div",{class:"range-slider color-picker-slider color-picker-slider-blue"}),n&&R("div",{class:"color-picker-slider-value"},s?R("input",{type:"number",step:"1",min:"0",max:"255",class:"color-picker-value-blue","data-color-index":"2"}):R("span",{class:"color-picker-value-blue"}))))},init(t){t.redRangeSlider=t.app.range.create({el:t.$el.find(".color-picker-slider-red"),min:0,max:255,step:1,value:0,on:{change(n,s){t.setValue({rgb:[s,t.value.rgb[1],t.value.rgb[2]]})}}}),t.greenRangeSlider=t.app.range.create({el:t.$el.find(".color-picker-slider-green"),min:0,max:255,step:1,value:0,on:{change(n,s){t.setValue({rgb:[t.value.rgb[0],s,t.value.rgb[2]]})}}}),t.blueRangeSlider=t.app.range.create({el:t.$el.find(".color-picker-slider-blue"),min:0,max:255,step:1,value:0,on:{change(n,s){t.setValue({rgb:[t.value.rgb[0],t.value.rgb[1],s]})}}});function e(n){const s=[...t.value.rgb],a=parseInt(P(n.target).attr("data-color-index"),10);let i=parseInt(n.target.value,10);if(Number.isNaN(i)){n.target.value=s[a];return}i=Math.max(0,Math.min(255,i)),s[a]=i,t.setValue({rgb:s})}t.$el.on("change",".color-picker-module-rgb-sliders input",e),t.destroyRgbSlidersEvents=function(){t.$el.off("change",".color-picker-module-rgb-sliders input",e)}},update(t){const{app:e,value:n,redRangeSlider:s,greenRangeSlider:a,blueRangeSlider:i}=t,{sliderValue:o,sliderValueEditable:r}=t.params,{rgb:l}=n;s.value=l[0],a.value=l[1],i.value=l[2],s.layout(),a.layout(),i.layout(),s.$el[0].style.setProperty("--f7-range-knob-color",`rgb(${l[0]}, ${l[1]}, ${l[2]})`),a.$el[0].style.setProperty("--f7-range-knob-color",`rgb(${l[0]}, ${l[1]}, ${l[2]})`),i.$el[0].style.setProperty("--f7-range-knob-color",`rgb(${l[0]}, ${l[1]}, ${l[2]})`);const f=e.rtl?"to left":"to right";s.$el.find(".range-bar").css("background-image",`linear-gradient(${f}, rgb(0, ${l[1]}, ${l[2]}), rgb(255, ${l[1]}, ${l[2]}))`),a.$el.find(".range-bar").css("background-image",`linear-gradient(${f}, rgb(${l[0]}, 0, ${l[2]}), rgb(${l[0]}, 255, ${l[2]}))`),i.$el.find(".range-bar").css("background-image",`linear-gradient(${f}, rgb(${l[0]}, ${l[1]}, 0), rgb(${l[0]}, ${l[1]}, 255))`),o&&r?(t.$el.find("input.color-picker-value-red").val(l[0]),t.$el.find("input.color-picker-value-green").val(l[1]),t.$el.find("input.color-picker-value-blue").val(l[2])):o&&(t.$el.find("span.color-picker-value-red").text(l[0]),t.$el.find("span.color-picker-value-green").text(l[1]),t.$el.find("span.color-picker-value-blue").text(l[2]))},destroy(t){t.redRangeSlider&&t.redRangeSlider.destroy&&t.redRangeSlider.destroy(),t.greenRangeSlider&&t.greenRangeSlider.destroy&&t.greenRangeSlider.destroy(),t.blueRangeSlider&&t.blueRangeSlider.destroy&&t.blueRangeSlider.destroy(),delete t.redRangeSlider,delete t.greenRangeSlider,delete t.blueRangeSlider,t.destroyRgbSlidersEvents&&t.destroyRgbSlidersEvents(),delete t.destroyRgbSlidersEvents}},zw={render(){return R("div",{class:"color-picker-module color-picker-module-sb-spectrum"},R("div",{class:"color-picker-sb-spectrum",style:"background-color: hsl(0, 100%, 50%)"},R("div",{class:"color-picker-sb-spectrum-handle"})))},init(t){const{app:e}=t;let n,s,a,i,o,r,l,f,c;const{$el:u}=t;function d(v,_){let k=(v-l.left)/l.width,E=(_-l.top)/l.height;k=Math.max(0,Math.min(1,k)),E=1-Math.max(0,Math.min(1,E)),t.setValue({hsb:[t.value.hue,k,E]})}function m(v){if(s||n)return;a=v.type==="touchstart"?v.targetTouches[0].pageX:v.pageX,o=a,i=v.type==="touchstart"?v.targetTouches[0].pageY:v.pageY,r=i;const _=P(v.target);c=_.closest(".color-picker-sb-spectrum-handle").length>0,c||(f=_.closest(".color-picker-sb-spectrum").length>0),f&&(l=u.find(".color-picker-sb-spectrum")[0].getBoundingClientRect(),d(a,i)),(c||f)&&u.find(".color-picker-sb-spectrum-handle").addClass("color-picker-sb-spectrum-handle-pressed")}function h(v){(f||c)&&(o=v.type==="touchmove"?v.targetTouches[0].pageX:v.pageX,r=v.type==="touchmove"?v.targetTouches[0].pageY:v.pageY,v.preventDefault(),s||(s=!0,c&&(l=u.find(".color-picker-sb-spectrum")[0].getBoundingClientRect())),(f||c)&&d(o,r))}function p(){s=!1,(f||c)&&u.find(".color-picker-sb-spectrum-handle").removeClass("color-picker-sb-spectrum-handle-pressed"),f=!1,c=!1}function b(){t.modules["sb-spectrum"].update(t)}const g=e.touchEvents.start==="touchstart"&&it().passiveListener?{passive:!0,capture:!1}:!1;t.$el.on(e.touchEvents.start,m,g),e.on("touchmove:active",h),e.on("touchend:passive",p),e.on("resize",b),t.destroySpectrumEvents=function(){t.$el.off(e.touchEvents.start,m,g),e.off("touchmove:active",h),e.off("touchend:passive",p),e.off("resize",b)}},update(t){const{value:e}=t,{hsl:n,hsb:s}=e,a=t.$el.find(".color-picker-sb-spectrum")[0].offsetWidth,i=t.$el.find(".color-picker-sb-spectrum")[0].offsetHeight;t.$el.find(".color-picker-sb-spectrum").css("background-color",`hsl(${n[0]}, 100%, 50%)`),t.$el.find(".color-picker-sb-spectrum-handle").css("background-color",`hsl(${n[0]}, ${n[1]*100}%, ${n[2]*100}%)`).transform(`translate(${a*s[1]}px, ${i*(1-s[2])}px)`)},destroy(t){t.destroySpectrumEvents&&t.destroySpectrumEvents(),delete t.destroySpectrumEvents}},Fw={render(){return R("div",{class:"color-picker-module color-picker-module-hs-spectrum"},R("div",{class:"color-picker-hs-spectrum"},R("div",{class:"color-picker-hs-spectrum-handle"})))},init(t){const{app:e}=t;let n,s,a,i,o,r,l,f,c;const{$el:u}=t;function d(v,_){let k=(v-l.left)/l.width*360,E=(_-l.top)/l.height;k=Math.max(0,Math.min(360,k)),E=1-Math.max(0,Math.min(1,E)),t.setValue({hsb:[k,E,t.value.hsb[2]]})}function m(v){if(s||n)return;a=v.type==="touchstart"?v.targetTouches[0].pageX:v.pageX,o=a,i=v.type==="touchstart"?v.targetTouches[0].pageY:v.pageY,r=i;const _=P(v.target);c=_.closest(".color-picker-hs-spectrum-handle").length>0,c||(f=_.closest(".color-picker-hs-spectrum").length>0),f&&(l=u.find(".color-picker-hs-spectrum")[0].getBoundingClientRect(),d(a,i)),(c||f)&&u.find(".color-picker-hs-spectrum-handle").addClass("color-picker-hs-spectrum-handle-pressed")}function h(v){(f||c)&&(o=v.type==="touchmove"?v.targetTouches[0].pageX:v.pageX,r=v.type==="touchmove"?v.targetTouches[0].pageY:v.pageY,v.preventDefault(),s||(s=!0,c&&(l=u.find(".color-picker-hs-spectrum")[0].getBoundingClientRect())),(f||c)&&d(o,r))}function p(){s=!1,(f||c)&&u.find(".color-picker-hs-spectrum-handle").removeClass("color-picker-hs-spectrum-handle-pressed"),f=!1,c=!1}function b(){t.modules["hs-spectrum"].update(t)}const g=e.touchEvents.start==="touchstart"&&it().passiveListener?{passive:!0,capture:!1}:!1;t.$el.on(e.touchEvents.start,m,g),e.on("touchmove:active",h),e.on("touchend:passive",p),e.on("resize",b),t.destroySpectrumEvents=function(){t.$el.off(e.touchEvents.start,m,g),e.off("touchmove:active",h),e.off("touchend:passive",p),e.off("resize",b)}},update(t){const{value:e}=t,{hsb:n}=e,s=t.$el.find(".color-picker-hs-spectrum")[0].offsetWidth,a=t.$el.find(".color-picker-hs-spectrum")[0].offsetHeight,i=rn(n[0],n[1],1);t.$el.find(".color-picker-hs-spectrum-handle").css("background-color",`hsl(${i[0]}, ${i[1]*100}%, ${i[2]*100}%)`).transform(`translate(${s*(n[0]/360)}px, ${a*(1-n[1])}px)`)},destroy(t){t.destroySpectrumEvents&&t.destroySpectrumEvents(),delete t.destroySpectrumEvents}};function Nw(){let e="";for(let n=256;n>0;n-=1){const s=n*Math.PI/128,a=360/256*n;e+=``}return e}const Vw={render(){return R("div",{class:"color-picker-module color-picker-module-wheel"},R("div",{class:"color-picker-wheel"},R("svg",{viewBox:"0 0 300 300",width:"300",height:"300"},Nw()),R("div",{class:"color-picker-wheel-handle"}),R("div",{class:"color-picker-sb-spectrum",style:"background-color: hsl(0, 100%, 50%)"},R("div",{class:"color-picker-sb-spectrum-handle"}))))},init(t){const{app:e}=t;let n,s,a,i,o,r,l,f,c,u,d,m;const{$el:h}=t;function p(S,I){const T=l.left+l.width/2,A=l.top+l.height/2;let w=Math.atan2(I-A,S-T)*180/Math.PI+90;w<0&&(w+=360),w=360-w,t.setValue({hue:w})}function b(S,I){let T=(S-u.left)/u.width,A=(I-u.top)/u.height;T=Math.max(0,Math.min(1,T)),A=1-Math.max(0,Math.min(1,A)),t.setValue({hsb:[t.value.hue,T,A]})}function g(S){if(s||n)return;a=S.type==="touchstart"?S.targetTouches[0].pageX:S.pageX,o=a,i=S.type==="touchstart"?S.targetTouches[0].pageY:S.pageY,r=i;const I=P(S.target);c=I.closest(".color-picker-wheel-handle").length>0,f=I.closest("circle").length>0,m=I.closest(".color-picker-sb-spectrum-handle").length>0,m||(d=I.closest(".color-picker-sb-spectrum").length>0),f&&(l=h.find(".color-picker-wheel")[0].getBoundingClientRect(),p(a,i)),d&&(u=h.find(".color-picker-sb-spectrum")[0].getBoundingClientRect(),b(a,i)),(m||d)&&h.find(".color-picker-sb-spectrum-handle").addClass("color-picker-sb-spectrum-handle-pressed")}function v(S){!(f||c)&&!(d||m)||(o=S.type==="touchmove"?S.targetTouches[0].pageX:S.pageX,r=S.type==="touchmove"?S.targetTouches[0].pageY:S.pageY,S.preventDefault(),s||(s=!0,c&&(l=h.find(".color-picker-wheel")[0].getBoundingClientRect()),m&&(u=h.find(".color-picker-sb-spectrum")[0].getBoundingClientRect())),(f||c)&&p(o,r),(d||m)&&b(o,r))}function _(){s=!1,(d||m)&&h.find(".color-picker-sb-spectrum-handle").removeClass("color-picker-sb-spectrum-handle-pressed"),f=!1,c=!1,d=!1,m=!1}function k(){t.modules.wheel.update(t)}const E=e.touchEvents.start==="touchstart"&&it().passiveListener?{passive:!0,capture:!1}:!1;t.$el.on(e.touchEvents.start,g,E),e.on("touchmove:active",v),e.on("touchend:passive",_),e.on("resize",k),t.destroyWheelEvents=function(){t.$el.off(e.touchEvents.start,g,E),e.off("touchmove:active",v),e.off("touchend:passive",_),e.off("resize",k)}},update(t){const{value:e}=t,{hsl:n,hsb:s}=e,a=t.$el.find(".color-picker-sb-spectrum")[0].offsetWidth,i=t.$el.find(".color-picker-sb-spectrum")[0].offsetHeight,o=t.$el.find(".color-picker-wheel")[0].offsetWidth,r=o/2,l=e.hue*Math.PI/180,c=o/6/2,u=r-Math.sin(l)*(r-c)-c,d=r-Math.cos(l)*(r-c)-c;t.$el.find(".color-picker-wheel-handle").css("background-color",`hsl(${n[0]}, 100%, 50%)`).transform(`translate(${u}px, ${d}px)`),t.$el.find(".color-picker-sb-spectrum").css("background-color",`hsl(${n[0]}, 100%, 50%)`),t.$el.find(".color-picker-sb-spectrum-handle").css("background-color",`hsl(${n[0]}, ${n[1]*100}%, ${n[2]*100}%)`).transform(`translate(${a*s[1]}px, ${i*(1-s[2])}px)`)},destroy(t){t.destroyWheelEvents&&t.destroyWheelEvents(),delete t.destroyWheelEvents}};let Yw=class extends rt{constructor(e,n){n===void 0&&(n={}),super(n,[e]);const s=this;s.params=te({},e.params.colorPicker,n);let a;if(s.params.containerEl&&(a=P(s.params.containerEl),a.length===0))return s;let i;s.params.inputEl&&(i=P(s.params.inputEl));let o;s.params.targetEl&&(o=P(s.params.targetEl)),te(s,{app:e,$containerEl:a,containerEl:a&&a[0],inline:a&&a.length>0,$inputEl:i,inputEl:i&&i[0],$targetEl:o,targetEl:o&&o[0],initialized:!1,opened:!1,url:s.params.url,modules:{"alpha-slider":Mw,"current-color":Pw,hex:Iw,"hsb-sliders":Aw,"hue-slider":Ow,"brightness-slider":Bw,palette:Lw,"initial-current-colors":Dw,"rgb-bars":Rw,"rgb-sliders":Hw,"sb-spectrum":zw,"hs-spectrum":Fw,wheel:Vw}});function r(){s.open()}function l(u){u.preventDefault()}function f(){s.open()}function c(u){if(s.destroyed||!s.params||s.params.openIn==="page")return;const d=P(u.target);!s.opened||s.closing||d.closest('[class*="backdrop"]').length||d.closest(".color-picker-popup, .color-picker-popover").length||(i&&i.length>0?d[0]!==i[0]&&d.closest(".sheet-modal").length===0&&s.close():P(u.target).closest(".sheet-modal").length===0&&s.close())}return te(s,{attachInputEvents(){s.$inputEl.on("click",r),s.params.inputReadOnly&&(s.$inputEl.on("focus mousedown",l),s.$inputEl[0]&&(s.$inputEl[0].f7ValidateReadonly=!0))},detachInputEvents(){s.$inputEl.off("click",r),s.params.inputReadOnly&&(s.$inputEl.off("focus mousedown",l),s.$inputEl[0]&&delete s.$inputEl[0].f7ValidateReadonly)},attachTargetEvents(){s.$targetEl.on("click",f)},detachTargetEvents(){s.$targetEl.off("click",f)},attachHtmlEvents(){e.on("click",c)},detachHtmlEvents(){e.off("click",c)}}),s.init(),s}get view(){const{$inputEl:e,$targetEl:n,app:s,params:a}=this;let i;return a.view?i=a.view:(e&&(i=e.parents(".view").length&&e.parents(".view")[0].f7View),!i&&n&&(i=n.parents(".view").length&&n.parents(".view")[0].f7View)),i||(i=s.views.main),i}attachEvents(){const e=this;e.centerModules=e.centerModules.bind(e),e.params.centerModules&&e.app.on("resize",e.centerModules)}detachEvents(){const e=this;e.params.centerModules&&e.app.off("resize",e.centerModules)}centerModules(){const e=this;if(!e.opened||!e.$el||e.inline)return;const n=e.$el.find(".page-content");if(!n.length)return;const{scrollHeight:s,offsetHeight:a}=n[0];s<=a?n.addClass("justify-content-center"):n.removeClass("justify-content-center")}initInput(){const e=this;e.$inputEl&&e.params.inputReadOnly&&e.$inputEl.prop("readOnly",!0)}getModalType(){const e=this,{app:n,modal:s,params:a}=e,{openIn:i,openInPhone:o}=a,r=Ke();return s&&s.type?s.type:i!=="auto"?i:e.inline?null:r.ios?r.ipad?"popover":o:n.width>=768?"popover":o}formatValue(){const e=this,{value:n}=e;return e.params.formatValue?e.params.formatValue.call(e,n):n.hex}normalizeHsValues(e){return[Math.floor(e[0]*10)/10,Math.floor(e[1]*1e3)/1e3,Math.floor(e[2]*1e3)/1e3]}setValue(e,n){e===void 0&&(e={}),n===void 0&&(n=!0);const s=this;if(typeof e>"u")return;let{hex:a,rgb:i,hsl:o,hsb:r,alpha:l=1,hue:f,rgba:c,hsla:u}=s.value||{};const d=s.value||!s.value&&!s.params.value;let m;if(Object.keys(e).forEach(h=>{if(!s.value||typeof s.value[h]>"u"){m=!0;return}const p=e[h];Array.isArray(p)?p.forEach((b,g)=>{b!==s.value[h][g]&&(m=!0)}):p!==s.value[h]&&(m=!0)}),!!m){if(e.rgb||e.rgba){const[h,p,b,g=l]=e.rgb||e.rgba;i=[h,p,b],a=sn(...i),o=ys(...i),r=Un(...o),o=s.normalizeHsValues(o),r=s.normalizeHsValues(r),f=r[0],l=g,c=[i[0],i[1],i[2],g],u=[o[0],o[1],o[2],g]}if(e.hsl||e.hsla){const[h,p,b,g=l]=e.hsl||e.hsla;o=[h,p,b],i=Dn(...o),a=sn(...i),r=Un(...o),o=s.normalizeHsValues(o),r=s.normalizeHsValues(r),f=r[0],l=g,c=[i[0],i[1],i[2],g],u=[o[0],o[1],o[2],g]}if(e.hsb){const[h,p,b,g=l]=e.hsb;r=[h,p,b],o=rn(...r),i=Dn(...o),a=sn(...i),o=s.normalizeHsValues(o),r=s.normalizeHsValues(r),f=r[0],l=g,c=[i[0],i[1],i[2],g],u=[o[0],o[1],o[2],g]}if(e.hex&&(i=tn(e.hex),a=sn(...i),o=ys(...i),r=Un(...o),o=s.normalizeHsValues(o),r=s.normalizeHsValues(r),f=r[0],c=[i[0],i[1],i[2],l],u=[o[0],o[1],o[2],l]),typeof e.alpha<"u"&&(l=e.alpha,typeof i<"u"&&(c=[i[0],i[1],i[2],l]),typeof o<"u"&&(u=[o[0],o[1],o[2],l])),typeof e.hue<"u"){const[h,p,b]=o;o=[e.hue,p,b],r=Un(...o),i=Dn(...o),a=sn(...i),o=s.normalizeHsValues(o),r=s.normalizeHsValues(r),f=r[0],c=[i[0],i[1],i[2],l],u=[o[0],o[1],o[2],l]}s.value={hex:a,alpha:l,hue:f,rgb:i,hsl:o,hsb:r,rgba:c,hsla:u},s.initialValue||(s.initialValue=te({},s.value)),s.updateValue(d),s.opened&&n&&s.updateModules()}}getValue(){return this.value}updateValue(e){e===void 0&&(e=!0);const n=this,{$inputEl:s,value:a,$targetEl:i}=n;if(i&&n.params.targetElSetBackgroundColor){const{rgba:o}=a;i.css("background-color",`rgba(${o.join(", ")})`)}if(e&&n.emit("local::change colorPickerChange",n,a),s&&s.length){const o=n.formatValue(a);s&&s.length&&(s.val(o),e&&s.trigger("change"))}}updateModules(){const e=this,{modules:n}=e;e.params.modules.forEach(s=>{typeof s=="string"&&n[s]&&n[s].update?n[s].update(e):s&&s.update&&s.update(e)})}update(){this.updateModules()}renderPicker(){const e=this,{params:n,modules:s}=e;let a="";return n.modules.forEach(i=>{typeof i=="string"&&s[i]&&s[i].render?a+=s[i].render(e):i&&i.render&&(a+=i.render(e))}),a}renderNavbar(){const e=this;if(e.params.renderNavbar)return e.params.renderNavbar.call(e,e);const{openIn:n,navbarTitleText:s,navbarBackLinkText:a,navbarCloseText:i}=e.params;return R("div",{class:"navbar"},R("div",{class:"navbar-bg"}),R("div",{class:"navbar-inner sliding"},n==="page"&&R("div",{class:"left"},R("a",{class:"link back"},R("i",{class:"icon icon-back"}),R("span",{class:"if-not-md"},a))),R("div",{class:"title"},s),n!=="page"&&R("div",{class:"right"},R("a",{class:"link popup-close","data-popup":".color-picker-popup"},i))))}renderToolbar(){const e=this;return e.params.renderToolbar?e.params.renderToolbar.call(e,e):R("div",{class:"toolbar toolbar-top"},R("div",{class:"toolbar-inner"},R("div",{class:"left"}),R("div",{class:"right"},R("a",{class:"link sheet-close popover-close","data-sheet":".color-picker-sheet-modal","data-popover":".color-picker-popover"},e.params.toolbarCloseText))))}renderInline(){const e=this,{cssClass:n,groupedModules:s}=e.params;return R("div",{class:`color-picker color-picker-inline ${s?"color-picker-grouped-modules":""} ${n||""}`},e.renderPicker())}renderSheet(){const e=this,{cssClass:n,toolbarSheet:s,groupedModules:a}=e.params;return R("div",{class:`sheet-modal color-picker color-picker-sheet-modal ${a?"color-picker-grouped-modules":""} ${n||""}`},s&&e.renderToolbar(),R("div",{class:"sheet-modal-inner"},R("div",{class:"page-content"},e.renderPicker())))}renderPopover(){const e=this,{cssClass:n,toolbarPopover:s,groupedModules:a}=e.params;return R("div",{class:`popover color-picker-popover ${n||""}`},R("div",{class:"popover-inner"},R("div",{class:`color-picker ${a?"color-picker-grouped-modules":""}`},s&&e.renderToolbar(),R("div",{class:"page-content"},e.renderPicker()))))}renderPopup(){const e=this,{cssClass:n,navbarPopup:s,groupedModules:a}=e.params;return R("div",{class:`popup color-picker-popup ${n||""}`},R("div",{class:"page"},s&&e.renderNavbar(),R("div",{class:`color-picker ${a?"color-picker-grouped-modules":""}`},R("div",{class:"page-content"},e.renderPicker()))))}renderPage(){const e=this,{cssClass:n,groupedModules:s}=e.params;return R("div",{class:`page color-picker-page ${n||""}`,"data-name":"color-picker-page"},e.renderNavbar(),R("div",{class:`color-picker ${s?"color-picker-grouped-modules":""}`},R("div",{class:"page-content"},e.renderPicker())))}render(){const e=this,{params:n}=e;if(n.render)return n.render.call(e);if(e.inline)return e.renderInline();if(n.openIn==="page")return e.renderPage();const s=e.getModalType();if(s==="popover")return e.renderPopover();if(s==="sheet")return e.renderSheet();if(s==="popup")return e.renderPopup()}onOpen(){const e=this,{initialized:n,$el:s,app:a,$inputEl:i,inline:o,value:r,params:l,modules:f}=e;e.closing=!1,e.opened=!0,e.opening=!0,e.attachEvents(),l.modules.forEach(u=>{typeof u=="string"&&f[u]&&f[u].init?f[u].init(e):u&&u.init&&u.init(e)});const c=!r&&l.value;n?r&&(e.initialValue=te({},r),e.setValue(r,!1)):r?e.setValue(r):l.value?e.setValue(l.value,!1):l.value||e.setValue({hex:"#ff0000"},!1),c&&e.updateValue(),e.updateModules(),l.centerModules&&e.centerModules(),!o&&i&&i.length&&a.theme==="md"&&i.trigger("focus"),e.initialized=!0,s&&s.trigger("colorpicker:open"),i&&i.trigger("colorpicker:open"),e.emit("local::open colorPickerOpen",e)}onOpened(){const e=this;e.opening=!1,e.$el&&e.$el.trigger("colorpicker:opened"),e.$inputEl&&e.$inputEl.trigger("colorpicker:opened"),e.emit("local::opened colorPickerOpened",e)}onClose(){const e=this,{app:n,params:s,modules:a}=e;if(e.opening=!1,e.closing=!0,e.detachEvents(),e.$inputEl)if(n.theme==="md")e.$inputEl.trigger("blur");else{const i=e.$inputEl.attr("validate"),o=e.$inputEl.attr("required");i&&o&&n.input.validate(e.$inputEl)}s.modules.forEach(i=>{typeof i=="string"&&a[i]&&a[i].destroy?a[i].destroy(e):i&&i.destroy&&i.destroy(e)}),e.$el&&e.$el.trigger("colorpicker:close"),e.$inputEl&&e.$inputEl.trigger("colorpicker:close"),e.emit("local::close colorPickerClose",e)}onClosed(){const e=this;e.opened=!1,e.closing=!1,e.inline||_t(()=>{e.modal&&e.modal.el&&e.modal.destroy&&(e.params.routableModals||e.modal.destroy()),delete e.modal}),e.$el&&e.$el.trigger("colorpicker:closed"),e.$inputEl&&e.$inputEl.trigger("colorpicker:closed"),e.emit("local::closed colorPickerClosed",e)}open(){const e=this,{app:n,opened:s,inline:a,$inputEl:i,$targetEl:o,params:r}=e;if(s)return;if(a){e.$el=P(e.render()),e.$el[0].f7ColorPicker=e,e.$containerEl.append(e.$el),e.onOpen(),e.onOpened();return}const l=e.render();if(r.openIn==="page")e.view.router.navigate({url:e.url,route:{content:l,path:e.url,on:{pageBeforeIn(f,c){e.$el=c.$el.find(".color-picker"),e.$el[0].f7ColorPicker=e,e.onOpen()},pageAfterIn(){e.onOpened()},pageBeforeOut(){e.onClose()},pageAfterOut(){e.onClosed(),e.$el&&e.$el[0]&&(e.$el[0].f7ColorPicker=null,delete e.$el[0].f7ColorPicker)}}}});else{const f=e.getModalType();let c=r.backdrop;(c===null||typeof c>"u")&&(f==="popover"&&n.params.popover.backdrop!==!1&&(c=!0),f==="popup"&&(c=!0));const u={targetEl:o||i,scrollToEl:r.scrollToInput?o||i:void 0,content:l,backdrop:c,closeByBackdropClick:r.closeByBackdropClick,on:{open(){const d=this;e.modal=d,e.$el=f==="popover"||f==="popup"?d.$el.find(".color-picker"):d.$el,e.$el[0].f7ColorPicker=e,e.onOpen()},opened(){e.onOpened()},close(){e.onClose()},closed(){e.onClosed(),e.$el&&e.$el[0]&&(e.$el[0].f7ColorPicker=null,delete e.$el[0].f7ColorPicker)}}};f==="popup"&&(u.push=r.popupPush,u.swipeToClose=r.popupSwipeToClose),f==="sheet"&&(u.push=r.sheetPush,u.swipeToClose=r.sheetSwipeToClose),r.routableModals&&e.view?e.view.router.navigate({url:e.url,route:{path:e.url,[f]:u}}):(e.modal=n[f].create(u),e.modal.open())}}close(){const e=this,{opened:n,inline:s}=e;if(n){if(s){e.onClose(),e.onClosed();return}e.params.routableModals&&e.view||e.params.openIn==="page"?e.view.router.back():e.modal.close()}}init(){const e=this;if(e.initInput(),e.inline){e.open(),e.emit("local::init colorPickerInit",e);return}!e.initialized&&e.params.value&&e.setValue(e.params.value),e.$inputEl&&e.attachInputEvents(),e.$targetEl&&e.attachTargetEvents(),e.params.closeByOutsideClick&&e.attachHtmlEvents(),e.emit("local::init colorPickerInit",e)}destroy(){const e=this;if(e.destroyed)return;const{$el:n}=e;e.emit("local::beforeDestroy colorPickerBeforeDestroy",e),n&&n.trigger("colorpicker:beforedestroy"),e.close(),e.detachEvents(),e.$inputEl&&e.detachInputEvents(),e.$targetEl&&e.detachTargetEvents(),e.params.closeByOutsideClick&&e.detachHtmlEvents(),n&&n.length&&delete e.$el[0].f7ColorPicker,ft(e),e.destroyed=!0}};const Od=Yw,qw={name:"colorPicker",static:{ColorPicker:Od},create(){const t=this;t.colorPicker=ct({defaultSelector:".color-picker",constructor:Od,app:t,domProp:"f7ColorPicker"}),t.colorPicker.close=function(n){n===void 0&&(n=".color-picker");const s=P(n);if(s.length===0)return;const a=s[0].f7ColorPicker;!a||a&&!a.opened||a.close()}},params:{colorPicker:{value:null,modules:["wheel"],palette:[["#FFEBEE","#FFCDD2","#EF9A9A","#E57373","#EF5350","#F44336","#E53935","#D32F2F","#C62828","#B71C1C"],["#F3E5F5","#E1BEE7","#CE93D8","#BA68C8","#AB47BC","#9C27B0","#8E24AA","#7B1FA2","#6A1B9A","#4A148C"],["#E8EAF6","#C5CAE9","#9FA8DA","#7986CB","#5C6BC0","#3F51B5","#3949AB","#303F9F","#283593","#1A237E"],["#E1F5FE","#B3E5FC","#81D4FA","#4FC3F7","#29B6F6","#03A9F4","#039BE5","#0288D1","#0277BD","#01579B"],["#E0F2F1","#B2DFDB","#80CBC4","#4DB6AC","#26A69A","#009688","#00897B","#00796B","#00695C","#004D40"],["#F1F8E9","#DCEDC8","#C5E1A5","#AED581","#9CCC65","#8BC34A","#7CB342","#689F38","#558B2F","#33691E"],["#FFFDE7","#FFF9C4","#FFF59D","#FFF176","#FFEE58","#FFEB3B","#FDD835","#FBC02D","#F9A825","#F57F17"],["#FFF3E0","#FFE0B2","#FFCC80","#FFB74D","#FFA726","#FF9800","#FB8C00","#F57C00","#EF6C00","#E65100"]],groupedModules:!1,centerModules:!0,sliderLabel:!1,sliderValue:!1,sliderValueEdiable:!1,barLabel:!1,barValue:!1,barValueEdiable:!1,hexLabel:!1,hexValueEditable:!1,redLabelText:"R",greenLabelText:"G",blueLabelText:"B",hueLabelText:"H",saturationLabelText:"S",brightnessLabelText:"B",hexLabelText:"HEX",alphaLabelText:"A",containerEl:null,openIn:"popover",openInPhone:"popup",popupPush:!1,popupSwipeToClose:void 0,sheetPush:!1,sheetSwipeToClose:void 0,formatValue:null,targetEl:null,targetElSetBackgroundColor:!1,inputEl:null,inputReadOnly:!0,closeByOutsideClick:!0,scrollToInput:!0,toolbarSheet:!0,toolbarPopover:!1,toolbarCloseText:"Done",navbarPopup:!0,navbarCloseText:"Done",navbarTitleText:"Color",navbarBackLinkText:"Back",cssClass:null,routableModals:!1,view:null,url:"color/",backdrop:null,closeByBackdropClick:!0,renderToolbar:null,renderNavbar:null,renderInline:null,renderPopover:null,renderSheet:null,renderPopup:null,render:null}}},Ww={open(t){const e=this,n=P(t).eq(0);if(!n.length)return;n.addClass("treeview-item-opened"),n.trigger("treeview:open"),e.emit("treeviewOpen",n[0]);function s(a){a?(n.removeClass("treeview-item-opened"),n.trigger("treeview:close"),e.emit("treeviewClose",n[0])):n[0].f7TreeviewChildrenLoaded=!0,n.find(".treeview-toggle").removeClass("treeview-toggle-hidden"),n.find(".treeview-preloader").remove()}if(n.hasClass("treeview-load-children")&&!n[0].f7TreeviewChildrenLoaded){const a={iosPreloaderContent:yn,mdPreloaderContent:Cn};n.trigger("treeview:loadchildren",s),e.emit("treeviewLoadChildren",n[0],s),n.find(".treeview-toggle").addClass("treeview-toggle-hidden"),n.find(".treeview-item-root").prepend(`
        ${a[`${e.theme}PreloaderContent`]}
        `)}},close(t){const e=this,n=P(t).eq(0);n.length&&(n.removeClass("treeview-item-opened"),n.trigger("treeview:close"),e.emit("treeviewClose",n[0]))},toggle(t){const e=this,n=P(t).eq(0);if(!n.length)return;const s=n.hasClass("treeview-item-opened");e.treeview[s?"close":"open"](n)}},jw={name:"treeview",create(){It(this,{treeview:Ww})},clicks:{".treeview-toggle":function(e,n,s){const a=this;if(e.parents(".treeview-item-toggle").length)return;const i=e.parents(".treeview-item").eq(0);i.length&&(s.preventF7Router=!0,a.treeview.toggle(i[0]))},".treeview-item-toggle":function(e,n,s){const a=this,i=e.closest(".treeview-item").eq(0);i.length&&(s.preventF7Router=!0,a.treeview.toggle(i[0]))}}},ms={bold:["bold","format_bold","bold"],italic:["italic","format_italic","italic"],underline:["underline","format_underlined","underline"],strikeThrough:["strikethrough","strikethrough_s","strikeThrough"],orderedList:["list_number","format_list_numbered","insertOrderedList"],unorderedList:["list_bullet","format_list_bulleted","insertUnorderedList"],link:["link","link","createLink"],image:["photo","image","insertImage"],paragraph:["paragraph",'',"formatBlock.P"],h1:['H1','H1',"formatBlock.H1"],h2:['H2','H2',"formatBlock.H2"],h3:['H3','H3',"formatBlock.H3"],alignLeft:["text_alignleft","format_align_left","justifyLeft"],alignCenter:["text_aligncenter","format_align_center","justifyCenter"],alignRight:["text_alignright","format_align_right","justifyRight"],alignJustify:["text_justify","format_align_justify","justifyFull"],subscript:["textformat_subscript",'A1',"subscript"],superscript:["textformat_superscript",'A1',"superscript"],indent:["increase_indent","format_indent_increase","indent"],outdent:["decrease_indent","format_indent_decrease","outdent"]};let Xw=class extends rt{constructor(e,n){super(n,[e]);const s=this,a=Le(),i=Ke(),o=te({},e.params.textEditor);s.useModulesParams(o),s.params=te(o,n);const r=s.params.el;if(!r)return s;const l=P(r);if(l.length===0)return s;if(l[0].f7TextEditor)return l[0].f7TextEditor;let f=l.children(".text-editor-content");if(f.length||(l.append('
        '),f=l.children(".text-editor-content")),te(s,{app:e,$el:l,el:l[0],$contentEl:f,contentEl:f[0]}),"value"in n&&(s.value=s.params.value),s.params.mode==="keyboard-toolbar"&&!(i.cordova||i.capacitor)&&!i.android&&(s.params.mode="popover"),typeof s.params.buttons=="string")try{s.params.buttons=JSON.parse(s.params.buttons)}catch{throw new Error('Framework7: TextEditor: wrong "buttons" parameter format')}return l[0].f7TextEditor=s,s.onButtonClick=s.onButtonClick.bind(s),s.onFocus=s.onFocus.bind(s),s.onBlur=s.onBlur.bind(s),s.onInput=s.onInput.bind(s),s.onPaste=s.onPaste.bind(s),s.onSelectionChange=s.onSelectionChange.bind(s),s.closeKeyboardToolbar=s.closeKeyboardToolbar.bind(s),s.attachEvents=function(){s.params.mode==="toolbar"&&s.$el.find(".text-editor-toolbar").on("click","button",s.onButtonClick),s.params.mode==="keyboard-toolbar"&&(s.$keyboardToolbarEl.on("click","button",s.onButtonClick),s.$el.parents(".page").on("page:beforeout",s.closeKeyboardToolbar)),s.params.mode==="popover"&&s.popover&&s.popover.$el.on("click","button",s.onButtonClick),s.$contentEl.on("paste",s.onPaste),s.$contentEl.on("focus",s.onFocus),s.$contentEl.on("blur",s.onBlur),s.$contentEl.on("input",s.onInput,!0),P(a).on("selectionchange",s.onSelectionChange)},s.detachEvents=function(){s.params.mode==="toolbar"&&s.$el.find(".text-editor-toolbar").off("click","button",s.onButtonClick),s.params.mode==="keyboard-toolbar"&&(s.$keyboardToolbarEl.off("click","button",s.onButtonClick),s.$el.parents(".page").off("page:beforeout",s.closeKeyboardToolbar)),s.params.mode==="popover"&&s.popover&&s.popover.$el.off("click","button",s.onButtonClick),s.$contentEl.off("paste",s.onPaste),s.$contentEl.off("focus",s.onFocus),s.$contentEl.off("blur",s.onBlur),s.$contentEl.off("input",s.onInput,!0),P(a).off("selectionchange",s.onSelectionChange)},s.useModules(),s.init(),s}setValue(e){const n=this;return n.value===e||(n.value=e,n.$contentEl.html(e),n.$el.trigger("texteditor:change",n.value),n.emit("local::change textEditorChange",n,n.value)),n}getValue(){return this.value}clearValue(){const e=this;return e.setValue(""),e.params.placeholder&&!e.$contentEl.html()&&e.insertPlaceholder(),e}createLink(){const e=this,n=Se(),s=Le(),a=n.getSelection(),i=[];let o;if(a&&a.anchorNode&&P(a.anchorNode).parents(e.$el).length){let f=a.anchorNode;for(;f;)i.push(f),(!f.nextSibling||f===a.focusNode)&&(f=null),f&&(f=f.nextSibling);const c=[],u=P(i);for(let d=0;d{const c=n.getSelection(),u=s.createRange();u.selectNodeContents(f),c.removeAllRanges(),c.addRange(u),s.execCommand("unlink",!1),c.removeAllRanges()}),e;const r=e.getSelectionRange();return r&&e.app.dialog.prompt("",e.params.linkUrlText,f=>{f&&f.trim().length&&(e.setSelectionRange(r),s.execCommand("createLink",!1,f.trim()),e.$el.trigger("texteditor:insertlink",{url:f.trim()}),e.emit("local:insertLink textEditorInsertLink",e,f.trim()))}).$el.find("input").focus(),e}insertImage(){const e=this,n=Le(),s=e.getSelectionRange();return s&&e.app.dialog.prompt("",e.params.imageUrlText,i=>{i&&i.trim().length&&(e.setSelectionRange(s),n.execCommand("insertImage",!1,i.trim()),e.$el.trigger("texteditor:insertimage",{url:i.trim()}),e.emit("local:insertImage textEditorInsertImage",e,i.trim()))}).$el.find("input").focus(),e}removePlaceholder(){this.$contentEl.find(".text-editor-placeholder").remove()}insertPlaceholder(){const e=this;e.$contentEl.append(`
        ${e.params.placeholder}
        `)}onSelectionChange(){const e=this,n=Se(),s=Le();if(e.params.mode==="toolbar")return;const a=n.getSelection(),i=P(a.anchorNode).parents(e.contentEl).length||a.anchorNode===e.contentEl;if(e.params.mode==="keyboard-toolbar"){i?e.openKeyboardToolbar():e.closeKeyboardToolbar();return}if(e.params.mode==="popover"){const o=P(a.anchorNode).parents(e.popover.el).length||a.anchorNode===e.popover.el;if(!i&&!o){e.closePopover();return}if(!a.isCollapsed&&a.rangeCount){const l=a.getRangeAt(0).getBoundingClientRect(),f=e.app.$el[0]||s.body;e.openPopover(l.x+(n.scrollX||0)-f.offsetLeft,l.y+(n.scrollY||0)-f.offsetTop,l.width,l.height)}else a.isCollapsed&&e.closePopover()}}onPaste(e){const n=this,s=Le();if(n.params.clearFormattingOnPaste&&e.clipboardData&&e.clipboardData.getData){const a=e.clipboardData.getData("text/plain");e.preventDefault(),s.execCommand("insertText",!1,a)}}onInput(){const e=this,n=e.$contentEl.html();e.value=n,e.$el.trigger("texteditor:input"),e.emit("local:input textEditorInput",e,e.value),e.$el.trigger("texteditor:change",e.value),e.emit("local::change textEditorChange",e,e.value)}onFocus(){const e=this;e.removePlaceholder(),e.$contentEl.focus(),e.$el.trigger("texteditor:focus"),e.emit("local::focus textEditorFocus",e)}onBlur(){const e=this,n=Se(),s=Le();if(e.params.placeholder&&e.$contentEl.html()===""&&e.insertPlaceholder(),e.params.mode==="popover"){const a=n.getSelection(),i=P(a.anchorNode).parents(e.contentEl).length||a.anchorNode===e.contentEl;!(s.activeElement&&e.popover&&P(s.activeElement).closest(e.popover.$el).length)&&!i&&e.closePopover()}if(e.params.mode==="keyboard-toolbar"){const a=n.getSelection();P(a.anchorNode).parents(e.contentEl).length||a.anchorNode===e.contentEl||e.closeKeyboardToolbar()}e.$el.trigger("texteditor:blur"),e.emit("local::blur textEditorBlur",e)}onButtonClick(e){const n=this,s=Se(),a=Le(),i=s.getSelection();if(!(P(i.anchorNode).parents(n.contentEl).length||i.anchorNode===n.contentEl))return;const r=P(e.target).closest("button");r.parents("form").length&&e.preventDefault();const l=r.attr("data-button"),f=n.params.customButtons&&n.params.customButtons[l];if(!l||!(ms[l]||f))return;if(r.trigger("texteditor:buttonclick",l),n.emit("local::buttonClick textEditorButtonClick",n,l),f){f.onClick&&f.onClick(n,r[0]);return}const c=ms[l][2];if(c==="createLink"){n.createLink();return}if(c==="insertImage"){n.insertImage();return}if(c.indexOf("formatBlock")===0){const u=c.split(".")[1],d=P(i.anchorNode);d.parents(u.toLowerCase()).length||d.is(u)?a.execCommand("formatBlock",!1,"div"):a.execCommand("formatBlock",!1,u);return}a.execCommand(c,!1)}getSelectionRange(){const e=Se(),n=Le();if(e.getSelection){const s=e.getSelection();if(s.getRangeAt&&s.rangeCount)return s.getRangeAt(0)}else if(n.selection&&n.selection.createRange)return n.selection.createRange();return null}setSelectionRange(e){const n=Se(),s=Le();if(e)if(n.getSelection){const a=n.getSelection();a.removeAllRanges(),a.addRange(e)}else s.selection&&e.select&&e.select()}renderButtons(){const e=this;let n="";function s(a){const i=e.app.theme==="md"?"material-icons":"f7-icons";if(e.params.customButtons&&e.params.customButtons[a]){const r=e.params.customButtons[a];return``}if(!ms[a])return"";const o=ms[a][e.app.theme==="md"?1:0];return``.trim()}return e.params.buttons.forEach((a,i)=>{Array.isArray(a)?(a.forEach(o=>{n+=s(o)}),i')):n+=s(a)}),n}createToolbar(){const e=this;e.$el.prepend(`
        ${e.renderButtons()}
        `)}createKeyboardToolbar(){const e=this;e.$keyboardToolbarEl=P(`
        ${e.renderButtons()}
        `)}createPopover(){const e=this;e.popover=e.app.popover.create({content:` +
        +
        ${e.renderButtons()}
        +
        + `,closeByOutsideClick:!1,backdrop:!1})}openKeyboardToolbar(){const e=this;e.$keyboardToolbarEl.parent(e.app.$el).length||(e.$el.trigger("texteditor:keyboardopen"),e.emit("local::keyboardOpen textEditorKeyboardOpen",e),e.app.$el.append(e.$keyboardToolbarEl))}closeKeyboardToolbar(){const e=this;e.$keyboardToolbarEl.remove(),e.$el.trigger("texteditor:keyboardclose"),e.emit("local::keyboardClose textEditorKeyboardClose",e)}openPopover(e,n,s,a){const i=this;i.popover&&(Object.assign(i.popover.params,{targetX:e,targetY:n,targetWidth:s,targetHeight:a}),clearTimeout(i.popoverTimeout),i.popoverTimeout=setTimeout(()=>{i.popover&&(i.popover.opened?i.popover.resize():(i.$el.trigger("texteditor:popoveropen"),i.emit("local::popoverOpen textEditorPopoverOpen",i),i.popover.open()))},400))}closePopover(){const e=this;clearTimeout(e.popoverTimeout),!(!e.popover||!e.popover.opened)&&(e.popoverTimeout=setTimeout(()=>{e.popover&&(e.$el.trigger("texteditor:popoverclose"),e.emit("local::popoverClose textEditorPopoverClose",e),e.popover.close())},400))}init(){const e=this;return e.value?e.$contentEl.html(e.value):e.value=e.$contentEl.html(),e.params.placeholder&&e.value===""&&e.insertPlaceholder(),e.params.mode==="toolbar"?e.createToolbar():e.params.mode==="popover"?e.createPopover():e.params.mode==="keyboard-toolbar"&&e.createKeyboardToolbar(),e.attachEvents(),e.$el.trigger("texteditor:init"),e.emit("local::init textEditorInit",e),e}destroy(){let e=this;e.$el.trigger("texteditor:beforedestroy"),e.emit("local::beforeDestroy textEditorBeforeDestroy",e),e.detachEvents(),e.params.mode==="keyboard-toolbar"&&e.$keyboardToolbarEl&&e.$keyboardToolbarEl.remove(),e.popover&&(e.popover.close(!1),e.popover.destroy()),delete e.$el[0].f7TextEditor,ft(e),e=null}};const Bd=Xw,Gw={name:"textEditor",params:{textEditor:{el:null,mode:"toolbar",value:void 0,customButtons:null,buttons:[["bold","italic","underline","strikeThrough"],["orderedList","unorderedList"],["link","image"],["paragraph","h1","h2","h3"],["alignLeft","alignCenter","alignRight","alignJustify"],["subscript","superscript"],["indent","outdent"]],dividers:!0,imageUrlText:"Insert image URL",linkUrlText:"Insert link URL",placeholder:null,clearFormattingOnPaste:!0}},create(){const t=this;t.textEditor=te(ct({defaultSelector:".text-editor",constructor:Bd,app:t,domProp:"f7TextEditor"}))},static:{TextEditor:Bd},on:{tabMounted(t){const e=this;P(t).find(".text-editor-init").each(n=>{const s=P(n).dataset();e.textEditor.create(te({el:n},s||{}))})},tabBeforeRemove(t){P(t).find(".text-editor-init").each(e=>{e.f7TextEditor&&e.f7TextEditor.destroy()})},pageInit(t){const e=this;t.$el.find(".text-editor-init").each(n=>{const s=P(n).dataset();e.textEditor.create(te({el:n},s||{}))})},pageBeforeRemove(t){t.$el.find(".text-editor-init").each(e=>{e.f7TextEditor&&e.f7TextEditor.destroy()})}},vnode:{"text-editor-init":{insert(t){const e=this,n=t.elm,s=P(n).dataset();e.textEditor.create(te({el:n},s||{}))},destroy(t){const e=t.elm;e.f7TextEditor&&e.f7TextEditor.destroy()}}}},Uw={},xw={name:"breadrumbs",create(){It(this,{breadrumbs:Uw})}},$w={name:"typography"};rp.use([u2,d2,p2,m2,g2,H2,cp,z2,F2,N2,V2,q2,j2,G2,U2,x2,Z2,eC,nC,aC,rC,oC,cC,dC,pC,hC,bC,vC,_C,kC,CC,wC,SC,MC,OC,LC,DC,FC,NC,VC,YC,WC,XC,UC,$C,QC,ZC,ty,sy,iy,ly,fy,uy,py,hy,bw,_w,Ew,yw,Sw,Tw,qw,jw,Gw,xw,$w]);rp.use(la);Qp(!0);const _p=new Kp;window.app=_p;new sk({target:document.getElementById("app-root"),props:{app:_p}}); +//# sourceMappingURL=mobile-b32e0a74.js.map diff --git a/assets/mobile-b32e0a74.js.map b/assets/mobile-b32e0a74.js.map new file mode 100644 index 0000000..d7a78f3 --- /dev/null +++ b/assets/mobile-b32e0a74.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mobile-b32e0a74.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/public/extra/danbooru.csv b/extra/danbooru.csv similarity index 100% rename from public/extra/danbooru.csv rename to extra/danbooru.csv diff --git a/gradio b/gradio deleted file mode 160000 index bebfb72..0000000 --- a/gradio +++ /dev/null @@ -1 +0,0 @@ -Subproject commit bebfb72b353a4280155cf7070441fc476ac10172 diff --git a/public/image/graph-bg.png b/image/graph-bg.png similarity index 100% rename from public/image/graph-bg.png rename to image/graph-bg.png diff --git a/index.html b/index.html index b628d53..0d6c75a 100644 --- a/index.html +++ b/index.html @@ -6,9 +6,13 @@ + + + +
        - + diff --git a/jsconfig.json b/jsconfig.json deleted file mode 100644 index 3db19e3..0000000 --- a/jsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "compilerOptions": { - "allowJs": true, - "checkJs": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "resolveJsonModule": true, - "skipLibCheck": true, - "sourceMap": true, - "strict": true - } - // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias and https://kit.svelte.dev/docs/configuration#files - // - // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes - // from the referenced tsconfig.json - TypeScript does not merge them in -} diff --git a/klecks b/klecks deleted file mode 160000 index f08ba31..0000000 --- a/klecks +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f08ba318880dce71b9ebdf5717d6a6c61b7b7405 diff --git a/litegraph b/litegraph deleted file mode 160000 index 29a7877..0000000 --- a/litegraph +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 29a7877f598fe47d39d4531385a3ff6728a81673 diff --git a/mobile/index.html b/mobile/index.html index b10c4cf..bf58d99 100644 --- a/mobile/index.html +++ b/mobile/index.html @@ -6,9 +6,13 @@ + + + +
        - + diff --git a/notebooks/ComfyBox_Colab.ipynb b/notebooks/ComfyBox_Colab.ipynb deleted file mode 100644 index 338b1f2..0000000 --- a/notebooks/ComfyBox_Colab.ipynb +++ /dev/null @@ -1,5589 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "metadata": { - "id": "aaaaaaaaaa" - }, - "source": [ - "Git clone the repo and install the requirements. (ignore the pip errors about protobuf)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "bbbbbbbbbb", - "outputId": "f0037407-e57c-4526-b3b3-11ef719d208d" - }, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "\u001b[1;30;43mStreaming output truncated to the last 5000 lines.\u001b[0m\n", - "647: margin-top: unset;\n", - "648: vertical-align: unset;\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:652:0 Unused CSS selector \".litegraph .graphdialog input\"\u001b[39m\n", - "650: padding-right: 8px;\n", - "651: }\n", - "652: .litegraph .graphdialog input, .litegraph .graphdialog textarea, .litegraph .graphdialog select {\n", - " ^\n", - "653: background-color: var(--litegraph-comfy-input-bg);\n", - "654: border: 2px solid;\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:652:31 Unused CSS selector \".litegraph .graphdialog textarea\"\u001b[39m\n", - "650: padding-right: 8px;\n", - "651: }\n", - "652: .litegraph .graphdialog input, .litegraph .graphdialog textarea, .litegraph .graphdialog select {\n", - " ^\n", - "653: background-color: var(--litegraph-comfy-input-bg);\n", - "654: border: 2px solid;\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:652:65 Unused CSS selector \".litegraph .graphdialog select\"\u001b[39m\n", - "650: padding-right: 8px;\n", - "651: }\n", - "652: .litegraph .graphdialog input, .litegraph .graphdialog textarea, .litegraph .graphdialog select {\n", - " ^\n", - "653: background-color: var(--litegraph-comfy-input-bg);\n", - "654: border: 2px solid;\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:659:0 Unused CSS selector \".litegraph .litemenu-entry.has_submenu\"\u001b[39m\n", - "657: border-radius: 12px 0 0 12px;\n", - "658: }\n", - "659: .litegraph .litemenu-entry.has_submenu {\n", - " ^\n", - "660: position: relative;\n", - "661: padding-right: 20px;\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:663:0 Unused CSS selector \".litegraph.litecontextmenu .litemenu-entry:hover:not(.disabled):not(.separator)\"\u001b[39m\n", - "661: padding-right: 20px;\n", - "662: }\n", - "663: .litegraph.litecontextmenu .litemenu-entry:hover:not(.disabled):not(.separator) {\n", - " ^\n", - "664: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "665: filter: brightness(155%);\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:668:0 Unused CSS selector \".litegraph.litecontextmenu input\"\u001b[39m\n", - "666: color: var(--litegraph-input-text);\n", - "667: }\n", - "668: .litegraph.litecontextmenu input {\n", - " ^\n", - "669: background-color: var(--litegraph-comfy-input-bg) !important;\n", - "670: color: var(--litegraph-input-text) !important;\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:672:0 Unused CSS selector \".litegraph.litesearchbox\"\u001b[39m\n", - "670: color: var(--litegraph-input-text) !important;\n", - "671: }\n", - "672: .litegraph.litesearchbox {\n", - " ^\n", - "673: z-index: 9999 !important;\n", - "674: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:677:0 Unused CSS selector \".litegraph.lite-search-item\"\u001b[39m\n", - "675: overflow: hidden;\n", - "676: }\n", - "677: .litegraph.lite-search-item {\n", - " ^\n", - "678: color: var(--litegraph-input-text);\n", - "679: background-color: var(--litegraph-comfy-input-bg);\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:683:0 Unused CSS selector \".litegraph.lite-search-item.generic_type\"\u001b[39m\n", - "681: padding-left: 0.2em;\n", - "682: }\n", - "683: .litegraph.lite-search-item.generic_type {\n", - " ^\n", - "684: color: var(--litegraph-input-text);\n", - "685: filter: brightness(50%);\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:688:0 Unused CSS selector \".litemenu-entry.has_submenu::after\"\u001b[39m\n", - "686: }\n", - "687: \n", - "688: .litemenu-entry.has_submenu::after {\n", - " ^\n", - "689: content: \">\";\n", - "690: position: absolute;\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:695:0 Unused CSS selector \".litegraph.litecontextmenu\"\u001b[39m\n", - "693: }\n", - "694: \n", - "695: .litegraph.litecontextmenu,\n", - " ^\n", - "696: .litegraph.litecontextmenu.dark {\n", - "697: z-index: 9999 !important;\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:696:0 Unused CSS selector \".litegraph.litecontextmenu.dark\"\u001b[39m\n", - "694: \n", - "695: .litegraph.litecontextmenu,\n", - "696: .litegraph.litecontextmenu.dark {\n", - " ^\n", - "697: z-index: 9999 !important;\n", - "698: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:702:0 Unused CSS selector \".litegraph.litecontextmenu .litemenu-entry.submenu\"\u001b[39m\n", - "700: }\n", - "701: \n", - "702: .litegraph.litecontextmenu .litemenu-entry.submenu,\n", - " ^\n", - "703: .litegraph.litecontextmenu.dark .litemenu-entry.submenu {\n", - "704: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:703:0 Unused CSS selector \".litegraph.litecontextmenu.dark .litemenu-entry.submenu\"\u001b[39m\n", - "701: \n", - "702: .litegraph.litecontextmenu .litemenu-entry.submenu,\n", - "703: .litegraph.litecontextmenu.dark .litemenu-entry.submenu {\n", - " ^\n", - "704: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "705: color: var(--litegraph-input-text);\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:708:0 Unused CSS selector \".litegraph.litesearchbox input\"\u001b[39m\n", - "706: }\n", - "707: \n", - "708: .litegraph.litesearchbox input,\n", - " ^\n", - "709: .litegraph.litesearchbox select {\n", - "710: background-color: var(--litegraph-comfy-input-bg) !important;\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:709:0 Unused CSS selector \".litegraph.litesearchbox select\"\u001b[39m\n", - "707: \n", - "708: .litegraph.litesearchbox input,\n", - "709: .litegraph.litesearchbox select {\n", - " ^\n", - "710: background-color: var(--litegraph-comfy-input-bg) !important;\n", - "711: color: var(--litegraph-input-text);\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:714:0 Unused CSS selector \"body\"\u001b[39m\n", - "712: }\n", - "713: \n", - "714: body {\n", - " ^\n", - "715: overflow: hidden;\n", - "716: overscroll-behavior-y: contain;\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:754:0 Unused CSS selector \".dark\"\u001b[39m\n", - "752: }\n", - "753: \n", - "754: .dark {\n", - " ^\n", - "755: color-scheme: dark;\n", - "756: --input-border-color-focus: var(--neutral-500);\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:784:0 Unused CSS selector \".mobile\"\u001b[39m\n", - "782: }\n", - "783: \n", - "784: .mobile {\n", - " ^\n", - "785: --comfy-progress-bar-background: lightgrey;\n", - "786: --comfy-progress-bar-foreground: #B3D8A9 ;\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:789:0 Unused CSS selector \"hr\"\u001b[39m\n", - "787: }\n", - "788: \n", - "789: hr {\n", - " ^\n", - "790: color: var(--panel-border-color);\n", - "791: }\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:793:0 Unused CSS selector \"input\"\u001b[39m\n", - "791: }\n", - "792: \n", - "793: input {\n", - " ^\n", - "794: color: var(--body-text-color);\n", - "795: background: var(--input-background-fill);\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:799:0 Unused CSS selector \"input:not(input[type=radio])\"\u001b[39m\n", - "797: }\n", - "798: \n", - "799: input:not(input[type=radio]), textarea {\n", - " ^\n", - "800: border-radius: 0 !important;\n", - "801: }\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:799:30 Unused CSS selector \"textarea\"\u001b[39m\n", - "797: }\n", - "798: \n", - "799: input:not(input[type=radio]), textarea {\n", - " ^\n", - "800: border-radius: 0 !important;\n", - "801: }\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:803:0 Unused CSS selector \":not(.litegraph) select\"\u001b[39m\n", - "801: }\n", - "802: \n", - "803: :not(.litegraph) select {\n", - " ^\n", - "804: color: var(--body-text-color);\n", - "805: background: var(--input-background-fill);\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:809:0 Unused CSS selector \".container\"\u001b[39m\n", - "807: }\n", - "808: \n", - "809: .container {\n", - " ^\n", - "810: background: var(--body-background-fill) !important;\n", - "811: }\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:812:0 Unused CSS selector \".container.selected\"\u001b[39m\n", - "810: background: var(--body-background-fill) !important;\n", - "811: }\n", - "812: .container.selected {\n", - " ^\n", - "813: background: var(--ae-primary-color) !important;\n", - "814: }\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:815:0 Unused CSS selector \".container.selected > .block.padded\"\u001b[39m\n", - "813: background: var(--ae-primary-color) !important;\n", - "814: }\n", - "815: .container.selected > .block.padded {\n", - " ^\n", - "816: background: var(--ae-primary-color) !important;\n", - "817: }\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:818:0 Unused CSS selector \".container > .block\"\u001b[39m\n", - "816: background: var(--ae-primary-color) !important;\n", - "817: }\n", - "818: .container > .block {\n", - " ^\n", - "819: background: var(--body-background-fill) !important;\n", - "820: }\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:821:0 Unused CSS selector \".container.z-index0 > .block\"\u001b[39m\n", - "819: background: var(--body-background-fill) !important;\n", - "820: }\n", - "821: .container.z-index0 > .block {\n", - " ^\n", - "822: background: var(--panel-background-fill) !important;\n", - "823: }\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:825:0 Unused CSS selector \"button.primary:active\"\u001b[39m\n", - "823: }\n", - "824: \n", - "825: button.primary:active {\n", - " ^\n", - "826: border-color: var(--button-primary-border-color-active) !important;\n", - "827: background: var(--button-primary-background-fill-active) !important;\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:830:0 Unused CSS selector \"button.secondary:active\"\u001b[39m\n", - "828: color: var(--button-primary-text-color-active) !important;\n", - "829: }\n", - "830: button.secondary:active {\n", - " ^\n", - "831: border-color: var(--button-secondary-border-color-active) !important;\n", - "832: background: var(--button-secondary-background-fill-active) !important;\n", - "\u001b[33m6:20:09 AM [vite-plugin-svelte] /src/lib/components/PromptDisplay.svelte:836:0 Unused CSS selector \".widget .block\"\u001b[39m\n", - "834: }\n", - "835: \n", - "836: .widget .block {\n", - " ^\n", - "837: background: var(--block-background-fill) !important;\n", - "838: }\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:259:0 Unused CSS selector \".dark\"\u001b[39m\n", - "257: }\n", - "258: \n", - "259: .dark {\n", - " ^\n", - "260: --body-background-fill: var(--background-fill-primary);\n", - "261: --body-text-color: var(--neutral-100);\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:491:0 Unused CSS selector \".litegraph\"\u001b[39m\n", - "489: }\n", - "490: \n", - "491: .litegraph {\n", - " ^\n", - "492: /* Input popup */\n", - "493: /* Context Menu */\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:495:0 Unused CSS selector \".litegraph.graphdialog\"\u001b[39m\n", - "493: /* Context Menu */\n", - "494: }\n", - "495: .litegraph.graphdialog {\n", - " ^\n", - "496: min-height: 1em;\n", - "497: background-color: var(--litegraph-comfy-menu-bg);\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:499:0 Unused CSS selector \".litegraph.graphdialog .name\"\u001b[39m\n", - "497: background-color: var(--litegraph-comfy-menu-bg);\n", - "498: }\n", - "499: .litegraph.graphdialog .name {\n", - " ^\n", - "500: font-size: 14px;\n", - "501: font-family: sans-serif;\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:504:0 Unused CSS selector \".litegraph.graphdialog button\"\u001b[39m\n", - "502: color: var(--litegraph-descrip-text);\n", - "503: }\n", - "504: .litegraph.graphdialog button {\n", - " ^\n", - "505: margin-top: unset;\n", - "506: vertical-align: unset;\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:510:0 Unused CSS selector \".litegraph .graphdialog input\"\u001b[39m\n", - "508: padding-right: 8px;\n", - "509: }\n", - "510: .litegraph .graphdialog input, .litegraph .graphdialog textarea, .litegraph .graphdialog select {\n", - " ^\n", - "511: background-color: var(--litegraph-comfy-input-bg);\n", - "512: border: 2px solid;\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:510:31 Unused CSS selector \".litegraph .graphdialog textarea\"\u001b[39m\n", - "508: padding-right: 8px;\n", - "509: }\n", - "510: .litegraph .graphdialog input, .litegraph .graphdialog textarea, .litegraph .graphdialog select {\n", - " ^\n", - "511: background-color: var(--litegraph-comfy-input-bg);\n", - "512: border: 2px solid;\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:510:65 Unused CSS selector \".litegraph .graphdialog select\"\u001b[39m\n", - "508: padding-right: 8px;\n", - "509: }\n", - "510: .litegraph .graphdialog input, .litegraph .graphdialog textarea, .litegraph .graphdialog select {\n", - " ^\n", - "511: background-color: var(--litegraph-comfy-input-bg);\n", - "512: border: 2px solid;\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:517:0 Unused CSS selector \".litegraph .litemenu-entry.has_submenu\"\u001b[39m\n", - "515: border-radius: 12px 0 0 12px;\n", - "516: }\n", - "517: .litegraph .litemenu-entry.has_submenu {\n", - " ^\n", - "518: position: relative;\n", - "519: padding-right: 20px;\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:521:0 Unused CSS selector \".litegraph.litecontextmenu .litemenu-entry:hover:not(.disabled):not(.separator)\"\u001b[39m\n", - "519: padding-right: 20px;\n", - "520: }\n", - "521: .litegraph.litecontextmenu .litemenu-entry:hover:not(.disabled):not(.separator) {\n", - " ^\n", - "522: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "523: filter: brightness(155%);\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:526:0 Unused CSS selector \".litegraph.litecontextmenu input\"\u001b[39m\n", - "524: color: var(--litegraph-input-text);\n", - "525: }\n", - "526: .litegraph.litecontextmenu input {\n", - " ^\n", - "527: background-color: var(--litegraph-comfy-input-bg) !important;\n", - "528: color: var(--litegraph-input-text) !important;\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:530:0 Unused CSS selector \".litegraph.litesearchbox\"\u001b[39m\n", - "528: color: var(--litegraph-input-text) !important;\n", - "529: }\n", - "530: .litegraph.litesearchbox {\n", - " ^\n", - "531: z-index: 9999 !important;\n", - "532: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:535:0 Unused CSS selector \".litegraph.lite-search-item\"\u001b[39m\n", - "533: overflow: hidden;\n", - "534: }\n", - "535: .litegraph.lite-search-item {\n", - " ^\n", - "536: color: var(--litegraph-input-text);\n", - "537: background-color: var(--litegraph-comfy-input-bg);\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:541:0 Unused CSS selector \".litegraph.lite-search-item.generic_type\"\u001b[39m\n", - "539: padding-left: 0.2em;\n", - "540: }\n", - "541: .litegraph.lite-search-item.generic_type {\n", - " ^\n", - "542: color: var(--litegraph-input-text);\n", - "543: filter: brightness(50%);\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:546:0 Unused CSS selector \".litemenu-entry.has_submenu::after\"\u001b[39m\n", - "544: }\n", - "545: \n", - "546: .litemenu-entry.has_submenu::after {\n", - " ^\n", - "547: content: \">\";\n", - "548: position: absolute;\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:553:0 Unused CSS selector \".litegraph.litecontextmenu\"\u001b[39m\n", - "551: }\n", - "552: \n", - "553: .litegraph.litecontextmenu,\n", - " ^\n", - "554: .litegraph.litecontextmenu.dark {\n", - "555: z-index: 9999 !important;\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:554:0 Unused CSS selector \".litegraph.litecontextmenu.dark\"\u001b[39m\n", - "552: \n", - "553: .litegraph.litecontextmenu,\n", - "554: .litegraph.litecontextmenu.dark {\n", - " ^\n", - "555: z-index: 9999 !important;\n", - "556: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:560:0 Unused CSS selector \".litegraph.litecontextmenu .litemenu-entry.submenu\"\u001b[39m\n", - "558: }\n", - "559: \n", - "560: .litegraph.litecontextmenu .litemenu-entry.submenu,\n", - " ^\n", - "561: .litegraph.litecontextmenu.dark .litemenu-entry.submenu {\n", - "562: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:561:0 Unused CSS selector \".litegraph.litecontextmenu.dark .litemenu-entry.submenu\"\u001b[39m\n", - "559: \n", - "560: .litegraph.litecontextmenu .litemenu-entry.submenu,\n", - "561: .litegraph.litecontextmenu.dark .litemenu-entry.submenu {\n", - " ^\n", - "562: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "563: color: var(--litegraph-input-text);\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:566:0 Unused CSS selector \".litegraph.litesearchbox input\"\u001b[39m\n", - "564: }\n", - "565: \n", - "566: .litegraph.litesearchbox input,\n", - " ^\n", - "567: .litegraph.litesearchbox select {\n", - "568: background-color: var(--litegraph-comfy-input-bg) !important;\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:567:0 Unused CSS selector \".litegraph.litesearchbox select\"\u001b[39m\n", - "565: \n", - "566: .litegraph.litesearchbox input,\n", - "567: .litegraph.litesearchbox select {\n", - " ^\n", - "568: background-color: var(--litegraph-comfy-input-bg) !important;\n", - "569: color: var(--litegraph-input-text);\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:572:0 Unused CSS selector \"body\"\u001b[39m\n", - "570: }\n", - "571: \n", - "572: body {\n", - " ^\n", - "573: overflow: hidden;\n", - "574: overscroll-behavior-y: contain;\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:612:0 Unused CSS selector \".dark\"\u001b[39m\n", - "610: }\n", - "611: \n", - "612: .dark {\n", - " ^\n", - "613: color-scheme: dark;\n", - "614: --input-border-color-focus: var(--neutral-500);\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:642:0 Unused CSS selector \".mobile\"\u001b[39m\n", - "640: }\n", - "641: \n", - "642: .mobile {\n", - " ^\n", - "643: --comfy-progress-bar-background: lightgrey;\n", - "644: --comfy-progress-bar-foreground: #B3D8A9 ;\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:647:0 Unused CSS selector \"hr\"\u001b[39m\n", - "645: }\n", - "646: \n", - "647: hr {\n", - " ^\n", - "648: color: var(--panel-border-color);\n", - "649: }\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:651:0 Unused CSS selector \"input\"\u001b[39m\n", - "649: }\n", - "650: \n", - "651: input {\n", - " ^\n", - "652: color: var(--body-text-color);\n", - "653: background: var(--input-background-fill);\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:657:0 Unused CSS selector \"input:not(input[type=radio])\"\u001b[39m\n", - "655: }\n", - "656: \n", - "657: input:not(input[type=radio]), textarea {\n", - " ^\n", - "658: border-radius: 0 !important;\n", - "659: }\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:657:30 Unused CSS selector \"textarea\"\u001b[39m\n", - "655: }\n", - "656: \n", - "657: input:not(input[type=radio]), textarea {\n", - " ^\n", - "658: border-radius: 0 !important;\n", - "659: }\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:661:0 Unused CSS selector \":not(.litegraph) select\"\u001b[39m\n", - "659: }\n", - "660: \n", - "661: :not(.litegraph) select {\n", - " ^\n", - "662: color: var(--body-text-color);\n", - "663: background: var(--input-background-fill);\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:667:0 Unused CSS selector \".container\"\u001b[39m\n", - "665: }\n", - "666: \n", - "667: .container {\n", - " ^\n", - "668: background: var(--body-background-fill) !important;\n", - "669: }\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:670:0 Unused CSS selector \".container.selected\"\u001b[39m\n", - "668: background: var(--body-background-fill) !important;\n", - "669: }\n", - "670: .container.selected {\n", - " ^\n", - "671: background: var(--ae-primary-color) !important;\n", - "672: }\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:673:0 Unused CSS selector \".container.selected > .block.padded\"\u001b[39m\n", - "671: background: var(--ae-primary-color) !important;\n", - "672: }\n", - "673: .container.selected > .block.padded {\n", - " ^\n", - "674: background: var(--ae-primary-color) !important;\n", - "675: }\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:676:0 Unused CSS selector \".container > .block\"\u001b[39m\n", - "674: background: var(--ae-primary-color) !important;\n", - "675: }\n", - "676: .container > .block {\n", - " ^\n", - "677: background: var(--body-background-fill) !important;\n", - "678: }\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:679:0 Unused CSS selector \".container.z-index0 > .block\"\u001b[39m\n", - "677: background: var(--body-background-fill) !important;\n", - "678: }\n", - "679: .container.z-index0 > .block {\n", - " ^\n", - "680: background: var(--panel-background-fill) !important;\n", - "681: }\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:683:0 Unused CSS selector \"button.primary:active\"\u001b[39m\n", - "681: }\n", - "682: \n", - "683: button.primary:active {\n", - " ^\n", - "684: border-color: var(--button-primary-border-color-active) !important;\n", - "685: background: var(--button-primary-background-fill-active) !important;\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:688:0 Unused CSS selector \"button.secondary:active\"\u001b[39m\n", - "686: color: var(--button-primary-text-color-active) !important;\n", - "687: }\n", - "688: button.secondary:active {\n", - " ^\n", - "689: border-color: var(--button-secondary-border-color-active) !important;\n", - "690: background: var(--button-secondary-background-fill-active) !important;\n", - "\u001b[33m6:20:10 AM [vite-plugin-svelte] /src/lib/components/DropZone.svelte:694:0 Unused CSS selector \".widget .block\"\u001b[39m\n", - "692: }\n", - "693: \n", - "694: .widget .block {\n", - " ^\n", - "695: background: var(--block-background-fill) !important;\n", - "696: }\n", - "\u001b[2K\u001b[1G\u001b[33m6:20:11 AM [vite-plugin-svelte] /src/lib/components/ComfyQueueListDisplay.svelte:28:12 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.\u001b[39m\n", - "26:
        \n", - "27: {#each entries as entry}\n", - "28:
        showPrompt(entry, e)}>\n", - " ^\n", - "29: \n", - "8: \n", - "\u001b[2K\u001b[1G\u001b[33m6:20:15 AM [vite-plugin-svelte] /gradio/js/form/src/Dropdown.svelte:280:1 Unused CSS selector \".single-select\"\u001b[39m\n", - "278: }\n", - "279: \n", - "280: .single-select {\n", - " ^\n", - "281: margin: var(--spacing-sm);\n", - "282: color: var(--body-text-color);\n", - "\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:251:0 Unused CSS selector \".dark\"\u001b[39m\n", - "249: }\n", - "250: \n", - "251: .dark {\n", - " ^\n", - "252: --body-background-fill: var(--background-fill-primary);\n", - "253: --body-text-color: var(--neutral-100);\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:483:0 Unused CSS selector \".litegraph\"\u001b[39m\n", - "481: }\n", - "482: \n", - "483: .litegraph {\n", - " ^\n", - "484: /* Input popup */\n", - "485: /* Context Menu */\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:487:0 Unused CSS selector \".litegraph.graphdialog\"\u001b[39m\n", - "485: /* Context Menu */\n", - "486: }\n", - "487: .litegraph.graphdialog {\n", - " ^\n", - "488: min-height: 1em;\n", - "489: background-color: var(--litegraph-comfy-menu-bg);\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:491:0 Unused CSS selector \".litegraph.graphdialog .name\"\u001b[39m\n", - "489: background-color: var(--litegraph-comfy-menu-bg);\n", - "490: }\n", - "491: .litegraph.graphdialog .name {\n", - " ^\n", - "492: font-size: 14px;\n", - "493: font-family: sans-serif;\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:496:0 Unused CSS selector \".litegraph.graphdialog button\"\u001b[39m\n", - "494: color: var(--litegraph-descrip-text);\n", - "495: }\n", - "496: .litegraph.graphdialog button {\n", - " ^\n", - "497: margin-top: unset;\n", - "498: vertical-align: unset;\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:502:0 Unused CSS selector \".litegraph .graphdialog input\"\u001b[39m\n", - "500: padding-right: 8px;\n", - "501: }\n", - "502: .litegraph .graphdialog input, .litegraph .graphdialog textarea, .litegraph .graphdialog select {\n", - " ^\n", - "503: background-color: var(--litegraph-comfy-input-bg);\n", - "504: border: 2px solid;\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:502:31 Unused CSS selector \".litegraph .graphdialog textarea\"\u001b[39m\n", - "500: padding-right: 8px;\n", - "501: }\n", - "502: .litegraph .graphdialog input, .litegraph .graphdialog textarea, .litegraph .graphdialog select {\n", - " ^\n", - "503: background-color: var(--litegraph-comfy-input-bg);\n", - "504: border: 2px solid;\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:502:65 Unused CSS selector \".litegraph .graphdialog select\"\u001b[39m\n", - "500: padding-right: 8px;\n", - "501: }\n", - "502: .litegraph .graphdialog input, .litegraph .graphdialog textarea, .litegraph .graphdialog select {\n", - " ^\n", - "503: background-color: var(--litegraph-comfy-input-bg);\n", - "504: border: 2px solid;\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:509:0 Unused CSS selector \".litegraph .litemenu-entry.has_submenu\"\u001b[39m\n", - "507: border-radius: 12px 0 0 12px;\n", - "508: }\n", - "509: .litegraph .litemenu-entry.has_submenu {\n", - " ^\n", - "510: position: relative;\n", - "511: padding-right: 20px;\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:513:0 Unused CSS selector \".litegraph.litecontextmenu .litemenu-entry:hover:not(.disabled):not(.separator)\"\u001b[39m\n", - "511: padding-right: 20px;\n", - "512: }\n", - "513: .litegraph.litecontextmenu .litemenu-entry:hover:not(.disabled):not(.separator) {\n", - " ^\n", - "514: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "515: filter: brightness(155%);\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:518:0 Unused CSS selector \".litegraph.litecontextmenu input\"\u001b[39m\n", - "516: color: var(--litegraph-input-text);\n", - "517: }\n", - "518: .litegraph.litecontextmenu input {\n", - " ^\n", - "519: background-color: var(--litegraph-comfy-input-bg) !important;\n", - "520: color: var(--litegraph-input-text) !important;\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:522:0 Unused CSS selector \".litegraph.litesearchbox\"\u001b[39m\n", - "520: color: var(--litegraph-input-text) !important;\n", - "521: }\n", - "522: .litegraph.litesearchbox {\n", - " ^\n", - "523: z-index: 9999 !important;\n", - "524: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:527:0 Unused CSS selector \".litegraph.lite-search-item\"\u001b[39m\n", - "525: overflow: hidden;\n", - "526: }\n", - "527: .litegraph.lite-search-item {\n", - " ^\n", - "528: color: var(--litegraph-input-text);\n", - "529: background-color: var(--litegraph-comfy-input-bg);\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:533:0 Unused CSS selector \".litegraph.lite-search-item.generic_type\"\u001b[39m\n", - "531: padding-left: 0.2em;\n", - "532: }\n", - "533: .litegraph.lite-search-item.generic_type {\n", - " ^\n", - "534: color: var(--litegraph-input-text);\n", - "535: filter: brightness(50%);\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:538:0 Unused CSS selector \".litemenu-entry.has_submenu::after\"\u001b[39m\n", - "536: }\n", - "537: \n", - "538: .litemenu-entry.has_submenu::after {\n", - " ^\n", - "539: content: \">\";\n", - "540: position: absolute;\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:545:0 Unused CSS selector \".litegraph.litecontextmenu\"\u001b[39m\n", - "543: }\n", - "544: \n", - "545: .litegraph.litecontextmenu,\n", - " ^\n", - "546: .litegraph.litecontextmenu.dark {\n", - "547: z-index: 9999 !important;\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:546:0 Unused CSS selector \".litegraph.litecontextmenu.dark\"\u001b[39m\n", - "544: \n", - "545: .litegraph.litecontextmenu,\n", - "546: .litegraph.litecontextmenu.dark {\n", - " ^\n", - "547: z-index: 9999 !important;\n", - "548: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:552:0 Unused CSS selector \".litegraph.litecontextmenu .litemenu-entry.submenu\"\u001b[39m\n", - "550: }\n", - "551: \n", - "552: .litegraph.litecontextmenu .litemenu-entry.submenu,\n", - " ^\n", - "553: .litegraph.litecontextmenu.dark .litemenu-entry.submenu {\n", - "554: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:553:0 Unused CSS selector \".litegraph.litecontextmenu.dark .litemenu-entry.submenu\"\u001b[39m\n", - "551: \n", - "552: .litegraph.litecontextmenu .litemenu-entry.submenu,\n", - "553: .litegraph.litecontextmenu.dark .litemenu-entry.submenu {\n", - " ^\n", - "554: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "555: color: var(--litegraph-input-text);\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:558:0 Unused CSS selector \".litegraph.litesearchbox input\"\u001b[39m\n", - "556: }\n", - "557: \n", - "558: .litegraph.litesearchbox input,\n", - " ^\n", - "559: .litegraph.litesearchbox select {\n", - "560: background-color: var(--litegraph-comfy-input-bg) !important;\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:559:0 Unused CSS selector \".litegraph.litesearchbox select\"\u001b[39m\n", - "557: \n", - "558: .litegraph.litesearchbox input,\n", - "559: .litegraph.litesearchbox select {\n", - " ^\n", - "560: background-color: var(--litegraph-comfy-input-bg) !important;\n", - "561: color: var(--litegraph-input-text);\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:564:0 Unused CSS selector \"body\"\u001b[39m\n", - "562: }\n", - "563: \n", - "564: body {\n", - " ^\n", - "565: overflow: hidden;\n", - "566: overscroll-behavior-y: contain;\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:604:0 Unused CSS selector \".dark\"\u001b[39m\n", - "602: }\n", - "603: \n", - "604: .dark {\n", - " ^\n", - "605: color-scheme: dark;\n", - "606: --input-border-color-focus: var(--neutral-500);\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:634:0 Unused CSS selector \".mobile\"\u001b[39m\n", - "632: }\n", - "633: \n", - "634: .mobile {\n", - " ^\n", - "635: --comfy-progress-bar-background: lightgrey;\n", - "636: --comfy-progress-bar-foreground: #B3D8A9 ;\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:639:0 Unused CSS selector \"hr\"\u001b[39m\n", - "637: }\n", - "638: \n", - "639: hr {\n", - " ^\n", - "640: color: var(--panel-border-color);\n", - "641: }\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:643:0 Unused CSS selector \"input\"\u001b[39m\n", - "641: }\n", - "642: \n", - "643: input {\n", - " ^\n", - "644: color: var(--body-text-color);\n", - "645: background: var(--input-background-fill);\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:649:0 Unused CSS selector \"input:not(input[type=radio])\"\u001b[39m\n", - "647: }\n", - "648: \n", - "649: input:not(input[type=radio]), textarea {\n", - " ^\n", - "650: border-radius: 0 !important;\n", - "651: }\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:649:30 Unused CSS selector \"textarea\"\u001b[39m\n", - "647: }\n", - "648: \n", - "649: input:not(input[type=radio]), textarea {\n", - " ^\n", - "650: border-radius: 0 !important;\n", - "651: }\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:653:0 Unused CSS selector \":not(.litegraph) select\"\u001b[39m\n", - "651: }\n", - "652: \n", - "653: :not(.litegraph) select {\n", - " ^\n", - "654: color: var(--body-text-color);\n", - "655: background: var(--input-background-fill);\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:659:0 Unused CSS selector \".container\"\u001b[39m\n", - "657: }\n", - "658: \n", - "659: .container {\n", - " ^\n", - "660: background: var(--body-background-fill) !important;\n", - "661: }\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:662:0 Unused CSS selector \".container.selected\"\u001b[39m\n", - "660: background: var(--body-background-fill) !important;\n", - "661: }\n", - "662: .container.selected {\n", - " ^\n", - "663: background: var(--ae-primary-color) !important;\n", - "664: }\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:665:0 Unused CSS selector \".container.selected > .block.padded\"\u001b[39m\n", - "663: background: var(--ae-primary-color) !important;\n", - "664: }\n", - "665: .container.selected > .block.padded {\n", - " ^\n", - "666: background: var(--ae-primary-color) !important;\n", - "667: }\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:668:0 Unused CSS selector \".container > .block\"\u001b[39m\n", - "666: background: var(--ae-primary-color) !important;\n", - "667: }\n", - "668: .container > .block {\n", - " ^\n", - "669: background: var(--body-background-fill) !important;\n", - "670: }\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:671:0 Unused CSS selector \".container.z-index0 > .block\"\u001b[39m\n", - "669: background: var(--body-background-fill) !important;\n", - "670: }\n", - "671: .container.z-index0 > .block {\n", - " ^\n", - "672: background: var(--panel-background-fill) !important;\n", - "673: }\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:675:0 Unused CSS selector \"button.primary:active\"\u001b[39m\n", - "673: }\n", - "674: \n", - "675: button.primary:active {\n", - " ^\n", - "676: border-color: var(--button-primary-border-color-active) !important;\n", - "677: background: var(--button-primary-background-fill-active) !important;\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:680:0 Unused CSS selector \"button.secondary:active\"\u001b[39m\n", - "678: color: var(--button-primary-text-color-active) !important;\n", - "679: }\n", - "680: button.secondary:active {\n", - " ^\n", - "681: border-color: var(--button-secondary-border-color-active) !important;\n", - "682: background: var(--button-secondary-background-fill-active) !important;\n", - "\u001b[33m6:20:17 AM [vite-plugin-svelte] /src/lib/components/modal/ReceiveOutputTargets.svelte:686:0 Unused CSS selector \".widget .block\"\u001b[39m\n", - "684: }\n", - "685: \n", - "686: .widget .block {\n", - " ^\n", - "687: background: var(--block-background-fill) !important;\n", - "688: }\n", - "\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[33m6:20:18 AM [vite-plugin-svelte] /src/lib/components/gradio/gallery/Gallery.svelte:153:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.\u001b[39m\n", - "151: (selected_image = null)} />\n", - "152: \n", - "153: \n", - "20: \n", - "21:
        \";\n", - "524: position: absolute;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:529:0 Unused CSS selector \".litegraph.litecontextmenu\"\u001b[39m\n", - "527: }\n", - "528: \n", - "529: .litegraph.litecontextmenu,\n", - " ^\n", - "530: .litegraph.litecontextmenu.dark {\n", - "531: z-index: 9999 !important;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:530:0 Unused CSS selector \".litegraph.litecontextmenu.dark\"\u001b[39m\n", - "528: \n", - "529: .litegraph.litecontextmenu,\n", - "530: .litegraph.litecontextmenu.dark {\n", - " ^\n", - "531: z-index: 9999 !important;\n", - "532: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:536:0 Unused CSS selector \".litegraph.litecontextmenu .litemenu-entry.submenu\"\u001b[39m\n", - "534: }\n", - "535: \n", - "536: .litegraph.litecontextmenu .litemenu-entry.submenu,\n", - " ^\n", - "537: .litegraph.litecontextmenu.dark .litemenu-entry.submenu {\n", - "538: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:537:0 Unused CSS selector \".litegraph.litecontextmenu.dark .litemenu-entry.submenu\"\u001b[39m\n", - "535: \n", - "536: .litegraph.litecontextmenu .litemenu-entry.submenu,\n", - "537: .litegraph.litecontextmenu.dark .litemenu-entry.submenu {\n", - " ^\n", - "538: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "539: color: var(--litegraph-input-text);\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:542:0 Unused CSS selector \".litegraph.litesearchbox input\"\u001b[39m\n", - "540: }\n", - "541: \n", - "542: .litegraph.litesearchbox input,\n", - " ^\n", - "543: .litegraph.litesearchbox select {\n", - "544: background-color: var(--litegraph-comfy-input-bg) !important;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:543:0 Unused CSS selector \".litegraph.litesearchbox select\"\u001b[39m\n", - "541: \n", - "542: .litegraph.litesearchbox input,\n", - "543: .litegraph.litesearchbox select {\n", - " ^\n", - "544: background-color: var(--litegraph-comfy-input-bg) !important;\n", - "545: color: var(--litegraph-input-text);\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:548:0 Unused CSS selector \"body\"\u001b[39m\n", - "546: }\n", - "547: \n", - "548: body {\n", - " ^\n", - "549: overflow: hidden;\n", - "550: overscroll-behavior-y: contain;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:588:0 Unused CSS selector \".dark\"\u001b[39m\n", - "586: }\n", - "587: \n", - "588: .dark {\n", - " ^\n", - "589: color-scheme: dark;\n", - "590: --input-border-color-focus: var(--neutral-500);\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:618:0 Unused CSS selector \".mobile\"\u001b[39m\n", - "616: }\n", - "617: \n", - "618: .mobile {\n", - " ^\n", - "619: --comfy-progress-bar-background: lightgrey;\n", - "620: --comfy-progress-bar-foreground: #B3D8A9 ;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:623:0 Unused CSS selector \"hr\"\u001b[39m\n", - "621: }\n", - "622: \n", - "623: hr {\n", - " ^\n", - "624: color: var(--panel-border-color);\n", - "625: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:633:30 Unused CSS selector \"textarea\"\u001b[39m\n", - "631: }\n", - "632: \n", - "633: input:not(input[type=radio]), textarea {\n", - " ^\n", - "634: border-radius: 0 !important;\n", - "635: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:637:0 Unused CSS selector \":not(.litegraph) select\"\u001b[39m\n", - "635: }\n", - "636: \n", - "637: :not(.litegraph) select {\n", - " ^\n", - "638: color: var(--body-text-color);\n", - "639: background: var(--input-background-fill);\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:643:0 Unused CSS selector \".container\"\u001b[39m\n", - "641: }\n", - "642: \n", - "643: .container {\n", - " ^\n", - "644: background: var(--body-background-fill) !important;\n", - "645: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:646:0 Unused CSS selector \".container.selected\"\u001b[39m\n", - "644: background: var(--body-background-fill) !important;\n", - "645: }\n", - "646: .container.selected {\n", - " ^\n", - "647: background: var(--ae-primary-color) !important;\n", - "648: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:649:0 Unused CSS selector \".container.selected > .block.padded\"\u001b[39m\n", - "647: background: var(--ae-primary-color) !important;\n", - "648: }\n", - "649: .container.selected > .block.padded {\n", - " ^\n", - "650: background: var(--ae-primary-color) !important;\n", - "651: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:652:0 Unused CSS selector \".container > .block\"\u001b[39m\n", - "650: background: var(--ae-primary-color) !important;\n", - "651: }\n", - "652: .container > .block {\n", - " ^\n", - "653: background: var(--body-background-fill) !important;\n", - "654: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:655:0 Unused CSS selector \".container.z-index0 > .block\"\u001b[39m\n", - "653: background: var(--body-background-fill) !important;\n", - "654: }\n", - "655: .container.z-index0 > .block {\n", - " ^\n", - "656: background: var(--panel-background-fill) !important;\n", - "657: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:659:0 Unused CSS selector \"button.primary:active\"\u001b[39m\n", - "657: }\n", - "658: \n", - "659: button.primary:active {\n", - " ^\n", - "660: border-color: var(--button-primary-border-color-active) !important;\n", - "661: background: var(--button-primary-background-fill-active) !important;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:664:0 Unused CSS selector \"button.secondary:active\"\u001b[39m\n", - "662: color: var(--button-primary-text-color-active) !important;\n", - "663: }\n", - "664: button.secondary:active {\n", - " ^\n", - "665: border-color: var(--button-secondary-border-color-active) !important;\n", - "666: background: var(--button-secondary-background-fill-active) !important;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyNumberProperty.svelte:670:0 Unused CSS selector \".widget .block\"\u001b[39m\n", - "668: }\n", - "669: \n", - "670: .widget .block {\n", - " ^\n", - "671: background: var(--block-background-fill) !important;\n", - "672: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:240:0 Unused CSS selector \".dark\"\u001b[39m\n", - "238: }\n", - "239: \n", - "240: .dark {\n", - " ^\n", - "241: --body-background-fill: var(--background-fill-primary);\n", - "242: --body-text-color: var(--neutral-100);\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:472:0 Unused CSS selector \".litegraph\"\u001b[39m\n", - "470: }\n", - "471: \n", - "472: .litegraph {\n", - " ^\n", - "473: /* Input popup */\n", - "474: /* Context Menu */\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:476:0 Unused CSS selector \".litegraph.graphdialog\"\u001b[39m\n", - "474: /* Context Menu */\n", - "475: }\n", - "476: .litegraph.graphdialog {\n", - " ^\n", - "477: min-height: 1em;\n", - "478: background-color: var(--litegraph-comfy-menu-bg);\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:480:0 Unused CSS selector \".litegraph.graphdialog .name\"\u001b[39m\n", - "478: background-color: var(--litegraph-comfy-menu-bg);\n", - "479: }\n", - "480: .litegraph.graphdialog .name {\n", - " ^\n", - "481: font-size: 14px;\n", - "482: font-family: sans-serif;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:485:0 Unused CSS selector \".litegraph.graphdialog button\"\u001b[39m\n", - "483: color: var(--litegraph-descrip-text);\n", - "484: }\n", - "485: .litegraph.graphdialog button {\n", - " ^\n", - "486: margin-top: unset;\n", - "487: vertical-align: unset;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:491:0 Unused CSS selector \".litegraph .graphdialog input\"\u001b[39m\n", - "489: padding-right: 8px;\n", - "490: }\n", - "491: .litegraph .graphdialog input, .litegraph .graphdialog textarea, .litegraph .graphdialog select {\n", - " ^\n", - "492: background-color: var(--litegraph-comfy-input-bg);\n", - "493: border: 2px solid;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:491:31 Unused CSS selector \".litegraph .graphdialog textarea\"\u001b[39m\n", - "489: padding-right: 8px;\n", - "490: }\n", - "491: .litegraph .graphdialog input, .litegraph .graphdialog textarea, .litegraph .graphdialog select {\n", - " ^\n", - "492: background-color: var(--litegraph-comfy-input-bg);\n", - "493: border: 2px solid;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:491:65 Unused CSS selector \".litegraph .graphdialog select\"\u001b[39m\n", - "489: padding-right: 8px;\n", - "490: }\n", - "491: .litegraph .graphdialog input, .litegraph .graphdialog textarea, .litegraph .graphdialog select {\n", - " ^\n", - "492: background-color: var(--litegraph-comfy-input-bg);\n", - "493: border: 2px solid;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:498:0 Unused CSS selector \".litegraph .litemenu-entry.has_submenu\"\u001b[39m\n", - "496: border-radius: 12px 0 0 12px;\n", - "497: }\n", - "498: .litegraph .litemenu-entry.has_submenu {\n", - " ^\n", - "499: position: relative;\n", - "500: padding-right: 20px;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:502:0 Unused CSS selector \".litegraph.litecontextmenu .litemenu-entry:hover:not(.disabled):not(.separator)\"\u001b[39m\n", - "500: padding-right: 20px;\n", - "501: }\n", - "502: .litegraph.litecontextmenu .litemenu-entry:hover:not(.disabled):not(.separator) {\n", - " ^\n", - "503: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "504: filter: brightness(155%);\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:507:0 Unused CSS selector \".litegraph.litecontextmenu input\"\u001b[39m\n", - "505: color: var(--litegraph-input-text);\n", - "506: }\n", - "507: .litegraph.litecontextmenu input {\n", - " ^\n", - "508: background-color: var(--litegraph-comfy-input-bg) !important;\n", - "509: color: var(--litegraph-input-text) !important;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:511:0 Unused CSS selector \".litegraph.litesearchbox\"\u001b[39m\n", - "509: color: var(--litegraph-input-text) !important;\n", - "510: }\n", - "511: .litegraph.litesearchbox {\n", - " ^\n", - "512: z-index: 9999 !important;\n", - "513: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:516:0 Unused CSS selector \".litegraph.lite-search-item\"\u001b[39m\n", - "514: overflow: hidden;\n", - "515: }\n", - "516: .litegraph.lite-search-item {\n", - " ^\n", - "517: color: var(--litegraph-input-text);\n", - "518: background-color: var(--litegraph-comfy-input-bg);\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:522:0 Unused CSS selector \".litegraph.lite-search-item.generic_type\"\u001b[39m\n", - "520: padding-left: 0.2em;\n", - "521: }\n", - "522: .litegraph.lite-search-item.generic_type {\n", - " ^\n", - "523: color: var(--litegraph-input-text);\n", - "524: filter: brightness(50%);\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:527:0 Unused CSS selector \".litemenu-entry.has_submenu::after\"\u001b[39m\n", - "525: }\n", - "526: \n", - "527: .litemenu-entry.has_submenu::after {\n", - " ^\n", - "528: content: \">\";\n", - "529: position: absolute;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:534:0 Unused CSS selector \".litegraph.litecontextmenu\"\u001b[39m\n", - "532: }\n", - "533: \n", - "534: .litegraph.litecontextmenu,\n", - " ^\n", - "535: .litegraph.litecontextmenu.dark {\n", - "536: z-index: 9999 !important;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:535:0 Unused CSS selector \".litegraph.litecontextmenu.dark\"\u001b[39m\n", - "533: \n", - "534: .litegraph.litecontextmenu,\n", - "535: .litegraph.litecontextmenu.dark {\n", - " ^\n", - "536: z-index: 9999 !important;\n", - "537: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:541:0 Unused CSS selector \".litegraph.litecontextmenu .litemenu-entry.submenu\"\u001b[39m\n", - "539: }\n", - "540: \n", - "541: .litegraph.litecontextmenu .litemenu-entry.submenu,\n", - " ^\n", - "542: .litegraph.litecontextmenu.dark .litemenu-entry.submenu {\n", - "543: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:542:0 Unused CSS selector \".litegraph.litecontextmenu.dark .litemenu-entry.submenu\"\u001b[39m\n", - "540: \n", - "541: .litegraph.litecontextmenu .litemenu-entry.submenu,\n", - "542: .litegraph.litecontextmenu.dark .litemenu-entry.submenu {\n", - " ^\n", - "543: background-color: var(--litegraph-comfy-menu-bg) !important;\n", - "544: color: var(--litegraph-input-text);\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:547:0 Unused CSS selector \".litegraph.litesearchbox input\"\u001b[39m\n", - "545: }\n", - "546: \n", - "547: .litegraph.litesearchbox input,\n", - " ^\n", - "548: .litegraph.litesearchbox select {\n", - "549: background-color: var(--litegraph-comfy-input-bg) !important;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:548:0 Unused CSS selector \".litegraph.litesearchbox select\"\u001b[39m\n", - "546: \n", - "547: .litegraph.litesearchbox input,\n", - "548: .litegraph.litesearchbox select {\n", - " ^\n", - "549: background-color: var(--litegraph-comfy-input-bg) !important;\n", - "550: color: var(--litegraph-input-text);\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:553:0 Unused CSS selector \"body\"\u001b[39m\n", - "551: }\n", - "552: \n", - "553: body {\n", - " ^\n", - "554: overflow: hidden;\n", - "555: overscroll-behavior-y: contain;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:593:0 Unused CSS selector \".dark\"\u001b[39m\n", - "591: }\n", - "592: \n", - "593: .dark {\n", - " ^\n", - "594: color-scheme: dark;\n", - "595: --input-border-color-focus: var(--neutral-500);\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:623:0 Unused CSS selector \".mobile\"\u001b[39m\n", - "621: }\n", - "622: \n", - "623: .mobile {\n", - " ^\n", - "624: --comfy-progress-bar-background: lightgrey;\n", - "625: --comfy-progress-bar-foreground: #B3D8A9 ;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:628:0 Unused CSS selector \"hr\"\u001b[39m\n", - "626: }\n", - "627: \n", - "628: hr {\n", - " ^\n", - "629: color: var(--panel-border-color);\n", - "630: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:632:0 Unused CSS selector \"input\"\u001b[39m\n", - "630: }\n", - "631: \n", - "632: input {\n", - " ^\n", - "633: color: var(--body-text-color);\n", - "634: background: var(--input-background-fill);\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:638:0 Unused CSS selector \"input:not(input[type=radio])\"\u001b[39m\n", - "636: }\n", - "637: \n", - "638: input:not(input[type=radio]), textarea {\n", - " ^\n", - "639: border-radius: 0 !important;\n", - "640: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:638:30 Unused CSS selector \"textarea\"\u001b[39m\n", - "636: }\n", - "637: \n", - "638: input:not(input[type=radio]), textarea {\n", - " ^\n", - "639: border-radius: 0 !important;\n", - "640: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:648:0 Unused CSS selector \".container\"\u001b[39m\n", - "646: }\n", - "647: \n", - "648: .container {\n", - " ^\n", - "649: background: var(--body-background-fill) !important;\n", - "650: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:651:0 Unused CSS selector \".container.selected\"\u001b[39m\n", - "649: background: var(--body-background-fill) !important;\n", - "650: }\n", - "651: .container.selected {\n", - " ^\n", - "652: background: var(--ae-primary-color) !important;\n", - "653: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:654:0 Unused CSS selector \".container.selected > .block.padded\"\u001b[39m\n", - "652: background: var(--ae-primary-color) !important;\n", - "653: }\n", - "654: .container.selected > .block.padded {\n", - " ^\n", - "655: background: var(--ae-primary-color) !important;\n", - "656: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:657:0 Unused CSS selector \".container > .block\"\u001b[39m\n", - "655: background: var(--ae-primary-color) !important;\n", - "656: }\n", - "657: .container > .block {\n", - " ^\n", - "658: background: var(--body-background-fill) !important;\n", - "659: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:660:0 Unused CSS selector \".container.z-index0 > .block\"\u001b[39m\n", - "658: background: var(--body-background-fill) !important;\n", - "659: }\n", - "660: .container.z-index0 > .block {\n", - " ^\n", - "661: background: var(--panel-background-fill) !important;\n", - "662: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:664:0 Unused CSS selector \"button.primary:active\"\u001b[39m\n", - "662: }\n", - "663: \n", - "664: button.primary:active {\n", - " ^\n", - "665: border-color: var(--button-primary-border-color-active) !important;\n", - "666: background: var(--button-primary-background-fill-active) !important;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:669:0 Unused CSS selector \"button.secondary:active\"\u001b[39m\n", - "667: color: var(--button-primary-text-color-active) !important;\n", - "668: }\n", - "669: button.secondary:active {\n", - " ^\n", - "670: border-color: var(--button-secondary-border-color-active) !important;\n", - "671: background: var(--button-secondary-background-fill-active) !important;\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:675:0 Unused CSS selector \".widget .block\"\u001b[39m\n", - "673: }\n", - "674: \n", - "675: .widget .block {\n", - " ^\n", - "676: background: var(--block-background-fill) !important;\n", - "677: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:693:0 Unused CSS selector \".select-title\"\u001b[39m\n", - "691: }\n", - "692: \n", - "693: .select-title {\n", - " ^\n", - "694: padding: 0.2rem;\n", - "695: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/ComfyComboProperty.svelte:697:0 Unused CSS selector \"input:disabled\"\u001b[39m\n", - "695: }\n", - "696: \n", - "697: input:disabled {\n", - " ^\n", - "698: cursor: not-allowed;\n", - "699: }\n", - "\u001b[33m6:20:19 AM [vite-plugin-svelte] /src/lib/components/gradio/app/UploadText.svelte:1:29 UploadText has unused export property 'type'. If it is for external reference only, please consider using `export const type`\u001b[39m\n", - "1: \n", - "78: \n", - "79: :690:4:\n", - " 690 │ .noselect {\n", - " ╵ ^\n", - "\n", - "\u001b[39m\n", - "\u001b[2K\u001b[1GSourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1GSourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "\u001b[2K\u001b[1GSourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "\u001b[2K\u001b[1GSourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "\u001b[2K\u001b[1GSourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "Sourcemap is likely to be incorrect: a plugin (svelte-remove-console) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help\n", - "\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mbrush-chemy-d6be1ba6.svg \u001b[39m\u001b[1m\u001b[2m 0.13 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.13 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32minverted-border-8978cbee.svg \u001b[39m\u001b[1m\u001b[2m 0.15 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.14 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mupload-872ef3de.svg \u001b[39m\u001b[1m\u001b[2m 0.16 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.16 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mcaret-down-7b768122.svg \u001b[39m\u001b[1m\u001b[2m 0.17 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.14 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32madd-layer-aa1f83a9.svg \u001b[39m\u001b[1m\u001b[2m 0.18 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.16 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32medit-grid-44df4bb1.svg \u001b[39m\u001b[1m\u001b[2m 0.20 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.17 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mangle-b1605e46.svg \u001b[39m\u001b[1m\u001b[2m 0.20 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.16 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mui-collapse-b713d906.svg \u001b[39m\u001b[1m\u001b[2m 0.21 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.19 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mbrush-eraser-83d6835b.svg \u001b[39m\u001b[1m\u001b[2m 0.22 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.19 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mtab-settings-e479ad73.svg \u001b[39m\u001b[1m\u001b[2m 0.22 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.16 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mcancel-77c4e420.svg \u001b[39m\u001b[1m\u001b[2m 0.23 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.18 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mexport-1a1df880.svg \u001b[39m\u001b[1m\u001b[2m 0.23 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.18 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mcopy-d6fc4d6a.svg \u001b[39m\u001b[1m\u001b[2m 0.23 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.20 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mnew-image-ce4bb6cd.svg \u001b[39m\u001b[1m\u001b[2m 0.24 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.20 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mtab-layers-ac19273c.svg \u001b[39m\u001b[1m\u001b[2m 0.25 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.18 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mmerge-layers-59e6244c.svg \u001b[39m\u001b[1m\u001b[2m 0.27 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.20 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32medit-vanish-point-51330ede.svg \u001b[39m\u001b[1m\u001b[2m 0.27 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.21 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mui-swap-lr-6175716b.svg \u001b[39m\u001b[1m\u001b[2m 0.28 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.22 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mok-c6b7ef9d.svg \u001b[39m\u001b[1m\u001b[2m 0.28 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.22 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32medit-flip-5c1801f4.svg \u001b[39m\u001b[1m\u001b[2m 0.29 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.22 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32medit-resize-9e2d13eb.svg \u001b[39m\u001b[1m\u001b[2m 0.30 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.23 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mduplicate-layer-031043ac.svg \u001b[39m\u001b[1m\u001b[2m 0.31 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.23 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mbrush-pixel-0c5efe48.svg \u001b[39m\u001b[1m\u001b[2m 0.33 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.22 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mbrush-smudge-1dfe4b38.svg \u001b[39m\u001b[1m\u001b[2m 0.33 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.24 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mcheck-95c69944.svg \u001b[39m\u001b[1m\u001b[2m 0.34 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.25 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32merror-9ff26873.svg \u001b[39m\u001b[1m\u001b[2m 0.35 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.21 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32medit-rotate-ad403fa6.svg \u001b[39m\u001b[1m\u001b[2m 0.35 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.24 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mimport-d562db8a.svg \u001b[39m\u001b[1m\u001b[2m 0.36 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.26 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mtool-text-4be6be9f.svg \u001b[39m\u001b[1m\u001b[2m 0.36 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.26 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mupload-large-ae8829f7.svg \u001b[39m\u001b[1m\u001b[2m 0.37 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.26 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32medit-pattern-03074719.svg \u001b[39m\u001b[1m\u001b[2m 0.38 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.20 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32medit-crop-2e7944ff.svg \u001b[39m\u001b[1m\u001b[2m 0.39 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.26 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mtool-fill-683cbb53.svg \u001b[39m\u001b[1m\u001b[2m 0.40 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.27 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mtool-gradient-db01efc9.svg \u001b[39m\u001b[1m\u001b[2m 0.41 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.25 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mtool-shape-d1666eb6.svg \u001b[39m\u001b[1m\u001b[2m 0.45 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.28 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mtool-zoom-out-3c295001.svg \u001b[39m\u001b[1m\u001b[2m 0.45 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.25 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32medit-perspective-016631e1.svg \u001b[39m\u001b[1m\u001b[2m 0.45 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.32 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mrename-layer-848e6bd6.svg \u001b[39m\u001b[1m\u001b[2m 0.47 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.29 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mconstrain-9dffdc8b.svg \u001b[39m\u001b[1m\u001b[2m 0.47 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.29 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mtool-undo-c821de93.svg \u001b[39m\u001b[1m\u001b[2m 0.48 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.31 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mbrush-pressure-9cddc9e0.svg \u001b[39m\u001b[1m\u001b[2m 0.49 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.35 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32medit-curves-871d3016.svg \u001b[39m\u001b[1m\u001b[2m 0.52 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.28 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32medit-noise-04862a98.svg \u001b[39m\u001b[1m\u001b[2m 0.55 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.29 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mtool-picker-70effd50.svg \u001b[39m\u001b[1m\u001b[2m 0.56 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.33 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mtool-zoom-in-1ee7404f.svg \u001b[39m\u001b[1m\u001b[2m 0.59 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.29 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mbrush-pen-3ee8651b.svg \u001b[39m\u001b[1m\u001b[2m 0.60 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.37 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mtool-hand-87d762e1.svg \u001b[39m\u001b[1m\u001b[2m 0.60 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.36 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mshare-114504ab.svg \u001b[39m\u001b[1m\u001b[2m 0.61 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.26 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32medit-brightness-contrast-84cd37d1.svg \u001b[39m\u001b[1m\u001b[2m 0.67 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.32 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mremove-layer-ce05170a.svg \u001b[39m\u001b[1m\u001b[2m 0.69 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.28 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mbrush-blend-77cb541d.svg \u001b[39m\u001b[1m\u001b[2m 0.69 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.46 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mtypo-bold-12279569.svg \u001b[39m\u001b[1m\u001b[2m 0.72 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.44 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mhelp-0201d40c.svg \u001b[39m\u001b[1m\u001b[2m 0.73 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.39 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mtool-paint-08e48ef1.svg \u001b[39m\u001b[1m\u001b[2m 0.74 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.47 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32malign-left-39af4bc5.svg \u001b[39m\u001b[1m\u001b[2m 0.77 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.34 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32malign-center-a32b3719.svg \u001b[39m\u001b[1m\u001b[2m 0.77 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.35 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32malign-right-1aa53bce.svg \u001b[39m\u001b[1m\u001b[2m 0.77 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.35 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[32mmobile/index.html \u001b[39m\u001b[1m\u001b[2m 0.80 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.42 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mwarning-6b49ed42.svg \u001b[39m\u001b[1m\u001b[2m 0.81 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.42 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32medit-distort-c16bd9c6.svg \u001b[39m\u001b[1m\u001b[2m 0.89 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.51 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mtypo-italic-07eab9cc.svg \u001b[39m\u001b[1m\u001b[2m 0.92 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.49 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32medit-transform-bbd13de9.svg \u001b[39m\u001b[1m\u001b[2m 0.95 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.42 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32medit-to-alpha-3c2644a1.svg \u001b[39m\u001b[1m\u001b[2m 1.09 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.43 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[32mindex.html \u001b[39m\u001b[1m\u001b[2m 1.22 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.55 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32medit-hue-saturation-209ab2cd.svg \u001b[39m\u001b[1m\u001b[2m 1.58 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.55 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[32mbitbof-logo-60cc8838.svg \u001b[39m\u001b[1m\u001b[2m 2.63 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 0.77 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[35mindex-aa576df9.css \u001b[39m\u001b[1m\u001b[2m 281.04 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 15.71 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[35mglobal-aad4dfb7.css \u001b[39m\u001b[1m\u001b[2m 422.35 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 31.46 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[35mindex-7855a62b.css \u001b[39m\u001b[1m\u001b[2m 562.79 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 79.56 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[36mlicenses-7698b34f.js \u001b[39m\u001b[1m\u001b[2m 6.19 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 1.21 kB\u001b[22m\u001b[2m │ map: 0.21 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[36mzh-CN-e19ae99a.js \u001b[39m\u001b[1m\u001b[2m 9.13 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 4.65 kB\u001b[22m\u001b[2m │ map: 0.10 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[36mzh-TW-92a82705.js \u001b[39m\u001b[1m\u001b[2m 9.20 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 4.71 kB\u001b[22m\u001b[2m │ map: 0.10 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[36mja-4e4a9cf7.js \u001b[39m\u001b[1m\u001b[2m 10.05 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 5.06 kB\u001b[22m\u001b[2m │ map: 0.10 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[36mde-ecec13be.js \u001b[39m\u001b[1m\u001b[2m 12.88 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 4.70 kB\u001b[22m\u001b[2m │ map: 0.10 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[36mfr-422800d7.js \u001b[39m\u001b[1m\u001b[2m 13.11 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 4.85 kB\u001b[22m\u001b[2m │ map: 0.10 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[36mmain-8f83746c.js \u001b[39m\u001b[1m\u001b[2m 156.09 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 44.49 kB\u001b[22m\u001b[2m │ map: 9.84 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[36mindex-1d7d7ec1.js \u001b[39m\u001b[1m\u001b[2m 185.94 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 59.99 kB\u001b[22m\u001b[2m │ map: 315.43 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[36mmobile-d2fcfa68.js \u001b[39m\u001b[1m\u001b[33m 922.22 kB\u001b[39m\u001b[22m\u001b[2m │ gzip: 240.18 kB\u001b[22m\u001b[2m │ map: 0.30 kB\u001b[22m\n", - "\u001b[2mdist/\u001b[22m\u001b[2massets/\u001b[22m\u001b[36mglobal-9896eb17.js \u001b[39m\u001b[1m\u001b[33m1,633.26 kB\u001b[39m\u001b[22m\u001b[2m │ gzip: 482.58 kB\u001b[22m\u001b[2m │ map: 228.76 kB\u001b[22m\n", - "\u001b[33m\n", - "(!) Some chunks are larger than 500 kBs after minification. Consider:\n", - "- Using dynamic import() to code-split the application\n", - "- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks\n", - "- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.\u001b[39m\n", - "\u001b[36m[vite-plugin-static-copy]\u001b[39m \u001b[32mCopied 3 items.\u001b[39m\n", - "\u001b[32m✓ built in 2m 20s\u001b[39m\n", - "/content/ComfyUI\n", - "-= Install dependencies =-\n", - "Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/, https://download.pytorch.org/whl/cu118, https://download.pytorch.org/whl/cu117\n", - "Requirement already satisfied: xformers!=0.0.18 in /usr/local/lib/python3.10/dist-packages (0.0.20)\n", - "Requirement already satisfied: torch in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 1)) (2.0.1+cu118)\n", - "Requirement already satisfied: torchdiffeq in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 2)) (0.2.3)\n", - "Requirement already satisfied: torchsde in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 3)) (0.2.5)\n", - "Requirement already satisfied: einops in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 4)) (0.6.1)\n", - "Requirement already satisfied: open-clip-torch in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 5)) (2.20.0)\n", - "Requirement already satisfied: transformers>=4.25.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 6)) (4.29.2)\n", - "Requirement already satisfied: safetensors>=0.3.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 7)) (0.3.1)\n", - "Requirement already satisfied: pytorch_lightning in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 8)) (2.0.2)\n", - "Requirement already satisfied: aiohttp in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 9)) (3.8.4)\n", - "Requirement already satisfied: accelerate in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 10)) (0.19.0)\n", - "Requirement already satisfied: pyyaml in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 11)) (6.0)\n", - "Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from xformers!=0.0.18) (1.22.4)\n", - "Requirement already satisfied: pyre-extensions==0.0.29 in /usr/local/lib/python3.10/dist-packages (from xformers!=0.0.18) (0.0.29)\n", - "Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from torch->-r requirements.txt (line 1)) (3.12.0)\n", - "Requirement already satisfied: typing-extensions in /usr/local/lib/python3.10/dist-packages (from torch->-r requirements.txt (line 1)) (4.5.0)\n", - "Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch->-r requirements.txt (line 1)) (1.11.1)\n", - "Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch->-r requirements.txt (line 1)) (3.1)\n", - "Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from torch->-r requirements.txt (line 1)) (3.1.2)\n", - "Requirement already satisfied: triton==2.0.0 in /usr/local/lib/python3.10/dist-packages (from torch->-r requirements.txt (line 1)) (2.0.0)\n", - "Requirement already satisfied: typing-inspect in /usr/local/lib/python3.10/dist-packages (from pyre-extensions==0.0.29->xformers!=0.0.18) (0.9.0)\n", - "Requirement already satisfied: cmake in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch->-r requirements.txt (line 1)) (3.25.2)\n", - "Requirement already satisfied: lit in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch->-r requirements.txt (line 1)) (16.0.5)\n", - "Requirement already satisfied: scipy>=1.4.0 in /usr/local/lib/python3.10/dist-packages (from torchdiffeq->-r requirements.txt (line 2)) (1.10.1)\n", - "Requirement already satisfied: boltons>=20.2.1 in /usr/local/lib/python3.10/dist-packages (from torchsde->-r requirements.txt (line 3)) (23.0.0)\n", - "Requirement already satisfied: trampoline>=0.1.2 in /usr/local/lib/python3.10/dist-packages (from torchsde->-r requirements.txt (line 3)) (0.1.2)\n", - "Requirement already satisfied: torchvision in /usr/local/lib/python3.10/dist-packages (from open-clip-torch->-r requirements.txt (line 5)) (0.15.2+cu118)\n", - "Requirement already satisfied: regex in /usr/local/lib/python3.10/dist-packages (from open-clip-torch->-r requirements.txt (line 5)) (2022.10.31)\n", - "Requirement already satisfied: ftfy in /usr/local/lib/python3.10/dist-packages (from open-clip-torch->-r requirements.txt (line 5)) (6.1.1)\n", - "Requirement already satisfied: tqdm in /usr/local/lib/python3.10/dist-packages (from open-clip-torch->-r requirements.txt (line 5)) (4.65.0)\n", - "Requirement already satisfied: huggingface-hub in /usr/local/lib/python3.10/dist-packages (from open-clip-torch->-r requirements.txt (line 5)) (0.14.1)\n", - "Requirement already satisfied: sentencepiece in /usr/local/lib/python3.10/dist-packages (from open-clip-torch->-r requirements.txt (line 5)) (0.1.99)\n", - "Requirement already satisfied: protobuf<4 in /usr/local/lib/python3.10/dist-packages (from open-clip-torch->-r requirements.txt (line 5)) (3.20.3)\n", - "Requirement already satisfied: timm in /usr/local/lib/python3.10/dist-packages (from open-clip-torch->-r requirements.txt (line 5)) (0.9.2)\n", - "Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from transformers>=4.25.1->-r requirements.txt (line 6)) (23.1)\n", - "Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from transformers>=4.25.1->-r requirements.txt (line 6)) (2.27.1)\n", - "Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in /usr/local/lib/python3.10/dist-packages (from transformers>=4.25.1->-r requirements.txt (line 6)) (0.13.3)\n", - "Requirement already satisfied: fsspec[http]>2021.06.0 in /usr/local/lib/python3.10/dist-packages (from pytorch_lightning->-r requirements.txt (line 8)) (2023.4.0)\n", - "Requirement already satisfied: torchmetrics>=0.7.0 in /usr/local/lib/python3.10/dist-packages (from pytorch_lightning->-r requirements.txt (line 8)) (0.11.4)\n", - "Requirement already satisfied: lightning-utilities>=0.7.0 in /usr/local/lib/python3.10/dist-packages (from pytorch_lightning->-r requirements.txt (line 8)) (0.8.0)\n", - "Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->-r requirements.txt (line 9)) (23.1.0)\n", - "Requirement already satisfied: charset-normalizer<4.0,>=2.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->-r requirements.txt (line 9)) (2.0.12)\n", - "Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.10/dist-packages (from aiohttp->-r requirements.txt (line 9)) (6.0.4)\n", - "Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /usr/local/lib/python3.10/dist-packages (from aiohttp->-r requirements.txt (line 9)) (4.0.2)\n", - "Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->-r requirements.txt (line 9)) (1.9.2)\n", - "Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from aiohttp->-r requirements.txt (line 9)) (1.3.3)\n", - "Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.10/dist-packages (from aiohttp->-r requirements.txt (line 9)) (1.3.1)\n", - "Requirement already satisfied: psutil in /usr/local/lib/python3.10/dist-packages (from accelerate->-r requirements.txt (line 10)) (5.9.5)\n", - "Requirement already satisfied: idna>=2.0 in /usr/local/lib/python3.10/dist-packages (from yarl<2.0,>=1.0->aiohttp->-r requirements.txt (line 9)) (3.4)\n", - "Requirement already satisfied: wcwidth>=0.2.5 in /usr/local/lib/python3.10/dist-packages (from ftfy->open-clip-torch->-r requirements.txt (line 5)) (0.2.6)\n", - "Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from jinja2->torch->-r requirements.txt (line 1)) (2.1.2)\n", - "Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->transformers>=4.25.1->-r requirements.txt (line 6)) (1.26.15)\n", - "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->transformers>=4.25.1->-r requirements.txt (line 6)) (2022.12.7)\n", - "Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->torch->-r requirements.txt (line 1)) (1.3.0)\n", - "Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /usr/local/lib/python3.10/dist-packages (from torchvision->open-clip-torch->-r requirements.txt (line 5)) (8.4.0)\n", - "Requirement already satisfied: mypy-extensions>=0.3.0 in /usr/local/lib/python3.10/dist-packages (from typing-inspect->pyre-extensions==0.0.29->xformers!=0.0.18) (1.0.0)\n" - ] - } - ], - "source": [ - "!dpkg --configure -a\n", - "!apt-get update\n", - "!curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -\n", - "!apt-get install -y nodejs\n", - "!npm install -g pnpm\n", - "\n", - "#@title Environment Setup\n", - "\n", - "from pathlib import Path\n", - "\n", - "OPTIONS = {}\n", - "\n", - "USE_GOOGLE_DRIVE = False #@param {type:\"boolean\"}\n", - "UPDATE_COMFY_UI = True #@param {type:\"boolean\"}\n", - "WORKSPACE = '/content/ComfyUI'\n", - "OPTIONS['USE_GOOGLE_DRIVE'] = USE_GOOGLE_DRIVE\n", - "OPTIONS['UPDATE_COMFY_UI'] = UPDATE_COMFY_UI\n", - "\n", - "if OPTIONS['USE_GOOGLE_DRIVE']:\n", - " !echo \"Mounting Google Drive...\"\n", - " %cd /\n", - " \n", - " from google.colab import drive\n", - " drive.mount('/content/drive')\n", - "\n", - " WORKSPACE = \"/content/drive/MyDrive/ComfyUI\"\n", - " %cd /content/drive/MyDrive\n", - "\n", - "![ ! -d $WORKSPACE ] && echo -= Initial setup ComfyUI =- && git clone https://github.com/comfyanonymous/ComfyUI\n", - "%cd $WORKSPACE\n", - "![ ! -d \"ComfyBox\" ] && echo -= Initial setup ComfyBox =- && git clone --recursive https://github.com/space-nuko/ComfyBox && cd ComfyBox && pnpm install && pnpm prebuild && pnpm build && cd ..\n", - "\n", - "if OPTIONS['UPDATE_COMFY_UI']:\n", - " !echo -= Updating ComfyUI =-\n", - " !git pull\n", - " !echo -= Updating ComfyBox =-\n", - " %cd ComfyBox\n", - " !git fetch -a\n", - " !git reset --hard origin/master\n", - " !pnpm install\n", - " !pnpm prebuild\n", - " !pnpm build\n", - " %cd ..\n", - "\n", - "!echo -= Install dependencies =-\n", - "!pip install xformers!=0.0.18 -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu118 --extra-index-url https://download.pytorch.org/whl/cu117" - ] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "cccccccccc" - }, - "source": [ - "Download some models/checkpoints/vae or custom comfyui nodes (uncomment the commands for the ones you want)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "dddddddddd", - "outputId": "7ec320ed-4033-4a13-99d8-5b059e80d16c" - }, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "--2023-05-25 06:11:45-- https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt\n", - "Resolving huggingface.co (huggingface.co)... 18.67.0.67, 18.67.0.55, 18.67.0.90, ...\n", - "Connecting to huggingface.co (huggingface.co)|18.67.0.67|:443... connected.\n", - "HTTP request sent, awaiting response... 302 Found\n", - "Location: https://cdn-lfs.huggingface.co/repos/6b/20/6b201da5f0f5c60524535ebb7deac2eef68605655d3bbacfee9cce0087f3b3f5/cc6cb27103417325ff94f52b7a5d2dde45a7515b25c255d8e396c90014281516?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27v1-5-pruned-emaonly.ckpt%3B+filename%3D%22v1-5-pruned-emaonly.ckpt%22%3B&Expires=1685253631&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4tbGZzLmh1Z2dpbmdmYWNlLmNvL3JlcG9zLzZiLzIwLzZiMjAxZGE1ZjBmNWM2MDUyNDUzNWViYjdkZWFjMmVlZjY4NjA1NjU1ZDNiYmFjZmVlOWNjZTAwODdmM2IzZjUvY2M2Y2IyNzEwMzQxNzMyNWZmOTRmNTJiN2E1ZDJkZGU0NWE3NTE1YjI1YzI1NWQ4ZTM5NmM5MDAxNDI4MTUxNj9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2ODUyNTM2MzF9fX1dfQ__&Signature=hVRMTaHCiHBb1M6fAwdLwZIicC7pDU-IAtXG43B1OH7WSlznl9xvpbCh68sNOdhgqj1iE-ZTkgfyRx8FClFfZGjLjGsmQ0moqcBVFl6crvmnC%7EUZ-W1VWKarFMuyNcbagZlLFERcrpBNL1RYeGESKDm6qBroPbT9-hptfmoVCcSBYH6B5QhBECn1425a8XiaBFyOjlhnOjmEmVtx1EBiRCSQc0noiMwPaTElpNfYJzvUCALqnlMtB84mFgKLUyWWoBFrnFrNdMpsbupqs3ap6Jtx3ZA1p2VR%7EQ0TS2CxLn4iNn9QWuhjhyLx4FFH-VHuhnXUGDkXu2uaTY4z6V-O%7EQ__&Key-Pair-Id=KVTP0A1DKRTAX [following]\n", - "--2023-05-25 06:11:45-- https://cdn-lfs.huggingface.co/repos/6b/20/6b201da5f0f5c60524535ebb7deac2eef68605655d3bbacfee9cce0087f3b3f5/cc6cb27103417325ff94f52b7a5d2dde45a7515b25c255d8e396c90014281516?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27v1-5-pruned-emaonly.ckpt%3B+filename%3D%22v1-5-pruned-emaonly.ckpt%22%3B&Expires=1685253631&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4tbGZzLmh1Z2dpbmdmYWNlLmNvL3JlcG9zLzZiLzIwLzZiMjAxZGE1ZjBmNWM2MDUyNDUzNWViYjdkZWFjMmVlZjY4NjA1NjU1ZDNiYmFjZmVlOWNjZTAwODdmM2IzZjUvY2M2Y2IyNzEwMzQxNzMyNWZmOTRmNTJiN2E1ZDJkZGU0NWE3NTE1YjI1YzI1NWQ4ZTM5NmM5MDAxNDI4MTUxNj9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2ODUyNTM2MzF9fX1dfQ__&Signature=hVRMTaHCiHBb1M6fAwdLwZIicC7pDU-IAtXG43B1OH7WSlznl9xvpbCh68sNOdhgqj1iE-ZTkgfyRx8FClFfZGjLjGsmQ0moqcBVFl6crvmnC%7EUZ-W1VWKarFMuyNcbagZlLFERcrpBNL1RYeGESKDm6qBroPbT9-hptfmoVCcSBYH6B5QhBECn1425a8XiaBFyOjlhnOjmEmVtx1EBiRCSQc0noiMwPaTElpNfYJzvUCALqnlMtB84mFgKLUyWWoBFrnFrNdMpsbupqs3ap6Jtx3ZA1p2VR%7EQ0TS2CxLn4iNn9QWuhjhyLx4FFH-VHuhnXUGDkXu2uaTY4z6V-O%7EQ__&Key-Pair-Id=KVTP0A1DKRTAX\n", - "Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 18.64.174.106, 18.64.174.110, 18.64.174.43, ...\n", - "Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|18.64.174.106|:443... connected.\n", - "HTTP request sent, awaiting response... 200 OK\n", - "Length: 4265380512 (4.0G) [binary/octet-stream]\n", - "Saving to: ‘./models/checkpoints/v1-5-pruned-emaonly.ckpt’\n", - "\n", - "v1-5-pruned-emaonly 100%[===================>] 3.97G 149MB/s in 36s \n", - "\n", - "2023-05-25 06:12:22 (112 MB/s) - ‘./models/checkpoints/v1-5-pruned-emaonly.ckpt’ saved [4265380512/4265380512]\n", - "\n", - "--2023-05-25 06:12:22-- https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors\n", - "Resolving huggingface.co (huggingface.co)... 18.67.0.90, 18.67.0.67, 18.67.0.55, ...\n", - "Connecting to huggingface.co (huggingface.co)|18.67.0.90|:443... connected.\n", - "HTTP request sent, awaiting response... 302 Found\n", - "Location: https://cdn-lfs.huggingface.co/repos/ec/ee/eceee26c5834d8a75cf04eeb17dfc06d1d5fe1d80c2f19520b148c11e2e98c45/735e4c3a447a3255760d7f86845f09f937809baa529c17370d83e4c3758f3c75?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27vae-ft-mse-840000-ema-pruned.safetensors%3B+filename%3D%22vae-ft-mse-840000-ema-pruned.safetensors%22%3B&Expires=1685253633&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4tbGZzLmh1Z2dpbmdmYWNlLmNvL3JlcG9zL2VjL2VlL2VjZWVlMjZjNTgzNGQ4YTc1Y2YwNGVlYjE3ZGZjMDZkMWQ1ZmUxZDgwYzJmMTk1MjBiMTQ4YzExZTJlOThjNDUvNzM1ZTRjM2E0NDdhMzI1NTc2MGQ3Zjg2ODQ1ZjA5ZjkzNzgwOWJhYTUyOWMxNzM3MGQ4M2U0YzM3NThmM2M3NT9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2ODUyNTM2MzN9fX1dfQ__&Signature=a2ODsl3PB7P6KKeogKbKZRgC3e8Z3ZqDxyh4FIGEX%7EtQPkdxtSI5wgwOw%7ESaNZ1mLdqoGX5Qjg0Zl3SVtyjjYGrs8ysDNMsaoZpDHlkiAL7FJVrGEamzbV%7ESjd5u2aXSk86sa6q%7Ewe7Iu5vo8T7SuHMUrUXgZo5LvrFJBp4ojxXgbBNWCCxMO3NPKQhNFBSe1Wd3s0gidEtVzVSS0NUTtR2fosYPTqJA46vtoLxnWjZhgnpmULB3jD23DRCwrgA1EUfYwjebPHiM9o4WVHr3%7ExsZJnvtYPKlDxFeIkGnNt2DuflxACtyR7ztul6XZtjKrBfuaiSt9HiDIP9HxPpD8g__&Key-Pair-Id=KVTP0A1DKRTAX [following]\n", - "--2023-05-25 06:12:23-- https://cdn-lfs.huggingface.co/repos/ec/ee/eceee26c5834d8a75cf04eeb17dfc06d1d5fe1d80c2f19520b148c11e2e98c45/735e4c3a447a3255760d7f86845f09f937809baa529c17370d83e4c3758f3c75?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27vae-ft-mse-840000-ema-pruned.safetensors%3B+filename%3D%22vae-ft-mse-840000-ema-pruned.safetensors%22%3B&Expires=1685253633&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4tbGZzLmh1Z2dpbmdmYWNlLmNvL3JlcG9zL2VjL2VlL2VjZWVlMjZjNTgzNGQ4YTc1Y2YwNGVlYjE3ZGZjMDZkMWQ1ZmUxZDgwYzJmMTk1MjBiMTQ4YzExZTJlOThjNDUvNzM1ZTRjM2E0NDdhMzI1NTc2MGQ3Zjg2ODQ1ZjA5ZjkzNzgwOWJhYTUyOWMxNzM3MGQ4M2U0YzM3NThmM2M3NT9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2ODUyNTM2MzN9fX1dfQ__&Signature=a2ODsl3PB7P6KKeogKbKZRgC3e8Z3ZqDxyh4FIGEX%7EtQPkdxtSI5wgwOw%7ESaNZ1mLdqoGX5Qjg0Zl3SVtyjjYGrs8ysDNMsaoZpDHlkiAL7FJVrGEamzbV%7ESjd5u2aXSk86sa6q%7Ewe7Iu5vo8T7SuHMUrUXgZo5LvrFJBp4ojxXgbBNWCCxMO3NPKQhNFBSe1Wd3s0gidEtVzVSS0NUTtR2fosYPTqJA46vtoLxnWjZhgnpmULB3jD23DRCwrgA1EUfYwjebPHiM9o4WVHr3%7ExsZJnvtYPKlDxFeIkGnNt2DuflxACtyR7ztul6XZtjKrBfuaiSt9HiDIP9HxPpD8g__&Key-Pair-Id=KVTP0A1DKRTAX\n", - "Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 18.64.174.110, 18.64.174.43, 18.64.174.106, ...\n", - "Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|18.64.174.110|:443... connected.\n", - "HTTP request sent, awaiting response... 200 OK\n", - "Length: 334641190 (319M) [binary/octet-stream]\n", - "Saving to: ‘./models/vae/vae-ft-mse-840000-ema-pruned.safetensors’\n", - "\n", - "vae-ft-mse-840000-e 100%[===================>] 319.14M 142MB/s in 2.2s \n", - "\n", - "2023-05-25 06:12:25 (142 MB/s) - ‘./models/vae/vae-ft-mse-840000-ema-pruned.safetensors’ saved [334641190/334641190]\n", - "\n" - ] - } - ], - "source": [ - "# Checkpoints\n", - "\n", - "# SD1.5\n", - "!wget -c https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt -P ./models/checkpoints/\n", - "\n", - "# SD2\n", - "#!wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1-base/resolve/main/v2-1_512-ema-pruned.safetensors -P ./models/checkpoints/\n", - "#!wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1/resolve/main/v2-1_768-ema-pruned.safetensors -P ./models/checkpoints/\n", - "\n", - "# Some SD1.5 anime style\n", - "#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix2/AbyssOrangeMix2_hard.safetensors -P ./models/checkpoints/\n", - "#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A1_orangemixs.safetensors -P ./models/checkpoints/\n", - "#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A3_orangemixs.safetensors -P ./models/checkpoints/\n", - "#!wget -c https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/anything-v3-fp16-pruned.safetensors -P ./models/checkpoints/\n", - "\n", - "# Waifu Diffusion 1.5 (anime style SD2.x 768-v)\n", - "#!wget -c https://huggingface.co/waifu-diffusion/wd-1-5-beta2/resolve/main/checkpoints/wd-1-5-beta2-fp16.safetensors -P ./models/checkpoints/\n", - "\n", - "\n", - "# unCLIP models\n", - "#!wget -c https://huggingface.co/comfyanonymous/illuminatiDiffusionV1_v11_unCLIP/resolve/main/illuminatiDiffusionV1_v11-unclip-h-fp16.safetensors -P ./models/checkpoints/\n", - "#!wget -c https://huggingface.co/comfyanonymous/wd-1.5-beta2_unCLIP/resolve/main/wd-1-5-beta2-aesthetic-unclip-h-fp16.safetensors -P ./models/checkpoints/\n", - "\n", - "\n", - "# VAE\n", - "!wget -c https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors -P ./models/vae/\n", - "#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt -P ./models/vae/\n", - "#!wget -c https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime2.ckpt -P ./models/vae/\n", - "\n", - "\n", - "# Loras\n", - "#!wget -c https://civitai.com/api/download/models/10350 -O ./models/loras/theovercomer8sContrastFix_sd21768.safetensors #theovercomer8sContrastFix SD2.x 768-v\n", - "#!wget -c https://civitai.com/api/download/models/10638 -O ./models/loras/theovercomer8sContrastFix_sd15.safetensors #theovercomer8sContrastFix SD1.x\n", - "\n", - "\n", - "# T2I-Adapter\n", - "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_depth_sd14v1.pth -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_seg_sd14v1.pth -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_sketch_sd14v1.pth -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_keypose_sd14v1.pth -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_openpose_sd14v1.pth -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_color_sd14v1.pth -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_canny_sd14v1.pth -P ./models/controlnet/\n", - "\n", - "# T2I Styles Model\n", - "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_style_sd14v1.pth -P ./models/style_models/\n", - "\n", - "# CLIPVision model (needed for styles model)\n", - "#!wget -c https://huggingface.co/openai/clip-vit-large-patch14/resolve/main/pytorch_model.bin -O ./models/clip_vision/clip_vit14.bin\n", - "\n", - "\n", - "# ControlNet\n", - "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_shuffle_fp16.safetensors -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_canny_fp16.safetensors -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11f1p_sd15_depth_fp16.safetensors -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_lineart_fp16.safetensors -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_normalbae_fp16.safetensors -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_openpose_fp16.safetensors -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_scribble_fp16.safetensors -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_seg_fp16.safetensors -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_softedge_fp16.safetensors -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors -P ./models/controlnet/\n", - "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11u_sd15_tile_fp16.safetensors -P ./models/controlnet/\n", - "\n", - "\n", - "# Controlnet Preprocessor nodes by Fannovel16\n", - "#!cd custom_nodes && git clone https://github.com/Fannovel16/comfy_controlnet_preprocessors; cd comfy_controlnet_preprocessors && python install.py\n", - "\n", - "\n", - "# GLIGEN\n", - "#!wget -c https://huggingface.co/comfyanonymous/GLIGEN_pruned_safetensors/resolve/main/gligen_sd14_textbox_pruned_fp16.safetensors -P ./models/gligen/\n", - "\n", - "\n", - "# ESRGAN upscale model\n", - "#!wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x2.pth -P ./models/upscale_models/\n", - "#!wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x4.pth -P ./models/upscale_models/\n", - "\n", - "\n" - ] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "kkkkkkkkkkkkkk" - }, - "source": [ - "### Run ComfyUI with localtunnel\n", - "\n", - "#### **Instructions for this part**:\n", - "\n", - "Run this cell and wait until you see the two localtunnel URLs\n", - "\n", - "Copy the one that has **[ComfyUI]** before it **without the https:// or trailing slash**\n", - "\n", - "Then paste it in the cell below this one that says **Set ComfyUI Backend URL** and run it (may have to wait until the other cell finishes first)\n", - "\n", - "Afterwards visit **both** localtunnel URLs and submit the same IP printed in the output for each one\n", - "\n", - "If you get \"Failed to fetch\" errors **make sure you've set the correct backend URL in the other cell first** and **clear your cache** before trying again\n", - "\n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "jjjjjjjjjjjjj", - "outputId": "4f53bb3a-a06f-4a21-a985-1023da159450" - }, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "/content/ComfyUI\n", - "Reading package lists... Done\n", - "Building dependency tree \n", - "Reading state information... Done\n", - "net-tools is already the newest version (1.60+git20180626.aebd88e-1ubuntu1).\n", - "0 upgraded, 0 newly installed, 0 to remove and 38 not upgraded.\n", - "kill: failed to parse argument: '-'\n", - "kill: (5235): No such process\n", - "kill: failed to parse argument: '-'\n", - "kill: (5235): No such process\n", - "kill: (5235): No such process\n", - "kill: failed to parse argument: '-'\n", - "kill: (5235): No such process\n", - "kill: (5235): No such process\n", - "kill: failed to parse argument: '-'\n", - "kill: failed to parse argument: '-'\n", - "kill: (5235): No such process\n", - "kill: (5235): No such process\n", - "kill: (5235): No such process\n", - "kill: (5235): No such process\n", - "kill: failed to parse argument: '-'\n", - "kill: failed to parse argument: '-'\n", - "kill: (5235): No such process\n", - "kill: failed to parse argument: '-'\n", - "kill: failed to parse argument: '-'\n", - "kill: failed to parse argument: '-'\n", - "kill: failed to parse argument: '-'\n", - "kill: failed to parse argument: '-'\n", - "kill: failed to parse argument: '-'\n", - "kill: failed to parse argument: '-'\n", - "kill: failed to parse argument: '-'\n", - "\u001b[K\u001b[?25h\n", - "changed 40 packages in 3s\n", - "\n", - "11 packages are looking for funding\n", - " run `npm fund` for details\n", - "\u001b[K\u001b[?25h\n", - "changed 22 packages in 2s\n", - "\n", - "3 packages are looking for funding\n", - " run `npm fund` for details\n", - "/content/ComfyUI/ComfyBox/dist\n", - "rm: cannot remove 'nohup.out': No such file or directory\n", - "nohup: appending output to 'nohup.out'\n", - "/content/ComfyUI\n", - "nohup: appending output to 'nohup.out'\n", - "\n", - "ComfyUI finished loading, trying to launch localtunnel (if it gets stuck here localtunnel is having issues)\n", - "\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
        \n", - " \n", - " \n", - "\n", - "The password/enpoint ip for localtunnel is: 34.73.12.157\n", - "Default File Extension: none\n", - "\n", - "Available on:\n", - " http://127.0.0.1:8000\n", - " http://172.28.0.12:8000\n", - "Hit CTRL-C to stop the server\n", - "\n", - "[2023-05-25T06:24:53.189Z] \"GET /\" \"curl/7.68.0\"\n", - "(node:11567) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated\n", - "(Use `node --trace-deprecation ...` to show where the warning was created)\n", - "[ComfyUI] your url is: https://stupid-rockets-fry.loca.lt\n", - "\n", - "[ComfyBox] your url is: https://sixty-bags-roll.loca.lt\n", - "\n", - "[ComfyBox] Thu May 25 2023 06:25:05 GMT+0000 (Coordinated Universal Time) GET /\n", - "\n", - "[ComfyBox] Thu May 25 2023 06:25:05 GMT+0000 (Coordinated Universal Time) GET /assets/main-8f83746c.js\n", - "\n", - "[ComfyBox] Thu May 25 2023 06:25:05 GMT+0000 (Coordinated Universal Time) GET /assets/global-aad4dfb7.css\n", - "\n", - "[2023-05-25T06:25:05.293Z] \"GET /\" \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36\"\n", - "[2023-05-25T06:25:05.528Z] \"GET /assets/main-8f83746c.js\" \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36\"\n", - "[2023-05-25T06:25:05.538Z] \"GET /assets/global-aad4dfb7.css\" \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36\"\n", - "[2023-05-25T06:25:05.539Z] \"GET /assets/global-9896eb17.js\" \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36\"\n", - "[2023-05-25T06:25:05.540Z] \"GET /assets/index-aa576df9.css\" \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36\"\n" - ] - } - ], - "source": [ - "%cd '/content/ComfyUI'\n", - "!apt-get install net-tools\n", - "#!sudo netstat -tanlp | grep 8000\n", - "!sudo netstat -tanlp | grep 8000 | tr -s ' ' | cut -d$' ' -f 7 | cut -d$'/' -f 1 | xargs -I'{{}}' -- kill {{}}\n", - "!npm install http-server -g\n", - "\n", - "#!fuser -k 8000/tcp\n", - "#!fuser -k 8188/tcp\n", - "!npm install -g localtunnel\n", - "\n", - "import subprocess\n", - "import threading\n", - "import time\n", - "import socket\n", - "import urllib.request\n", - "import select\n", - "from contextlib import closing\n", - " \n", - "def check_socket(host, port):\n", - " with closing(socket.socket(socket.AF_INET, socket.SOCK_STREAM)) as sock:\n", - " return sock.connect_ex((host, port)) == 0\n", - "\n", - "def iframe_thread(port,cbPort):\n", - " while True:\n", - " time.sleep(0.5)\n", - " if check_socket(\"127.0.0.1\", port) and check_socket(\"127.0.0.1\", cbPort):\n", - " break\n", - " print(\"\\nComfyUI finished loading, trying to launch localtunnel (if it gets stuck here localtunnel is having issues)\\n\")\n", - " print(\"The password/enpoint ip for localtunnel is:\", urllib.request.urlopen('https://ipv4.icanhazip.com').read().decode('utf8').strip(\"\\n\"))\n", - " p = subprocess.Popen([\"lt\", \"--port\", \"{}\".format(port)], stdout=subprocess.PIPE)\n", - " p2 = subprocess.Popen([\"lt\", \"--print-requests\", \"--port\", \"{}\".format(cbPort)], stdout=subprocess.PIPE)\n", - " while True:\n", - " ready_to_read, _, _ = select.select([p.stdout, p2.stdout], [], [])\n", - " for stdout in ready_to_read:\n", - " line = stdout.readline().decode()\n", - " pre = \"[ComfyUI]\"\n", - " if stdout == p2.stdout:\n", - " pre = \"[ComfyBox]\"\n", - " if line != \"\":\n", - " print(pre + \" \" + line)\n", - "\n", - "threading.Thread(target=iframe_thread, daemon=True, args=(8188,8000,)).start()\n", - "\n", - "#!nohup python main.py --dont-print-server --enable-cors-header & \n", - "#!timeout 20 tail -f nohup.out\n", - "%cd /content/ComfyUI/ComfyBox/dist\n", - "!rm nohup.out\n", - "!nohup http-server -p 8000 &\n", - "%cd /content/ComfyUI\n", - "!rm nohup.out\n", - "!nohup python main.py --dont-print-server --enable-cors-header &\n", - "!curl http://localhost:8000\n", - "!timeout 20 tail -f ./ComfyBox/dist/nohup.out\n", - "\n", - "#iframe_thread(8188, 8000)" - ] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "8vw8BXPUK58Y" - }, - "source": [ - "### Set ComfyUI Backend URL\n", - "\n", - "\n" - ] - }, - { - "cell_type": "code", - "source": [ - "COMFY_UI_LOCALTUNNEL_URL = \"stupid-rockets-fry.loca.lt\" #@param {type:\"string\"}\n", - "\n", - "%cd \"/content/ComfyUI\"\n", - "!apt-get install jq\n", - "!cat ./ComfyBox/dist/config.json | jq '.comfyUIHostname = $v' --arg v {COMFY_UI_LOCALTUNNEL_URL} | jq '.comfyUIPort = $v' --arg v 443 | sponge ./ComfyBox/dist/config.json\n", - "!echo \"Configured ComfyUI backend as '{COMFY_UI_LOCALTUNNEL_URL}'\"\n", - "!cat ./ComfyBox/dist/config.json" - ], - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "Mb9eL6UgLe-Y", - "outputId": "c27d662c-fd9f-414e-f6c6-c51ae48895d6" - }, - "execution_count": null, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "/content/ComfyUI\n", - "Reading package lists... Done\n", - "Building dependency tree \n", - "Reading state information... Done\n", - "jq is already the newest version (1.6-1ubuntu0.20.04.1).\n", - "0 upgraded, 0 newly installed, 0 to remove and 38 not upgraded.\n", - "Configured ComfyUI backend as 'stupid-rockets-fry.loca.lt'\n", - "{\n", - " \"comfyUIHostname\": \"stupid-rockets-fry.loca.lt\",\n", - " \"comfyUIPort\": \"443\",\n", - " \"alwaysStripUserState\": false,\n", - " \"promptForWorkflowName\": false,\n", - " \"confirmWhenUnloadingUnsavedChanges\": true\n", - "}\n" - ] - } - ] - }, - { - "cell_type": "code", - "source": [ - "import threading\n", - "import time\n", - "import socket\n", - "from google.colab import output\n", - "\n", - "port = 8000\n", - "\n", - "output.serve_kernel_port_as_iframe(port, height=1024)\n", - "print(\"to open it in a window you can open this link here:\")\n", - "output.serve_kernel_port_as_window(port)" - ], - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/", - "height": 1000 - }, - "id": "iJOWHPQQgkWW", - "outputId": "00790864-0d74-48a6-8b73-98eb9b3671a7" - }, - "execution_count": null, - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": [ - "" - ], - "application/javascript": [ - "(async (port, path, width, height, cache, element) => {\n", - " if (!google.colab.kernel.accessAllowed && !cache) {\n", - " return;\n", - " }\n", - " element.appendChild(document.createTextNode(''));\n", - " const url = await google.colab.kernel.proxyPort(port, {cache});\n", - " const iframe = document.createElement('iframe');\n", - " iframe.src = new URL(path, url).toString();\n", - " iframe.height = height;\n", - " iframe.width = width;\n", - " iframe.style.border = 0;\n", - " iframe.allow = [\n", - " 'accelerometer',\n", - " 'autoplay',\n", - " 'camera',\n", - " 'clipboard-read',\n", - " 'clipboard-write',\n", - " 'gyroscope',\n", - " 'magnetometer',\n", - " 'microphone',\n", - " 'serial',\n", - " 'usb',\n", - " 'xr-spatial-tracking',\n", - " ].join('; ');\n", - " element.appendChild(iframe);\n", - " })(8000, \"/\", \"100%\", 1024, false, window.element)" - ] - }, - "metadata": {} - }, - { - "output_type": "stream", - "name": "stdout", - "text": [ - "to open it in a window you can open this link here:\n" - ] - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "" - ], - "application/javascript": [ - "(async (port, path, text, element) => {\n", - " if (!google.colab.kernel.accessAllowed) {\n", - " return;\n", - " }\n", - " element.appendChild(document.createTextNode(''));\n", - " const url = await google.colab.kernel.proxyPort(port);\n", - " const anchor = document.createElement('a');\n", - " anchor.href = new URL(path, url).toString();\n", - " anchor.target = '_blank';\n", - " anchor.setAttribute('data-href', url + path);\n", - " anchor.textContent = text;\n", - " element.appendChild(anchor);\n", - " })(8000, \"/\", \"https://localhost:8000/\", window.element)" - ] - }, - "metadata": {} - } - ] - } - ], - "metadata": { - "accelerator": "GPU", - "colab": { - "provenance": [] - }, - "gpuClass": "standard", - "kernelspec": { - "display_name": "Python 3", - "name": "python3" - }, - "language_info": { - "name": "python" - } - }, - "nbformat": 4, - "nbformat_minor": 0 -} diff --git a/package.json b/package.json deleted file mode 100644 index 0715b97..0000000 --- a/package.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "name": "ComfyBox", - "version": "0.0.1", - "private": true, - "scripts": { - "dev": "vite dev", - "build": "vite build", - "preview": "turbo run preview", - "check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json", - "check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch", - "test": "vitest run", - "test:watch": "vitest", - "test:inspect": "vitest --inspect-brk --single-thread", - "lint": "prettier --plugin-search-dir . --check . && eslint .", - "format": "prettier --plugin-search-dir . --write .", - "svelte-check": "svelte-check", - "prebuild": "pnpm run build:css", - "build:css": "pollen -c gradio/js/theme/src/pollen.config.cjs && mv src/pollen.css node_modules/@gradio/theme/src" - }, - "devDependencies": { - "@floating-ui/core": "^1.3.1", - "@floating-ui/dom": "^1.4.2", - "@zerodevx/svelte-toast": "^0.9.3", - "eslint": "^8.43.0", - "eslint-config-prettier": "^8.8.0", - "eslint-plugin-svelte3": "^4.0.0", - "happy-dom": "^9.20.3", - "jsdom": "^22.1.0", - "prettier": "^2.8.8", - "prettier-plugin-svelte": "^2.10.1", - "rollup-plugin-visualizer": "^5.9.2", - "sass": "^1.63.6", - "svelte": "^4.0.0", - "svelte-check": "^3.4.4", - "svelte-dnd-action": "^0.9.22", - "typescript": "^5.1.3", - "vite": "^4.3.9", - "vite-plugin-glsl": "^1.1.2", - "vite-plugin-static-copy": "^0.14.0", - "vite-plugin-svelte-console-remover": "^1.0.10", - "vite-tsconfig-paths": "^4.2.0", - "vitest": "^0.27.3" - }, - "type": "module", - "dependencies": { - "@codemirror/autocomplete": "^6.8.0", - "@codemirror/commands": "^6.2.4", - "@codemirror/language": "^6.8.0", - "@codemirror/lint": "^6.2.2", - "@codemirror/search": "^6.5.0", - "@codemirror/state": "^6.2.1", - "@codemirror/view": "^6.13.2", - "@dogagenc/svelte-markdown": "^0.2.4", - "@gradio/accordion": "workspace:*", - "@gradio/atoms": "workspace:*", - "@gradio/button": "workspace:*", - "@gradio/client": "workspace:*", - "@gradio/file": "workspace:*", - "@gradio/form": "workspace:*", - "@gradio/gallery": "workspace:*", - "@gradio/icons": "workspace:*", - "@gradio/image": "workspace:*", - "@gradio/json": "workspace:*", - "@gradio/tabs": "workspace:*", - "@gradio/theme": "workspace:*", - "@gradio/upload": "workspace:*", - "@gradio/utils": "workspace:*", - "@lezer/generator": "^1.3.0", - "@lezer/highlight": "^1.1.6", - "@lezer/lr": "^1.3.7", - "@litegraph-ts/core": "workspace:*", - "@litegraph-ts/nodes-basic": "workspace:*", - "@litegraph-ts/nodes-events": "workspace:*", - "@litegraph-ts/nodes-logic": "workspace:*", - "@litegraph-ts/nodes-math": "workspace:*", - "@litegraph-ts/nodes-strings": "workspace:*", - "@litegraph-ts/tsconfig": "workspace:*", - "@sveltejs/vite-plugin-svelte": "^2.4.2", - "@tsconfig/svelte": "^4.0.1", - "@types/dompurify": "^3.0.2", - "canvas-to-svg": "^1.0.3", - "cm6-theme-basic-dark": "^0.2.0", - "cm6-theme-basic-light": "^0.2.0", - "codemirror": "^6.0.1", - "csv": "^6.3.1", - "csv-parse": "^5.4.0", - "dompurify": "^3.0.3", - "events": "^3.3.0", - "framework7": "^8.1.0", - "framework7-svelte": "^8.1.0", - "img-comparison-slider": "^8.0.0", - "marked": "^5.1.0", - "pollen-css": "^4.6.2", - "radix-icons-svelte": "^1.2.1", - "style-mod": "^4.0.3", - "svelte-bootstrap-icons": "^2.3.1", - "svelte-feather-icons": "^4.0.1", - "svelte-floating-ui": "^1.5.3", - "svelte-preprocess": "^5.0.4", - "svelte-select": "^5.6.1", - "svelte-splitpanes": "^0.7.15", - "svelte-tiny-virtual-list": "^2.0.5", - "tailwindcss": "^3.3.2", - "typed-emitter": "github:andywer/typed-emitter", - "uuid": "^9.0.0", - "vite-plugin-full-reload": "^1.0.5", - "zod": "^3.21.4" - } -} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml deleted file mode 100644 index f77ce78..0000000 --- a/pnpm-lock.yaml +++ /dev/null @@ -1,9452 +0,0 @@ -lockfileVersion: '6.0' - -importers: - - .: - dependencies: - '@codemirror/autocomplete': - specifier: ^6.8.0 - version: 6.8.0(@codemirror/language@6.8.0)(@codemirror/state@6.2.1)(@codemirror/view@6.13.2) - '@codemirror/commands': - specifier: ^6.2.4 - version: 6.2.4 - '@codemirror/language': - specifier: ^6.8.0 - version: 6.8.0 - '@codemirror/lint': - specifier: ^6.2.2 - version: 6.2.2 - '@codemirror/search': - specifier: ^6.5.0 - version: 6.5.0 - '@codemirror/state': - specifier: ^6.2.1 - version: 6.2.1 - '@codemirror/view': - specifier: ^6.13.2 - version: 6.13.2 - '@dogagenc/svelte-markdown': - specifier: ^0.2.4 - version: 0.2.4(svelte@4.0.0) - '@gradio/accordion': - specifier: workspace:* - version: link:gradio/js/accordion - '@gradio/atoms': - specifier: workspace:* - version: link:gradio/js/atoms - '@gradio/button': - specifier: workspace:* - version: link:gradio/js/button - '@gradio/client': - specifier: workspace:* - version: link:gradio/client/js - '@gradio/file': - specifier: workspace:* - version: link:gradio/js/file - '@gradio/form': - specifier: workspace:* - version: link:gradio/js/form - '@gradio/gallery': - specifier: workspace:* - version: link:gradio/js/gallery - '@gradio/icons': - specifier: workspace:* - version: link:gradio/js/icons - '@gradio/image': - specifier: workspace:* - version: link:gradio/js/image - '@gradio/json': - specifier: workspace:* - version: link:gradio/js/json - '@gradio/tabs': - specifier: workspace:* - version: link:gradio/js/tabs - '@gradio/theme': - specifier: workspace:* - version: link:gradio/js/theme - '@gradio/upload': - specifier: workspace:* - version: link:gradio/js/upload - '@gradio/utils': - specifier: workspace:* - version: link:gradio/js/utils - '@lezer/generator': - specifier: ^1.3.0 - version: 1.3.0 - '@lezer/highlight': - specifier: ^1.1.6 - version: 1.1.6 - '@lezer/lr': - specifier: ^1.3.7 - version: 1.3.7 - '@litegraph-ts/core': - specifier: workspace:* - version: link:litegraph/packages/core - '@litegraph-ts/nodes-basic': - specifier: workspace:* - version: link:litegraph/packages/nodes-basic - '@litegraph-ts/nodes-events': - specifier: workspace:* - version: link:litegraph/packages/nodes-events - '@litegraph-ts/nodes-logic': - specifier: workspace:* - version: link:litegraph/packages/nodes-logic - '@litegraph-ts/nodes-math': - specifier: workspace:* - version: link:litegraph/packages/nodes-math - '@litegraph-ts/nodes-strings': - specifier: workspace:* - version: link:litegraph/packages/nodes-strings - '@litegraph-ts/tsconfig': - specifier: workspace:* - version: link:litegraph/packages/tsconfig - '@sveltejs/vite-plugin-svelte': - specifier: ^2.4.2 - version: 2.4.2(svelte@4.0.0)(vite@4.3.9) - '@tsconfig/svelte': - specifier: ^4.0.1 - version: 4.0.1 - '@types/dompurify': - specifier: ^3.0.2 - version: 3.0.2 - canvas-to-svg: - specifier: ^1.0.3 - version: 1.0.3 - cm6-theme-basic-dark: - specifier: ^0.2.0 - version: 0.2.0(@codemirror/language@6.8.0)(@codemirror/state@6.2.1)(@codemirror/view@6.13.2)(@lezer/highlight@1.1.6) - cm6-theme-basic-light: - specifier: ^0.2.0 - version: 0.2.0(@codemirror/language@6.8.0)(@codemirror/state@6.2.1)(@codemirror/view@6.13.2)(@lezer/highlight@1.1.6) - codemirror: - specifier: ^6.0.1 - version: 6.0.1 - csv: - specifier: ^6.3.1 - version: 6.3.1 - csv-parse: - specifier: ^5.4.0 - version: 5.4.0 - dompurify: - specifier: ^3.0.3 - version: 3.0.3 - events: - specifier: ^3.3.0 - version: 3.3.0 - framework7: - specifier: ^8.1.0 - version: 8.1.0 - framework7-svelte: - specifier: ^8.1.0 - version: 8.1.0 - img-comparison-slider: - specifier: ^8.0.0 - version: 8.0.0 - marked: - specifier: ^5.1.0 - version: 5.1.0 - pollen-css: - specifier: ^4.6.2 - version: 4.6.2 - radix-icons-svelte: - specifier: ^1.2.1 - version: 1.2.1 - style-mod: - specifier: ^4.0.3 - version: 4.0.3 - svelte-bootstrap-icons: - specifier: ^2.3.1 - version: 2.3.1 - svelte-feather-icons: - specifier: ^4.0.1 - version: 4.0.1 - svelte-floating-ui: - specifier: ^1.5.3 - version: 1.5.3 - svelte-preprocess: - specifier: ^5.0.4 - version: 5.0.4(sass@1.63.6)(svelte@4.0.0)(typescript@5.1.3) - svelte-select: - specifier: ^5.6.1 - version: 5.6.1 - svelte-splitpanes: - specifier: ^0.7.15 - version: 0.7.15(svelte@4.0.0) - svelte-tiny-virtual-list: - specifier: ^2.0.5 - version: 2.0.5 - tailwindcss: - specifier: ^3.3.2 - version: 3.3.2 - typed-emitter: - specifier: github:andywer/typed-emitter - version: github.com/andywer/typed-emitter/9a139b6fa0ec6b0db6141b5b756b784e4f7ef4e4 - uuid: - specifier: ^9.0.0 - version: 9.0.0 - vite-plugin-full-reload: - specifier: ^1.0.5 - version: 1.0.5(vite@4.3.9) - zod: - specifier: ^3.21.4 - version: 3.21.4 - devDependencies: - '@floating-ui/core': - specifier: ^1.3.1 - version: 1.3.1 - '@floating-ui/dom': - specifier: ^1.4.2 - version: 1.4.2 - '@zerodevx/svelte-toast': - specifier: ^0.9.3 - version: 0.9.3(svelte@4.0.0) - eslint: - specifier: ^8.43.0 - version: 8.43.0 - eslint-config-prettier: - specifier: ^8.8.0 - version: 8.8.0(eslint@8.43.0) - eslint-plugin-svelte3: - specifier: ^4.0.0 - version: 4.0.0(eslint@8.43.0)(svelte@4.0.0) - happy-dom: - specifier: ^9.20.3 - version: 9.20.3 - jsdom: - specifier: ^22.1.0 - version: 22.1.0 - prettier: - specifier: ^2.8.8 - version: 2.8.8 - prettier-plugin-svelte: - specifier: ^2.10.1 - version: 2.10.1(prettier@2.8.8)(svelte@4.0.0) - rollup-plugin-visualizer: - specifier: ^5.9.2 - version: 5.9.2 - sass: - specifier: ^1.63.6 - version: 1.63.6 - svelte: - specifier: ^4.0.0 - version: 4.0.0 - svelte-check: - specifier: ^3.4.4 - version: 3.4.4(sass@1.63.6)(svelte@4.0.0) - svelte-dnd-action: - specifier: ^0.9.22 - version: 0.9.22(svelte@4.0.0) - typescript: - specifier: ^5.1.3 - version: 5.1.3 - vite: - specifier: ^4.3.9 - version: 4.3.9(sass@1.63.6) - vite-plugin-glsl: - specifier: ^1.1.2 - version: 1.1.2(vite@4.3.9) - vite-plugin-static-copy: - specifier: ^0.14.0 - version: 0.14.0(vite@4.3.9) - vite-plugin-svelte-console-remover: - specifier: ^1.0.10 - version: 1.0.10(sass@1.63.6) - vite-tsconfig-paths: - specifier: ^4.2.0 - version: 4.2.0(typescript@5.1.3)(vite@4.3.9) - vitest: - specifier: ^0.27.3 - version: 0.27.3(happy-dom@9.20.3)(jsdom@22.1.0)(sass@1.63.6) - - gradio/client/js: - dependencies: - ws: - specifier: ^8.13.0 - version: 8.13.0 - devDependencies: - '@types/ws': - specifier: ^8.5.4 - version: 8.5.4 - esbuild: - specifier: ^0.17.14 - version: 0.17.18 - - gradio/js/_cdn-test: - devDependencies: - vite: - specifier: ^2.9.9 - version: 2.9.9 - - gradio/js/accordion: {} - - gradio/js/app: - dependencies: - '@gradio/accordion': - specifier: workspace:^0.0.1 - version: link:../accordion - '@gradio/atoms': - specifier: workspace:^0.0.1 - version: link:../atoms - '@gradio/audio': - specifier: workspace:^0.0.1 - version: link:../audio - '@gradio/button': - specifier: workspace:^0.0.1 - version: link:../button - '@gradio/chart': - specifier: workspace:^0.0.1 - version: link:../chart - '@gradio/chatbot': - specifier: workspace:^0.0.1 - version: link:../chatbot - '@gradio/client': - specifier: workspace:^0.0.1 - version: link:../../client/js - '@gradio/code': - specifier: workspace:^0.0.1 - version: link:../code - '@gradio/file': - specifier: workspace:^0.0.1 - version: link:../file - '@gradio/form': - specifier: workspace:^0.0.1 - version: link:../form - '@gradio/gallery': - specifier: workspace:^0.0.1 - version: link:../gallery - '@gradio/highlighted-text': - specifier: workspace:^0.0.1 - version: link:../highlighted-text - '@gradio/html': - specifier: workspace:^0.0.1 - version: link:../html - '@gradio/icons': - specifier: workspace:^0.0.1 - version: link:../icons - '@gradio/image': - specifier: workspace:^0.0.1 - version: link:../image - '@gradio/json': - specifier: workspace:^0.0.1 - version: link:../json - '@gradio/label': - specifier: workspace:^0.0.1 - version: link:../label - '@gradio/markdown': - specifier: workspace:^0.0.1 - version: link:../markdown - '@gradio/model3D': - specifier: workspace:^0.0.1 - version: link:../model3D - '@gradio/plot': - specifier: workspace:^0.0.1 - version: link:../plot - '@gradio/table': - specifier: workspace:^0.0.1 - version: link:../table - '@gradio/tabs': - specifier: workspace:^0.0.1 - version: link:../tabs - '@gradio/theme': - specifier: workspace:^0.0.1 - version: link:../theme - '@gradio/upload': - specifier: workspace:^0.0.1 - version: link:../upload - '@gradio/upload-button': - specifier: workspace:^0.0.1 - version: link:../upload-button - '@gradio/utils': - specifier: workspace:^0.0.1 - version: link:../utils - '@gradio/video': - specifier: workspace:^0.0.1 - version: link:../video - d3-dsv: - specifier: ^3.0.1 - version: 3.0.1 - mime-types: - specifier: ^2.1.34 - version: 2.1.34 - postcss: - specifier: ^8.4.21 - version: 8.4.21 - postcss-prefix-selector: - specifier: ^1.16.0 - version: 1.16.0(postcss@8.4.21) - - gradio/js/atoms: - dependencies: - '@gradio/utils': - specifier: workspace:^0.0.1 - version: link:../utils - - gradio/js/audio: - dependencies: - '@gradio/atoms': - specifier: workspace:^0.0.1 - version: link:../atoms - '@gradio/button': - specifier: workspace:^0.0.1 - version: link:../button - '@gradio/icons': - specifier: workspace:^0.0.1 - version: link:../icons - '@gradio/upload': - specifier: workspace:^0.0.1 - version: link:../upload - extendable-media-recorder: - specifier: ^7.0.2 - version: 7.0.2 - extendable-media-recorder-wav-encoder: - specifier: ^7.0.76 - version: 7.0.76 - svelte-range-slider-pips: - specifier: ^2.0.1 - version: 2.0.1 - - gradio/js/button: - dependencies: - '@gradio/utils': - specifier: workspace:^0.0.1 - version: link:../utils - - gradio/js/chart: - dependencies: - '@gradio/icons': - specifier: workspace:^0.0.1 - version: link:../icons - '@gradio/theme': - specifier: workspace:^0.0.1 - version: link:../theme - '@gradio/tooltip': - specifier: workspace:^0.0.1 - version: link:../tooltip - '@gradio/utils': - specifier: workspace:^0.0.1 - version: link:../utils - d3-dsv: - specifier: ^3.0.1 - version: 3.0.1 - d3-scale: - specifier: ^4.0.2 - version: 4.0.2 - d3-shape: - specifier: ^3.1.0 - version: 3.2.0 - devDependencies: - '@types/d3-dsv': - specifier: ^3.0.0 - version: 3.0.0 - '@types/d3-scale': - specifier: ^4.0.2 - version: 4.0.2 - '@types/d3-shape': - specifier: ^3.0.2 - version: 3.0.2 - - gradio/js/chatbot: - dependencies: - '@gradio/theme': - specifier: workspace:^0.0.1 - version: link:../theme - '@gradio/upload': - specifier: workspace:^0.0.1 - version: link:../upload - '@gradio/utils': - specifier: workspace:^0.0.1 - version: link:../utils - - gradio/js/code: - dependencies: - '@codemirror/autocomplete': - specifier: ^6.3.0 - version: 6.6.1(@codemirror/language@6.6.0)(@codemirror/state@6.2.0)(@codemirror/view@6.11.0)(@lezer/common@1.0.2) - '@codemirror/commands': - specifier: ^6.1.2 - version: 6.2.4 - '@codemirror/lang-css': - specifier: ^6.1.0 - version: 6.2.0(@codemirror/view@6.11.0) - '@codemirror/lang-html': - specifier: ^6.4.2 - version: 6.4.3 - '@codemirror/lang-javascript': - specifier: ^6.1.4 - version: 6.1.7 - '@codemirror/lang-json': - specifier: ^6.0.1 - version: 6.0.1 - '@codemirror/lang-markdown': - specifier: ^6.1.0 - version: 6.1.1 - '@codemirror/lang-python': - specifier: ^6.0.4 - version: 6.1.2(@codemirror/state@6.2.0)(@codemirror/view@6.11.0)(@lezer/common@1.0.2) - '@codemirror/language': - specifier: ^6.6.0 - version: 6.6.0 - '@codemirror/legacy-modes': - specifier: ^6.3.1 - version: 6.3.2 - '@codemirror/lint': - specifier: ^6.0.0 - version: 6.2.1 - '@codemirror/search': - specifier: ^6.2.2 - version: 6.4.0 - '@codemirror/state': - specifier: ^6.1.2 - version: 6.2.0 - '@codemirror/view': - specifier: ^6.4.1 - version: 6.11.0 - '@gradio/atoms': - specifier: workspace:^0.0.1 - version: link:../atoms - '@gradio/icons': - specifier: workspace:^0.0.1 - version: link:../icons - '@gradio/upload': - specifier: workspace:^0.0.1 - version: link:../upload - '@lezer/common': - specifier: ^1.0.2 - version: 1.0.2 - '@lezer/highlight': - specifier: ^1.1.3 - version: 1.1.4 - '@lezer/markdown': - specifier: ^1.0.2 - version: 1.0.2 - cm6-theme-basic-dark: - specifier: ^0.2.0 - version: 0.2.0(@codemirror/language@6.6.0)(@codemirror/state@6.2.0)(@codemirror/view@6.11.0)(@lezer/highlight@1.1.4) - cm6-theme-basic-light: - specifier: ^0.2.0 - version: 0.2.0(@codemirror/language@6.6.0)(@codemirror/state@6.2.0)(@codemirror/view@6.11.0)(@lezer/highlight@1.1.4) - codemirror: - specifier: ^6.0.1 - version: 6.0.1(@lezer/common@1.0.2) - - gradio/js/file: - dependencies: - '@gradio/atoms': - specifier: workspace:^0.0.1 - version: link:../atoms - '@gradio/icons': - specifier: workspace:^0.0.1 - version: link:../icons - '@gradio/upload': - specifier: workspace:^0.0.1 - version: link:../upload - '@gradio/utils': - specifier: workspace:^0.0.1 - version: link:../utils - - gradio/js/form: - dependencies: - '@gradio/atoms': - specifier: workspace:^0.0.1 - version: link:../atoms - '@gradio/icons': - specifier: workspace:^0.0.1 - version: link:../icons - '@gradio/utils': - specifier: workspace:^0.0.1 - version: link:../utils - - gradio/js/gallery: - dependencies: - '@gradio/atoms': - specifier: workspace:^0.0.1 - version: link:../atoms - '@gradio/icons': - specifier: workspace:^0.0.1 - version: link:../icons - '@gradio/image': - specifier: workspace:^0.0.1 - version: link:../image - '@gradio/upload': - specifier: workspace:^0.0.1 - version: link:../upload - '@gradio/utils': - specifier: workspace:^0.0.1 - version: link:../utils - - gradio/js/highlighted-text: - dependencies: - '@gradio/theme': - specifier: workspace:^0.0.1 - version: link:../theme - '@gradio/utils': - specifier: workspace:^0.0.1 - version: link:../utils - - gradio/js/html: {} - - gradio/js/icons: {} - - gradio/js/image: - dependencies: - '@gradio/atoms': - specifier: workspace:^0.0.1 - version: link:../atoms - '@gradio/icons': - specifier: workspace:^0.0.1 - version: link:../icons - '@gradio/upload': - specifier: workspace:^0.0.1 - version: link:../upload - '@gradio/utils': - specifier: workspace:^0.0.1 - version: link:../utils - cropperjs: - specifier: ^1.5.12 - version: 1.5.12 - lazy-brush: - specifier: ^1.0.1 - version: 1.0.1 - resize-observer-polyfill: - specifier: ^1.5.1 - version: 1.5.1 - - gradio/js/json: - dependencies: - '@gradio/atoms': - specifier: workspace:^0.0.1 - version: link:../atoms - '@gradio/icons': - specifier: workspace:^0.0.1 - version: link:../icons - - gradio/js/label: - dependencies: - '@gradio/utils': - specifier: workspace:^0.0.1 - version: link:../utils - - gradio/js/markdown: {} - - gradio/js/model3D: - dependencies: - '@gradio/atoms': - specifier: workspace:^0.0.1 - version: link:../atoms - '@gradio/icons': - specifier: workspace:^0.0.1 - version: link:../icons - '@gradio/upload': - specifier: workspace:^0.0.1 - version: link:../upload - babylonjs: - specifier: ^4.2.1 - version: 4.2.1 - babylonjs-loaders: - specifier: ^4.2.1 - version: 4.2.1 - - gradio/js/plot: - dependencies: - '@gradio/atoms': - specifier: workspace:^0.0.1 - version: link:../atoms - '@gradio/icons': - specifier: workspace:^0.0.1 - version: link:../icons - '@gradio/theme': - specifier: workspace:^0.0.1 - version: link:../theme - '@gradio/utils': - specifier: workspace:^0.0.1 - version: link:../utils - '@rollup/plugin-json': - specifier: ^5.0.2 - version: 5.0.2 - plotly.js-dist-min: - specifier: ^2.10.1 - version: 2.10.1 - svelte-vega: - specifier: ^1.2.0 - version: 1.2.0(vega-lite@0.6.7)(vega@5.22.1) - vega: - specifier: ^5.22.1 - version: 5.22.1 - vega-lite: - specifier: '*' - version: 0.6.7 - - gradio/js/table: - dependencies: - '@gradio/button': - specifier: workspace:^0.0.1 - version: link:../button - '@gradio/upload': - specifier: workspace:^0.0.1 - version: link:../upload - '@gradio/utils': - specifier: workspace:^0.0.1 - version: link:../utils - '@types/d3-dsv': - specifier: ^3.0.0 - version: 3.0.0 - d3-dsv: - specifier: ^3.0.1 - version: 3.0.1 - dequal: - specifier: ^2.0.2 - version: 2.0.2 - - gradio/js/tabs: - dependencies: - '@gradio/utils': - specifier: workspace:^0.0.1 - version: link:../utils - - gradio/js/theme: {} - - gradio/js/tooltip: {} - - gradio/js/tootils: {} - - gradio/js/upload: - dependencies: - '@gradio/atoms': - specifier: workspace:^0.0.1 - version: link:../atoms - '@gradio/icons': - specifier: workspace:^0.0.1 - version: link:../icons - - gradio/js/upload-button: - dependencies: - '@gradio/button': - specifier: workspace:^0.0.1 - version: link:../button - '@gradio/upload': - specifier: workspace:^0.0.1 - version: link:../upload - '@gradio/utils': - specifier: workspace:^0.0.1 - version: link:../utils - - gradio/js/utils: - dependencies: - '@gradio/theme': - specifier: workspace:^0.0.1 - version: link:../theme - - gradio/js/video: - dependencies: - '@gradio/atoms': - specifier: workspace:^0.0.1 - version: link:../atoms - '@gradio/icons': - specifier: workspace:^0.0.1 - version: link:../icons - '@gradio/image': - specifier: workspace:^0.0.1 - version: link:../image - '@gradio/upload': - specifier: workspace:^0.0.1 - version: link:../upload - - gradio/js/workbench: - dependencies: - '@gradio/accordion': - specifier: workspace:^0.0.1 - version: link:../accordion - '@gradio/atoms': - specifier: workspace:^0.0.1 - version: link:../atoms - '@gradio/audio': - specifier: workspace:^0.0.1 - version: link:../audio - '@gradio/button': - specifier: workspace:^0.0.1 - version: link:../button - '@gradio/chart': - specifier: workspace:^0.0.1 - version: link:../chart - '@gradio/chatbot': - specifier: workspace:^0.0.1 - version: link:../chatbot - '@gradio/file': - specifier: workspace:^0.0.1 - version: link:../file - '@gradio/form': - specifier: workspace:^0.0.1 - version: link:../form - '@gradio/gallery': - specifier: workspace:^0.0.1 - version: link:../gallery - '@gradio/highlighted-text': - specifier: workspace:^0.0.1 - version: link:../highlighted-text - '@gradio/html': - specifier: workspace:^0.0.1 - version: link:../html - '@gradio/icons': - specifier: workspace:^0.0.1 - version: link:../icons - '@gradio/image': - specifier: workspace:^0.0.1 - version: link:../image - '@gradio/json': - specifier: workspace:^0.0.1 - version: link:../json - '@gradio/label': - specifier: workspace:^0.0.1 - version: link:../label - '@gradio/markdown': - specifier: workspace:^0.0.1 - version: link:../markdown - '@gradio/model3D': - specifier: workspace:^0.0.1 - version: link:../model3D - '@gradio/plot': - specifier: workspace:^0.0.1 - version: link:../plot - '@gradio/table': - specifier: workspace:^0.0.1 - version: link:../table - '@gradio/tabs': - specifier: workspace:^0.0.1 - version: link:../tabs - '@gradio/theme': - specifier: workspace:^0.0.1 - version: link:../theme - '@gradio/upload': - specifier: workspace:^0.0.1 - version: link:../upload - '@gradio/upload-button': - specifier: workspace:^0.0.1 - version: link:../upload-button - '@gradio/video': - specifier: workspace:^0.0.1 - version: link:../video - svelte: - specifier: '>=3.44.0 <4.0.0' - version: 3.58.0 - devDependencies: - '@sveltejs/adapter-auto': - specifier: next - version: 1.0.0-next.91(@sveltejs/kit@1.15.2) - '@sveltejs/kit': - specifier: ^1.0.0-next.318 - version: 1.15.2(svelte@3.58.0) - autoprefixer: - specifier: ^10.4.2 - version: 10.4.2(postcss@8.4.21) - postcss: - specifier: ^8.4.5 - version: 8.4.21 - postcss-load-config: - specifier: ^3.1.1 - version: 3.1.4(postcss@8.4.21) - svelte-check: - specifier: ^2.2.6 - version: 2.2.6(postcss-load-config@3.1.4)(postcss@8.4.21)(svelte@3.58.0) - svelte-preprocess: - specifier: ^4.10.1 - version: 4.10.1(postcss-load-config@3.1.4)(postcss@8.4.21)(svelte@3.58.0)(typescript@4.5.4) - tailwindcss: - specifier: ^3.0.12 - version: 3.3.1 - tslib: - specifier: ^2.3.1 - version: 2.5.0 - typescript: - specifier: ~4.5.4 - version: 4.5.4 - - litegraph/packages/core: - dependencies: - '@litegraph-ts/tsconfig': - specifier: workspace:* - version: link:../tsconfig - '@types/uuid': - specifier: ^9.0.1 - version: 9.0.1 - uuid: - specifier: ^9.0.0 - version: 9.0.0 - vite-plugin-dts: - specifier: ^2.2.0 - version: 2.2.0(vite@4.2.1) - devDependencies: - '@types/jest': - specifier: ^29.5.0 - version: 29.5.0 - eslint: - specifier: '^8.37.0 ' - version: 8.37.0 - eslint-plugin-jest: - specifier: ^27.2.1 - version: 27.2.1(eslint@8.37.0)(jest@29.5.0)(typescript@5.0.3) - jest: - specifier: ^29.5.0 - version: 29.5.0 - typescript: - specifier: ^5.0.3 - version: 5.0.3 - vite: - specifier: ^4.2.1 - version: 4.2.1 - vite-plugin-checker: - specifier: ^0.5.6 - version: 0.5.6(eslint@8.37.0)(typescript@5.0.3)(vite@4.2.1) - - litegraph/packages/nodes-basic: - dependencies: - '@litegraph-ts/core': - specifier: workspace:* - version: link:../core - devDependencies: - '@litegraph-ts/tsconfig': - specifier: workspace:* - version: link:../tsconfig - typescript: - specifier: ^5.0.3 - version: 5.0.3 - vite: - specifier: ^4.2.1 - version: 4.2.1 - - litegraph/packages/nodes-events: - dependencies: - '@litegraph-ts/core': - specifier: workspace:* - version: link:../core - devDependencies: - '@litegraph-ts/tsconfig': - specifier: workspace:* - version: link:../tsconfig - typescript: - specifier: ^5.0.3 - version: 5.0.3 - vite: - specifier: ^4.2.1 - version: 4.3.1 - - litegraph/packages/nodes-logic: - dependencies: - '@litegraph-ts/core': - specifier: workspace:* - version: link:../core - devDependencies: - '@litegraph-ts/tsconfig': - specifier: workspace:* - version: link:../tsconfig - typescript: - specifier: ^5.0.3 - version: 5.0.3 - vite: - specifier: ^4.2.1 - version: 4.3.1 - - litegraph/packages/nodes-math: - dependencies: - '@litegraph-ts/core': - specifier: workspace:* - version: link:../core - devDependencies: - '@litegraph-ts/tsconfig': - specifier: workspace:* - version: link:../tsconfig - typescript: - specifier: ^5.0.3 - version: 5.0.3 - vite: - specifier: ^4.2.1 - version: 4.3.1 - - litegraph/packages/nodes-strings: - dependencies: - '@litegraph-ts/core': - specifier: workspace:* - version: link:../core - devDependencies: - '@litegraph-ts/tsconfig': - specifier: workspace:* - version: link:../tsconfig - typescript: - specifier: ^5.0.3 - version: 5.0.3 - vite: - specifier: ^4.2.1 - version: 4.3.1 - - litegraph/packages/tests: - dependencies: - '@litegraph-ts/core': - specifier: workspace:* - version: link:../core - '@litegraph-ts/nodes-basic': - specifier: workspace:* - version: link:../nodes-basic - vitest: - specifier: ^0.31.0 - version: 0.31.0 - devDependencies: - '@litegraph-ts/tsconfig': - specifier: workspace:* - version: link:../tsconfig - typescript: - specifier: ^5.0.3 - version: 5.0.3 - vite: - specifier: ^4.2.1 - version: 4.3.1 - - litegraph/packages/tsconfig: {} - -packages: - - /@alloc/quick-lru@5.2.0: - resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==} - engines: {node: '>=10'} - dev: false - - /@ampproject/remapping@2.2.1: - resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} - engines: {node: '>=6.0.0'} - dependencies: - '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.18 - - /@babel/code-frame@7.21.4: - resolution: {integrity: sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/highlight': 7.18.6 - dev: true - - /@babel/code-frame@7.22.5: - resolution: {integrity: sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/highlight': 7.22.5 - dev: true - - /@babel/compat-data@7.22.3: - resolution: {integrity: sha512-aNtko9OPOwVESUFp3MZfD8Uzxl7JzSeJpd7npIoxCasU37PFbAQRpKglkaKwlHOyeJdrREpo8TW8ldrkYWwvIQ==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/compat-data@7.22.5: - resolution: {integrity: sha512-4Jc/YuIaYqKnDDz892kPIledykKg12Aw1PYX5i/TY28anJtacvM1Rrr8wbieB9GfEJwlzqT0hUEao0CxEebiDA==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/core@7.22.1: - resolution: {integrity: sha512-Hkqu7J4ynysSXxmAahpN1jjRwVJ+NdpraFLIWflgjpVob3KNyK3/tIUc7Q7szed8WMp0JNa7Qtd1E9Oo22F9gA==} - engines: {node: '>=6.9.0'} - dependencies: - '@ampproject/remapping': 2.2.1 - '@babel/code-frame': 7.21.4 - '@babel/generator': 7.22.3 - '@babel/helper-compilation-targets': 7.22.1(@babel/core@7.22.1) - '@babel/helper-module-transforms': 7.22.1 - '@babel/helpers': 7.22.3 - '@babel/parser': 7.22.3 - '@babel/template': 7.21.9 - '@babel/traverse': 7.22.1 - '@babel/types': 7.22.3 - convert-source-map: 1.9.0 - debug: 4.3.4 - gensync: 1.0.0-beta.2 - json5: 2.2.3 - semver: 6.3.0 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/core@7.22.5: - resolution: {integrity: sha512-SBuTAjg91A3eKOvD+bPEz3LlhHZRNu1nFOVts9lzDJTXshHTjII0BAtDS3Y2DAkdZdDKWVZGVwkDfc4Clxn1dg==} - engines: {node: '>=6.9.0'} - dependencies: - '@ampproject/remapping': 2.2.1 - '@babel/code-frame': 7.22.5 - '@babel/generator': 7.22.5 - '@babel/helper-compilation-targets': 7.22.5(@babel/core@7.22.5) - '@babel/helper-module-transforms': 7.22.5 - '@babel/helpers': 7.22.5 - '@babel/parser': 7.22.5 - '@babel/template': 7.22.5 - '@babel/traverse': 7.22.5 - '@babel/types': 7.22.5 - convert-source-map: 1.9.0 - debug: 4.3.4 - gensync: 1.0.0-beta.2 - json5: 2.2.3 - semver: 6.3.0 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/generator@7.22.3: - resolution: {integrity: sha512-C17MW4wlk//ES/CJDL51kPNwl+qiBQyN7b9SKyVp11BLGFeSPoVaHrv+MNt8jwQFhQWowW88z1eeBx3pFz9v8A==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.22.3 - '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.18 - jsesc: 2.5.2 - dev: true - - /@babel/generator@7.22.5: - resolution: {integrity: sha512-+lcUbnTRhd0jOewtFSedLyiPsD5tswKkbgcezOqqWFUVNEwoUTlpPOBmvhG7OXWLR4jMdv0czPGH5XbflnD1EA==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.22.5 - '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.18 - jsesc: 2.5.2 - dev: true - - /@babel/helper-compilation-targets@7.22.1(@babel/core@7.22.1): - resolution: {integrity: sha512-Rqx13UM3yVB5q0D/KwQ8+SPfX/+Rnsy1Lw1k/UwOC4KC6qrzIQoY3lYnBu5EHKBlEHHcj0M0W8ltPSkD8rqfsQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/compat-data': 7.22.3 - '@babel/core': 7.22.1 - '@babel/helper-validator-option': 7.21.0 - browserslist: 4.21.5 - lru-cache: 5.1.1 - semver: 6.3.0 - dev: true - - /@babel/helper-compilation-targets@7.22.5(@babel/core@7.22.5): - resolution: {integrity: sha512-Ji+ywpHeuqxB8WDxraCiqR0xfhYjiDE/e6k7FuIaANnoOFxAHskHChz4vA1mJC9Lbm01s1PVAGhQY4FUKSkGZw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/compat-data': 7.22.5 - '@babel/core': 7.22.5 - '@babel/helper-validator-option': 7.22.5 - browserslist: 4.21.9 - lru-cache: 5.1.1 - semver: 6.3.0 - dev: true - - /@babel/helper-environment-visitor@7.22.1: - resolution: {integrity: sha512-Z2tgopurB/kTbidvzeBrc2To3PUP/9i5MUe+fU6QJCQDyPwSH2oRapkLw3KGECDYSjhQZCNxEvNvZlLw8JjGwA==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-environment-visitor@7.22.5: - resolution: {integrity: sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-function-name@7.21.0: - resolution: {integrity: sha512-HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/template': 7.21.9 - '@babel/types': 7.22.3 - dev: true - - /@babel/helper-function-name@7.22.5: - resolution: {integrity: sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/template': 7.22.5 - '@babel/types': 7.22.5 - dev: true - - /@babel/helper-hoist-variables@7.18.6: - resolution: {integrity: sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.22.3 - dev: true - - /@babel/helper-hoist-variables@7.22.5: - resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.22.5 - dev: true - - /@babel/helper-module-imports@7.21.4: - resolution: {integrity: sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.22.3 - dev: true - - /@babel/helper-module-imports@7.22.5: - resolution: {integrity: sha512-8Dl6+HD/cKifutF5qGd/8ZJi84QeAKh+CEe1sBzz8UayBBGg1dAIJrdHOcOM5b2MpzWL2yuotJTtGjETq0qjXg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.22.5 - dev: true - - /@babel/helper-module-transforms@7.22.1: - resolution: {integrity: sha512-dxAe9E7ySDGbQdCVOY/4+UcD8M9ZFqZcZhSPsPacvCG4M+9lwtDDQfI2EoaSvmf7W/8yCBkGU0m7Pvt1ru3UZw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-environment-visitor': 7.22.1 - '@babel/helper-module-imports': 7.21.4 - '@babel/helper-simple-access': 7.21.5 - '@babel/helper-split-export-declaration': 7.18.6 - '@babel/helper-validator-identifier': 7.19.1 - '@babel/template': 7.21.9 - '@babel/traverse': 7.22.1 - '@babel/types': 7.22.3 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/helper-module-transforms@7.22.5: - resolution: {integrity: sha512-+hGKDt/Ze8GFExiVHno/2dvG5IdstpzCq0y4Qc9OJ25D4q3pKfiIP/4Vp3/JvhDkLKsDK2api3q3fpIgiIF5bw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-environment-visitor': 7.22.5 - '@babel/helper-module-imports': 7.22.5 - '@babel/helper-simple-access': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.5 - '@babel/helper-validator-identifier': 7.22.5 - '@babel/template': 7.22.5 - '@babel/traverse': 7.22.5 - '@babel/types': 7.22.5 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/helper-plugin-utils@7.20.2: - resolution: {integrity: sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-simple-access@7.21.5: - resolution: {integrity: sha512-ENPDAMC1wAjR0uaCUwliBdiSl1KBJAVnMTzXqi64c2MG8MPR6ii4qf7bSXDqSFbr4W6W028/rf5ivoHop5/mkg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.22.3 - dev: true - - /@babel/helper-simple-access@7.22.5: - resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.22.5 - dev: true - - /@babel/helper-split-export-declaration@7.18.6: - resolution: {integrity: sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.22.3 - dev: true - - /@babel/helper-split-export-declaration@7.22.5: - resolution: {integrity: sha512-thqK5QFghPKWLhAV321lxF95yCg2K3Ob5yw+M3VHWfdia0IkPXUtoLH8x/6Fh486QUvzhb8YOWHChTVen2/PoQ==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.22.5 - dev: true - - /@babel/helper-string-parser@7.21.5: - resolution: {integrity: sha512-5pTUx3hAJaZIdW99sJ6ZUUgWq/Y+Hja7TowEnLNMm1VivRgZQL3vpBY3qUACVsvw+yQU6+YgfBVmcbLaZtrA1w==} - engines: {node: '>=6.9.0'} - - /@babel/helper-string-parser@7.22.5: - resolution: {integrity: sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-validator-identifier@7.19.1: - resolution: {integrity: sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==} - engines: {node: '>=6.9.0'} - - /@babel/helper-validator-identifier@7.22.5: - resolution: {integrity: sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-validator-option@7.21.0: - resolution: {integrity: sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-validator-option@7.22.5: - resolution: {integrity: sha512-R3oB6xlIVKUnxNUxbmgq7pKjxpru24zlimpE8WK47fACIlM0II/Hm1RS8IaOI7NgCr6LNS+jl5l75m20npAziw==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helpers@7.22.3: - resolution: {integrity: sha512-jBJ7jWblbgr7r6wYZHMdIqKc73ycaTcCaWRq4/2LpuPHcx7xMlZvpGQkOYc9HeSjn6rcx15CPlgVcBtZ4WZJ2w==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/template': 7.21.9 - '@babel/traverse': 7.22.1 - '@babel/types': 7.22.3 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/helpers@7.22.5: - resolution: {integrity: sha512-pSXRmfE1vzcUIDFQcSGA5Mr+GxBV9oiRKDuDxXvWQQBCh8HoIjs/2DlDB7H8smac1IVrB9/xdXj2N3Wol9Cr+Q==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/template': 7.22.5 - '@babel/traverse': 7.22.5 - '@babel/types': 7.22.5 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/highlight@7.18.6: - resolution: {integrity: sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-validator-identifier': 7.19.1 - chalk: 2.4.2 - js-tokens: 4.0.0 - dev: true - - /@babel/highlight@7.22.5: - resolution: {integrity: sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-validator-identifier': 7.22.5 - chalk: 2.4.2 - js-tokens: 4.0.0 - dev: true - - /@babel/parser@7.21.4: - resolution: {integrity: sha512-alVJj7k7zIxqBZ7BTRhz0IqJFxW1VJbm6N8JbcYhQ186df9ZBPbZBmWSqAMXwHGsCJdYks7z/voa3ibiS5bCIw==} - engines: {node: '>=6.0.0'} - hasBin: true - dependencies: - '@babel/types': 7.21.4 - dev: false - - /@babel/parser@7.22.3: - resolution: {integrity: sha512-vrukxyW/ep8UD1UDzOYpTKQ6abgjFoeG6L+4ar9+c5TN9QnlqiOi6QK7LSR5ewm/ERyGkT/Ai6VboNrxhbr9Uw==} - engines: {node: '>=6.0.0'} - hasBin: true - dependencies: - '@babel/types': 7.22.3 - dev: true - - /@babel/parser@7.22.5: - resolution: {integrity: sha512-DFZMC9LJUG9PLOclRC32G63UXwzqS2koQC8dkx+PLdmt1xSePYpbT/NbsrJy8Q/muXz7o/h/d4A7Fuyixm559Q==} - engines: {node: '>=6.0.0'} - hasBin: true - dependencies: - '@babel/types': 7.22.5 - dev: true - - /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.22.1): - resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.1 - '@babel/helper-plugin-utils': 7.20.2 - dev: true - - /@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.22.1): - resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.1 - '@babel/helper-plugin-utils': 7.20.2 - dev: true - - /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.22.1): - resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.1 - '@babel/helper-plugin-utils': 7.20.2 - dev: true - - /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.22.1): - resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.1 - '@babel/helper-plugin-utils': 7.20.2 - dev: true - - /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.22.1): - resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.1 - '@babel/helper-plugin-utils': 7.20.2 - dev: true - - /@babel/plugin-syntax-jsx@7.21.4(@babel/core@7.22.1): - resolution: {integrity: sha512-5hewiLct5OKyh6PLKEYaFclcqtIgCb6bmELouxjF6up5q3Sov7rOayW4RwhbaBL0dit8rA80GNfY+UuDp2mBbQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.1 - '@babel/helper-plugin-utils': 7.20.2 - dev: true - - /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.22.1): - resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.1 - '@babel/helper-plugin-utils': 7.20.2 - dev: true - - /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.22.1): - resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.1 - '@babel/helper-plugin-utils': 7.20.2 - dev: true - - /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.22.1): - resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.1 - '@babel/helper-plugin-utils': 7.20.2 - dev: true - - /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.22.1): - resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.1 - '@babel/helper-plugin-utils': 7.20.2 - dev: true - - /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.22.1): - resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.1 - '@babel/helper-plugin-utils': 7.20.2 - dev: true - - /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.22.1): - resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.1 - '@babel/helper-plugin-utils': 7.20.2 - dev: true - - /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.22.1): - resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.1 - '@babel/helper-plugin-utils': 7.20.2 - dev: true - - /@babel/plugin-syntax-typescript@7.21.4(@babel/core@7.22.1): - resolution: {integrity: sha512-xz0D39NvhQn4t4RNsHmDnnsaQizIlUkdtYvLs8La1BlfjQ6JEwxkJGeqJMW2tAXx+q6H+WFuUTXNdYVpEya0YA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.1 - '@babel/helper-plugin-utils': 7.20.2 - dev: true - - /@babel/runtime@7.21.0: - resolution: {integrity: sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==} - engines: {node: '>=6.9.0'} - dependencies: - regenerator-runtime: 0.13.11 - dev: false - - /@babel/template@7.21.9: - resolution: {integrity: sha512-MK0X5k8NKOuWRamiEfc3KEJiHMTkGZNUjzMipqCGDDc6ijRl/B7RGSKVGncu4Ro/HdyzzY6cmoXuKI2Gffk7vQ==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.21.4 - '@babel/parser': 7.22.3 - '@babel/types': 7.22.3 - dev: true - - /@babel/template@7.22.5: - resolution: {integrity: sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.22.5 - '@babel/parser': 7.22.5 - '@babel/types': 7.22.5 - dev: true - - /@babel/traverse@7.22.1: - resolution: {integrity: sha512-lAWkdCoUFnmwLBhIRLciFntGYsIIoC6vIbN8zrLPqBnJmPu7Z6nzqnKd7FsxQUNAvZfVZ0x6KdNvNp8zWIOHSQ==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.21.4 - '@babel/generator': 7.22.3 - '@babel/helper-environment-visitor': 7.22.1 - '@babel/helper-function-name': 7.21.0 - '@babel/helper-hoist-variables': 7.18.6 - '@babel/helper-split-export-declaration': 7.18.6 - '@babel/parser': 7.22.3 - '@babel/types': 7.22.3 - debug: 4.3.4 - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/traverse@7.22.5: - resolution: {integrity: sha512-7DuIjPgERaNo6r+PZwItpjCZEa5vyw4eJGufeLxrPdBXBoLcCJCIasvK6pK/9DVNrLZTLFhUGqaC6X/PA007TQ==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.22.5 - '@babel/generator': 7.22.5 - '@babel/helper-environment-visitor': 7.22.5 - '@babel/helper-function-name': 7.22.5 - '@babel/helper-hoist-variables': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.5 - '@babel/parser': 7.22.5 - '@babel/types': 7.22.5 - debug: 4.3.4 - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/types@7.21.4: - resolution: {integrity: sha512-rU2oY501qDxE8Pyo7i/Orqma4ziCOrby0/9mvbDUGEfvZjb279Nk9k19e2fiCxHbRRpY2ZyrgW1eq22mvmOIzA==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-string-parser': 7.21.5 - '@babel/helper-validator-identifier': 7.19.1 - to-fast-properties: 2.0.0 - dev: false - - /@babel/types@7.22.3: - resolution: {integrity: sha512-P3na3xIQHTKY4L0YOG7pM8M8uoUIB910WQaSiiMCZUC2Cy8XFEQONGABFnHWBa2gpGKODTAJcNhi5Zk0sLRrzg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-string-parser': 7.21.5 - '@babel/helper-validator-identifier': 7.19.1 - to-fast-properties: 2.0.0 - dev: true - - /@babel/types@7.22.5: - resolution: {integrity: sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-string-parser': 7.22.5 - '@babel/helper-validator-identifier': 7.22.5 - to-fast-properties: 2.0.0 - dev: true - - /@bcoe/v8-coverage@0.2.3: - resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} - dev: true - - /@codemirror/autocomplete@6.6.1(@codemirror/language@6.6.0)(@codemirror/state@6.2.0)(@codemirror/view@6.11.0)(@lezer/common@1.0.2): - resolution: {integrity: sha512-RpsvnYOopnyNbZg487qoRD5bKg63KMMUVP5d8MQ4Luc7Mb6JBWTORovLi6cTvWaKlbmLW8Zd2dAJkIdrhBsXug==} - peerDependencies: - '@codemirror/language': ^6.0.0 - '@codemirror/state': ^6.0.0 - '@codemirror/view': ^6.0.0 - '@lezer/common': ^1.0.0 - dependencies: - '@codemirror/language': 6.6.0 - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.11.0 - '@lezer/common': 1.0.2 - dev: false - - /@codemirror/autocomplete@6.8.0(@codemirror/language@6.8.0)(@codemirror/state@6.2.1)(@codemirror/view@6.13.2): - resolution: {integrity: sha512-nTimZYnTYaZ5skAt+zlk8BD41GvjpWgtDni2K+BritA7Ed9A0aJWwo1ohTvwUEfHfhIVtcFSLEddVPkegw8C/Q==} - peerDependencies: - '@codemirror/language': ^6.0.0 - '@codemirror/state': ^6.0.0 - '@codemirror/view': ^6.0.0 - dependencies: - '@codemirror/language': 6.8.0 - '@codemirror/state': 6.2.1 - '@codemirror/view': 6.13.2 - '@lezer/common': 1.0.3 - dev: false - - /@codemirror/commands@6.2.4: - resolution: {integrity: sha512-42lmDqVH0ttfilLShReLXsDfASKLXzfyC36bzwcqzox9PlHulMcsUOfHXNo2X2aFMVNUoQ7j+d4q5bnfseYoOA==} - dependencies: - '@codemirror/language': 6.8.0 - '@codemirror/state': 6.2.1 - '@codemirror/view': 6.13.2 - '@lezer/common': 1.0.3 - dev: false - - /@codemirror/lang-css@6.2.0(@codemirror/view@6.11.0): - resolution: {integrity: sha512-oyIdJM29AyRPM3+PPq1I2oIk8NpUfEN3kAM05XWDDs6o3gSneIKaVJifT2P+fqONLou2uIgXynFyMUDQvo/szA==} - dependencies: - '@codemirror/autocomplete': 6.6.1(@codemirror/language@6.6.0)(@codemirror/state@6.2.0)(@codemirror/view@6.11.0)(@lezer/common@1.0.2) - '@codemirror/language': 6.6.0 - '@codemirror/state': 6.2.0 - '@lezer/common': 1.0.2 - '@lezer/css': 1.1.1 - transitivePeerDependencies: - - '@codemirror/view' - dev: false - - /@codemirror/lang-html@6.4.3: - resolution: {integrity: sha512-VKzQXEC8nL69Jg2hvAFPBwOdZNvL8tMFOrdFwWpU+wc6a6KEkndJ/19R5xSaglNX6v2bttm8uIEFYxdQDcIZVQ==} - dependencies: - '@codemirror/autocomplete': 6.6.1(@codemirror/language@6.6.0)(@codemirror/state@6.2.0)(@codemirror/view@6.11.0)(@lezer/common@1.0.2) - '@codemirror/lang-css': 6.2.0(@codemirror/view@6.11.0) - '@codemirror/lang-javascript': 6.1.7 - '@codemirror/language': 6.6.0 - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.11.0 - '@lezer/common': 1.0.2 - '@lezer/css': 1.1.1 - '@lezer/html': 1.3.4 - dev: false - - /@codemirror/lang-javascript@6.1.7: - resolution: {integrity: sha512-KXKqxlZ4W6t5I7i2ScmITUD3f/F5Cllk3kj0De9P9mFeYVfhOVOWuDLgYiLpk357u7Xh4dhqjJAnsNPPoTLghQ==} - dependencies: - '@codemirror/autocomplete': 6.6.1(@codemirror/language@6.6.0)(@codemirror/state@6.2.0)(@codemirror/view@6.11.0)(@lezer/common@1.0.2) - '@codemirror/language': 6.6.0 - '@codemirror/lint': 6.2.1 - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.11.0 - '@lezer/common': 1.0.2 - '@lezer/javascript': 1.4.3 - dev: false - - /@codemirror/lang-json@6.0.1: - resolution: {integrity: sha512-+T1flHdgpqDDlJZ2Lkil/rLiRy684WMLc74xUnjJH48GQdfJo/pudlTRreZmKwzP8/tGdKf83wlbAdOCzlJOGQ==} - dependencies: - '@codemirror/language': 6.6.0 - '@lezer/json': 1.0.0 - dev: false - - /@codemirror/lang-markdown@6.1.1: - resolution: {integrity: sha512-n87Ms6Y5UYb1UkFu8sRzTLfq/yyF1y2AYiWvaVdbBQi5WDj1tFk5N+AKA+WC0Jcjc1VxvrCCM0iizjdYYi9sFQ==} - dependencies: - '@codemirror/lang-html': 6.4.3 - '@codemirror/language': 6.6.0 - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.11.0 - '@lezer/common': 1.0.2 - '@lezer/markdown': 1.0.2 - dev: false - - /@codemirror/lang-python@6.1.2(@codemirror/state@6.2.0)(@codemirror/view@6.11.0)(@lezer/common@1.0.2): - resolution: {integrity: sha512-nbQfifLBZstpt6Oo4XxA2LOzlSp4b/7Bc5cmodG1R+Cs5PLLCTUvsMNWDnziiCfTOG/SW1rVzXq/GbIr6WXlcw==} - dependencies: - '@codemirror/autocomplete': 6.6.1(@codemirror/language@6.6.0)(@codemirror/state@6.2.0)(@codemirror/view@6.11.0)(@lezer/common@1.0.2) - '@codemirror/language': 6.6.0 - '@lezer/python': 1.1.5 - transitivePeerDependencies: - - '@codemirror/state' - - '@codemirror/view' - - '@lezer/common' - dev: false - - /@codemirror/language@6.6.0: - resolution: {integrity: sha512-cwUd6lzt3MfNYOobdjf14ZkLbJcnv4WtndYaoBkbor/vF+rCNguMPK0IRtvZJG4dsWiaWPcK8x1VijhvSxnstg==} - dependencies: - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.11.0 - '@lezer/common': 1.0.2 - '@lezer/highlight': 1.1.4 - '@lezer/lr': 1.3.6 - style-mod: 4.0.3 - dev: false - - /@codemirror/language@6.8.0: - resolution: {integrity: sha512-r1paAyWOZkfY0RaYEZj3Kul+MiQTEbDvYqf8gPGaRvNneHXCmfSaAVFjwRUPlgxS8yflMxw2CTu6uCMp8R8A2g==} - dependencies: - '@codemirror/state': 6.2.1 - '@codemirror/view': 6.13.2 - '@lezer/common': 1.0.3 - '@lezer/highlight': 1.1.6 - '@lezer/lr': 1.3.7 - style-mod: 4.0.3 - dev: false - - /@codemirror/legacy-modes@6.3.2: - resolution: {integrity: sha512-ki5sqNKWzKi5AKvpVE6Cna4Q+SgxYuYVLAZFSsMjGBWx5qSVa+D+xipix65GS3f2syTfAD9pXKMX4i4p49eneQ==} - dependencies: - '@codemirror/language': 6.6.0 - dev: false - - /@codemirror/lint@6.2.1: - resolution: {integrity: sha512-y1muai5U/uUPAGRyHMx9mHuHLypPcHWxzlZGknp/U5Mdb5Ol8Q5ZLp67UqyTbNFJJ3unVxZ8iX3g1fMN79S1JQ==} - dependencies: - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.11.0 - crelt: 1.0.5 - dev: false - - /@codemirror/lint@6.2.2: - resolution: {integrity: sha512-kHGuynBHjqinp1Bx25D2hgH8a6Fh1m9rSmZFzBVTqPIXDIcZ6j3VI67DY8USGYpGrjrJys9R52eLxtfERGNozg==} - dependencies: - '@codemirror/state': 6.2.1 - '@codemirror/view': 6.13.2 - crelt: 1.0.6 - dev: false - - /@codemirror/search@6.4.0: - resolution: {integrity: sha512-zMDgaBXah+nMLK2dHz9GdCnGbQu+oaGRXS1qviqNZkvOCv/whp5XZFyoikLp/23PM9RBcbuKUUISUmQHM1eRHw==} - dependencies: - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.11.0 - crelt: 1.0.5 - dev: false - - /@codemirror/search@6.5.0: - resolution: {integrity: sha512-64/M40YeJPToKvGO6p3fijo2vwUEj4nACEAXElCaYQ50HrXSvRaK+NHEhSh73WFBGdvIdhrV+lL9PdJy2RfCYA==} - dependencies: - '@codemirror/state': 6.2.1 - '@codemirror/view': 6.13.2 - crelt: 1.0.6 - dev: false - - /@codemirror/state@6.2.0: - resolution: {integrity: sha512-69QXtcrsc3RYtOtd+GsvczJ319udtBf1PTrr2KbLWM/e2CXUPnh0Nz9AUo8WfhSQ7GeL8dPVNUmhQVgpmuaNGA==} - dev: false - - /@codemirror/state@6.2.1: - resolution: {integrity: sha512-RupHSZ8+OjNT38zU9fKH2sv+Dnlr8Eb8sl4NOnnqz95mCFTZUaiRP8Xv5MeeaG0px2b8Bnfe7YGwCV3nsBhbuw==} - dev: false - - /@codemirror/view@6.11.0: - resolution: {integrity: sha512-PRpPRkqMkAKKxEuiUBxapE0YR+wqs9At92ujbJo93PwTZ0jEJDzx9wahrDcXEhQ43Pe0RK9DdZMLWrt+QN80DA==} - dependencies: - '@codemirror/state': 6.2.0 - style-mod: 4.0.3 - w3c-keyname: 2.2.6 - dev: false - - /@codemirror/view@6.13.2: - resolution: {integrity: sha512-XA/jUuu1H+eTja49654QkrQwx2CuDMdjciHcdqyasfTVo4HRlvj87rD/Qmm4HfnhwX8234FQSSA8HxEzxihX/Q==} - dependencies: - '@codemirror/state': 6.2.1 - style-mod: 4.0.3 - w3c-keyname: 2.2.8 - dev: false - - /@dogagenc/svelte-markdown@0.2.4(svelte@4.0.0): - resolution: {integrity: sha512-UmmHHZ7rilAbBYiNsxuL5d8Ac79EhFXrhjsUNr30BPzn+T7ohJR8kHMFjDYDQc0tOQOfKbICvkPAQ6cprqS3Eg==} - peerDependencies: - svelte: ^3.0.0 - dependencies: - '@types/marked': 4.3.1 - marked: 4.3.0 - svelte: 4.0.0 - dev: false - - /@esbuild/android-arm64@0.17.18: - resolution: {integrity: sha512-/iq0aK0eeHgSC3z55ucMAHO05OIqmQehiGay8eP5l/5l+iEr4EIbh4/MI8xD9qRFjqzgkc0JkX0LculNC9mXBw==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - optional: true - - /@esbuild/android-arm64@0.17.19: - resolution: {integrity: sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - optional: true - - /@esbuild/android-arm@0.17.18: - resolution: {integrity: sha512-EmwL+vUBZJ7mhFCs5lA4ZimpUH3WMAoqvOIYhVQwdIgSpHC8ImHdsRyhHAVxpDYUSm0lWvd63z0XH1IlImS2Qw==} - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - optional: true - - /@esbuild/android-arm@0.17.19: - resolution: {integrity: sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==} - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - optional: true - - /@esbuild/android-x64@0.17.18: - resolution: {integrity: sha512-x+0efYNBF3NPW2Xc5bFOSFW7tTXdAcpfEg2nXmxegm4mJuVeS+i109m/7HMiOQ6M12aVGGFlqJX3RhNdYM2lWg==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - optional: true - - /@esbuild/android-x64@0.17.19: - resolution: {integrity: sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - optional: true - - /@esbuild/darwin-arm64@0.17.18: - resolution: {integrity: sha512-6tY+djEAdF48M1ONWnQb1C+6LiXrKjmqjzPNPWXhu/GzOHTHX2nh8Mo2ZAmBFg0kIodHhciEgUBtcYCAIjGbjQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - optional: true - - /@esbuild/darwin-arm64@0.17.19: - resolution: {integrity: sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - optional: true - - /@esbuild/darwin-x64@0.17.18: - resolution: {integrity: sha512-Qq84ykvLvya3dO49wVC9FFCNUfSrQJLbxhoQk/TE1r6MjHo3sFF2tlJCwMjhkBVq3/ahUisj7+EpRSz0/+8+9A==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - optional: true - - /@esbuild/darwin-x64@0.17.19: - resolution: {integrity: sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - optional: true - - /@esbuild/freebsd-arm64@0.17.18: - resolution: {integrity: sha512-fw/ZfxfAzuHfaQeMDhbzxp9mc+mHn1Y94VDHFHjGvt2Uxl10mT4CDavHm+/L9KG441t1QdABqkVYwakMUeyLRA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - optional: true - - /@esbuild/freebsd-arm64@0.17.19: - resolution: {integrity: sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - optional: true - - /@esbuild/freebsd-x64@0.17.18: - resolution: {integrity: sha512-FQFbRtTaEi8ZBi/A6kxOC0V0E9B/97vPdYjY9NdawyLd4Qk5VD5g2pbWN2VR1c0xhzcJm74HWpObPszWC+qTew==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - optional: true - - /@esbuild/freebsd-x64@0.17.19: - resolution: {integrity: sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - optional: true - - /@esbuild/linux-arm64@0.17.18: - resolution: {integrity: sha512-R7pZvQZFOY2sxUG8P6A21eq6q+eBv7JPQYIybHVf1XkQYC+lT7nDBdC7wWKTrbvMXKRaGudp/dzZCwL/863mZQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/linux-arm64@0.17.19: - resolution: {integrity: sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/linux-arm@0.17.18: - resolution: {integrity: sha512-jW+UCM40LzHcouIaqv3e/oRs0JM76JfhHjCavPxMUti7VAPh8CaGSlS7cmyrdpzSk7A+8f0hiedHqr/LMnfijg==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/linux-arm@0.17.19: - resolution: {integrity: sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/linux-ia32@0.17.18: - resolution: {integrity: sha512-ygIMc3I7wxgXIxk6j3V00VlABIjq260i967Cp9BNAk5pOOpIXmd1RFQJQX9Io7KRsthDrQYrtcx7QCof4o3ZoQ==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/linux-ia32@0.17.19: - resolution: {integrity: sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/linux-loong64@0.14.54: - resolution: {integrity: sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw==} - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-loong64@0.17.18: - resolution: {integrity: sha512-bvPG+MyFs5ZlwYclCG1D744oHk1Pv7j8psF5TfYx7otCVmcJsEXgFEhQkbhNW8otDHL1a2KDINW20cfCgnzgMQ==} - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/linux-loong64@0.17.19: - resolution: {integrity: sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==} - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/linux-mips64el@0.17.18: - resolution: {integrity: sha512-oVqckATOAGuiUOa6wr8TXaVPSa+6IwVJrGidmNZS1cZVx0HqkTMkqFGD2HIx9H1RvOwFeWYdaYbdY6B89KUMxA==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/linux-mips64el@0.17.19: - resolution: {integrity: sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/linux-ppc64@0.17.18: - resolution: {integrity: sha512-3dLlQO+b/LnQNxgH4l9rqa2/IwRJVN9u/bK63FhOPB4xqiRqlQAU0qDU3JJuf0BmaH0yytTBdoSBHrb2jqc5qQ==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/linux-ppc64@0.17.19: - resolution: {integrity: sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/linux-riscv64@0.17.18: - resolution: {integrity: sha512-/x7leOyDPjZV3TcsdfrSI107zItVnsX1q2nho7hbbQoKnmoeUWjs+08rKKt4AUXju7+3aRZSsKrJtaRmsdL1xA==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/linux-riscv64@0.17.19: - resolution: {integrity: sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/linux-s390x@0.17.18: - resolution: {integrity: sha512-cX0I8Q9xQkL/6F5zWdYmVf5JSQt+ZfZD2bJudZrWD+4mnUvoZ3TDDXtDX2mUaq6upMFv9FlfIh4Gfun0tbGzuw==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/linux-s390x@0.17.19: - resolution: {integrity: sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/linux-x64@0.17.18: - resolution: {integrity: sha512-66RmRsPlYy4jFl0vG80GcNRdirx4nVWAzJmXkevgphP1qf4dsLQCpSKGM3DUQCojwU1hnepI63gNZdrr02wHUA==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/linux-x64@0.17.19: - resolution: {integrity: sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - optional: true - - /@esbuild/netbsd-x64@0.17.18: - resolution: {integrity: sha512-95IRY7mI2yrkLlTLb1gpDxdC5WLC5mZDi+kA9dmM5XAGxCME0F8i4bYH4jZreaJ6lIZ0B8hTrweqG1fUyW7jbg==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - optional: true - - /@esbuild/netbsd-x64@0.17.19: - resolution: {integrity: sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - optional: true - - /@esbuild/openbsd-x64@0.17.18: - resolution: {integrity: sha512-WevVOgcng+8hSZ4Q3BKL3n1xTv5H6Nb53cBrtzzEjDbbnOmucEVcZeGCsCOi9bAOcDYEeBZbD2SJNBxlfP3qiA==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - optional: true - - /@esbuild/openbsd-x64@0.17.19: - resolution: {integrity: sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - optional: true - - /@esbuild/sunos-x64@0.17.18: - resolution: {integrity: sha512-Rzf4QfQagnwhQXVBS3BYUlxmEbcV7MY+BH5vfDZekU5eYpcffHSyjU8T0xucKVuOcdCsMo+Ur5wmgQJH2GfNrg==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - optional: true - - /@esbuild/sunos-x64@0.17.19: - resolution: {integrity: sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - optional: true - - /@esbuild/win32-arm64@0.17.18: - resolution: {integrity: sha512-Kb3Ko/KKaWhjeAm2YoT/cNZaHaD1Yk/pa3FTsmqo9uFh1D1Rfco7BBLIPdDOozrObj2sahslFuAQGvWbgWldAg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - optional: true - - /@esbuild/win32-arm64@0.17.19: - resolution: {integrity: sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - optional: true - - /@esbuild/win32-ia32@0.17.18: - resolution: {integrity: sha512-0/xUMIdkVHwkvxfbd5+lfG7mHOf2FRrxNbPiKWg9C4fFrB8H0guClmaM3BFiRUYrznVoyxTIyC/Ou2B7QQSwmw==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - optional: true - - /@esbuild/win32-ia32@0.17.19: - resolution: {integrity: sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - optional: true - - /@esbuild/win32-x64@0.17.18: - resolution: {integrity: sha512-qU25Ma1I3NqTSHJUOKi9sAH1/Mzuvlke0ioMJRthLXKm7JiSKVwFghlGbDLOO2sARECGhja4xYfRAZNPAkooYg==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - optional: true - - /@esbuild/win32-x64@0.17.19: - resolution: {integrity: sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - optional: true - - /@eslint-community/eslint-utils@4.4.0(eslint@8.37.0): - resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - dependencies: - eslint: 8.37.0 - eslint-visitor-keys: 3.4.0 - dev: true - - /@eslint-community/eslint-utils@4.4.0(eslint@8.43.0): - resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - dependencies: - eslint: 8.43.0 - eslint-visitor-keys: 3.4.1 - dev: true - - /@eslint-community/regexpp@4.5.0: - resolution: {integrity: sha512-vITaYzIcNmjn5tF5uxcZ/ft7/RXGrMUIS9HalWckEOF6ESiwXKoMzAQf2UW0aVd6rnOeExTJVd5hmWXucBKGXQ==} - engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - dev: true - - /@eslint-community/regexpp@4.5.1: - resolution: {integrity: sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==} - engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - dev: true - - /@eslint/eslintrc@2.0.2: - resolution: {integrity: sha512-3W4f5tDUra+pA+FzgugqL2pRimUTDJWKr7BINqOpkZrC0uYI0NIc0/JFgBROCU07HR6GieA5m3/rsPIhDmCXTQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - ajv: 6.12.6 - debug: 4.3.4 - espree: 9.5.1 - globals: 13.20.0 - ignore: 5.2.4 - import-fresh: 3.3.0 - js-yaml: 4.1.0 - minimatch: 3.1.2 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - supports-color - dev: true - - /@eslint/eslintrc@2.0.3: - resolution: {integrity: sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - ajv: 6.12.6 - debug: 4.3.4 - espree: 9.5.2 - globals: 13.20.0 - ignore: 5.2.4 - import-fresh: 3.3.0 - js-yaml: 4.1.0 - minimatch: 3.1.2 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - supports-color - dev: true - - /@eslint/js@8.37.0: - resolution: {integrity: sha512-x5vzdtOOGgFVDCUs81QRB2+liax8rFg3+7hqM+QhBG0/G3F1ZsoYl97UrqgHgQ9KKT7G6c4V+aTUCgu/n22v1A==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: true - - /@eslint/js@8.43.0: - resolution: {integrity: sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: true - - /@floating-ui/core@1.3.1: - resolution: {integrity: sha512-Bu+AMaXNjrpjh41znzHqaz3r2Nr8hHuHZT6V2LBKMhyMl0FgKA62PNYbqnfgmzOhoWZj70Zecisbo4H1rotP5g==} - - /@floating-ui/dom@1.4.2: - resolution: {integrity: sha512-VKmvHVatWnewmGGy+7Mdy4cTJX71Pli6v/Wjb5RQBuq5wjUYx+Ef+kRThi8qggZqDgD8CogCpqhRoVp3+yQk+g==} - dependencies: - '@floating-ui/core': 1.3.1 - - /@humanwhocodes/config-array@0.11.10: - resolution: {integrity: sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==} - engines: {node: '>=10.10.0'} - dependencies: - '@humanwhocodes/object-schema': 1.2.1 - debug: 4.3.4 - minimatch: 3.1.2 - transitivePeerDependencies: - - supports-color - dev: true - - /@humanwhocodes/config-array@0.11.8: - resolution: {integrity: sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==} - engines: {node: '>=10.10.0'} - dependencies: - '@humanwhocodes/object-schema': 1.2.1 - debug: 4.3.4 - minimatch: 3.1.2 - transitivePeerDependencies: - - supports-color - dev: true - - /@humanwhocodes/module-importer@1.0.1: - resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} - engines: {node: '>=12.22'} - dev: true - - /@humanwhocodes/object-schema@1.2.1: - resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} - dev: true - - /@istanbuljs/load-nyc-config@1.1.0: - resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==} - engines: {node: '>=8'} - dependencies: - camelcase: 5.3.1 - find-up: 4.1.0 - get-package-type: 0.1.0 - js-yaml: 3.14.1 - resolve-from: 5.0.0 - dev: true - - /@istanbuljs/schema@0.1.3: - resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} - engines: {node: '>=8'} - dev: true - - /@jest/console@29.5.0: - resolution: {integrity: sha512-NEpkObxPwyw/XxZVLPmAGKE89IQRp4puc6IQRPru6JKd1M3fW9v1xM1AnzIJE65hbCkzQAdnL8P47e9hzhiYLQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/types': 29.5.0 - '@types/node': 18.16.0 - chalk: 4.1.2 - jest-message-util: 29.5.0 - jest-util: 29.5.0 - slash: 3.0.0 - dev: true - - /@jest/core@29.5.0: - resolution: {integrity: sha512-28UzQc7ulUrOQw1IsN/kv1QES3q2kkbl/wGslyhAclqZ/8cMdB5M68BffkIdSJgKBUt50d3hbwJ92XESlE7LiQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - dependencies: - '@jest/console': 29.5.0 - '@jest/reporters': 29.5.0 - '@jest/test-result': 29.5.0 - '@jest/transform': 29.5.0 - '@jest/types': 29.5.0 - '@types/node': 18.16.0 - ansi-escapes: 4.3.2 - chalk: 4.1.2 - ci-info: 3.8.0 - exit: 0.1.2 - graceful-fs: 4.2.11 - jest-changed-files: 29.5.0 - jest-config: 29.5.0(@types/node@18.16.0) - jest-haste-map: 29.5.0 - jest-message-util: 29.5.0 - jest-regex-util: 29.4.3 - jest-resolve: 29.5.0 - jest-resolve-dependencies: 29.5.0 - jest-runner: 29.5.0 - jest-runtime: 29.5.0 - jest-snapshot: 29.5.0 - jest-util: 29.5.0 - jest-validate: 29.5.0 - jest-watcher: 29.5.0 - micromatch: 4.0.5 - pretty-format: 29.5.0 - slash: 3.0.0 - strip-ansi: 6.0.1 - transitivePeerDependencies: - - supports-color - - ts-node - dev: true - - /@jest/environment@29.5.0: - resolution: {integrity: sha512-5FXw2+wD29YU1d4I2htpRX7jYnAyTRjP2CsXQdo9SAM8g3ifxWPSV0HnClSn71xwctr0U3oZIIH+dtbfmnbXVQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/fake-timers': 29.5.0 - '@jest/types': 29.5.0 - '@types/node': 18.16.0 - jest-mock: 29.5.0 - dev: true - - /@jest/expect-utils@29.5.0: - resolution: {integrity: sha512-fmKzsidoXQT2KwnrwE0SQq3uj8Z763vzR8LnLBwC2qYWEFpjX8daRsk6rHUM1QvNlEW/UJXNXm59ztmJJWs2Mg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - jest-get-type: 29.4.3 - dev: true - - /@jest/expect@29.5.0: - resolution: {integrity: sha512-PueDR2HGihN3ciUNGr4uelropW7rqUfTiOn+8u0leg/42UhblPxHkfoh0Ruu3I9Y1962P3u2DY4+h7GVTSVU6g==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - expect: 29.5.0 - jest-snapshot: 29.5.0 - transitivePeerDependencies: - - supports-color - dev: true - - /@jest/fake-timers@29.5.0: - resolution: {integrity: sha512-9ARvuAAQcBwDAqOnglWq2zwNIRUDtk/SCkp/ToGEhFv5r86K21l+VEs0qNTaXtyiY0lEePl3kylijSYJQqdbDg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/types': 29.5.0 - '@sinonjs/fake-timers': 10.0.2 - '@types/node': 18.16.0 - jest-message-util: 29.5.0 - jest-mock: 29.5.0 - jest-util: 29.5.0 - dev: true - - /@jest/globals@29.5.0: - resolution: {integrity: sha512-S02y0qMWGihdzNbUiqSAiKSpSozSuHX5UYc7QbnHP+D9Lyw8DgGGCinrN9uSuHPeKgSSzvPom2q1nAtBvUsvPQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/environment': 29.5.0 - '@jest/expect': 29.5.0 - '@jest/types': 29.5.0 - jest-mock: 29.5.0 - transitivePeerDependencies: - - supports-color - dev: true - - /@jest/reporters@29.5.0: - resolution: {integrity: sha512-D05STXqj/M8bP9hQNSICtPqz97u7ffGzZu+9XLucXhkOFBqKcXe04JLZOgIekOxdb73MAoBUFnqvf7MCpKk5OA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - dependencies: - '@bcoe/v8-coverage': 0.2.3 - '@jest/console': 29.5.0 - '@jest/test-result': 29.5.0 - '@jest/transform': 29.5.0 - '@jest/types': 29.5.0 - '@jridgewell/trace-mapping': 0.3.18 - '@types/node': 18.16.0 - chalk: 4.1.2 - collect-v8-coverage: 1.0.1 - exit: 0.1.2 - glob: 7.2.3 - graceful-fs: 4.2.11 - istanbul-lib-coverage: 3.2.0 - istanbul-lib-instrument: 5.2.1 - istanbul-lib-report: 3.0.0 - istanbul-lib-source-maps: 4.0.1 - istanbul-reports: 3.1.5 - jest-message-util: 29.5.0 - jest-util: 29.5.0 - jest-worker: 29.5.0 - slash: 3.0.0 - string-length: 4.0.2 - strip-ansi: 6.0.1 - v8-to-istanbul: 9.1.0 - transitivePeerDependencies: - - supports-color - dev: true - - /@jest/schemas@29.4.3: - resolution: {integrity: sha512-VLYKXQmtmuEz6IxJsrZwzG9NvtkQsWNnWMsKxqWNu3+CnfzJQhp0WDDKWLVV9hLKr0l3SLLFRqcYHjhtyuDVxg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@sinclair/typebox': 0.25.24 - dev: true - - /@jest/source-map@29.4.3: - resolution: {integrity: sha512-qyt/mb6rLyd9j1jUts4EQncvS6Yy3PM9HghnNv86QBlV+zdL2inCdK1tuVlL+J+lpiw2BI67qXOrX3UurBqQ1w==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jridgewell/trace-mapping': 0.3.18 - callsites: 3.1.0 - graceful-fs: 4.2.11 - dev: true - - /@jest/test-result@29.5.0: - resolution: {integrity: sha512-fGl4rfitnbfLsrfx1uUpDEESS7zM8JdgZgOCQuxQvL1Sn/I6ijeAVQWGfXI9zb1i9Mzo495cIpVZhA0yr60PkQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/console': 29.5.0 - '@jest/types': 29.5.0 - '@types/istanbul-lib-coverage': 2.0.4 - collect-v8-coverage: 1.0.1 - dev: true - - /@jest/test-sequencer@29.5.0: - resolution: {integrity: sha512-yPafQEcKjkSfDXyvtgiV4pevSeyuA6MQr6ZIdVkWJly9vkqjnFfcfhRQqpD5whjoU8EORki752xQmjaqoFjzMQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/test-result': 29.5.0 - graceful-fs: 4.2.11 - jest-haste-map: 29.5.0 - slash: 3.0.0 - dev: true - - /@jest/transform@29.5.0: - resolution: {integrity: sha512-8vbeZWqLJOvHaDfeMuoHITGKSz5qWc9u04lnWrQE3VyuSw604PzQM824ZeX9XSjUCeDiE3GuxZe5UKa8J61NQw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@babel/core': 7.22.1 - '@jest/types': 29.5.0 - '@jridgewell/trace-mapping': 0.3.18 - babel-plugin-istanbul: 6.1.1 - chalk: 4.1.2 - convert-source-map: 2.0.0 - fast-json-stable-stringify: 2.1.0 - graceful-fs: 4.2.11 - jest-haste-map: 29.5.0 - jest-regex-util: 29.4.3 - jest-util: 29.5.0 - micromatch: 4.0.5 - pirates: 4.0.5 - slash: 3.0.0 - write-file-atomic: 4.0.2 - transitivePeerDependencies: - - supports-color - dev: true - - /@jest/types@29.5.0: - resolution: {integrity: sha512-qbu7kN6czmVRc3xWFQcAN03RAUamgppVUdXrvl1Wr3jlNF93o9mJbGcDWrwGB6ht44u7efB1qCFgVQmca24Uog==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/schemas': 29.4.3 - '@types/istanbul-lib-coverage': 2.0.4 - '@types/istanbul-reports': 3.0.1 - '@types/node': 18.16.0 - '@types/yargs': 17.0.24 - chalk: 4.1.2 - dev: true - - /@jridgewell/gen-mapping@0.3.3: - resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} - engines: {node: '>=6.0.0'} - dependencies: - '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.18 - - /@jridgewell/resolve-uri@3.1.0: - resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==} - engines: {node: '>=6.0.0'} - - /@jridgewell/set-array@1.1.2: - resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} - engines: {node: '>=6.0.0'} - - /@jridgewell/sourcemap-codec@1.4.14: - resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} - - /@jridgewell/sourcemap-codec@1.4.15: - resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} - - /@jridgewell/trace-mapping@0.3.18: - resolution: {integrity: sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==} - dependencies: - '@jridgewell/resolve-uri': 3.1.0 - '@jridgewell/sourcemap-codec': 1.4.14 - - /@lezer/common@1.0.2: - resolution: {integrity: sha512-SVgiGtMnMnW3ActR8SXgsDhw7a0w0ChHSYAyAUxxrOiJ1OqYWEKk/xJd84tTSPo1mo6DXLObAJALNnd0Hrv7Ng==} - dev: false - - /@lezer/common@1.0.3: - resolution: {integrity: sha512-JH4wAXCgUOcCGNekQPLhVeUtIqjH0yPBs7vvUdSjyQama9618IOKFJwkv2kcqdhF0my8hQEgCTEJU0GIgnahvA==} - dev: false - - /@lezer/css@1.1.1: - resolution: {integrity: sha512-mSjx+unLLapEqdOYDejnGBokB5+AiJKZVclmud0MKQOKx3DLJ5b5VTCstgDDknR6iIV4gVrN6euzsCnj0A2gQA==} - dependencies: - '@lezer/highlight': 1.1.4 - '@lezer/lr': 1.3.4 - dev: false - - /@lezer/generator@1.3.0: - resolution: {integrity: sha512-7HfulDoOMOkskb97fnwgpC6StwPVSob4ptc0iuOH72rapNQBbp6lVj05y7vc5IM0E9pjFjiLmNQeiBiSbLpCtA==} - hasBin: true - dependencies: - '@lezer/common': 1.0.3 - '@lezer/lr': 1.3.7 - dev: false - - /@lezer/highlight@1.1.4: - resolution: {integrity: sha512-IECkFmw2l7sFcYXrV8iT9GeY4W0fU4CxX0WMwhmhMIVjoDdD1Hr6q3G2NqVtLg/yVe5n7i4menG3tJ2r4eCrPQ==} - dependencies: - '@lezer/common': 1.0.2 - dev: false - - /@lezer/highlight@1.1.6: - resolution: {integrity: sha512-cmSJYa2us+r3SePpRCjN5ymCqCPv+zyXmDl0ciWtVaNiORT/MxM7ZgOMQZADD0o51qOaOg24qc/zBViOIwAjJg==} - dependencies: - '@lezer/common': 1.0.3 - dev: false - - /@lezer/html@1.3.4: - resolution: {integrity: sha512-HdJYMVZcT4YsMo7lW3ipL4NoyS2T67kMPuSVS5TgLGqmaCjEU/D6xv7zsa1ktvTK5lwk7zzF1e3eU6gBZIPm5g==} - dependencies: - '@lezer/common': 1.0.2 - '@lezer/highlight': 1.1.4 - '@lezer/lr': 1.3.4 - dev: false - - /@lezer/javascript@1.4.3: - resolution: {integrity: sha512-k7Eo9z9B1supZ5cCD4ilQv/RZVN30eUQL+gGbr6ybrEY3avBAL5MDiYi2aa23Aj0A79ry4rJRvPAwE2TM8bd+A==} - dependencies: - '@lezer/highlight': 1.1.4 - '@lezer/lr': 1.3.4 - dev: false - - /@lezer/json@1.0.0: - resolution: {integrity: sha512-zbAuUY09RBzCoCA3lJ1+ypKw5WSNvLqGMtasdW6HvVOqZoCpPr8eWrsGnOVWGKGn8Rh21FnrKRVlJXrGAVUqRw==} - dependencies: - '@lezer/highlight': 1.1.4 - '@lezer/lr': 1.3.4 - dev: false - - /@lezer/lr@1.3.4: - resolution: {integrity: sha512-7o+e4og/QoC/6btozDPJqnzBhUaD1fMfmvnEKQO1wRRiTse1WxaJ3OMEXZJnkgT6HCcTVOctSoXK9jGJw2oe9g==} - dependencies: - '@lezer/common': 1.0.2 - dev: false - - /@lezer/lr@1.3.6: - resolution: {integrity: sha512-IDhcWjfxwWACnatUi0GzWBCbochfqxo3LZZlS27LbJh8RVYYXXyR5Ck9659IhkWkhSW/kZlaaiJpUO+YZTUK+Q==} - dependencies: - '@lezer/common': 1.0.2 - dev: false - - /@lezer/lr@1.3.7: - resolution: {integrity: sha512-ssHKb3p0MxhJXT2i7UBmgAY1BIM3Uq/D772Qutu3EVmxWIyNMU12nQ0rL3Fhu+MiFtiTzyTmd3xGwEf3ON5PSA==} - dependencies: - '@lezer/common': 1.0.3 - dev: false - - /@lezer/markdown@1.0.2: - resolution: {integrity: sha512-8CY0OoZ6V5EzPjSPeJ4KLVbtXdLBd8V6sRCooN5kHnO28ytreEGTyrtU/zUwo/XLRzGr/e1g44KlzKi3yWGB5A==} - dependencies: - '@lezer/common': 1.0.2 - '@lezer/highlight': 1.1.4 - dev: false - - /@lezer/python@1.1.5: - resolution: {integrity: sha512-h0DVr6IfrmKUbTc5PeetaC87IZYoHyn5JogsVYW5mRDpVRyEsvaLBMLyEN4Ufc2BKp1c9y2Pkr8ZNLxS8dTLsQ==} - dependencies: - '@lezer/highlight': 1.1.4 - '@lezer/lr': 1.3.4 - dev: false - - /@microsoft/api-extractor-model@7.26.4: - resolution: {integrity: sha512-PDCgCzXDo+SLY5bsfl4bS7hxaeEtnXj7XtuzEE+BtALp7B5mK/NrS2kHWU69pohgsRmEALycQdaQPXoyT2i5MQ==} - dependencies: - '@microsoft/tsdoc': 0.14.2 - '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 3.55.2 - transitivePeerDependencies: - - '@types/node' - dev: false - - /@microsoft/api-extractor@7.34.4: - resolution: {integrity: sha512-HOdcci2nT40ejhwPC3Xja9G+WSJmWhCUKKryRfQYsmE9cD+pxmBaKBKCbuS9jUcl6bLLb4Gz+h7xEN5r0QiXnQ==} - hasBin: true - dependencies: - '@microsoft/api-extractor-model': 7.26.4 - '@microsoft/tsdoc': 0.14.2 - '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 3.55.2 - '@rushstack/rig-package': 0.3.18 - '@rushstack/ts-command-line': 4.13.2 - colors: 1.2.5 - lodash: 4.17.21 - resolve: 1.22.2 - semver: 7.3.8 - source-map: 0.6.1 - typescript: 4.8.4 - transitivePeerDependencies: - - '@types/node' - dev: false - - /@microsoft/tsdoc-config@0.16.2: - resolution: {integrity: sha512-OGiIzzoBLgWWR0UdRJX98oYO+XKGf7tiK4Zk6tQ/E4IJqGCe7dvkTvgDZV5cFJUzLGDOjeAXrnZoA6QkVySuxw==} - dependencies: - '@microsoft/tsdoc': 0.14.2 - ajv: 6.12.6 - jju: 1.4.0 - resolve: 1.19.0 - dev: false - - /@microsoft/tsdoc@0.14.2: - resolution: {integrity: sha512-9b8mPpKrfeGRuhFH5iO1iwCLeIIsV6+H1sRfxbkoGXIyQE2BTsPd9zqSqQJ+pv5sJ/hT5M1zvOFL02MnEezFug==} - dev: false - - /@nodelib/fs.scandir@2.1.5: - resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} - engines: {node: '>= 8'} - dependencies: - '@nodelib/fs.stat': 2.0.5 - run-parallel: 1.2.0 - - /@nodelib/fs.stat@2.0.5: - resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} - engines: {node: '>= 8'} - - /@nodelib/fs.walk@1.2.8: - resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} - engines: {node: '>= 8'} - dependencies: - '@nodelib/fs.scandir': 2.1.5 - fastq: 1.15.0 - - /@polka/url@1.0.0-next.21: - resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==} - dev: true - - /@rollup/plugin-json@5.0.2: - resolution: {integrity: sha512-D1CoOT2wPvadWLhVcmpkDnesTzjhNIQRWLsc3fA49IFOP2Y84cFOOJ+nKGYedvXHKUsPeq07HR4hXpBBr+CHlA==} - engines: {node: '>=14.0.0'} - peerDependencies: - rollup: ^1.20.0||^2.0.0||^3.0.0 - peerDependenciesMeta: - rollup: - optional: true - dependencies: - '@rollup/pluginutils': 5.0.2 - dev: false - - /@rollup/pluginutils@5.0.2: - resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==} - engines: {node: '>=14.0.0'} - peerDependencies: - rollup: ^1.20.0||^2.0.0||^3.0.0 - peerDependenciesMeta: - rollup: - optional: true - dependencies: - '@types/estree': 1.0.1 - estree-walker: 2.0.2 - picomatch: 2.3.1 - - /@rushstack/node-core-library@3.55.2: - resolution: {integrity: sha512-SaLe/x/Q/uBVdNFK5V1xXvsVps0y7h1sN7aSJllQyFbugyOaxhNRF25bwEDnicARNEjJw0pk0lYnJQ9Kr6ev0A==} - peerDependencies: - '@types/node': '*' - peerDependenciesMeta: - '@types/node': - optional: true - dependencies: - colors: 1.2.5 - fs-extra: 7.0.1 - import-lazy: 4.0.0 - jju: 1.4.0 - resolve: 1.22.2 - semver: 7.3.8 - z-schema: 5.0.5 - dev: false - - /@rushstack/rig-package@0.3.18: - resolution: {integrity: sha512-SGEwNTwNq9bI3pkdd01yCaH+gAsHqs0uxfGvtw9b0LJXH52qooWXnrFTRRLG1aL9pf+M2CARdrA9HLHJys3jiQ==} - dependencies: - resolve: 1.22.2 - strip-json-comments: 3.1.1 - dev: false - - /@rushstack/ts-command-line@4.13.2: - resolution: {integrity: sha512-bCU8qoL9HyWiciltfzg7GqdfODUeda/JpI0602kbN5YH22rzTxyqYvv7aRLENCM7XCQ1VRs7nMkEqgJUOU8Sag==} - dependencies: - '@types/argparse': 1.0.38 - argparse: 1.0.10 - colors: 1.2.5 - string-argv: 0.3.1 - dev: false - - /@sinclair/typebox@0.25.24: - resolution: {integrity: sha512-XJfwUVUKDHF5ugKwIcxEgc9k8b7HbznCp6eUfWgu710hMPNIO4aw4/zB5RogDQz8nd6gyCDpU9O/m6qYEWY6yQ==} - dev: true - - /@sinonjs/commons@2.0.0: - resolution: {integrity: sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==} - dependencies: - type-detect: 4.0.8 - dev: true - - /@sinonjs/fake-timers@10.0.2: - resolution: {integrity: sha512-SwUDyjWnah1AaNl7kxsa7cfLhlTYoiyhDAIgyh+El30YvXs/o7OLXpYH88Zdhyx9JExKrmHDJ+10bwIcY80Jmw==} - dependencies: - '@sinonjs/commons': 2.0.0 - dev: true - - /@sveltejs/adapter-auto@1.0.0-next.91(@sveltejs/kit@1.15.2): - resolution: {integrity: sha512-U57tQdzTfFINim8tzZSARC9ztWPzwOoHwNOpGdb2o6XrD0mEQwU9DsII7dBblvzg+xCnmd0pw7PDtXz5c5t96w==} - peerDependencies: - '@sveltejs/kit': ^1.0.0-next.587 - dependencies: - '@sveltejs/kit': 1.15.2(svelte@3.58.0) - import-meta-resolve: 2.2.2 - dev: true - - /@sveltejs/kit@1.15.2(svelte@3.58.0): - resolution: {integrity: sha512-rLNxZrjbrlPf8AWW8GAU4L/Vvu17e9v8EYl7pUip7x72lTft7RcxeP3z7tsrHpMSBBxC9o4XdKzFvz1vMZyXZw==} - engines: {node: ^16.14 || >=18} - hasBin: true - requiresBuild: true - peerDependencies: - svelte: ^3.54.0 - vite: ^4.0.0 - dependencies: - '@sveltejs/vite-plugin-svelte': 2.1.1(svelte@3.58.0) - '@types/cookie': 0.5.1 - cookie: 0.5.0 - devalue: 4.3.0 - esm-env: 1.0.0 - kleur: 4.1.5 - magic-string: 0.30.0 - mime: 3.0.0 - sade: 1.8.1 - set-cookie-parser: 2.6.0 - sirv: 2.0.3 - svelte: 3.58.0 - tiny-glob: 0.2.9 - undici: 5.20.0 - transitivePeerDependencies: - - supports-color - dev: true - - /@sveltejs/vite-plugin-svelte-inspector@1.0.3(@sveltejs/vite-plugin-svelte@2.4.2)(svelte@4.0.0)(vite@4.3.9): - resolution: {integrity: sha512-Khdl5jmmPN6SUsVuqSXatKpQTMIifoQPDanaxC84m9JxIibWvSABJyHpyys0Z+1yYrxY5TTEQm+6elh0XCMaOA==} - engines: {node: ^14.18.0 || >= 16} - peerDependencies: - '@sveltejs/vite-plugin-svelte': ^2.2.0 - svelte: ^3.54.0 || ^4.0.0 - vite: ^4.0.0 - dependencies: - '@sveltejs/vite-plugin-svelte': 2.4.2(svelte@4.0.0)(vite@4.3.9) - debug: 4.3.4 - svelte: 4.0.0 - vite: 4.3.9(sass@1.63.6) - transitivePeerDependencies: - - supports-color - dev: false - - /@sveltejs/vite-plugin-svelte@2.1.1(svelte@3.58.0): - resolution: {integrity: sha512-7YeBDt4us0FiIMNsVXxyaP4Hwyn2/v9x3oqStkHU3ZdIc5O22pGwUwH33wUqYo+7Itdmo8zxJ45Qvfm3H7UUjQ==} - engines: {node: ^14.18.0 || >= 16} - peerDependencies: - svelte: ^3.54.0 - vite: ^4.0.0 - dependencies: - debug: 4.3.4 - deepmerge: 4.3.1 - kleur: 4.1.5 - magic-string: 0.30.0 - svelte: 3.58.0 - svelte-hmr: 0.15.1(svelte@3.58.0) - vitefu: 0.2.4 - transitivePeerDependencies: - - supports-color - dev: true - - /@sveltejs/vite-plugin-svelte@2.4.2(svelte@4.0.0)(vite@4.3.9): - resolution: {integrity: sha512-ePfcC48ftMKhkT0OFGdOyycYKnnkT6i/buzey+vHRTR/JpQvuPzzhf1PtKqCDQfJRgoPSN2vscXs6gLigx/zGw==} - engines: {node: ^14.18.0 || >= 16} - peerDependencies: - svelte: ^3.54.0 || ^4.0.0 - vite: ^4.0.0 - dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 1.0.3(@sveltejs/vite-plugin-svelte@2.4.2)(svelte@4.0.0)(vite@4.3.9) - debug: 4.3.4 - deepmerge: 4.3.1 - kleur: 4.1.5 - magic-string: 0.30.0 - svelte: 4.0.0 - svelte-hmr: 0.15.2(svelte@4.0.0) - vite: 4.3.9(sass@1.63.6) - vitefu: 0.2.4(vite@4.3.9) - transitivePeerDependencies: - - supports-color - dev: false - - /@tootallnate/once@2.0.0: - resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} - engines: {node: '>= 10'} - dev: true - - /@ts-morph/common@0.18.1: - resolution: {integrity: sha512-RVE+zSRICWRsfrkAw5qCAK+4ZH9kwEFv5h0+/YeHTLieWP7F4wWq4JsKFuNWG+fYh/KF+8rAtgdj5zb2mm+DVA==} - dependencies: - fast-glob: 3.2.12 - minimatch: 5.1.6 - mkdirp: 1.0.4 - path-browserify: 1.0.1 - dev: false - - /@tsconfig/svelte@4.0.1: - resolution: {integrity: sha512-B+XlGpmuAQzJqDoBATNCvEPqQg0HkO7S8pM14QDI5NsmtymzRexQ1N+nX2H6RTtFbuFgaZD4I8AAi8voGg0GLg==} - dev: false - - /@types/argparse@1.0.38: - resolution: {integrity: sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==} - dev: false - - /@types/babel__core@7.20.0: - resolution: {integrity: sha512-+n8dL/9GWblDO0iU6eZAwEIJVr5DWigtle+Q6HLOrh/pdbXOhOtqzq8VPPE2zvNJzSKY4vH/z3iT3tn0A3ypiQ==} - dependencies: - '@babel/parser': 7.22.3 - '@babel/types': 7.22.3 - '@types/babel__generator': 7.6.4 - '@types/babel__template': 7.4.1 - '@types/babel__traverse': 7.18.3 - dev: true - - /@types/babel__generator@7.6.4: - resolution: {integrity: sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==} - dependencies: - '@babel/types': 7.22.3 - dev: true - - /@types/babel__template@7.4.1: - resolution: {integrity: sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==} - dependencies: - '@babel/parser': 7.22.3 - '@babel/types': 7.22.3 - dev: true - - /@types/babel__traverse@7.18.3: - resolution: {integrity: sha512-1kbcJ40lLB7MHsj39U4Sh1uTd2E7rLEa79kmDpI6cy+XiXsteB3POdQomoq4FxszMrO3ZYchkhYJw7A2862b3w==} - dependencies: - '@babel/types': 7.22.3 - dev: true - - /@types/chai-subset@1.3.3: - resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==} - dependencies: - '@types/chai': 4.3.5 - - /@types/chai@4.3.4: - resolution: {integrity: sha512-KnRanxnpfpjUTqTCXslZSEdLfXExwgNxYPdiO2WGUj8+HDjFi8R3k5RVKPeSCzLjCcshCAtVO2QBbVuAV4kTnw==} - dev: false - - /@types/chai@4.3.5: - resolution: {integrity: sha512-mEo1sAde+UCE6b2hxn332f1g1E8WfYRu6p5SvTKr2ZKC1f7gFJXk4h5PyGP9Dt6gCaG8y8XhwnXWC6Iy2cmBng==} - - /@types/concat-stream@1.6.1: - resolution: {integrity: sha512-eHE4cQPoj6ngxBZMvVf6Hw7Mh4jMW4U9lpGmS5GBPB9RYxlFg+CHaVN7ErNY4W9XfLIEn20b4VDYaIrbq0q4uA==} - dependencies: - '@types/node': 18.16.0 - dev: false - - /@types/cookie@0.5.1: - resolution: {integrity: sha512-COUnqfB2+ckwXXSFInsFdOAWQzCCx+a5hq2ruyj+Vjund94RJQd4LG2u9hnvJrTgunKAaax7ancBYlDrNYxA0g==} - dev: true - - /@types/d3-dsv@3.0.0: - resolution: {integrity: sha512-o0/7RlMl9p5n6FQDptuJVMxDf/7EDEv2SYEO/CwdG2tr1hTfUVi0Iavkk2ax+VpaQ/1jVhpnj5rq1nj8vwhn2A==} - - /@types/d3-path@3.0.0: - resolution: {integrity: sha512-0g/A+mZXgFkQxN3HniRDbXMN79K3CdTpLsevj+PXiTcb2hVyvkZUBg37StmgCQkaD84cUJ4uaDAWq7UJOQy2Tg==} - dev: true - - /@types/d3-scale@4.0.2: - resolution: {integrity: sha512-Yk4htunhPAwN0XGlIwArRomOjdoBFXC3+kCxK2Ubg7I9shQlVSJy/pG/Ht5ASN+gdMIalpk8TJ5xV74jFsetLA==} - dependencies: - '@types/d3-time': 3.0.0 - dev: true - - /@types/d3-shape@3.0.2: - resolution: {integrity: sha512-5+ButCmIfNX8id5seZ7jKj3igdcxx+S9IDBiT35fQGTLZUfkFgTv+oBH34xgeoWDKpWcMITSzBILWQtBoN5Piw==} - dependencies: - '@types/d3-path': 3.0.0 - dev: true - - /@types/d3-time@3.0.0: - resolution: {integrity: sha512-sZLCdHvBUcNby1cB6Fd3ZBrABbjz3v1Vm90nysCQ6Vt7vd6e/h9Lt7SiJUoEX0l4Dzc7P5llKyhqSi1ycSf1Hg==} - dev: true - - /@types/dompurify@3.0.2: - resolution: {integrity: sha512-YBL4ziFebbbfQfH5mlC+QTJsvh0oJUrWbmxKMyEdL7emlHJqGR2Qb34TEFKj+VCayBvjKy3xczMFNhugThUsfQ==} - dependencies: - '@types/trusted-types': 2.0.3 - dev: false - - /@types/estree@1.0.1: - resolution: {integrity: sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==} - - /@types/form-data@0.0.33: - resolution: {integrity: sha512-8BSvG1kGm83cyJITQMZSulnl6QV8jqAGreJsc5tPu1Jq0vTSOiY/k24Wx82JRpWwZSqrala6sd5rWi6aNXvqcw==} - dependencies: - '@types/node': 18.16.0 - dev: false - - /@types/graceful-fs@4.1.6: - resolution: {integrity: sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw==} - dependencies: - '@types/node': 18.16.0 - dev: true - - /@types/istanbul-lib-coverage@2.0.4: - resolution: {integrity: sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==} - dev: true - - /@types/istanbul-lib-report@3.0.0: - resolution: {integrity: sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==} - dependencies: - '@types/istanbul-lib-coverage': 2.0.4 - dev: true - - /@types/istanbul-reports@3.0.1: - resolution: {integrity: sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==} - dependencies: - '@types/istanbul-lib-report': 3.0.0 - dev: true - - /@types/jest@29.5.0: - resolution: {integrity: sha512-3Emr5VOl/aoBwnWcH/EFQvlSAmjV+XtV9GGu5mwdYew5vhQh0IUZx/60x0TzHDu09Bi7HMx10t/namdJw5QIcg==} - dependencies: - expect: 29.5.0 - pretty-format: 29.5.0 - dev: true - - /@types/json-schema@7.0.11: - resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==} - dev: true - - /@types/marked@4.3.1: - resolution: {integrity: sha512-vSSbKZFbNktrQ15v7o1EaH78EbWV+sPQbPjHG+Cp8CaNcPFUEfjZ0Iml/V0bFDwsTlYe8o6XC5Hfdp91cqPV2g==} - dev: false - - /@types/node@10.17.60: - resolution: {integrity: sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==} - dev: false - - /@types/node@18.16.0: - resolution: {integrity: sha512-BsAaKhB+7X+H4GnSjGhJG9Qi8Tw+inU9nJDwmD5CgOmBLEI6ArdhikpLX7DjbjDRDTbqZzU2LSQNZg8WGPiSZQ==} - - /@types/node@20.3.1: - resolution: {integrity: sha512-EhcH/wvidPy1WeML3TtYFGR83UzjxeWRen9V402T8aUGYsCHOmfoisV3ZSg03gAFIbLq8TnWOJ0f4cALtnSEUg==} - dev: true - - /@types/node@8.10.66: - resolution: {integrity: sha512-tktOkFUA4kXx2hhhrB8bIFb5TbwzS4uOhKEmwiD+NoiL0qtP2OQ9mFldbgD4dV1djrlBYP6eBuQZiWjuHUpqFw==} - dev: false - - /@types/prettier@2.7.2: - resolution: {integrity: sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg==} - dev: true - - /@types/pug@2.0.6: - resolution: {integrity: sha512-SnHmG9wN1UVmagJOnyo/qkk0Z7gejYxOYYmaAwr5u2yFYfsupN3sg10kyzN8Hep/2zbHxCnsumxOoRIRMBwKCg==} - - /@types/qs@6.9.7: - resolution: {integrity: sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==} - dev: false - - /@types/sass@1.45.0: - resolution: {integrity: sha512-jn7qwGFmJHwUSphV8zZneO3GmtlgLsmhs/LQyVvQbIIa+fzGMUiHI4HXJZL3FT8MJmgXWbLGiVVY7ElvHq6vDA==} - deprecated: This is a stub types definition. sass provides its own type definitions, so you do not need this installed. - dependencies: - sass: 1.61.0 - dev: true - - /@types/semver@7.3.13: - resolution: {integrity: sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==} - dev: true - - /@types/stack-utils@2.0.1: - resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==} - dev: true - - /@types/trusted-types@2.0.3: - resolution: {integrity: sha512-NfQ4gyz38SL8sDNrSixxU2Os1a5xcdFxipAFxYEuLUlvU2uDwS4NUpsImcf1//SlWItCVMMLiylsxbmNMToV/g==} - dev: false - - /@types/uuid@9.0.1: - resolution: {integrity: sha512-rFT3ak0/2trgvp4yYZo5iKFEPsET7vKydKF+VRCxlQ9bpheehyAJH89dAkaLEq/j/RZXJIqcgsmPJKUP1Z28HA==} - dev: false - - /@types/ws@8.5.4: - resolution: {integrity: sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg==} - dependencies: - '@types/node': 18.16.0 - dev: true - - /@types/yargs-parser@21.0.0: - resolution: {integrity: sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==} - dev: true - - /@types/yargs@17.0.24: - resolution: {integrity: sha512-6i0aC7jV6QzQB8ne1joVZ0eSFIstHsCrobmOtghM11yGlH0j43FKL2UhWdELkyps0zuf7qVTUVCCR+tgSlyLLw==} - dependencies: - '@types/yargs-parser': 21.0.0 - dev: true - - /@typescript-eslint/scope-manager@5.59.1: - resolution: {integrity: sha512-mau0waO5frJctPuAzcxiNWqJR5Z8V0190FTSqRw1Q4Euop6+zTwHAf8YIXNwDOT29tyUDrQ65jSg9aTU/H0omA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - '@typescript-eslint/types': 5.59.1 - '@typescript-eslint/visitor-keys': 5.59.1 - dev: true - - /@typescript-eslint/types@5.59.1: - resolution: {integrity: sha512-dg0ICB+RZwHlysIy/Dh1SP+gnXNzwd/KS0JprD3Lmgmdq+dJAJnUPe1gNG34p0U19HvRlGX733d/KqscrGC1Pg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: true - - /@typescript-eslint/typescript-estree@5.59.1(typescript@5.0.3): - resolution: {integrity: sha512-lYLBBOCsFltFy7XVqzX0Ju+Lh3WPIAWxYpmH/Q7ZoqzbscLiCW00LeYCdsUnnfnj29/s1WovXKh2gwCoinHNGA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/types': 5.59.1 - '@typescript-eslint/visitor-keys': 5.59.1 - debug: 4.3.4 - globby: 11.1.0 - is-glob: 4.0.3 - semver: 7.5.0 - tsutils: 3.21.0(typescript@5.0.3) - typescript: 5.0.3 - transitivePeerDependencies: - - supports-color - dev: true - - /@typescript-eslint/utils@5.59.1(eslint@8.37.0)(typescript@5.0.3): - resolution: {integrity: sha512-MkTe7FE+K1/GxZkP5gRj3rCztg45bEhsd8HYjczBuYm+qFHP5vtZmjx3B0yUCDotceQ4sHgTyz60Ycl225njmA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.37.0) - '@types/json-schema': 7.0.11 - '@types/semver': 7.3.13 - '@typescript-eslint/scope-manager': 5.59.1 - '@typescript-eslint/types': 5.59.1 - '@typescript-eslint/typescript-estree': 5.59.1(typescript@5.0.3) - eslint: 8.37.0 - eslint-scope: 5.1.1 - semver: 7.5.0 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - - /@typescript-eslint/visitor-keys@5.59.1: - resolution: {integrity: sha512-6waEYwBTCWryx0VJmP7JaM4FpipLsFl9CvYf2foAE8Qh/Y0s+bxWysciwOs0LTBED4JCaNxTZ5rGadB14M6dwA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - '@typescript-eslint/types': 5.59.1 - eslint-visitor-keys: 3.4.0 - dev: true - - /@vitest/expect@0.31.0: - resolution: {integrity: sha512-Jlm8ZTyp6vMY9iz9Ny9a0BHnCG4fqBa8neCF6Pk/c/6vkUk49Ls6UBlgGAU82QnzzoaUs9E/mUhq/eq9uMOv/g==} - dependencies: - '@vitest/spy': 0.31.0 - '@vitest/utils': 0.31.0 - chai: 4.3.7 - dev: false - - /@vitest/runner@0.31.0: - resolution: {integrity: sha512-H1OE+Ly7JFeBwnpHTrKyCNm/oZgr+16N4qIlzzqSG/YRQDATBYmJb/KUn3GrZaiQQyL7GwpNHVZxSQd6juLCgw==} - dependencies: - '@vitest/utils': 0.31.0 - concordance: 5.0.4 - p-limit: 4.0.0 - pathe: 1.1.0 - dev: false - - /@vitest/snapshot@0.31.0: - resolution: {integrity: sha512-5dTXhbHnyUMTMOujZPB0wjFjQ6q5x9c8TvAsSPUNKjp1tVU7i9pbqcKPqntyu2oXtmVxKbuHCqrOd+Ft60r4tg==} - dependencies: - magic-string: 0.30.0 - pathe: 1.1.0 - pretty-format: 27.5.1 - dev: false - - /@vitest/spy@0.31.0: - resolution: {integrity: sha512-IzCEQ85RN26GqjQNkYahgVLLkULOxOm5H/t364LG0JYb3Apg0PsYCHLBYGA006+SVRMWhQvHlBBCyuByAMFmkg==} - dependencies: - tinyspy: 2.1.0 - dev: false - - /@vitest/utils@0.31.0: - resolution: {integrity: sha512-kahaRyLX7GS1urekRXN2752X4gIgOGVX4Wo8eDUGUkTWlGpXzf5ZS6N9RUUS+Re3XEE8nVGqNyxkSxF5HXlGhQ==} - dependencies: - concordance: 5.0.4 - loupe: 2.3.6 - pretty-format: 27.5.1 - dev: false - - /@zerodevx/svelte-toast@0.9.3(svelte@4.0.0): - resolution: {integrity: sha512-VPKWR4A9y01fyXRscu9HiTj7tV2hFrpRKZvGwMmaPXfHIXR1D9+NNsz0HXcQ7qZ0C5UaHS3n9uNtPtIcAXT7RQ==} - peerDependencies: - svelte: ^3.57.0 - dependencies: - svelte: 4.0.0 - dev: true - - /abab@2.0.6: - resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} - dev: true - - /acorn-jsx@5.3.2(acorn@8.8.2): - resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} - peerDependencies: - acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - acorn: 8.8.2 - dev: true - - /acorn-jsx@5.3.2(acorn@8.9.0): - resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} - peerDependencies: - acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - acorn: 8.9.0 - dev: true - - /acorn-walk@8.2.0: - resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} - engines: {node: '>=0.4.0'} - - /acorn@8.8.2: - resolution: {integrity: sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==} - engines: {node: '>=0.4.0'} - hasBin: true - - /acorn@8.9.0: - resolution: {integrity: sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==} - engines: {node: '>=0.4.0'} - hasBin: true - - /agent-base@6.0.2: - resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} - engines: {node: '>= 6.0.0'} - dependencies: - debug: 4.3.4 - transitivePeerDependencies: - - supports-color - dev: true - - /ajv@6.12.6: - resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} - dependencies: - fast-deep-equal: 3.1.3 - fast-json-stable-stringify: 2.1.0 - json-schema-traverse: 0.4.1 - uri-js: 4.4.1 - - /ansi-escapes@4.3.2: - resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} - engines: {node: '>=8'} - dependencies: - type-fest: 0.21.3 - dev: true - - /ansi-regex@5.0.1: - resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} - engines: {node: '>=8'} - - /ansi-styles@3.2.1: - resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} - engines: {node: '>=4'} - dependencies: - color-convert: 1.9.3 - dev: true - - /ansi-styles@4.3.0: - resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} - engines: {node: '>=8'} - dependencies: - color-convert: 2.0.1 - dev: true - - /ansi-styles@5.2.0: - resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} - engines: {node: '>=10'} - - /any-promise@1.3.0: - resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} - - /anymatch@3.1.3: - resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} - engines: {node: '>= 8'} - dependencies: - normalize-path: 3.0.0 - picomatch: 2.3.1 - - /arg@5.0.2: - resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} - - /argparse@1.0.10: - resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} - dependencies: - sprintf-js: 1.0.3 - - /argparse@2.0.1: - resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} - dev: true - - /aria-query@5.2.1: - resolution: {integrity: sha512-7uFg4b+lETFgdaJyETnILsXgnnzVnkHcgRbwbPwevm5x/LmUlt3MjczMRe1zg824iBgXZNRPTBftNYyRSKLp2g==} - dependencies: - dequal: 2.0.3 - - /array-union@2.1.0: - resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} - engines: {node: '>=8'} - dev: true - - /asap@2.0.6: - resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} - dev: false - - /asn1@0.2.6: - resolution: {integrity: sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==} - dependencies: - safer-buffer: 2.1.2 - dev: false - - /assert-plus@1.0.0: - resolution: {integrity: sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==} - engines: {node: '>=0.8'} - dev: false - - /assertion-error@1.1.0: - resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} - - /asynckit@0.4.0: - resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} - - /automation-events@6.0.0: - resolution: {integrity: sha512-mSOnckbtuJso8cczB+broNsfcuDIQ+J4GFhlW/V3iD+LAXbS4XGHhdjYvtPnCKclKcvs9cVLtUMUkNncOzUQPg==} - engines: {node: '>=16.1.0'} - dependencies: - '@babel/runtime': 7.21.0 - tslib: 2.5.1 - dev: false - - /autoprefixer@10.4.2(postcss@8.4.21): - resolution: {integrity: sha512-9fOPpHKuDW1w/0EKfRmVnxTDt8166MAnLI3mgZ1JCnhNtYWxcJ6Ud5CO/AVOZi/AvFa8DY9RTy3h3+tFBlrrdQ==} - engines: {node: ^10 || ^12 || >=14} - hasBin: true - peerDependencies: - postcss: ^8.1.0 - dependencies: - browserslist: 4.21.5 - caniuse-lite: 1.0.30001481 - fraction.js: 4.2.0 - normalize-range: 0.1.2 - picocolors: 1.0.0 - postcss: 8.4.21 - postcss-value-parser: 4.2.0 - dev: true - - /aws-sign2@0.7.0: - resolution: {integrity: sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==} - dev: false - - /aws4@1.12.0: - resolution: {integrity: sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg==} - dev: false - - /axobject-query@3.2.1: - resolution: {integrity: sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==} - dependencies: - dequal: 2.0.3 - - /babel-jest@29.5.0(@babel/core@7.22.1): - resolution: {integrity: sha512-mA4eCDh5mSo2EcA9xQjVTpmbbNk32Zb3Q3QFQsNhaK56Q+yoXowzFodLux30HRgyOho5rsQ6B0P9QpMkvvnJ0Q==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - '@babel/core': ^7.8.0 - dependencies: - '@babel/core': 7.22.1 - '@jest/transform': 29.5.0 - '@types/babel__core': 7.20.0 - babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 29.5.0(@babel/core@7.22.1) - chalk: 4.1.2 - graceful-fs: 4.2.11 - slash: 3.0.0 - transitivePeerDependencies: - - supports-color - dev: true - - /babel-plugin-istanbul@6.1.1: - resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} - engines: {node: '>=8'} - dependencies: - '@babel/helper-plugin-utils': 7.20.2 - '@istanbuljs/load-nyc-config': 1.1.0 - '@istanbuljs/schema': 0.1.3 - istanbul-lib-instrument: 5.2.1 - test-exclude: 6.0.0 - transitivePeerDependencies: - - supports-color - dev: true - - /babel-plugin-jest-hoist@29.5.0: - resolution: {integrity: sha512-zSuuuAlTMT4mzLj2nPnUm6fsE6270vdOfnpbJ+RmruU75UhLFvL0N2NgI7xpeS7NaB6hGqmd5pVpGTDYvi4Q3w==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@babel/template': 7.21.9 - '@babel/types': 7.22.3 - '@types/babel__core': 7.20.0 - '@types/babel__traverse': 7.18.3 - dev: true - - /babel-plugin-transform-remove-console@6.9.4: - resolution: {integrity: sha512-88blrUrMX3SPiGkT1GnvVY8E/7A+k6oj3MNvUtTIxJflFzXTw1bHkuJ/y039ouhFMp2prRn5cQGzokViYi1dsg==} - dev: true - - /babel-preset-current-node-syntax@1.0.1(@babel/core@7.22.1): - resolution: {integrity: sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.22.1 - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.22.1) - '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.22.1) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.22.1) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.22.1) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.22.1) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.22.1) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.22.1) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.22.1) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.22.1) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.22.1) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.22.1) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.22.1) - dev: true - - /babel-preset-jest@29.5.0(@babel/core@7.22.1): - resolution: {integrity: sha512-JOMloxOqdiBSxMAzjRaH023/vvcaSaec49zvg+2LmNsktC7ei39LTJGw02J+9uUtTZUq6xbLyJ4dxe9sSmIuAg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.22.1 - babel-plugin-jest-hoist: 29.5.0 - babel-preset-current-node-syntax: 1.0.1(@babel/core@7.22.1) - dev: true - - /babylonjs-gltf2interface@4.2.1: - resolution: {integrity: sha512-ZBfKgIoztO1x1nyf9aPQJ+WXmB6Kw0VlyxvcKchIixbICqeeExiN8nmjvypwXC4hl+5ZDMnUKQNrIhh7uzulnA==} - dev: false - - /babylonjs-loaders@4.2.1: - resolution: {integrity: sha512-WLpbadXDyxbBQogU0SOrpwgAWN/DJ1xn5kCRD31NVoCbBIpvkdDIvzpRvze2esxrlv/KM8wbDu62ShJd6rQnVQ==} - dependencies: - babylonjs: 4.2.1 - babylonjs-gltf2interface: 4.2.1 - dev: false - - /babylonjs@4.2.1: - resolution: {integrity: sha512-FQdJ2VTENUpUJQ30ddihwTjV6K94kglET0P7jV8OQzjA4eez3sotmG22Fn9+8yb069SA26KnrAGOI2sKMQ7BCw==} - dev: false - - /balanced-match@1.0.2: - resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - - /bcrypt-pbkdf@1.0.2: - resolution: {integrity: sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==} - dependencies: - tweetnacl: 0.14.5 - dev: false - - /binary-extensions@2.2.0: - resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} - engines: {node: '>=8'} - - /blueimp-md5@2.19.0: - resolution: {integrity: sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==} - dev: false - - /brace-expansion@1.1.11: - resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} - dependencies: - balanced-match: 1.0.2 - concat-map: 0.0.1 - - /brace-expansion@2.0.1: - resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} - dependencies: - balanced-match: 1.0.2 - dev: false - - /braces@3.0.2: - resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} - engines: {node: '>=8'} - dependencies: - fill-range: 7.0.1 - - /broker-factory@3.0.76: - resolution: {integrity: sha512-n6JSKG7TdW4gaY93QN/2OjM+3e6hDMrzB9l/ilRLe/rHGlN+0G3IefEWbhOOsKIBQcxf9AQL9fhfCa5uDUnyTw==} - dependencies: - '@babel/runtime': 7.21.0 - fast-unique-numbers: 8.0.0 - tslib: 2.5.1 - worker-factory: 7.0.0 - dev: false - - /browserslist@4.21.5: - resolution: {integrity: sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} - hasBin: true - dependencies: - caniuse-lite: 1.0.30001488 - electron-to-chromium: 1.4.400 - node-releases: 2.0.10 - update-browserslist-db: 1.0.11(browserslist@4.21.5) - dev: true - - /browserslist@4.21.9: - resolution: {integrity: sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} - hasBin: true - dependencies: - caniuse-lite: 1.0.30001506 - electron-to-chromium: 1.4.438 - node-releases: 2.0.12 - update-browserslist-db: 1.0.11(browserslist@4.21.9) - dev: true - - /bser@2.1.1: - resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} - dependencies: - node-int64: 0.4.0 - dev: true - - /buffer-crc32@0.2.13: - resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} - - /buffer-from@1.1.2: - resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} - - /busboy@1.6.0: - resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==} - engines: {node: '>=10.16.0'} - dependencies: - streamsearch: 1.1.0 - dev: true - - /cac@6.7.14: - resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} - engines: {node: '>=8'} - - /call-bind@1.0.2: - resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} - dependencies: - function-bind: 1.1.1 - get-intrinsic: 1.2.0 - dev: false - - /callsites@3.1.0: - resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} - engines: {node: '>=6'} - dev: true - - /camelcase-css@2.0.1: - resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==} - engines: {node: '>= 6'} - - /camelcase@5.3.1: - resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} - engines: {node: '>=6'} - dev: true - - /camelcase@6.3.0: - resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} - engines: {node: '>=10'} - dev: true - - /caniuse-lite@1.0.30001481: - resolution: {integrity: sha512-KCqHwRnaa1InZBtqXzP98LPg0ajCVujMKjqKDhZEthIpAsJl/YEIa3YvXjGXPVqzZVguccuu7ga9KOE1J9rKPQ==} - dev: true - - /caniuse-lite@1.0.30001488: - resolution: {integrity: sha512-NORIQuuL4xGpIy6iCCQGN4iFjlBXtfKWIenlUuyZJumLRIindLb7wXM+GO8erEhb7vXfcnf4BAg2PrSDN5TNLQ==} - dev: true - - /caniuse-lite@1.0.30001506: - resolution: {integrity: sha512-6XNEcpygZMCKaufIcgpQNZNf00GEqc7VQON+9Rd0K1bMYo8xhMZRAo5zpbnbMNizi4YNgIDAFrdykWsvY3H4Hw==} - dev: true - - /canvas-to-svg@1.0.3: - resolution: {integrity: sha512-qWQKPW0lRkOCClRmKtTzC5dNLtdOCzEOPYWASvW9ggkq4cRYL0o8RnC4fPc4tNE5WGm5YzJTGFztFG0JuCGXcQ==} - dev: false - - /case@1.6.3: - resolution: {integrity: sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ==} - engines: {node: '>= 0.8.0'} - dev: false - - /caseless@0.12.0: - resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==} - dev: false - - /chai@4.3.7: - resolution: {integrity: sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==} - engines: {node: '>=4'} - dependencies: - assertion-error: 1.1.0 - check-error: 1.0.2 - deep-eql: 4.1.3 - get-func-name: 2.0.0 - loupe: 2.3.6 - pathval: 1.1.1 - type-detect: 4.0.8 - - /chalk@2.4.2: - resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} - engines: {node: '>=4'} - dependencies: - ansi-styles: 3.2.1 - escape-string-regexp: 1.0.5 - supports-color: 5.5.0 - dev: true - - /chalk@4.1.2: - resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} - engines: {node: '>=10'} - dependencies: - ansi-styles: 4.3.0 - supports-color: 7.2.0 - dev: true - - /char-regex@1.0.2: - resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} - engines: {node: '>=10'} - dev: true - - /check-error@1.0.2: - resolution: {integrity: sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==} - - /chokidar@3.5.3: - resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} - engines: {node: '>= 8.10.0'} - dependencies: - anymatch: 3.1.3 - braces: 3.0.2 - glob-parent: 5.1.2 - is-binary-path: 2.1.0 - is-glob: 4.0.3 - normalize-path: 3.0.0 - readdirp: 3.6.0 - optionalDependencies: - fsevents: 2.3.2 - - /ci-info@3.8.0: - resolution: {integrity: sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw==} - engines: {node: '>=8'} - dev: true - - /cjs-module-lexer@1.2.2: - resolution: {integrity: sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA==} - dev: true - - /cliui@8.0.1: - resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} - engines: {node: '>=12'} - dependencies: - string-width: 4.2.3 - strip-ansi: 6.0.1 - wrap-ansi: 7.0.0 - dev: true - - /cm6-theme-basic-dark@0.2.0(@codemirror/language@6.6.0)(@codemirror/state@6.2.0)(@codemirror/view@6.11.0)(@lezer/highlight@1.1.4): - resolution: {integrity: sha512-+mNNJecRtxS/KkloMDCQF0oTrT6aFGRZTjnBcdT5UG1pcDO4Brq8l1+0KR/8dZ7hub2gOGOzoi3rGFD8GzlH7Q==} - peerDependencies: - '@codemirror/language': ^6.0.0 - '@codemirror/state': ^6.0.0 - '@codemirror/view': ^6.0.0 - '@lezer/highlight': ^1.0.0 - dependencies: - '@codemirror/language': 6.6.0 - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.11.0 - '@lezer/highlight': 1.1.4 - dev: false - - /cm6-theme-basic-dark@0.2.0(@codemirror/language@6.8.0)(@codemirror/state@6.2.1)(@codemirror/view@6.13.2)(@lezer/highlight@1.1.6): - resolution: {integrity: sha512-+mNNJecRtxS/KkloMDCQF0oTrT6aFGRZTjnBcdT5UG1pcDO4Brq8l1+0KR/8dZ7hub2gOGOzoi3rGFD8GzlH7Q==} - peerDependencies: - '@codemirror/language': ^6.0.0 - '@codemirror/state': ^6.0.0 - '@codemirror/view': ^6.0.0 - '@lezer/highlight': ^1.0.0 - dependencies: - '@codemirror/language': 6.8.0 - '@codemirror/state': 6.2.1 - '@codemirror/view': 6.13.2 - '@lezer/highlight': 1.1.6 - dev: false - - /cm6-theme-basic-light@0.2.0(@codemirror/language@6.6.0)(@codemirror/state@6.2.0)(@codemirror/view@6.11.0)(@lezer/highlight@1.1.4): - resolution: {integrity: sha512-1prg2gv44sYfpHscP26uLT/ePrh0mlmVwMSoSd3zYKQ92Ab3jPRLzyCnpyOCQLJbK+YdNs4HvMRqMNYdy4pMhA==} - peerDependencies: - '@codemirror/language': ^6.0.0 - '@codemirror/state': ^6.0.0 - '@codemirror/view': ^6.0.0 - '@lezer/highlight': ^1.0.0 - dependencies: - '@codemirror/language': 6.6.0 - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.11.0 - '@lezer/highlight': 1.1.4 - dev: false - - /cm6-theme-basic-light@0.2.0(@codemirror/language@6.8.0)(@codemirror/state@6.2.1)(@codemirror/view@6.13.2)(@lezer/highlight@1.1.6): - resolution: {integrity: sha512-1prg2gv44sYfpHscP26uLT/ePrh0mlmVwMSoSd3zYKQ92Ab3jPRLzyCnpyOCQLJbK+YdNs4HvMRqMNYdy4pMhA==} - peerDependencies: - '@codemirror/language': ^6.0.0 - '@codemirror/state': ^6.0.0 - '@codemirror/view': ^6.0.0 - '@lezer/highlight': ^1.0.0 - dependencies: - '@codemirror/language': 6.8.0 - '@codemirror/state': 6.2.1 - '@codemirror/view': 6.13.2 - '@lezer/highlight': 1.1.6 - dev: false - - /co@4.6.0: - resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} - engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} - dev: true - - /code-block-writer@11.0.3: - resolution: {integrity: sha512-NiujjUFB4SwScJq2bwbYUtXbZhBSlY6vYzm++3Q6oC+U+injTqfPYFK8wS9COOmb2lueqp0ZRB4nK1VYeHgNyw==} - dev: false - - /code-red@1.0.3: - resolution: {integrity: sha512-kVwJELqiILQyG5aeuyKFbdsI1fmQy1Cmf7dQ8eGmVuJoaRVdwey7WaMknr2ZFeVSYSKT0rExsa8EGw0aoI/1QQ==} - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - '@types/estree': 1.0.1 - acorn: 8.9.0 - estree-walker: 3.0.3 - periscopic: 3.1.0 - - /codemirror@6.0.1: - resolution: {integrity: sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==} - dependencies: - '@codemirror/autocomplete': 6.8.0(@codemirror/language@6.8.0)(@codemirror/state@6.2.1)(@codemirror/view@6.13.2) - '@codemirror/commands': 6.2.4 - '@codemirror/language': 6.8.0 - '@codemirror/lint': 6.2.2 - '@codemirror/search': 6.5.0 - '@codemirror/state': 6.2.1 - '@codemirror/view': 6.13.2 - dev: false - - /codemirror@6.0.1(@lezer/common@1.0.2): - resolution: {integrity: sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==} - dependencies: - '@codemirror/autocomplete': 6.6.1(@codemirror/language@6.6.0)(@codemirror/state@6.2.0)(@codemirror/view@6.11.0)(@lezer/common@1.0.2) - '@codemirror/commands': 6.2.4 - '@codemirror/language': 6.6.0 - '@codemirror/lint': 6.2.1 - '@codemirror/search': 6.4.0 - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.11.0 - transitivePeerDependencies: - - '@lezer/common' - dev: false - - /collect-v8-coverage@1.0.1: - resolution: {integrity: sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==} - dev: true - - /color-convert@1.9.3: - resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} - dependencies: - color-name: 1.1.3 - dev: true - - /color-convert@2.0.1: - resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} - engines: {node: '>=7.0.0'} - dependencies: - color-name: 1.1.4 - dev: true - - /color-name@1.1.3: - resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} - dev: true - - /color-name@1.1.4: - resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} - dev: true - - /colors@1.2.5: - resolution: {integrity: sha512-erNRLao/Y3Fv54qUa0LBB+//Uf3YwMUmdJinN20yMXm9zdKKqH9wt7R9IIVZ+K7ShzfpLV/Zg8+VyrBJYB4lpg==} - engines: {node: '>=0.1.90'} - dev: false - - /combined-stream@1.0.8: - resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} - engines: {node: '>= 0.8'} - dependencies: - delayed-stream: 1.0.0 - - /commander@2.20.3: - resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} - dev: false - - /commander@4.1.1: - resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} - engines: {node: '>= 6'} - - /commander@7.2.0: - resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==} - engines: {node: '>= 10'} - dev: false - - /commander@8.3.0: - resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==} - engines: {node: '>= 12'} - dev: true - - /commander@9.5.0: - resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==} - engines: {node: ^12.20.0 || >=14} - dev: false - - /compilerr@10.0.2: - resolution: {integrity: sha512-CFwUXxJ9OuWsSvnLSbefxi+GLsZ0YnuJh40ry5QdmZ1FWK59OG+QB8XSj6t7Kq+/c5DSS7en+cML6GlzHKH58A==} - engines: {node: '>=14.15.4'} - dependencies: - '@babel/runtime': 7.21.0 - dashify: 2.0.0 - indefinite-article: 0.0.2 - tslib: 2.5.1 - dev: false - - /compilerr@11.0.0: - resolution: {integrity: sha512-2GXSOmdKAL4g2CdJeUTs7Bi+s/UKfpuk0krk5JyzPvOUKdbGHE+mIlBIaGZX5Kv3BesxOEYazhBSiWlU5GIDtg==} - engines: {node: '>=16.1.0'} - dependencies: - '@babel/runtime': 7.21.0 - dashify: 2.0.0 - indefinite-article: 0.0.2 - tslib: 2.5.1 - dev: false - - /concat-map@0.0.1: - resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} - - /concat-stream@1.6.2: - resolution: {integrity: sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==} - engines: {'0': node >= 0.8} - dependencies: - buffer-from: 1.1.2 - inherits: 2.0.4 - readable-stream: 2.3.8 - typedarray: 0.0.6 - dev: false - - /concordance@5.0.4: - resolution: {integrity: sha512-OAcsnTEYu1ARJqWVGwf4zh4JDfHZEaSNlNccFmt8YjB2l/n19/PF2viLINHc57vO4FKIAFl2FWASIGZZWZ2Kxw==} - engines: {node: '>=10.18.0 <11 || >=12.14.0 <13 || >=14'} - dependencies: - date-time: 3.1.0 - esutils: 2.0.3 - fast-diff: 1.2.0 - js-string-escape: 1.0.1 - lodash: 4.17.21 - md5-hex: 3.0.1 - semver: 7.5.0 - well-known-symbols: 2.0.0 - dev: false - - /convert-source-map@1.9.0: - resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} - dev: true - - /convert-source-map@2.0.0: - resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} - dev: true - - /cookie@0.5.0: - resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==} - engines: {node: '>= 0.6'} - dev: true - - /core-util-is@1.0.2: - resolution: {integrity: sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==} - dev: false - - /core-util-is@1.0.3: - resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} - dev: false - - /crelt@1.0.5: - resolution: {integrity: sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA==} - dev: false - - /crelt@1.0.6: - resolution: {integrity: sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==} - dev: false - - /cropperjs@1.5.12: - resolution: {integrity: sha512-re7UdjE5UnwdrovyhNzZ6gathI4Rs3KGCBSc8HCIjUo5hO42CtzyblmWLj6QWVw7huHyDMfpKxhiO2II77nhDw==} - dev: false - - /cross-spawn@7.0.3: - resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} - engines: {node: '>= 8'} - dependencies: - path-key: 3.1.1 - shebang-command: 2.0.0 - which: 2.0.2 - dev: true - - /css-tree@2.3.1: - resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==} - engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} - dependencies: - mdn-data: 2.0.30 - source-map-js: 1.0.2 - - /css-vars-ponyfill@2.4.8: - resolution: {integrity: sha512-4/j4AX4htytYHWyHVZ2BFQ+NoCGZEcOH2h4/2mmgE4SkrFg4Xq6tGYR77DtvvUIDsaXuJN+sj41bbgauA0Gfmg==} - dependencies: - balanced-match: 1.0.2 - get-css-data: 2.1.0 - dev: false - - /css.escape@1.5.1: - resolution: {integrity: sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==} - dev: true - - /cssesc@3.0.0: - resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} - engines: {node: '>=4'} - hasBin: true - - /cssstyle@3.0.0: - resolution: {integrity: sha512-N4u2ABATi3Qplzf0hWbVCdjenim8F3ojEXpBDF5hBpjzW182MjNGLqfmQ0SkSPeQ+V86ZXgeH8aXj6kayd4jgg==} - engines: {node: '>=14'} - dependencies: - rrweb-cssom: 0.6.0 - dev: true - - /csv-generate@4.2.6: - resolution: {integrity: sha512-VtnYqhWLcsUocA346ewFOk+rrqcoT663j11vXzD2uelXq9WguQ3QzDeVD8ISso7hhVtkDSHcWl9psdemeiEHDA==} - dev: false - - /csv-parse@5.4.0: - resolution: {integrity: sha512-JiQosUWiOFgp4hQn0an+SBoV9IKdqzhROM0iiN4LB7UpfJBlsSJlWl9nq4zGgxgMAzHJ6V4t29VAVD+3+2NJAg==} - dev: false - - /csv-stringify@6.4.0: - resolution: {integrity: sha512-HQsw0QXiN5fdlO+R8/JzCZnR3Fqp8E87YVnhHlaPtNGJjt6ffbV0LpOkieIb1x6V1+xt878IYq77SpXHWAqKkA==} - dev: false - - /csv@6.3.1: - resolution: {integrity: sha512-ZTcWLvr0Ux0IQDz/QzhCToBVIZtF5GDrStMt9I8mRSk0jPnfF9OeYKz0EZTspaAEOK6hf515ag97nKmwoyU8ZA==} - engines: {node: '>= 0.1.90'} - dependencies: - csv-generate: 4.2.6 - csv-parse: 5.4.0 - csv-stringify: 6.4.0 - stream-transform: 3.2.6 - dev: false - - /d3-array@3.2.2: - resolution: {integrity: sha512-yEEyEAbDrF8C6Ob2myOBLjwBLck1Z89jMGFee0oPsn95GqjerpaOA4ch+vc2l0FNFFwMD5N7OCSEN5eAlsUbgQ==} - engines: {node: '>=12'} - dependencies: - internmap: 2.0.3 - dev: false - - /d3-array@3.2.3: - resolution: {integrity: sha512-JRHwbQQ84XuAESWhvIPaUV4/1UYTBOLiOPGWqgFDHZS1D5QN9c57FbH3QpEnQMYiOXNzKUQyGTZf+EVO7RT5TQ==} - engines: {node: '>=12'} - dependencies: - internmap: 2.0.3 - dev: false - - /d3-color@3.1.0: - resolution: {integrity: sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==} - engines: {node: '>=12'} - dev: false - - /d3-delaunay@6.0.4: - resolution: {integrity: sha512-mdjtIZ1XLAM8bm/hx3WwjfHt6Sggek7qH043O8KEjDXN40xi3vx/6pYSVTwLjEgiXQTbvaouWKynLBiUZ6SK6A==} - engines: {node: '>=12'} - dependencies: - delaunator: 5.0.0 - dev: false - - /d3-dispatch@3.0.1: - resolution: {integrity: sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==} - engines: {node: '>=12'} - dev: false - - /d3-dsv@0.1.14: - resolution: {integrity: sha512-GtPXlXg9uXYhizNtLf9TVQDmrs4/p728DtbEG+rnrjupgDFeKODqtd4OepPCthhIjsH96xajcpFxor3d0Mt2Tg==} - hasBin: true - dev: false - - /d3-dsv@3.0.1: - resolution: {integrity: sha512-UG6OvdI5afDIFP9w4G0mNq50dSOsXHJaRE8arAS5o9ApWnIElp8GZw1Dun8vP8OyHOZ/QJUKUJwxiiCCnUwm+Q==} - engines: {node: '>=12'} - hasBin: true - dependencies: - commander: 7.2.0 - iconv-lite: 0.6.3 - rw: 1.3.3 - dev: false - - /d3-force@3.0.0: - resolution: {integrity: sha512-zxV/SsA+U4yte8051P4ECydjD/S+qeYtnaIyAs9tgHCqfguma/aAQDjo85A9Z6EKhBirHRJHXIgJUlffT4wdLg==} - engines: {node: '>=12'} - dependencies: - d3-dispatch: 3.0.1 - d3-quadtree: 3.0.1 - d3-timer: 3.0.1 - dev: false - - /d3-format@0.4.2: - resolution: {integrity: sha512-lkWt9H70RX/o95aD3nc8crYALo2x069vyGSb8JGAF9A/g9W3UNf512yOTb5f+LF/sv9NWlkIameXVuL4adPYkQ==} - dev: false - - /d3-format@3.1.0: - resolution: {integrity: sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==} - engines: {node: '>=12'} - dev: false - - /d3-geo-projection@4.0.0: - resolution: {integrity: sha512-p0bK60CEzph1iqmnxut7d/1kyTmm3UWtPlwdkM31AU+LW+BXazd5zJdoCn7VFxNCHXRngPHRnsNn5uGjLRGndg==} - engines: {node: '>=12'} - hasBin: true - dependencies: - commander: 7.2.0 - d3-array: 3.2.3 - d3-geo: 3.1.0 - dev: false - - /d3-geo@3.1.0: - resolution: {integrity: sha512-JEo5HxXDdDYXCaWdwLRt79y7giK8SbhZJbFWXqbRTolCHFI5jRqteLzCsq51NKbUoX0PjBVSohxrx+NoOUujYA==} - engines: {node: '>=12'} - dependencies: - d3-array: 3.2.3 - dev: false - - /d3-hierarchy@3.1.2: - resolution: {integrity: sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==} - engines: {node: '>=12'} - dev: false - - /d3-interpolate@3.0.1: - resolution: {integrity: sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==} - engines: {node: '>=12'} - dependencies: - d3-color: 3.1.0 - dev: false - - /d3-path@3.1.0: - resolution: {integrity: sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==} - engines: {node: '>=12'} - dev: false - - /d3-quadtree@3.0.1: - resolution: {integrity: sha512-04xDrxQTDTCFwP5H6hRhsRcb9xxv2RzkcsygFzmkSIOJy3PeRJP7sNk3VRIbKXcog561P9oU0/rVH6vDROAgUw==} - engines: {node: '>=12'} - dev: false - - /d3-scale@4.0.2: - resolution: {integrity: sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==} - engines: {node: '>=12'} - dependencies: - d3-array: 3.2.3 - d3-format: 3.1.0 - d3-interpolate: 3.0.1 - d3-time: 3.1.0 - d3-time-format: 4.1.0 - dev: false - - /d3-shape@3.2.0: - resolution: {integrity: sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==} - engines: {node: '>=12'} - dependencies: - d3-path: 3.1.0 - dev: false - - /d3-time-format@0.2.1: - resolution: {integrity: sha512-o9JubPrATPxZ9PqMwerQel4X47q2Ts0dirYNQtkSe0uZbgRWbEJBcP3IIRbdv6BM5gxAucz9Ph4bJTa485nszw==} - dependencies: - d3-time: 0.1.1 - dev: false - - /d3-time-format@4.1.0: - resolution: {integrity: sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==} - engines: {node: '>=12'} - dependencies: - d3-time: 3.1.0 - dev: false - - /d3-time@0.1.1: - resolution: {integrity: sha512-aRZzw+adVtkM28p47fRe9hzUvLYtvb9EVtmCB2nu2wOgOxCraqmKvBrBkfeMvQoC7sVkChXbKmxYJL4dhb9/xA==} - dev: false - - /d3-time@3.1.0: - resolution: {integrity: sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==} - engines: {node: '>=12'} - dependencies: - d3-array: 3.2.3 - dev: false - - /d3-timer@3.0.1: - resolution: {integrity: sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==} - engines: {node: '>=12'} - dev: false - - /dashdash@1.14.1: - resolution: {integrity: sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==} - engines: {node: '>=0.10'} - dependencies: - assert-plus: 1.0.0 - dev: false - - /dashify@2.0.0: - resolution: {integrity: sha512-hpA5C/YrPjucXypHPPc0oJ1l9Hf6wWbiOL7Ik42cxnsUOhWiCB/fylKbKqqJalW9FgkNQCw16YO8uW9Hs0Iy1A==} - engines: {node: '>=4'} - dev: false - - /data-urls@4.0.0: - resolution: {integrity: sha512-/mMTei/JXPqvFqQtfyTowxmJVwr2PVAeCcDxyFf6LhoOu/09TX2OX3kb2wzi4DMXcfj4OItwDOnhl5oziPnT6g==} - engines: {node: '>=14'} - dependencies: - abab: 2.0.6 - whatwg-mimetype: 3.0.0 - whatwg-url: 12.0.1 - dev: true - - /datalib@1.9.3: - resolution: {integrity: sha512-9rcwGd3zhvmJChyLzL5jjZ6UEtWO0SKa9Ycy6RVoQxSW43TSOBRbizj/Zn8UonfpBjCikHEQrJyE72Xw5eCY5A==} - dependencies: - d3-dsv: 0.1.14 - d3-format: 0.4.2 - d3-time: 0.1.1 - d3-time-format: 0.2.1 - request: 2.88.2 - sync-request: 6.1.0 - topojson-client: 3.1.0 - dev: false - - /date-time@3.1.0: - resolution: {integrity: sha512-uqCUKXE5q1PNBXjPqvwhwJf9SwMoAHBgWJ6DcrnS5o+W2JOiIILl0JEdVD8SGujrNS02GGxgwAg2PN2zONgtjg==} - engines: {node: '>=6'} - dependencies: - time-zone: 1.0.0 - dev: false - - /debug@4.3.4: - resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} - engines: {node: '>=6.0'} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - dependencies: - ms: 2.1.2 - - /decimal.js@10.4.3: - resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} - dev: true - - /dedent@0.7.0: - resolution: {integrity: sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==} - dev: true - - /deep-eql@4.1.3: - resolution: {integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==} - engines: {node: '>=6'} - dependencies: - type-detect: 4.0.8 - - /deep-is@0.1.4: - resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} - dev: true - - /deepmerge@4.3.1: - resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} - engines: {node: '>=0.10.0'} - - /define-lazy-prop@2.0.0: - resolution: {integrity: sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==} - engines: {node: '>=8'} - dev: true - - /delaunator@5.0.0: - resolution: {integrity: sha512-AyLvtyJdbv/U1GkiS6gUUzclRoAY4Gs75qkMygJJhU75LW4DNuSF2RMzpxs9jw9Oz1BobHjTdkG3zdP55VxAqw==} - dependencies: - robust-predicates: 3.0.1 - dev: false - - /delayed-stream@1.0.0: - resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} - engines: {node: '>=0.4.0'} - - /dequal@2.0.2: - resolution: {integrity: sha512-q9K8BlJVxK7hQYqa6XISGmBZbtQQWVXSrRrWreHC94rMt1QL/Impruc+7p2CYSYuVIUr+YCt6hjrs1kkdJRTug==} - engines: {node: '>=6'} - dev: false - - /dequal@2.0.3: - resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} - engines: {node: '>=6'} - - /detect-indent@6.1.0: - resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} - engines: {node: '>=8'} - - /detect-newline@3.1.0: - resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} - engines: {node: '>=8'} - dev: true - - /devalue@4.3.0: - resolution: {integrity: sha512-n94yQo4LI3w7erwf84mhRUkUJfhLoCZiLyoOZ/QFsDbcWNZePrLwbQpvZBUG2TNxwV3VjCKPxkiiQA6pe3TrTA==} - dev: true - - /didyoumean@1.2.2: - resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} - - /diff-sequences@29.4.3: - resolution: {integrity: sha512-ofrBgwpPhCD85kMKtE9RYFFq6OC1A89oW2vvgWZNCwxrUpRUILopY7lsYyMDSjc8g6U6aiO0Qubg6r4Wgt5ZnA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dev: true - - /dir-glob@3.0.1: - resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} - engines: {node: '>=8'} - dependencies: - path-type: 4.0.0 - dev: true - - /dlv@1.1.3: - resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==} - - /doctrine@3.0.0: - resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} - engines: {node: '>=6.0.0'} - dependencies: - esutils: 2.0.3 - dev: true - - /dom7@4.0.6: - resolution: {integrity: sha512-emjdpPLhpNubapLFdjNL9tP06Sr+GZkrIHEXLWvOGsytACUrkbeIdjO5g77m00BrHTznnlcNqgmn7pCN192TBA==} - dependencies: - ssr-window: 4.0.2 - dev: false - - /domexception@4.0.0: - resolution: {integrity: sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==} - engines: {node: '>=12'} - dependencies: - webidl-conversions: 7.0.0 - dev: true - - /dompurify@3.0.3: - resolution: {integrity: sha512-axQ9zieHLnAnHh0sfAamKYiqXMJAVwu+LM/alQ7WDagoWessyWvMSFyW65CqF3owufNu8HBcE4cM2Vflu7YWcQ==} - dev: false - - /ecc-jsbn@0.1.2: - resolution: {integrity: sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==} - dependencies: - jsbn: 0.1.1 - safer-buffer: 2.1.2 - dev: false - - /electron-to-chromium@1.4.400: - resolution: {integrity: sha512-Lsvf7cvwbIxCfB8VqbnVtEsjGi3+48ejDiQZfWo5gkT+1vQ2DHQI5pl0nUvPD6z1IQk6JgFeMC5ZQJqVhalEHg==} - dev: true - - /electron-to-chromium@1.4.438: - resolution: {integrity: sha512-x94U0FhphEsHsOloCvlsujHCvoir0ZQ73ZAs/QN4PLx98uNvyEU79F75rq1db75Bx/atvuh7KPeuxelh+xfYJw==} - dev: true - - /emittery@0.13.1: - resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==} - engines: {node: '>=12'} - dev: true - - /emoji-regex@8.0.0: - resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - dev: true - - /entities@4.5.0: - resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} - engines: {node: '>=0.12'} - dev: true - - /error-ex@1.3.2: - resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} - dependencies: - is-arrayish: 0.2.1 - dev: true - - /es6-promise@3.3.1: - resolution: {integrity: sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==} - - /esbuild-android-64@0.14.54: - resolution: {integrity: sha512-Tz2++Aqqz0rJ7kYBfz+iqyE3QMycD4vk7LBRyWaAVFgFtQ/O8EJOnVmTOiDWYZ/uYzB4kvP+bqejYdVKzE5lAQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - /esbuild-android-arm64@0.14.54: - resolution: {integrity: sha512-F9E+/QDi9sSkLaClO8SOV6etqPd+5DgJje1F9lOWoNncDdOBL2YF59IhsWATSt0TLZbYCf3pNlTHvVV5VfHdvg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - /esbuild-darwin-64@0.14.54: - resolution: {integrity: sha512-jtdKWV3nBviOd5v4hOpkVmpxsBy90CGzebpbO9beiqUYVMBtSc0AL9zGftFuBon7PNDcdvNCEuQqw2x0wP9yug==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /esbuild-darwin-arm64@0.14.54: - resolution: {integrity: sha512-OPafJHD2oUPyvJMrsCvDGkRrVCar5aVyHfWGQzY1dWnzErjrDuSETxwA2HSsyg2jORLY8yBfzc1MIpUkXlctmw==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /esbuild-freebsd-64@0.14.54: - resolution: {integrity: sha512-OKwd4gmwHqOTp4mOGZKe/XUlbDJ4Q9TjX0hMPIDBUWWu/kwhBAudJdBoxnjNf9ocIB6GN6CPowYpR/hRCbSYAg==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - /esbuild-freebsd-arm64@0.14.54: - resolution: {integrity: sha512-sFwueGr7OvIFiQT6WeG0jRLjkjdqWWSrfbVwZp8iMP+8UHEHRBvlaxL6IuKNDwAozNUmbb8nIMXa7oAOARGs1Q==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-32@0.14.54: - resolution: {integrity: sha512-1ZuY+JDI//WmklKlBgJnglpUL1owm2OX+8E1syCD6UAxcMM/XoWd76OHSjl/0MR0LisSAXDqgjT3uJqT67O3qw==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-64@0.14.54: - resolution: {integrity: sha512-EgjAgH5HwTbtNsTqQOXWApBaPVdDn7XcK+/PtJwZLT1UmpLoznPd8c5CxqsH2dQK3j05YsB3L17T8vE7cp4cCg==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-arm64@0.14.54: - resolution: {integrity: sha512-WL71L+0Rwv+Gv/HTmxTEmpv0UgmxYa5ftZILVi2QmZBgX3q7+tDeOQNqGtdXSdsL8TQi1vIaVFHUPDe0O0kdig==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-arm@0.14.54: - resolution: {integrity: sha512-qqz/SjemQhVMTnvcLGoLOdFpCYbz4v4fUo+TfsWG+1aOu70/80RV6bgNpR2JCrppV2moUQkww+6bWxXRL9YMGw==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-mips64le@0.14.54: - resolution: {integrity: sha512-qTHGQB8D1etd0u1+sB6p0ikLKRVuCWhYQhAHRPkO+OF3I/iSlTKNNS0Lh2Oc0g0UFGguaFZZiPJdJey3AGpAlw==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-ppc64le@0.14.54: - resolution: {integrity: sha512-j3OMlzHiqwZBDPRCDFKcx595XVfOfOnv68Ax3U4UKZ3MTYQB5Yz3X1mn5GnodEVYzhtZgxEBidLWeIs8FDSfrQ==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-riscv64@0.14.54: - resolution: {integrity: sha512-y7Vt7Wl9dkOGZjxQZnDAqqn+XOqFD7IMWiewY5SPlNlzMX39ocPQlOaoxvT4FllA5viyV26/QzHtvTjVNOxHZg==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-s390x@0.14.54: - resolution: {integrity: sha512-zaHpW9dziAsi7lRcyV4r8dhfG1qBidQWUXweUjnw+lliChJqQr+6XD71K41oEIC3Mx1KStovEmlzm+MkGZHnHA==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-netbsd-64@0.14.54: - resolution: {integrity: sha512-PR01lmIMnfJTgeU9VJTDY9ZerDWVFIUzAtJuDHwwceppW7cQWjBBqP48NdeRtoP04/AtO9a7w3viI+PIDr6d+w==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - /esbuild-openbsd-64@0.14.54: - resolution: {integrity: sha512-Qyk7ikT2o7Wu76UsvvDS5q0amJvmRzDyVlL0qf5VLsLchjCa1+IAvd8kTBgUxD7VBUUVgItLkk609ZHUc1oCaw==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - /esbuild-sunos-64@0.14.54: - resolution: {integrity: sha512-28GZ24KmMSeKi5ueWzMcco6EBHStL3B6ubM7M51RmPwXQGLe0teBGJocmWhgwccA1GeFXqxzILIxXpHbl9Q/Kw==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - /esbuild-windows-32@0.14.54: - resolution: {integrity: sha512-T+rdZW19ql9MjS7pixmZYVObd9G7kcaZo+sETqNH4RCkuuYSuv9AGHUVnPoP9hhuE1WM1ZimHz1CIBHBboLU7w==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /esbuild-windows-64@0.14.54: - resolution: {integrity: sha512-AoHTRBUuYwXtZhjXZbA1pGfTo8cJo3vZIcWGLiUcTNgHpJJMC1rVA44ZereBHMJtotyN71S8Qw0npiCIkW96cQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /esbuild-windows-arm64@0.14.54: - resolution: {integrity: sha512-M0kuUvXhot1zOISQGXwWn6YtS+Y/1RT9WrVIOywZnJHo3jCDyewAc79aKNQWFCQm+xNHVTq9h8dZKvygoXQQRg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /esbuild@0.14.54: - resolution: {integrity: sha512-Cy9llcy8DvET5uznocPyqL3BFRrFXSVqbgpMJ9Wz8oVjZlh/zUSNbPRbov0VX7VxN2JH1Oa0uNxZ7eLRb62pJA==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/linux-loong64': 0.14.54 - esbuild-android-64: 0.14.54 - esbuild-android-arm64: 0.14.54 - esbuild-darwin-64: 0.14.54 - esbuild-darwin-arm64: 0.14.54 - esbuild-freebsd-64: 0.14.54 - esbuild-freebsd-arm64: 0.14.54 - esbuild-linux-32: 0.14.54 - esbuild-linux-64: 0.14.54 - esbuild-linux-arm: 0.14.54 - esbuild-linux-arm64: 0.14.54 - esbuild-linux-mips64le: 0.14.54 - esbuild-linux-ppc64le: 0.14.54 - esbuild-linux-riscv64: 0.14.54 - esbuild-linux-s390x: 0.14.54 - esbuild-netbsd-64: 0.14.54 - esbuild-openbsd-64: 0.14.54 - esbuild-sunos-64: 0.14.54 - esbuild-windows-32: 0.14.54 - esbuild-windows-64: 0.14.54 - esbuild-windows-arm64: 0.14.54 - dev: true - - /esbuild@0.17.18: - resolution: {integrity: sha512-z1lix43jBs6UKjcZVKOw2xx69ffE2aG0PygLL5qJ9OS/gy0Ewd1gW/PUQIOIQGXBHWNywSc0floSKoMFF8aK2w==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/android-arm': 0.17.18 - '@esbuild/android-arm64': 0.17.18 - '@esbuild/android-x64': 0.17.18 - '@esbuild/darwin-arm64': 0.17.18 - '@esbuild/darwin-x64': 0.17.18 - '@esbuild/freebsd-arm64': 0.17.18 - '@esbuild/freebsd-x64': 0.17.18 - '@esbuild/linux-arm': 0.17.18 - '@esbuild/linux-arm64': 0.17.18 - '@esbuild/linux-ia32': 0.17.18 - '@esbuild/linux-loong64': 0.17.18 - '@esbuild/linux-mips64el': 0.17.18 - '@esbuild/linux-ppc64': 0.17.18 - '@esbuild/linux-riscv64': 0.17.18 - '@esbuild/linux-s390x': 0.17.18 - '@esbuild/linux-x64': 0.17.18 - '@esbuild/netbsd-x64': 0.17.18 - '@esbuild/openbsd-x64': 0.17.18 - '@esbuild/sunos-x64': 0.17.18 - '@esbuild/win32-arm64': 0.17.18 - '@esbuild/win32-ia32': 0.17.18 - '@esbuild/win32-x64': 0.17.18 - - /esbuild@0.17.19: - resolution: {integrity: sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/android-arm': 0.17.19 - '@esbuild/android-arm64': 0.17.19 - '@esbuild/android-x64': 0.17.19 - '@esbuild/darwin-arm64': 0.17.19 - '@esbuild/darwin-x64': 0.17.19 - '@esbuild/freebsd-arm64': 0.17.19 - '@esbuild/freebsd-x64': 0.17.19 - '@esbuild/linux-arm': 0.17.19 - '@esbuild/linux-arm64': 0.17.19 - '@esbuild/linux-ia32': 0.17.19 - '@esbuild/linux-loong64': 0.17.19 - '@esbuild/linux-mips64el': 0.17.19 - '@esbuild/linux-ppc64': 0.17.19 - '@esbuild/linux-riscv64': 0.17.19 - '@esbuild/linux-s390x': 0.17.19 - '@esbuild/linux-x64': 0.17.19 - '@esbuild/netbsd-x64': 0.17.19 - '@esbuild/openbsd-x64': 0.17.19 - '@esbuild/sunos-x64': 0.17.19 - '@esbuild/win32-arm64': 0.17.19 - '@esbuild/win32-ia32': 0.17.19 - '@esbuild/win32-x64': 0.17.19 - - /escalade@3.1.1: - resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} - engines: {node: '>=6'} - dev: true - - /escape-string-regexp@1.0.5: - resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} - engines: {node: '>=0.8.0'} - dev: true - - /escape-string-regexp@2.0.0: - resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==} - engines: {node: '>=8'} - dev: true - - /escape-string-regexp@4.0.0: - resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} - engines: {node: '>=10'} - dev: true - - /eslint-config-prettier@8.8.0(eslint@8.43.0): - resolution: {integrity: sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==} - hasBin: true - peerDependencies: - eslint: '>=7.0.0' - dependencies: - eslint: 8.43.0 - dev: true - - /eslint-plugin-jest@27.2.1(eslint@8.37.0)(jest@29.5.0)(typescript@5.0.3): - resolution: {integrity: sha512-l067Uxx7ZT8cO9NJuf+eJHvt6bqJyz2Z29wykyEdz/OtmcELQl2MQGQLX8J94O1cSJWAwUSEvCjwjA7KEK3Hmg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - '@typescript-eslint/eslint-plugin': ^5.0.0 - eslint: ^7.0.0 || ^8.0.0 - jest: '*' - peerDependenciesMeta: - '@typescript-eslint/eslint-plugin': - optional: true - jest: - optional: true - dependencies: - '@typescript-eslint/utils': 5.59.1(eslint@8.37.0)(typescript@5.0.3) - eslint: 8.37.0 - jest: 29.5.0 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - - /eslint-plugin-svelte3@4.0.0(eslint@8.43.0)(svelte@4.0.0): - resolution: {integrity: sha512-OIx9lgaNzD02+MDFNLw0GEUbuovNcglg+wnd/UY0fbZmlQSz7GlQiQ1f+yX0XvC07XPcDOnFcichqI3xCwp71g==} - peerDependencies: - eslint: '>=8.0.0' - svelte: ^3.2.0 - dependencies: - eslint: 8.43.0 - svelte: 4.0.0 - dev: true - - /eslint-scope@5.1.1: - resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} - engines: {node: '>=8.0.0'} - dependencies: - esrecurse: 4.3.0 - estraverse: 4.3.0 - dev: true - - /eslint-scope@7.2.0: - resolution: {integrity: sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - esrecurse: 4.3.0 - estraverse: 5.3.0 - dev: true - - /eslint-visitor-keys@3.4.0: - resolution: {integrity: sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: true - - /eslint-visitor-keys@3.4.1: - resolution: {integrity: sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: true - - /eslint@8.37.0: - resolution: {integrity: sha512-NU3Ps9nI05GUoVMxcZx1J8CNR6xOvUT4jAUMH5+z8lpp3aEdPVCImKw6PWG4PY+Vfkpr+jvMpxs/qoE7wq0sPw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - hasBin: true - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.37.0) - '@eslint-community/regexpp': 4.5.0 - '@eslint/eslintrc': 2.0.2 - '@eslint/js': 8.37.0 - '@humanwhocodes/config-array': 0.11.8 - '@humanwhocodes/module-importer': 1.0.1 - '@nodelib/fs.walk': 1.2.8 - ajv: 6.12.6 - chalk: 4.1.2 - cross-spawn: 7.0.3 - debug: 4.3.4 - doctrine: 3.0.0 - escape-string-regexp: 4.0.0 - eslint-scope: 7.2.0 - eslint-visitor-keys: 3.4.0 - espree: 9.5.1 - esquery: 1.5.0 - esutils: 2.0.3 - fast-deep-equal: 3.1.3 - file-entry-cache: 6.0.1 - find-up: 5.0.0 - glob-parent: 6.0.2 - globals: 13.20.0 - grapheme-splitter: 1.0.4 - ignore: 5.2.4 - import-fresh: 3.3.0 - imurmurhash: 0.1.4 - is-glob: 4.0.3 - is-path-inside: 3.0.3 - js-sdsl: 4.4.0 - js-yaml: 4.1.0 - json-stable-stringify-without-jsonify: 1.0.1 - levn: 0.4.1 - lodash.merge: 4.6.2 - minimatch: 3.1.2 - natural-compare: 1.4.0 - optionator: 0.9.1 - strip-ansi: 6.0.1 - strip-json-comments: 3.1.1 - text-table: 0.2.0 - transitivePeerDependencies: - - supports-color - dev: true - - /eslint@8.43.0: - resolution: {integrity: sha512-aaCpf2JqqKesMFGgmRPessmVKjcGXqdlAYLLC3THM8t5nBRZRQ+st5WM/hoJXkdioEXLLbXgclUpM0TXo5HX5Q==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - hasBin: true - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.43.0) - '@eslint-community/regexpp': 4.5.1 - '@eslint/eslintrc': 2.0.3 - '@eslint/js': 8.43.0 - '@humanwhocodes/config-array': 0.11.10 - '@humanwhocodes/module-importer': 1.0.1 - '@nodelib/fs.walk': 1.2.8 - ajv: 6.12.6 - chalk: 4.1.2 - cross-spawn: 7.0.3 - debug: 4.3.4 - doctrine: 3.0.0 - escape-string-regexp: 4.0.0 - eslint-scope: 7.2.0 - eslint-visitor-keys: 3.4.1 - espree: 9.5.2 - esquery: 1.5.0 - esutils: 2.0.3 - fast-deep-equal: 3.1.3 - file-entry-cache: 6.0.1 - find-up: 5.0.0 - glob-parent: 6.0.2 - globals: 13.20.0 - graphemer: 1.4.0 - ignore: 5.2.4 - import-fresh: 3.3.0 - imurmurhash: 0.1.4 - is-glob: 4.0.3 - is-path-inside: 3.0.3 - js-yaml: 4.1.0 - json-stable-stringify-without-jsonify: 1.0.1 - levn: 0.4.1 - lodash.merge: 4.6.2 - minimatch: 3.1.2 - natural-compare: 1.4.0 - optionator: 0.9.1 - strip-ansi: 6.0.1 - strip-json-comments: 3.1.1 - text-table: 0.2.0 - transitivePeerDependencies: - - supports-color - dev: true - - /esm-env-robust@0.0.3: - resolution: {integrity: sha512-90Gnuw2DALOqlL1581VxP3GHPUNHX9U+fQ+8FNcTTFClhY5gEggAAnJ3q1b2Oq23knRsjv8YpNeMRPaMLUymOA==} - dependencies: - esm-env: 1.0.0 - dev: false - - /esm-env@1.0.0: - resolution: {integrity: sha512-Cf6VksWPsTuW01vU9Mk/3vRue91Zevka5SjyNf3nEpokFRuqt/KjUQoGAwq9qMmhpLTHmXzSIrFRw8zxWzmFBA==} - - /espree@9.5.1: - resolution: {integrity: sha512-5yxtHSZXRSW5pvv3hAlXM5+/Oswi1AUFqBmbibKb5s6bp3rGIDkyXU6xCoyuuLhijr4SFwPrXRoZjz0AZDN9tg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - acorn: 8.8.2 - acorn-jsx: 5.3.2(acorn@8.8.2) - eslint-visitor-keys: 3.4.0 - dev: true - - /espree@9.5.2: - resolution: {integrity: sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - acorn: 8.9.0 - acorn-jsx: 5.3.2(acorn@8.9.0) - eslint-visitor-keys: 3.4.1 - dev: true - - /esprima@4.0.1: - resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} - engines: {node: '>=4'} - hasBin: true - dev: true - - /esquery@1.5.0: - resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} - engines: {node: '>=0.10'} - dependencies: - estraverse: 5.3.0 - dev: true - - /esrecurse@4.3.0: - resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} - engines: {node: '>=4.0'} - dependencies: - estraverse: 5.3.0 - dev: true - - /estraverse@4.3.0: - resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} - engines: {node: '>=4.0'} - dev: true - - /estraverse@5.3.0: - resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} - engines: {node: '>=4.0'} - dev: true - - /estree-walker@2.0.2: - resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} - - /estree-walker@3.0.3: - resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} - dependencies: - '@types/estree': 1.0.1 - - /esutils@2.0.3: - resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} - engines: {node: '>=0.10.0'} - - /events@3.3.0: - resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} - engines: {node: '>=0.8.x'} - dev: false - - /execa@5.1.1: - resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} - engines: {node: '>=10'} - dependencies: - cross-spawn: 7.0.3 - get-stream: 6.0.1 - human-signals: 2.1.0 - is-stream: 2.0.1 - merge-stream: 2.0.0 - npm-run-path: 4.0.1 - onetime: 5.1.2 - signal-exit: 3.0.7 - strip-final-newline: 2.0.0 - dev: true - - /exit@0.1.2: - resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==} - engines: {node: '>= 0.8.0'} - dev: true - - /expect@29.5.0: - resolution: {integrity: sha512-yM7xqUrCO2JdpFo4XpM82t+PJBFybdqoQuJLDGeDX2ij8NZzqRHyu3Hp188/JX7SWqud+7t4MUdvcgGBICMHZg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/expect-utils': 29.5.0 - jest-get-type: 29.4.3 - jest-matcher-utils: 29.5.0 - jest-message-util: 29.5.0 - jest-util: 29.5.0 - dev: true - - /extend@3.0.2: - resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} - dev: false - - /extendable-media-recorder-wav-encoder-broker@7.0.78: - resolution: {integrity: sha512-kqUe1J9ulXgcUeKhZ7ofXPTxZxTT/wwBj6FMbMy4HupE3sL3DQp5pcuRRUxlloXUN0gFfsX8YtFch19KlQCxdQ==} - dependencies: - '@babel/runtime': 7.21.0 - broker-factory: 3.0.76 - extendable-media-recorder-wav-encoder-worker: 8.0.77 - tslib: 2.5.1 - dev: false - - /extendable-media-recorder-wav-encoder-worker@8.0.77: - resolution: {integrity: sha512-9g9Q7fhOxPY7RALHVTK9Wjnc8RPYjJ9XCBP1TaNtDraIAFxvhBRax9QUOmFqHM2MvRM6hQhNav7jn23yy6tcVQ==} - dependencies: - '@babel/runtime': 7.21.0 - tslib: 2.5.1 - worker-factory: 7.0.0 - dev: false - - /extendable-media-recorder-wav-encoder@7.0.76: - resolution: {integrity: sha512-HLeyR9R0mUPOo7zG3d3GRWltNaSYUjyUZGQ8amRjuQVkZFXszmOIAAUVBq3fou0Z3V1mAEo+mXnCqbEfYtgZXQ==} - dependencies: - '@babel/runtime': 7.21.0 - extendable-media-recorder-wav-encoder-broker: 7.0.78 - extendable-media-recorder-wav-encoder-worker: 8.0.77 - tslib: 2.5.0 - dev: false - - /extendable-media-recorder@7.0.2: - resolution: {integrity: sha512-rZAvRaAJgMyQUMWMrgSB1U1o9nNXaguVAwNVOnt396tRlfZtBbHxraygqjPQXNs6kb1H4XcG/RLTn+hfZJx2Xg==} - dependencies: - '@babel/runtime': 7.21.0 - media-encoder-host: 8.0.89 - multi-buffer-data-view: 3.0.24 - recorder-audio-worklet: 5.1.39 - standardized-audio-context: 25.3.45 - subscribable-things: 2.1.14 - tslib: 2.5.0 - dev: false - - /extsprintf@1.3.0: - resolution: {integrity: sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==} - engines: {'0': node >=0.6.0} - dev: false - - /fast-deep-equal@3.1.3: - resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} - - /fast-diff@1.2.0: - resolution: {integrity: sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==} - dev: false - - /fast-glob@3.2.12: - resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==} - engines: {node: '>=8.6.0'} - dependencies: - '@nodelib/fs.stat': 2.0.5 - '@nodelib/fs.walk': 1.2.8 - glob-parent: 5.1.2 - merge2: 1.4.1 - micromatch: 4.0.5 - - /fast-json-patch@3.1.1: - resolution: {integrity: sha512-vf6IHUX2SBcA+5/+4883dsIjpBTqmfBjmYiWK1savxQmFk4JfBMLa7ynTYOs1Rolp/T1betJxHiGD3g1Mn8lUQ==} - dev: false - - /fast-json-stable-stringify@2.1.0: - resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} - - /fast-levenshtein@2.0.6: - resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} - dev: true - - /fast-unique-numbers@7.0.2: - resolution: {integrity: sha512-xnqpsnu889bHbq5cbDMwCJ2BPf6kjFPMu+RHfqKvisRxeEbTOVxY5aW/ZNsZ/r8OlwatxmjdFEVQog2xAhLkvg==} - engines: {node: '>=14.15.4'} - dependencies: - '@babel/runtime': 7.21.0 - tslib: 2.5.1 - dev: false - - /fast-unique-numbers@8.0.0: - resolution: {integrity: sha512-okNyVf1JPLcyqziVls/CHOXS+tmoF0m4HGWz3kCuBEeEXCc5H1dGwEHC2bUV+TC+cI7oiNQ+gAHfYpcXyh8Djg==} - engines: {node: '>=16.1.0'} - dependencies: - '@babel/runtime': 7.21.0 - tslib: 2.5.1 - dev: false - - /fastq@1.15.0: - resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} - dependencies: - reusify: 1.0.4 - - /fb-watchman@2.0.2: - resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} - dependencies: - bser: 2.1.1 - dev: true - - /file-entry-cache@6.0.1: - resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} - engines: {node: ^10.12.0 || >=12.0.0} - dependencies: - flat-cache: 3.0.4 - dev: true - - /fill-range@7.0.1: - resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} - engines: {node: '>=8'} - dependencies: - to-regex-range: 5.0.1 - - /find-up@4.1.0: - resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} - engines: {node: '>=8'} - dependencies: - locate-path: 5.0.0 - path-exists: 4.0.0 - dev: true - - /find-up@5.0.0: - resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} - engines: {node: '>=10'} - dependencies: - locate-path: 6.0.0 - path-exists: 4.0.0 - dev: true - - /flat-cache@3.0.4: - resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==} - engines: {node: ^10.12.0 || >=12.0.0} - dependencies: - flatted: 3.2.7 - rimraf: 3.0.2 - dev: true - - /flatted@3.2.7: - resolution: {integrity: sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==} - dev: true - - /forever-agent@0.6.1: - resolution: {integrity: sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==} - dev: false - - /form-data@2.3.3: - resolution: {integrity: sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==} - engines: {node: '>= 0.12'} - dependencies: - asynckit: 0.4.0 - combined-stream: 1.0.8 - mime-types: 2.1.34 - dev: false - - /form-data@2.5.1: - resolution: {integrity: sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==} - engines: {node: '>= 0.12'} - dependencies: - asynckit: 0.4.0 - combined-stream: 1.0.8 - mime-types: 2.1.34 - dev: false - - /form-data@4.0.0: - resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} - engines: {node: '>= 6'} - dependencies: - asynckit: 0.4.0 - combined-stream: 1.0.8 - mime-types: 2.1.35 - dev: true - - /fraction.js@4.2.0: - resolution: {integrity: sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==} - dev: true - - /framework7-svelte@8.1.0: - resolution: {integrity: sha512-dsMq1TJ8OygOOEc0qwreHVoez1N3Gbeewp7EUE/itkHUyKo4vC92NrQ3xlcHBFPUUp9xMUx94Al6saOxRk8p1A==} - dev: false - - /framework7@8.1.0: - resolution: {integrity: sha512-e/ZYZTVXPbIjOdCUKxe2Mvj44m+iiXmNo9gGaZfZgUMyRtVzSmIGlmHMMa2DBMSQVbzQxYA6YZ/1ZT0c/mPtiA==} - dependencies: - dom7: 4.0.6 - htm: 3.1.1 - path-to-regexp: 6.2.1 - skeleton-elements: 4.0.1 - ssr-window: 4.0.2 - swiper: 9.4.1 - dev: false - - /fs-extra@10.1.0: - resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==} - engines: {node: '>=12'} - dependencies: - graceful-fs: 4.2.11 - jsonfile: 6.1.0 - universalify: 2.0.0 - dev: false - - /fs-extra@11.1.1: - resolution: {integrity: sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==} - engines: {node: '>=14.14'} - dependencies: - graceful-fs: 4.2.11 - jsonfile: 6.1.0 - universalify: 2.0.0 - dev: true - - /fs-extra@7.0.1: - resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} - engines: {node: '>=6 <7 || >=8'} - dependencies: - graceful-fs: 4.2.11 - jsonfile: 4.0.0 - universalify: 0.1.2 - dev: false - - /fs.realpath@1.0.0: - resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} - - /fsevents@2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - optional: true - - /function-bind@1.1.1: - resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} - - /gensync@1.0.0-beta.2: - resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} - engines: {node: '>=6.9.0'} - dev: true - - /get-caller-file@2.0.5: - resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} - engines: {node: 6.* || 8.* || >= 10.*} - dev: true - - /get-css-data@2.1.0: - resolution: {integrity: sha512-HtPrzGk8aBF9rLeQNuImcXci7YVqsMEKzVflEWaCJu25ehxyDNiZRWoSxqSFUBfma8LERqKo70t/TcaGjIsM9g==} - dev: false - - /get-func-name@2.0.0: - resolution: {integrity: sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==} - - /get-intrinsic@1.2.0: - resolution: {integrity: sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==} - dependencies: - function-bind: 1.1.1 - has: 1.0.3 - has-symbols: 1.0.3 - dev: false - - /get-package-type@0.1.0: - resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==} - engines: {node: '>=8.0.0'} - dev: true - - /get-port@3.2.0: - resolution: {integrity: sha512-x5UJKlgeUiNT8nyo/AcnwLnZuZNcSjSw0kogRB+Whd1fjjFq4B1hySFxSFWWSn4mIBzg3sRNUDFYc4g5gjPoLg==} - engines: {node: '>=4'} - dev: false - - /get-stream@6.0.1: - resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} - engines: {node: '>=10'} - dev: true - - /getpass@0.1.7: - resolution: {integrity: sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==} - dependencies: - assert-plus: 1.0.0 - dev: false - - /glob-parent@5.1.2: - resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} - engines: {node: '>= 6'} - dependencies: - is-glob: 4.0.3 - - /glob-parent@6.0.2: - resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} - engines: {node: '>=10.13.0'} - dependencies: - is-glob: 4.0.3 - - /glob@7.1.6: - resolution: {integrity: sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==} - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.1.2 - once: 1.4.0 - path-is-absolute: 1.0.1 - - /glob@7.2.3: - resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.1.2 - once: 1.4.0 - path-is-absolute: 1.0.1 - - /globals@11.12.0: - resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} - engines: {node: '>=4'} - dev: true - - /globals@13.20.0: - resolution: {integrity: sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==} - engines: {node: '>=8'} - dependencies: - type-fest: 0.20.2 - dev: true - - /globalyzer@0.1.0: - resolution: {integrity: sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==} - dev: true - - /globby@11.1.0: - resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} - engines: {node: '>=10'} - dependencies: - array-union: 2.1.0 - dir-glob: 3.0.1 - fast-glob: 3.2.12 - ignore: 5.2.4 - merge2: 1.4.1 - slash: 3.0.0 - dev: true - - /globrex@0.1.2: - resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==} - dev: true - - /graceful-fs@4.2.11: - resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - - /grapheme-splitter@1.0.4: - resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} - dev: true - - /graphemer@1.4.0: - resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} - dev: true - - /happy-dom@9.20.3: - resolution: {integrity: sha512-eBsgauT435fXFvQDNcmm5QbGtYzxEzOaX35Ia+h6yP/wwa4xSWZh1CfP+mGby8Hk6Xu59mTkpyf72rUXHNxY7A==} - dependencies: - css.escape: 1.5.1 - entities: 4.5.0 - iconv-lite: 0.6.3 - webidl-conversions: 7.0.0 - whatwg-encoding: 2.0.0 - whatwg-mimetype: 3.0.0 - dev: true - - /har-schema@2.0.0: - resolution: {integrity: sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==} - engines: {node: '>=4'} - dev: false - - /har-validator@5.1.5: - resolution: {integrity: sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==} - engines: {node: '>=6'} - deprecated: this library is no longer supported - dependencies: - ajv: 6.12.6 - har-schema: 2.0.0 - dev: false - - /has-flag@3.0.0: - resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} - engines: {node: '>=4'} - dev: true - - /has-flag@4.0.0: - resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} - engines: {node: '>=8'} - dev: true - - /has-symbols@1.0.3: - resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} - engines: {node: '>= 0.4'} - dev: false - - /has@1.0.3: - resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} - engines: {node: '>= 0.4.0'} - dependencies: - function-bind: 1.1.1 - - /htm@3.1.1: - resolution: {integrity: sha512-983Vyg8NwUE7JkZ6NmOqpCZ+sh1bKv2iYTlUkzlWmA5JD2acKoxd4KVxbMmxX/85mtfdnDmTFoNKcg5DGAvxNQ==} - dev: false - - /html-encoding-sniffer@3.0.0: - resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==} - engines: {node: '>=12'} - dependencies: - whatwg-encoding: 2.0.0 - dev: true - - /html-escaper@2.0.2: - resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} - dev: true - - /http-basic@8.1.3: - resolution: {integrity: sha512-/EcDMwJZh3mABI2NhGfHOGOeOZITqfkEO4p/xK+l3NpyncIHUQBoMvCSF/b5GqvKtySC2srL/GGG3+EtlqlmCw==} - engines: {node: '>=6.0.0'} - dependencies: - caseless: 0.12.0 - concat-stream: 1.6.2 - http-response-object: 3.0.2 - parse-cache-control: 1.0.1 - dev: false - - /http-proxy-agent@5.0.0: - resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} - engines: {node: '>= 6'} - dependencies: - '@tootallnate/once': 2.0.0 - agent-base: 6.0.2 - debug: 4.3.4 - transitivePeerDependencies: - - supports-color - dev: true - - /http-response-object@3.0.2: - resolution: {integrity: sha512-bqX0XTF6fnXSQcEJ2Iuyr75yVakyjIDCqroJQ/aHfSdlM743Cwqoi2nDYMzLGWUcuTWGWy8AAvOKXTfiv6q9RA==} - dependencies: - '@types/node': 10.17.60 - dev: false - - /http-signature@1.2.0: - resolution: {integrity: sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==} - engines: {node: '>=0.8', npm: '>=1.3.7'} - dependencies: - assert-plus: 1.0.0 - jsprim: 1.4.2 - sshpk: 1.17.0 - dev: false - - /https-proxy-agent@5.0.1: - resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} - engines: {node: '>= 6'} - dependencies: - agent-base: 6.0.2 - debug: 4.3.4 - transitivePeerDependencies: - - supports-color - dev: true - - /human-signals@2.1.0: - resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} - engines: {node: '>=10.17.0'} - dev: true - - /iconv-lite@0.6.3: - resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} - engines: {node: '>=0.10.0'} - dependencies: - safer-buffer: 2.1.2 - - /ignore@5.2.4: - resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} - engines: {node: '>= 4'} - dev: true - - /img-comparison-slider@8.0.0: - resolution: {integrity: sha512-ZOKkdN/+W/U/2LFEwrZuxRVbIwQK1GyEKhTETfsy55/bmBoNfM81MnQsc1j81Q50dkwTKjuecicsnp3O7lBRqQ==} - dev: false - - /immutable@4.3.0: - resolution: {integrity: sha512-0AOCmOip+xgJwEVTQj1EfiDDOkPmuyllDuTuEX+DDXUgapLAsBIfkg3sxCYyCEA8mQqZrrxPUGjcOQ2JS3WLkg==} - - /import-fresh@3.3.0: - resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} - engines: {node: '>=6'} - dependencies: - parent-module: 1.0.1 - resolve-from: 4.0.0 - dev: true - - /import-lazy@4.0.0: - resolution: {integrity: sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==} - engines: {node: '>=8'} - dev: false - - /import-local@3.1.0: - resolution: {integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==} - engines: {node: '>=8'} - hasBin: true - dependencies: - pkg-dir: 4.2.0 - resolve-cwd: 3.0.0 - dev: true - - /import-meta-resolve@2.2.2: - resolution: {integrity: sha512-f8KcQ1D80V7RnqVm+/lirO9zkOxjGxhaTC1IPrBGd3MEfNgmNG67tSUO9gTi2F3Blr2Az6g1vocaxzkVnWl9MA==} - dev: true - - /imurmurhash@0.1.4: - resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} - engines: {node: '>=0.8.19'} - dev: true - - /indefinite-article@0.0.2: - resolution: {integrity: sha512-Au/2XzRkvxq2J6w5uvSSbBKPZ5kzINx5F2wb0SF8xpRL8BP9Lav81TnRbfPp6p+SYjYxwaaLn4EUwI3/MmYKSw==} - dev: false - - /inflight@1.0.6: - resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} - dependencies: - once: 1.4.0 - wrappy: 1.0.2 - - /inherits@2.0.4: - resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} - - /internmap@2.0.3: - resolution: {integrity: sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==} - engines: {node: '>=12'} - dev: false - - /is-arrayish@0.2.1: - resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} - dev: true - - /is-binary-path@2.1.0: - resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} - engines: {node: '>=8'} - dependencies: - binary-extensions: 2.2.0 - - /is-core-module@2.12.0: - resolution: {integrity: sha512-RECHCBCd/viahWmwj6enj19sKbHfJrddi/6cBDsNTKbNq0f7VeaUkBo60BqzvPqo/W54ChS62Z5qyun7cfOMqQ==} - dependencies: - has: 1.0.3 - dev: false - - /is-core-module@2.12.1: - resolution: {integrity: sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==} - dependencies: - has: 1.0.3 - - /is-docker@2.2.1: - resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} - engines: {node: '>=8'} - hasBin: true - dev: true - - /is-extglob@2.1.1: - resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} - engines: {node: '>=0.10.0'} - - /is-fullwidth-code-point@3.0.0: - resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} - engines: {node: '>=8'} - dev: true - - /is-generator-fn@2.1.0: - resolution: {integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==} - engines: {node: '>=6'} - dev: true - - /is-glob@4.0.3: - resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} - engines: {node: '>=0.10.0'} - dependencies: - is-extglob: 2.1.1 - - /is-number@7.0.0: - resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} - engines: {node: '>=0.12.0'} - - /is-path-inside@3.0.3: - resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} - engines: {node: '>=8'} - dev: true - - /is-potential-custom-element-name@1.0.1: - resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} - dev: true - - /is-reference@3.0.1: - resolution: {integrity: sha512-baJJdQLiYaJdvFbJqXrcGv3WU3QCzBlUcI5QhbesIm6/xPsvmO+2CDoi/GMOFBQEQm+PXkwOPrp9KK5ozZsp2w==} - dependencies: - '@types/estree': 1.0.1 - - /is-stream@2.0.1: - resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} - engines: {node: '>=8'} - dev: true - - /is-typedarray@1.0.0: - resolution: {integrity: sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==} - dev: false - - /is-wsl@2.2.0: - resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==} - engines: {node: '>=8'} - dependencies: - is-docker: 2.2.1 - dev: true - - /isarray@1.0.0: - resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} - dev: false - - /isexe@2.0.0: - resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - dev: true - - /isstream@0.1.2: - resolution: {integrity: sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==} - dev: false - - /istanbul-lib-coverage@3.2.0: - resolution: {integrity: sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==} - engines: {node: '>=8'} - dev: true - - /istanbul-lib-instrument@5.2.1: - resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==} - engines: {node: '>=8'} - dependencies: - '@babel/core': 7.22.1 - '@babel/parser': 7.22.3 - '@istanbuljs/schema': 0.1.3 - istanbul-lib-coverage: 3.2.0 - semver: 6.3.0 - transitivePeerDependencies: - - supports-color - dev: true - - /istanbul-lib-report@3.0.0: - resolution: {integrity: sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==} - engines: {node: '>=8'} - dependencies: - istanbul-lib-coverage: 3.2.0 - make-dir: 3.1.0 - supports-color: 7.2.0 - dev: true - - /istanbul-lib-source-maps@4.0.1: - resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==} - engines: {node: '>=10'} - dependencies: - debug: 4.3.4 - istanbul-lib-coverage: 3.2.0 - source-map: 0.6.1 - transitivePeerDependencies: - - supports-color - dev: true - - /istanbul-reports@3.1.5: - resolution: {integrity: sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==} - engines: {node: '>=8'} - dependencies: - html-escaper: 2.0.2 - istanbul-lib-report: 3.0.0 - dev: true - - /javascript-stringify@2.1.0: - resolution: {integrity: sha512-JVAfqNPTvNq3sB/VHQJAFxN/sPgKnsKrCwyRt15zwNCdrMMJDdcEOdubuy+DuJYYdm0ox1J4uzEuYKkN+9yhVg==} - dev: false - - /jest-changed-files@29.5.0: - resolution: {integrity: sha512-IFG34IUMUaNBIxjQXF/iu7g6EcdMrGRRxaUSw92I/2g2YC6vCdTltl4nHvt7Ci5nSJwXIkCu8Ka1DKF+X7Z1Ag==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - execa: 5.1.1 - p-limit: 3.1.0 - dev: true - - /jest-circus@29.5.0: - resolution: {integrity: sha512-gq/ongqeQKAplVxqJmbeUOJJKkW3dDNPY8PjhJ5G0lBRvu0e3EWGxGy5cI4LAGA7gV2UHCtWBI4EMXK8c9nQKA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/environment': 29.5.0 - '@jest/expect': 29.5.0 - '@jest/test-result': 29.5.0 - '@jest/types': 29.5.0 - '@types/node': 18.16.0 - chalk: 4.1.2 - co: 4.6.0 - dedent: 0.7.0 - is-generator-fn: 2.1.0 - jest-each: 29.5.0 - jest-matcher-utils: 29.5.0 - jest-message-util: 29.5.0 - jest-runtime: 29.5.0 - jest-snapshot: 29.5.0 - jest-util: 29.5.0 - p-limit: 3.1.0 - pretty-format: 29.5.0 - pure-rand: 6.0.2 - slash: 3.0.0 - stack-utils: 2.0.6 - transitivePeerDependencies: - - supports-color - dev: true - - /jest-cli@29.5.0: - resolution: {integrity: sha512-L1KcP1l4HtfwdxXNFCL5bmUbLQiKrakMUriBEcc1Vfz6gx31ORKdreuWvmQVBit+1ss9NNR3yxjwfwzZNdQXJw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - hasBin: true - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - dependencies: - '@jest/core': 29.5.0 - '@jest/test-result': 29.5.0 - '@jest/types': 29.5.0 - chalk: 4.1.2 - exit: 0.1.2 - graceful-fs: 4.2.11 - import-local: 3.1.0 - jest-config: 29.5.0 - jest-util: 29.5.0 - jest-validate: 29.5.0 - prompts: 2.4.2 - yargs: 17.7.1 - transitivePeerDependencies: - - '@types/node' - - supports-color - - ts-node - dev: true - - /jest-config@29.5.0: - resolution: {integrity: sha512-kvDUKBnNJPNBmFFOhDbm59iu1Fii1Q6SxyhXfvylq3UTHbg6o7j/g8k2dZyXWLvfdKB1vAPxNZnMgtKJcmu3kA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - '@types/node': '*' - ts-node: '>=9.0.0' - peerDependenciesMeta: - '@types/node': - optional: true - ts-node: - optional: true - dependencies: - '@babel/core': 7.22.1 - '@jest/test-sequencer': 29.5.0 - '@jest/types': 29.5.0 - babel-jest: 29.5.0(@babel/core@7.22.1) - chalk: 4.1.2 - ci-info: 3.8.0 - deepmerge: 4.3.1 - glob: 7.2.3 - graceful-fs: 4.2.11 - jest-circus: 29.5.0 - jest-environment-node: 29.5.0 - jest-get-type: 29.4.3 - jest-regex-util: 29.4.3 - jest-resolve: 29.5.0 - jest-runner: 29.5.0 - jest-util: 29.5.0 - jest-validate: 29.5.0 - micromatch: 4.0.5 - parse-json: 5.2.0 - pretty-format: 29.5.0 - slash: 3.0.0 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - supports-color - dev: true - - /jest-config@29.5.0(@types/node@18.16.0): - resolution: {integrity: sha512-kvDUKBnNJPNBmFFOhDbm59iu1Fii1Q6SxyhXfvylq3UTHbg6o7j/g8k2dZyXWLvfdKB1vAPxNZnMgtKJcmu3kA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - '@types/node': '*' - ts-node: '>=9.0.0' - peerDependenciesMeta: - '@types/node': - optional: true - ts-node: - optional: true - dependencies: - '@babel/core': 7.22.1 - '@jest/test-sequencer': 29.5.0 - '@jest/types': 29.5.0 - '@types/node': 18.16.0 - babel-jest: 29.5.0(@babel/core@7.22.1) - chalk: 4.1.2 - ci-info: 3.8.0 - deepmerge: 4.3.1 - glob: 7.2.3 - graceful-fs: 4.2.11 - jest-circus: 29.5.0 - jest-environment-node: 29.5.0 - jest-get-type: 29.4.3 - jest-regex-util: 29.4.3 - jest-resolve: 29.5.0 - jest-runner: 29.5.0 - jest-util: 29.5.0 - jest-validate: 29.5.0 - micromatch: 4.0.5 - parse-json: 5.2.0 - pretty-format: 29.5.0 - slash: 3.0.0 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - supports-color - dev: true - - /jest-diff@29.5.0: - resolution: {integrity: sha512-LtxijLLZBduXnHSniy0WMdaHjmQnt3g5sa16W4p0HqukYTTsyTW3GD1q41TyGl5YFXj/5B2U6dlh5FM1LIMgxw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - chalk: 4.1.2 - diff-sequences: 29.4.3 - jest-get-type: 29.4.3 - pretty-format: 29.5.0 - dev: true - - /jest-docblock@29.4.3: - resolution: {integrity: sha512-fzdTftThczeSD9nZ3fzA/4KkHtnmllawWrXO69vtI+L9WjEIuXWs4AmyME7lN5hU7dB0sHhuPfcKofRsUb/2Fg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - detect-newline: 3.1.0 - dev: true - - /jest-each@29.5.0: - resolution: {integrity: sha512-HM5kIJ1BTnVt+DQZ2ALp3rzXEl+g726csObrW/jpEGl+CDSSQpOJJX2KE/vEg8cxcMXdyEPu6U4QX5eruQv5hA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/types': 29.5.0 - chalk: 4.1.2 - jest-get-type: 29.4.3 - jest-util: 29.5.0 - pretty-format: 29.5.0 - dev: true - - /jest-environment-node@29.5.0: - resolution: {integrity: sha512-ExxuIK/+yQ+6PRGaHkKewYtg6hto2uGCgvKdb2nfJfKXgZ17DfXjvbZ+jA1Qt9A8EQSfPnt5FKIfnOO3u1h9qw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/environment': 29.5.0 - '@jest/fake-timers': 29.5.0 - '@jest/types': 29.5.0 - '@types/node': 18.16.0 - jest-mock: 29.5.0 - jest-util: 29.5.0 - dev: true - - /jest-get-type@29.4.3: - resolution: {integrity: sha512-J5Xez4nRRMjk8emnTpWrlkyb9pfRQQanDrvWHhsR1+VUfbwxi30eVcZFlcdGInRibU4G5LwHXpI7IRHU0CY+gg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dev: true - - /jest-haste-map@29.5.0: - resolution: {integrity: sha512-IspOPnnBro8YfVYSw6yDRKh/TiCdRngjxeacCps1cQ9cgVN6+10JUcuJ1EabrgYLOATsIAigxA0rLR9x/YlrSA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/types': 29.5.0 - '@types/graceful-fs': 4.1.6 - '@types/node': 18.16.0 - anymatch: 3.1.3 - fb-watchman: 2.0.2 - graceful-fs: 4.2.11 - jest-regex-util: 29.4.3 - jest-util: 29.5.0 - jest-worker: 29.5.0 - micromatch: 4.0.5 - walker: 1.0.8 - optionalDependencies: - fsevents: 2.3.2 - dev: true - - /jest-leak-detector@29.5.0: - resolution: {integrity: sha512-u9YdeeVnghBUtpN5mVxjID7KbkKE1QU4f6uUwuxiY0vYRi9BUCLKlPEZfDGR67ofdFmDz9oPAy2G92Ujrntmow==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - jest-get-type: 29.4.3 - pretty-format: 29.5.0 - dev: true - - /jest-matcher-utils@29.5.0: - resolution: {integrity: sha512-lecRtgm/rjIK0CQ7LPQwzCs2VwW6WAahA55YBuI+xqmhm7LAaxokSB8C97yJeYyT+HvQkH741StzpU41wohhWw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - chalk: 4.1.2 - jest-diff: 29.5.0 - jest-get-type: 29.4.3 - pretty-format: 29.5.0 - dev: true - - /jest-message-util@29.5.0: - resolution: {integrity: sha512-Kijeg9Dag6CKtIDA7O21zNTACqD5MD/8HfIV8pdD94vFyFuer52SigdC3IQMhab3vACxXMiFk+yMHNdbqtyTGA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@babel/code-frame': 7.21.4 - '@jest/types': 29.5.0 - '@types/stack-utils': 2.0.1 - chalk: 4.1.2 - graceful-fs: 4.2.11 - micromatch: 4.0.5 - pretty-format: 29.5.0 - slash: 3.0.0 - stack-utils: 2.0.6 - dev: true - - /jest-mock@29.5.0: - resolution: {integrity: sha512-GqOzvdWDE4fAV2bWQLQCkujxYWL7RxjCnj71b5VhDAGOevB3qj3Ovg26A5NI84ZpODxyzaozXLOh2NCgkbvyaw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/types': 29.5.0 - '@types/node': 18.16.0 - jest-util: 29.5.0 - dev: true - - /jest-pnp-resolver@1.2.3(jest-resolve@29.5.0): - resolution: {integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==} - engines: {node: '>=6'} - peerDependencies: - jest-resolve: '*' - peerDependenciesMeta: - jest-resolve: - optional: true - dependencies: - jest-resolve: 29.5.0 - dev: true - - /jest-regex-util@29.4.3: - resolution: {integrity: sha512-O4FglZaMmWXbGHSQInfXewIsd1LMn9p3ZXB/6r4FOkyhX2/iP/soMG98jGvk/A3HAN78+5VWcBGO0BJAPRh4kg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dev: true - - /jest-resolve-dependencies@29.5.0: - resolution: {integrity: sha512-sjV3GFr0hDJMBpYeUuGduP+YeCRbd7S/ck6IvL3kQ9cpySYKqcqhdLLC2rFwrcL7tz5vYibomBrsFYWkIGGjOg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - jest-regex-util: 29.4.3 - jest-snapshot: 29.5.0 - transitivePeerDependencies: - - supports-color - dev: true - - /jest-resolve@29.5.0: - resolution: {integrity: sha512-1TzxJ37FQq7J10jPtQjcc+MkCkE3GBpBecsSUWJ0qZNJpmg6m0D9/7II03yJulm3H/fvVjgqLh/k2eYg+ui52w==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - chalk: 4.1.2 - graceful-fs: 4.2.11 - jest-haste-map: 29.5.0 - jest-pnp-resolver: 1.2.3(jest-resolve@29.5.0) - jest-util: 29.5.0 - jest-validate: 29.5.0 - resolve: 1.22.2 - resolve.exports: 2.0.2 - slash: 3.0.0 - dev: true - - /jest-runner@29.5.0: - resolution: {integrity: sha512-m7b6ypERhFghJsslMLhydaXBiLf7+jXy8FwGRHO3BGV1mcQpPbwiqiKUR2zU2NJuNeMenJmlFZCsIqzJCTeGLQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/console': 29.5.0 - '@jest/environment': 29.5.0 - '@jest/test-result': 29.5.0 - '@jest/transform': 29.5.0 - '@jest/types': 29.5.0 - '@types/node': 18.16.0 - chalk: 4.1.2 - emittery: 0.13.1 - graceful-fs: 4.2.11 - jest-docblock: 29.4.3 - jest-environment-node: 29.5.0 - jest-haste-map: 29.5.0 - jest-leak-detector: 29.5.0 - jest-message-util: 29.5.0 - jest-resolve: 29.5.0 - jest-runtime: 29.5.0 - jest-util: 29.5.0 - jest-watcher: 29.5.0 - jest-worker: 29.5.0 - p-limit: 3.1.0 - source-map-support: 0.5.13 - transitivePeerDependencies: - - supports-color - dev: true - - /jest-runtime@29.5.0: - resolution: {integrity: sha512-1Hr6Hh7bAgXQP+pln3homOiEZtCDZFqwmle7Ew2j8OlbkIu6uE3Y/etJQG8MLQs3Zy90xrp2C0BRrtPHG4zryw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/environment': 29.5.0 - '@jest/fake-timers': 29.5.0 - '@jest/globals': 29.5.0 - '@jest/source-map': 29.4.3 - '@jest/test-result': 29.5.0 - '@jest/transform': 29.5.0 - '@jest/types': 29.5.0 - '@types/node': 18.16.0 - chalk: 4.1.2 - cjs-module-lexer: 1.2.2 - collect-v8-coverage: 1.0.1 - glob: 7.2.3 - graceful-fs: 4.2.11 - jest-haste-map: 29.5.0 - jest-message-util: 29.5.0 - jest-mock: 29.5.0 - jest-regex-util: 29.4.3 - jest-resolve: 29.5.0 - jest-snapshot: 29.5.0 - jest-util: 29.5.0 - slash: 3.0.0 - strip-bom: 4.0.0 - transitivePeerDependencies: - - supports-color - dev: true - - /jest-snapshot@29.5.0: - resolution: {integrity: sha512-x7Wolra5V0tt3wRs3/ts3S6ciSQVypgGQlJpz2rsdQYoUKxMxPNaoHMGJN6qAuPJqS+2iQ1ZUn5kl7HCyls84g==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@babel/core': 7.22.1 - '@babel/generator': 7.22.3 - '@babel/plugin-syntax-jsx': 7.21.4(@babel/core@7.22.1) - '@babel/plugin-syntax-typescript': 7.21.4(@babel/core@7.22.1) - '@babel/traverse': 7.22.1 - '@babel/types': 7.22.3 - '@jest/expect-utils': 29.5.0 - '@jest/transform': 29.5.0 - '@jest/types': 29.5.0 - '@types/babel__traverse': 7.18.3 - '@types/prettier': 2.7.2 - babel-preset-current-node-syntax: 1.0.1(@babel/core@7.22.1) - chalk: 4.1.2 - expect: 29.5.0 - graceful-fs: 4.2.11 - jest-diff: 29.5.0 - jest-get-type: 29.4.3 - jest-matcher-utils: 29.5.0 - jest-message-util: 29.5.0 - jest-util: 29.5.0 - natural-compare: 1.4.0 - pretty-format: 29.5.0 - semver: 7.5.0 - transitivePeerDependencies: - - supports-color - dev: true - - /jest-util@29.5.0: - resolution: {integrity: sha512-RYMgG/MTadOr5t8KdhejfvUU82MxsCu5MF6KuDUHl+NuwzUt+Sm6jJWxTJVrDR1j5M/gJVCPKQEpWXY+yIQ6lQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/types': 29.5.0 - '@types/node': 18.16.0 - chalk: 4.1.2 - ci-info: 3.8.0 - graceful-fs: 4.2.11 - picomatch: 2.3.1 - dev: true - - /jest-validate@29.5.0: - resolution: {integrity: sha512-pC26etNIi+y3HV8A+tUGr/lph9B18GnzSRAkPaaZJIE1eFdiYm6/CewuiJQ8/RlfHd1u/8Ioi8/sJ+CmbA+zAQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/types': 29.5.0 - camelcase: 6.3.0 - chalk: 4.1.2 - jest-get-type: 29.4.3 - leven: 3.1.0 - pretty-format: 29.5.0 - dev: true - - /jest-watcher@29.5.0: - resolution: {integrity: sha512-KmTojKcapuqYrKDpRwfqcQ3zjMlwu27SYext9pt4GlF5FUgB+7XE1mcCnSm6a4uUpFyQIkb6ZhzZvHl+jiBCiA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/test-result': 29.5.0 - '@jest/types': 29.5.0 - '@types/node': 18.16.0 - ansi-escapes: 4.3.2 - chalk: 4.1.2 - emittery: 0.13.1 - jest-util: 29.5.0 - string-length: 4.0.2 - dev: true - - /jest-worker@29.5.0: - resolution: {integrity: sha512-NcrQnevGoSp4b5kg+akIpthoAFHxPBcb5P6mYPY0fUNT+sSvmtu6jlkEle3anczUKIKEbMxFimk9oTP/tpIPgA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@types/node': 18.16.0 - jest-util: 29.5.0 - merge-stream: 2.0.0 - supports-color: 8.1.1 - dev: true - - /jest@29.5.0: - resolution: {integrity: sha512-juMg3he2uru1QoXX078zTa7pO85QyB9xajZc6bU+d9yEGwrKX6+vGmJQ3UdVZsvTEUARIdObzH68QItim6OSSQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - hasBin: true - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - dependencies: - '@jest/core': 29.5.0 - '@jest/types': 29.5.0 - import-local: 3.1.0 - jest-cli: 29.5.0 - transitivePeerDependencies: - - '@types/node' - - supports-color - - ts-node - dev: true - - /jiti@1.18.2: - resolution: {integrity: sha512-QAdOptna2NYiSSpv0O/BwoHBSmz4YhpzJHyi+fnMRTXFjp7B8i/YG5Z8IfusxB1ufjcD2Sre1F3R+nX3fvy7gg==} - hasBin: true - - /jju@1.4.0: - resolution: {integrity: sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==} - dev: false - - /js-sdsl@4.4.0: - resolution: {integrity: sha512-FfVSdx6pJ41Oa+CF7RDaFmTnCaFhua+SNYQX74riGOpl96x+2jQCqEfQ2bnXu/5DPCqlRuiqyvTJM0Qjz26IVg==} - dev: true - - /js-string-escape@1.0.1: - resolution: {integrity: sha512-Smw4xcfIQ5LVjAOuJCvN/zIodzA/BBSsluuoSykP+lUvScIi4U6RJLfwHet5cxFnCswUjISV8oAXaqaJDY3chg==} - engines: {node: '>= 0.8'} - dev: false - - /js-tokens@4.0.0: - resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - dev: true - - /js-yaml@3.14.1: - resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} - hasBin: true - dependencies: - argparse: 1.0.10 - esprima: 4.0.1 - dev: true - - /js-yaml@4.1.0: - resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} - hasBin: true - dependencies: - argparse: 2.0.1 - dev: true - - /jsbn@0.1.1: - resolution: {integrity: sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==} - dev: false - - /jsdom@22.1.0: - resolution: {integrity: sha512-/9AVW7xNbsBv6GfWho4TTNjEo9fe6Zhf9O7s0Fhhr3u+awPwAJMKwAMXnkk5vBxflqLW9hTHX/0cs+P3gW+cQw==} - engines: {node: '>=16'} - peerDependencies: - canvas: ^2.5.0 - peerDependenciesMeta: - canvas: - optional: true - dependencies: - abab: 2.0.6 - cssstyle: 3.0.0 - data-urls: 4.0.0 - decimal.js: 10.4.3 - domexception: 4.0.0 - form-data: 4.0.0 - html-encoding-sniffer: 3.0.0 - http-proxy-agent: 5.0.0 - https-proxy-agent: 5.0.1 - is-potential-custom-element-name: 1.0.1 - nwsapi: 2.2.5 - parse5: 7.1.2 - rrweb-cssom: 0.6.0 - saxes: 6.0.0 - symbol-tree: 3.2.4 - tough-cookie: 4.1.3 - w3c-xmlserializer: 4.0.0 - webidl-conversions: 7.0.0 - whatwg-encoding: 2.0.0 - whatwg-mimetype: 3.0.0 - whatwg-url: 12.0.1 - ws: 8.13.0 - xml-name-validator: 4.0.0 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - dev: true - - /jsesc@2.5.2: - resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} - engines: {node: '>=4'} - hasBin: true - dev: true - - /json-parse-even-better-errors@2.3.1: - resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} - dev: true - - /json-schema-traverse@0.4.1: - resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} - - /json-schema@0.4.0: - resolution: {integrity: sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==} - dev: false - - /json-stable-stringify-without-jsonify@1.0.1: - resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} - dev: true - - /json-stringify-pretty-compact@3.0.0: - resolution: {integrity: sha512-Rc2suX5meI0S3bfdZuA7JMFBGkJ875ApfVyq2WHELjBiiG22My/l7/8zPpH/CfFVQHuVLd8NLR0nv6vi0BYYKA==} - dev: false - - /json-stringify-safe@5.0.1: - resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==} - dev: false - - /json5@2.2.3: - resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} - engines: {node: '>=6'} - hasBin: true - dev: true - - /jsonc-parser@3.2.0: - resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} - - /jsonfile@4.0.0: - resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} - optionalDependencies: - graceful-fs: 4.2.11 - dev: false - - /jsonfile@6.1.0: - resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} - dependencies: - universalify: 2.0.0 - optionalDependencies: - graceful-fs: 4.2.11 - - /jsprim@1.4.2: - resolution: {integrity: sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==} - engines: {node: '>=0.6.0'} - dependencies: - assert-plus: 1.0.0 - extsprintf: 1.3.0 - json-schema: 0.4.0 - verror: 1.10.0 - dev: false - - /kleur@3.0.3: - resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} - engines: {node: '>=6'} - dev: true - - /kleur@4.1.5: - resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} - engines: {node: '>=6'} - - /kolorist@1.8.0: - resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==} - dev: false - - /lazy-brush@1.0.1: - resolution: {integrity: sha512-xT/iSClTVi7vLoF8dCWTBhCuOWqsLXCMPa6ucVmVAk6hyNCM5JeS1NLhXqIrJktUg+caEYKlqSOUU4u3cpXzKg==} - dev: false - - /leven@3.1.0: - resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} - engines: {node: '>=6'} - dev: true - - /levn@0.4.1: - resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} - engines: {node: '>= 0.8.0'} - dependencies: - prelude-ls: 1.2.1 - type-check: 0.4.0 - dev: true - - /lilconfig@2.1.0: - resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} - engines: {node: '>=10'} - - /lines-and-columns@1.2.4: - resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - - /local-pkg@0.4.3: - resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==} - engines: {node: '>=14'} - - /locate-character@3.0.0: - resolution: {integrity: sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==} - - /locate-path@5.0.0: - resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} - engines: {node: '>=8'} - dependencies: - p-locate: 4.1.0 - dev: true - - /locate-path@6.0.0: - resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} - engines: {node: '>=10'} - dependencies: - p-locate: 5.0.0 - dev: true - - /lodash.debounce@4.0.8: - resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==} - dev: true - - /lodash.get@4.4.2: - resolution: {integrity: sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==} - dev: false - - /lodash.isequal@4.5.0: - resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==} - dev: false - - /lodash.merge@4.6.2: - resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} - dev: true - - /lodash.pick@4.4.0: - resolution: {integrity: sha512-hXt6Ul/5yWjfklSGvLQl8vM//l3FtyHZeuelpzK6mm99pNvN9yTDruNZPEJZD1oWrqo+izBmB7oUfWgcCX7s4Q==} - dev: true - - /lodash@4.17.21: - resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} - dev: false - - /loupe@2.3.6: - resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==} - dependencies: - get-func-name: 2.0.0 - - /lru-cache@5.1.1: - resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} - dependencies: - yallist: 3.1.1 - dev: true - - /lru-cache@6.0.0: - resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} - engines: {node: '>=10'} - dependencies: - yallist: 4.0.0 - - /magic-string@0.25.9: - resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} - dependencies: - sourcemap-codec: 1.4.8 - dev: true - - /magic-string@0.27.0: - resolution: {integrity: sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==} - engines: {node: '>=12'} - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - - /magic-string@0.29.0: - resolution: {integrity: sha512-WcfidHrDjMY+eLjlU+8OvwREqHwpgCeKVBUpQ3OhYYuvfaYCUgcbuBzappNzZvg/v8onU3oQj+BYpkOJe9Iw4Q==} - engines: {node: '>=12'} - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - dev: false - - /magic-string@0.30.0: - resolution: {integrity: sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==} - engines: {node: '>=12'} - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - - /make-dir@3.1.0: - resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} - engines: {node: '>=8'} - dependencies: - semver: 6.3.0 - dev: true - - /makeerror@1.0.12: - resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} - dependencies: - tmpl: 1.0.5 - dev: true - - /map-obj@5.0.2: - resolution: {integrity: sha512-K6K2NgKnTXimT3779/4KxSvobxOtMmx1LBZ3NwRxT/MDIR3Br/fQ4Q+WCX5QxjyUR8zg5+RV9Tbf2c5pAWTD2A==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dev: false - - /marked@4.3.0: - resolution: {integrity: sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==} - engines: {node: '>= 12'} - hasBin: true - dev: false - - /marked@5.1.0: - resolution: {integrity: sha512-z3/nBe7aTI8JDszlYLk7dDVNpngjw0o1ZJtrA9kIfkkHcIF+xH7mO23aISl4WxP83elU+MFROgahqdpd05lMEQ==} - engines: {node: '>= 18'} - hasBin: true - dev: false - - /md5-hex@3.0.1: - resolution: {integrity: sha512-BUiRtTtV39LIJwinWBjqVsU9xhdnz7/i889V859IBFpuqGAj6LuOvHv5XLbgZ2R7ptJoJaEcxkv88/h25T7Ciw==} - engines: {node: '>=8'} - dependencies: - blueimp-md5: 2.19.0 - dev: false - - /mdn-data@2.0.30: - resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} - - /media-encoder-host-broker@7.0.79: - resolution: {integrity: sha512-uAKboXNaXflOGvHMrj8eOjx3cPJkYDcCOI3mUpAoHBquDzqhgIDovF4yiedCT2YMUPtqPmHOlHUPofH5/3cDmA==} - dependencies: - '@babel/runtime': 7.21.0 - broker-factory: 3.0.76 - fast-unique-numbers: 8.0.0 - media-encoder-host-worker: 9.1.1 - tslib: 2.5.1 - dev: false - - /media-encoder-host-worker@9.1.1: - resolution: {integrity: sha512-Jx7pV96ooLdSy82Lh6WHozSco0ZGf7lSvlyyArr4QcpJz8ORzWojd4DhfsxafhZOjNQyPQa7VwZp2bQNL4NqXw==} - dependencies: - '@babel/runtime': 7.21.0 - extendable-media-recorder-wav-encoder-broker: 7.0.78 - tslib: 2.5.1 - worker-factory: 7.0.0 - dev: false - - /media-encoder-host@8.0.89: - resolution: {integrity: sha512-NIX3sl+5qiNadl2Ki0QIW4eSEMMd36cp7ilnlP7PHEXXZDZ10HpWavN9wp7Ge3PQeS6zIlU/6V2Ol0lmkP2jlg==} - dependencies: - '@babel/runtime': 7.21.0 - media-encoder-host-broker: 7.0.79 - media-encoder-host-worker: 9.1.1 - tslib: 2.5.1 - dev: false - - /merge-stream@2.0.0: - resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} - dev: true - - /merge2@1.4.1: - resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} - engines: {node: '>= 8'} - - /micromatch@4.0.5: - resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} - engines: {node: '>=8.6'} - dependencies: - braces: 3.0.2 - picomatch: 2.3.1 - - /mime-db@1.51.0: - resolution: {integrity: sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==} - engines: {node: '>= 0.6'} - dev: false - - /mime-db@1.52.0: - resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} - engines: {node: '>= 0.6'} - dev: true - - /mime-types@2.1.34: - resolution: {integrity: sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==} - engines: {node: '>= 0.6'} - dependencies: - mime-db: 1.51.0 - dev: false - - /mime-types@2.1.35: - resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} - engines: {node: '>= 0.6'} - dependencies: - mime-db: 1.52.0 - dev: true - - /mime@3.0.0: - resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==} - engines: {node: '>=10.0.0'} - hasBin: true - dev: true - - /mimic-fn@2.1.0: - resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} - engines: {node: '>=6'} - dev: true - - /min-indent@1.0.1: - resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} - engines: {node: '>=4'} - - /minimatch@3.1.2: - resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} - dependencies: - brace-expansion: 1.1.11 - - /minimatch@5.1.6: - resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} - engines: {node: '>=10'} - dependencies: - brace-expansion: 2.0.1 - dev: false - - /minimist@1.2.8: - resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - - /mkdirp@0.5.6: - resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} - hasBin: true - dependencies: - minimist: 1.2.8 - - /mkdirp@1.0.4: - resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} - engines: {node: '>=10'} - hasBin: true - dev: false - - /mlly@1.2.1: - resolution: {integrity: sha512-1aMEByaWgBPEbWV2BOPEMySRrzl7rIHXmQxam4DM8jVjalTQDjpN2ZKOLUrwyhfZQO7IXHml2StcHMhooDeEEQ==} - dependencies: - acorn: 8.8.2 - pathe: 1.1.0 - pkg-types: 1.0.3 - ufo: 1.1.2 - dev: false - - /mlly@1.4.0: - resolution: {integrity: sha512-ua8PAThnTwpprIaU47EPeZ/bPUVp2QYBbWMphUQpVdBI3Lgqzm5KZQ45Agm3YJedHXaIHl6pBGabaLSUPPSptg==} - dependencies: - acorn: 8.9.0 - pathe: 1.1.1 - pkg-types: 1.0.3 - ufo: 1.1.2 - - /mri@1.2.0: - resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} - engines: {node: '>=4'} - dev: true - - /mrmime@1.0.1: - resolution: {integrity: sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==} - engines: {node: '>=10'} - dev: true - - /ms@2.1.2: - resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} - - /multi-buffer-data-view@3.0.24: - resolution: {integrity: sha512-jm7Ycplx37ExXyQmqhwl7zfQmAj81y5LLzVx0XyWea4omP9W/xJhLEHs/5b+WojGyYSRt8BHiXZVcYzu68Ma0Q==} - engines: {node: '>=12.20.1'} - dependencies: - '@babel/runtime': 7.21.0 - tslib: 2.5.1 - dev: false - - /mz@2.7.0: - resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} - dependencies: - any-promise: 1.3.0 - object-assign: 4.1.1 - thenify-all: 1.6.0 - - /nanoid@3.3.6: - resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==} - engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} - hasBin: true - - /natural-compare@1.4.0: - resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} - dev: true - - /node-fetch@2.6.9: - resolution: {integrity: sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==} - engines: {node: 4.x || >=6.0.0} - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - dependencies: - whatwg-url: 5.0.0 - dev: false - - /node-int64@0.4.0: - resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} - dev: true - - /node-releases@2.0.10: - resolution: {integrity: sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==} - dev: true - - /node-releases@2.0.12: - resolution: {integrity: sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==} - dev: true - - /normalize-path@3.0.0: - resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} - engines: {node: '>=0.10.0'} - - /normalize-range@0.1.2: - resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==} - engines: {node: '>=0.10.0'} - dev: true - - /npm-run-path@4.0.1: - resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} - engines: {node: '>=8'} - dependencies: - path-key: 3.1.1 - dev: true - - /nwsapi@2.2.5: - resolution: {integrity: sha512-6xpotnECFy/og7tKSBVmUNft7J3jyXAka4XvG6AUhFWRz+Q/Ljus7znJAA3bxColfQLdS+XsjoodtJfCgeTEFQ==} - dev: true - - /oauth-sign@0.9.0: - resolution: {integrity: sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==} - dev: false - - /object-assign@4.1.1: - resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} - engines: {node: '>=0.10.0'} - - /object-hash@3.0.0: - resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==} - engines: {node: '>= 6'} - - /object-inspect@1.12.3: - resolution: {integrity: sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==} - dev: false - - /once@1.4.0: - resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} - dependencies: - wrappy: 1.0.2 - - /onetime@5.1.2: - resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} - engines: {node: '>=6'} - dependencies: - mimic-fn: 2.1.0 - dev: true - - /open@8.4.2: - resolution: {integrity: sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==} - engines: {node: '>=12'} - dependencies: - define-lazy-prop: 2.0.0 - is-docker: 2.2.1 - is-wsl: 2.2.0 - dev: true - - /optionator@0.9.1: - resolution: {integrity: sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==} - engines: {node: '>= 0.8.0'} - dependencies: - deep-is: 0.1.4 - fast-levenshtein: 2.0.6 - levn: 0.4.1 - prelude-ls: 1.2.1 - type-check: 0.4.0 - word-wrap: 1.2.3 - dev: true - - /p-limit@2.3.0: - resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} - engines: {node: '>=6'} - dependencies: - p-try: 2.2.0 - dev: true - - /p-limit@3.1.0: - resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} - engines: {node: '>=10'} - dependencies: - yocto-queue: 0.1.0 - dev: true - - /p-limit@4.0.0: - resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - yocto-queue: 1.0.0 - dev: false - - /p-locate@4.1.0: - resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} - engines: {node: '>=8'} - dependencies: - p-limit: 2.3.0 - dev: true - - /p-locate@5.0.0: - resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} - engines: {node: '>=10'} - dependencies: - p-limit: 3.1.0 - dev: true - - /p-try@2.2.0: - resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} - engines: {node: '>=6'} - dev: true - - /parent-module@1.0.1: - resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} - engines: {node: '>=6'} - dependencies: - callsites: 3.1.0 - dev: true - - /parse-cache-control@1.0.1: - resolution: {integrity: sha512-60zvsJReQPX5/QP0Kzfd/VrpjScIQ7SHBW6bFCYfEP+fp0Eppr1SHhIO5nd1PjZtvclzSzES9D/p5nFJurwfWg==} - dev: false - - /parse-json@5.2.0: - resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} - engines: {node: '>=8'} - dependencies: - '@babel/code-frame': 7.21.4 - error-ex: 1.3.2 - json-parse-even-better-errors: 2.3.1 - lines-and-columns: 1.2.4 - dev: true - - /parse5@7.1.2: - resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} - dependencies: - entities: 4.5.0 - dev: true - - /path-browserify@1.0.1: - resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} - dev: false - - /path-exists@4.0.0: - resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} - engines: {node: '>=8'} - dev: true - - /path-is-absolute@1.0.1: - resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} - engines: {node: '>=0.10.0'} - - /path-key@3.1.1: - resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} - engines: {node: '>=8'} - dev: true - - /path-parse@1.0.7: - resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} - - /path-to-regexp@6.2.1: - resolution: {integrity: sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==} - dev: false - - /path-type@4.0.0: - resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} - engines: {node: '>=8'} - dev: true - - /pathe@0.2.0: - resolution: {integrity: sha512-sTitTPYnn23esFR3RlqYBWn4c45WGeLcsKzQiUpXJAyfcWkolvlYpV8FLo7JishK946oQwMFUCHXQ9AjGPKExw==} - dev: true - - /pathe@1.1.0: - resolution: {integrity: sha512-ODbEPR0KKHqECXW1GoxdDb+AZvULmXjVPy4rt+pGo2+TnjJTIPJQSVS6N63n8T2Ip+syHhbn52OewKicV0373w==} - dev: false - - /pathe@1.1.1: - resolution: {integrity: sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==} - - /pathval@1.1.1: - resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} - - /performance-now@2.1.0: - resolution: {integrity: sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==} - dev: false - - /periscopic@3.1.0: - resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==} - dependencies: - '@types/estree': 1.0.1 - estree-walker: 3.0.3 - is-reference: 3.0.1 - - /picocolors@1.0.0: - resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} - - /picomatch@2.3.1: - resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} - engines: {node: '>=8.6'} - - /pify@2.3.0: - resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==} - engines: {node: '>=0.10.0'} - - /pirates@4.0.5: - resolution: {integrity: sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==} - engines: {node: '>= 6'} - dev: true - - /pirates@4.0.6: - resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} - engines: {node: '>= 6'} - - /pkg-dir@4.2.0: - resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} - engines: {node: '>=8'} - dependencies: - find-up: 4.1.0 - dev: true - - /pkg-types@1.0.3: - resolution: {integrity: sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==} - dependencies: - jsonc-parser: 3.2.0 - mlly: 1.4.0 - pathe: 1.1.1 - - /plotly.js-dist-min@2.10.1: - resolution: {integrity: sha512-H0ls1C2uu2U+qWw76djo4/zOGtUKfMILwFhu7tCOaG/wH5ypujrYGCH03N9SQVf1SXcctTfW57USf8LmagSiPQ==} - dev: false - - /pollen-css@4.6.2: - resolution: {integrity: sha512-uSkmTx51xXOFR+Jd6SOaKRBUyNXIjKQ50hB6+bjkDyWjvlOG8CVn3bzPJJM8eRmqKJTd13GUJaKCPbq1Zi11OA==} - hasBin: true - dependencies: - case: 1.6.3 - commander: 9.5.0 - css-vars-ponyfill: 2.4.8 - deepmerge: 4.3.1 - javascript-stringify: 2.1.0 - lilconfig: 2.1.0 - map-obj: 5.0.2 - prettier: 2.8.8 - dev: false - - /postcss-import@14.1.0(postcss@8.4.21): - resolution: {integrity: sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==} - engines: {node: '>=10.0.0'} - peerDependencies: - postcss: ^8.0.0 - dependencies: - postcss: 8.4.21 - postcss-value-parser: 4.2.0 - read-cache: 1.0.0 - resolve: 1.22.2 - dev: true - - /postcss-import@15.1.0(postcss@8.4.24): - resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==} - engines: {node: '>=14.0.0'} - peerDependencies: - postcss: ^8.0.0 - dependencies: - postcss: 8.4.24 - postcss-value-parser: 4.2.0 - read-cache: 1.0.0 - resolve: 1.22.2 - dev: false - - /postcss-js@4.0.1(postcss@8.4.21): - resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==} - engines: {node: ^12 || ^14 || >= 16} - peerDependencies: - postcss: ^8.4.21 - dependencies: - camelcase-css: 2.0.1 - postcss: 8.4.21 - dev: true - - /postcss-js@4.0.1(postcss@8.4.24): - resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==} - engines: {node: ^12 || ^14 || >= 16} - peerDependencies: - postcss: ^8.4.21 - dependencies: - camelcase-css: 2.0.1 - postcss: 8.4.24 - dev: false - - /postcss-load-config@3.1.4(postcss@8.4.21): - resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==} - engines: {node: '>= 10'} - peerDependencies: - postcss: '>=8.0.9' - ts-node: '>=9.0.0' - peerDependenciesMeta: - postcss: - optional: true - ts-node: - optional: true - dependencies: - lilconfig: 2.1.0 - postcss: 8.4.21 - yaml: 1.10.2 - dev: true - - /postcss-load-config@4.0.1(postcss@8.4.24): - resolution: {integrity: sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==} - engines: {node: '>= 14'} - peerDependencies: - postcss: '>=8.0.9' - ts-node: '>=9.0.0' - peerDependenciesMeta: - postcss: - optional: true - ts-node: - optional: true - dependencies: - lilconfig: 2.1.0 - postcss: 8.4.24 - yaml: 2.3.1 - dev: false - - /postcss-nested@6.0.0(postcss@8.4.21): - resolution: {integrity: sha512-0DkamqrPcmkBDsLn+vQDIrtkSbNkv5AD/M322ySo9kqFkCIYklym2xEmWkwo+Y3/qZo34tzEPNUw4y7yMCdv5w==} - engines: {node: '>=12.0'} - peerDependencies: - postcss: ^8.2.14 - dependencies: - postcss: 8.4.21 - postcss-selector-parser: 6.0.11 - dev: true - - /postcss-nested@6.0.1(postcss@8.4.24): - resolution: {integrity: sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==} - engines: {node: '>=12.0'} - peerDependencies: - postcss: ^8.2.14 - dependencies: - postcss: 8.4.24 - postcss-selector-parser: 6.0.13 - dev: false - - /postcss-prefix-selector@1.16.0(postcss@8.4.21): - resolution: {integrity: sha512-rdVMIi7Q4B0XbXqNUEI+Z4E+pueiu/CS5E6vRCQommzdQ/sgsS4dK42U7GX8oJR+TJOtT+Qv3GkNo6iijUMp3Q==} - peerDependencies: - postcss: '>4 <9' - dependencies: - postcss: 8.4.21 - dev: false - - /postcss-selector-parser@6.0.11: - resolution: {integrity: sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g==} - engines: {node: '>=4'} - dependencies: - cssesc: 3.0.0 - util-deprecate: 1.0.2 - dev: true - - /postcss-selector-parser@6.0.13: - resolution: {integrity: sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==} - engines: {node: '>=4'} - dependencies: - cssesc: 3.0.0 - util-deprecate: 1.0.2 - dev: false - - /postcss-value-parser@4.2.0: - resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} - - /postcss@8.4.21: - resolution: {integrity: sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==} - engines: {node: ^10 || ^12 || >=14} - dependencies: - nanoid: 3.3.6 - picocolors: 1.0.0 - source-map-js: 1.0.2 - - /postcss@8.4.23: - resolution: {integrity: sha512-bQ3qMcpF6A/YjR55xtoTr0jGOlnPOKAIMdOWiv0EIT6HVPEaJiJB4NLljSbiHoC2RX7DN5Uvjtpbg1NPdwv1oA==} - engines: {node: ^10 || ^12 || >=14} - dependencies: - nanoid: 3.3.6 - picocolors: 1.0.0 - source-map-js: 1.0.2 - dev: false - - /postcss@8.4.24: - resolution: {integrity: sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==} - engines: {node: ^10 || ^12 || >=14} - dependencies: - nanoid: 3.3.6 - picocolors: 1.0.0 - source-map-js: 1.0.2 - - /prelude-ls@1.2.1: - resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} - engines: {node: '>= 0.8.0'} - dev: true - - /prettier-plugin-svelte@2.10.1(prettier@2.8.8)(svelte@4.0.0): - resolution: {integrity: sha512-Wlq7Z5v2ueCubWo0TZzKc9XHcm7TDxqcuzRuGd0gcENfzfT4JZ9yDlCbEgxWgiPmLHkBjfOtpAWkcT28MCDpUQ==} - peerDependencies: - prettier: ^1.16.4 || ^2.0.0 - svelte: ^3.2.0 || ^4.0.0-next.0 - dependencies: - prettier: 2.8.8 - svelte: 4.0.0 - dev: true - - /prettier@2.8.8: - resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} - engines: {node: '>=10.13.0'} - hasBin: true - - /pretty-format@27.5.1: - resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - ansi-regex: 5.0.1 - ansi-styles: 5.2.0 - react-is: 17.0.2 - dev: false - - /pretty-format@29.5.0: - resolution: {integrity: sha512-V2mGkI31qdttvTFX7Mt4efOqHXqJWMu4/r66Xh3Z3BwZaPfPJgp6/gbwoujRpPUtfEF6AUUWx3Jim3GCw5g/Qw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/schemas': 29.4.3 - ansi-styles: 5.2.0 - react-is: 18.2.0 - dev: true - - /process-nextick-args@2.0.1: - resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} - dev: false - - /promise@8.3.0: - resolution: {integrity: sha512-rZPNPKTOYVNEEKFaq1HqTgOwZD+4/YHS5ukLzQCypkj+OkYx7iv0mA91lJlpPPZ8vMau3IIGj5Qlwrx+8iiSmg==} - dependencies: - asap: 2.0.6 - dev: false - - /prompts@2.4.2: - resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} - engines: {node: '>= 6'} - dependencies: - kleur: 3.0.3 - sisteransi: 1.0.5 - dev: true - - /psl@1.9.0: - resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} - - /punycode@2.3.0: - resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==} - engines: {node: '>=6'} - - /pure-rand@6.0.2: - resolution: {integrity: sha512-6Yg0ekpKICSjPswYOuC5sku/TSWaRYlA0qsXqJgM/d/4pLPHPuTxK7Nbf7jFKzAeedUhR8C7K9Uv63FBsSo8xQ==} - dev: true - - /qs@6.11.1: - resolution: {integrity: sha512-0wsrzgTz/kAVIeuxSjnpGC56rzYtr6JT/2BwEvMaPhFIoYa1aGO8LbzuU1R0uUYQkLpWBTOj0l/CLAJB64J6nQ==} - engines: {node: '>=0.6'} - dependencies: - side-channel: 1.0.4 - dev: false - - /qs@6.5.3: - resolution: {integrity: sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==} - engines: {node: '>=0.6'} - dev: false - - /querystringify@2.2.0: - resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} - dev: true - - /queue-microtask@1.2.3: - resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} - - /quick-lru@5.1.1: - resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==} - engines: {node: '>=10'} - dev: true - - /radix-icons-svelte@1.2.1: - resolution: {integrity: sha512-svmiMd0ocpdTm9cvAz0klcZpnh639lVctj6psQiawd4pYalVzOG4cX+JizAgRckyTAsRVdzObP7D2EBrSfdghA==} - dev: false - - /react-is@17.0.2: - resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} - dev: false - - /react-is@18.2.0: - resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} - dev: true - - /read-cache@1.0.0: - resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} - dependencies: - pify: 2.3.0 - - /readable-stream@2.3.8: - resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} - dependencies: - core-util-is: 1.0.3 - inherits: 2.0.4 - isarray: 1.0.0 - process-nextick-args: 2.0.1 - safe-buffer: 5.1.2 - string_decoder: 1.1.1 - util-deprecate: 1.0.2 - dev: false - - /readdirp@3.6.0: - resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} - engines: {node: '>=8.10.0'} - dependencies: - picomatch: 2.3.1 - - /recorder-audio-worklet-processor@4.2.21: - resolution: {integrity: sha512-oiiS2sp6eMxkvjt13yetSYUJvnAxBZk60mIxz0Vf/2lDWa/4svCyMLHIDzYKbHahkISd0UYyqLS9dI7xDlUOCA==} - dependencies: - '@babel/runtime': 7.21.0 - tslib: 2.5.1 - dev: false - - /recorder-audio-worklet@5.1.39: - resolution: {integrity: sha512-w/RazoBwZnkFnEPRsJYNThOHznLQC98/IzWRrutpJQVvCcL0nbLsVSLDaRrnrqVpRUI11VgiXRh30HaHiSdVhQ==} - dependencies: - '@babel/runtime': 7.21.0 - broker-factory: 3.0.76 - fast-unique-numbers: 7.0.2 - recorder-audio-worklet-processor: 4.2.21 - standardized-audio-context: 25.3.45 - subscribable-things: 2.1.14 - tslib: 2.5.1 - worker-factory: 6.0.76 - dev: false - - /regenerator-runtime@0.13.11: - resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==} - dev: false - - /request@2.88.2: - resolution: {integrity: sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==} - engines: {node: '>= 6'} - deprecated: request has been deprecated, see https://github.com/request/request/issues/3142 - dependencies: - aws-sign2: 0.7.0 - aws4: 1.12.0 - caseless: 0.12.0 - combined-stream: 1.0.8 - extend: 3.0.2 - forever-agent: 0.6.1 - form-data: 2.3.3 - har-validator: 5.1.5 - http-signature: 1.2.0 - is-typedarray: 1.0.0 - isstream: 0.1.2 - json-stringify-safe: 5.0.1 - mime-types: 2.1.34 - oauth-sign: 0.9.0 - performance-now: 2.1.0 - qs: 6.5.3 - safe-buffer: 5.2.1 - tough-cookie: 2.5.0 - tunnel-agent: 0.6.0 - uuid: 3.4.0 - dev: false - - /require-directory@2.1.1: - resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} - engines: {node: '>=0.10.0'} - dev: true - - /requires-port@1.0.0: - resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} - dev: true - - /resize-observer-polyfill@1.5.1: - resolution: {integrity: sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==} - dev: false - - /resolve-cwd@3.0.0: - resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==} - engines: {node: '>=8'} - dependencies: - resolve-from: 5.0.0 - dev: true - - /resolve-from@4.0.0: - resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} - engines: {node: '>=4'} - dev: true - - /resolve-from@5.0.0: - resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} - engines: {node: '>=8'} - dev: true - - /resolve.exports@2.0.2: - resolution: {integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==} - engines: {node: '>=10'} - dev: true - - /resolve@1.19.0: - resolution: {integrity: sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==} - dependencies: - is-core-module: 2.12.0 - path-parse: 1.0.7 - dev: false - - /resolve@1.22.2: - resolution: {integrity: sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==} - hasBin: true - dependencies: - is-core-module: 2.12.1 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - - /reusify@1.0.4: - resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} - engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - - /rimraf@2.7.1: - resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==} - hasBin: true - dependencies: - glob: 7.2.3 - - /rimraf@3.0.2: - resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} - hasBin: true - dependencies: - glob: 7.2.3 - dev: true - - /robust-predicates@3.0.1: - resolution: {integrity: sha512-ndEIpszUHiG4HtDsQLeIuMvRsDnn8c8rYStabochtUeCvfuvNptb5TUbVD68LRAILPX7p9nqQGh4xJgn3EHS/g==} - dev: false - - /rollup-plugin-visualizer@5.9.2: - resolution: {integrity: sha512-waHktD5mlWrYFrhOLbti4YgQCn1uR24nYsNuXxg7LkPH8KdTXVWR9DNY1WU0QqokyMixVXJS4J04HNrVTMP01A==} - engines: {node: '>=14'} - hasBin: true - peerDependencies: - rollup: 2.x || 3.x - peerDependenciesMeta: - rollup: - optional: true - dependencies: - open: 8.4.2 - picomatch: 2.3.1 - source-map: 0.7.4 - yargs: 17.7.2 - dev: true - - /rollup@2.77.3: - resolution: {integrity: sha512-/qxNTG7FbmefJWoeeYJFbHehJ2HNWnjkAFRKzWN/45eNBBF/r8lo992CwcJXEzyVxs5FmfId+vTSTQDb+bxA+g==} - engines: {node: '>=10.0.0'} - hasBin: true - optionalDependencies: - fsevents: 2.3.2 - dev: true - - /rollup@2.79.1: - resolution: {integrity: sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==} - engines: {node: '>=10.0.0'} - hasBin: true - optionalDependencies: - fsevents: 2.3.2 - dev: true - - /rollup@3.21.0: - resolution: {integrity: sha512-ANPhVcyeHvYdQMUyCbczy33nbLzI7RzrBje4uvNiTDJGIMtlKoOStmympwr9OtS1LZxiDmE2wvxHyVhoLtf1KQ==} - engines: {node: '>=14.18.0', npm: '>=8.0.0'} - hasBin: true - optionalDependencies: - fsevents: 2.3.2 - - /rollup@3.25.1: - resolution: {integrity: sha512-tywOR+rwIt5m2ZAWSe5AIJcTat8vGlnPFAv15ycCrw33t6iFsXZ6mzHVFh2psSjxQPmI+xgzMZZizUAukBI4aQ==} - engines: {node: '>=14.18.0', npm: '>=8.0.0'} - hasBin: true - optionalDependencies: - fsevents: 2.3.2 - - /rrweb-cssom@0.6.0: - resolution: {integrity: sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==} - dev: true - - /run-parallel@1.2.0: - resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} - dependencies: - queue-microtask: 1.2.3 - - /rw@1.3.3: - resolution: {integrity: sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==} - dev: false - - /rxjs-interop@2.0.0: - resolution: {integrity: sha512-ASEq9atUw7lualXB+knvgtvwkCEvGWV2gDD/8qnASzBkzEARZck9JAyxmY8OS6Nc1pCPEgDTKNcx+YqqYfzArw==} - dev: false - - /rxjs@7.8.1: - resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==} - requiresBuild: true - dependencies: - tslib: 2.5.3 - dev: false - optional: true - - /sade@1.8.1: - resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} - engines: {node: '>=6'} - dependencies: - mri: 1.2.0 - dev: true - - /safe-buffer@5.1.2: - resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} - dev: false - - /safe-buffer@5.2.1: - resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} - dev: false - - /safer-buffer@2.1.2: - resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - - /sander@0.5.1: - resolution: {integrity: sha512-3lVqBir7WuKDHGrKRDn/1Ye3kwpXaDOMsiRP1wd6wpZW56gJhsbp5RqQpA6JG/P+pkXizygnr1dKR8vzWaVsfA==} - dependencies: - es6-promise: 3.3.1 - graceful-fs: 4.2.11 - mkdirp: 0.5.6 - rimraf: 2.7.1 - - /sass@1.61.0: - resolution: {integrity: sha512-PDsN7BrVkNZK2+dj/dpKQAWZavbAQ87IXqVvw2+oEYI+GwlTWkvbQtL7F2cCNbMqJEYKPh1EcjSxsnqIb/kyaQ==} - engines: {node: '>=14.0.0'} - hasBin: true - dependencies: - chokidar: 3.5.3 - immutable: 4.3.0 - source-map-js: 1.0.2 - dev: true - - /sass@1.63.6: - resolution: {integrity: sha512-MJuxGMHzaOW7ipp+1KdELtqKbfAWbH7OLIdoSMnVe3EXPMTmxTmlaZDCTsgIpPCs3w99lLo9/zDKkOrJuT5byw==} - engines: {node: '>=14.0.0'} - hasBin: true - dependencies: - chokidar: 3.5.3 - immutable: 4.3.0 - source-map-js: 1.0.2 - - /saxes@6.0.0: - resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} - engines: {node: '>=v12.22.7'} - dependencies: - xmlchars: 2.2.0 - dev: true - - /semver@6.3.0: - resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==} - hasBin: true - dev: true - - /semver@7.3.8: - resolution: {integrity: sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==} - engines: {node: '>=10'} - hasBin: true - dependencies: - lru-cache: 6.0.0 - dev: false - - /semver@7.4.0: - resolution: {integrity: sha512-RgOxM8Mw+7Zus0+zcLEUn8+JfoLpj/huFTItQy2hsM4khuC1HYRDp0cU482Ewn/Fcy6bCjufD8vAj7voC66KQw==} - engines: {node: '>=10'} - hasBin: true - dependencies: - lru-cache: 6.0.0 - dev: false - - /semver@7.5.0: - resolution: {integrity: sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==} - engines: {node: '>=10'} - hasBin: true - dependencies: - lru-cache: 6.0.0 - - /set-cookie-parser@2.6.0: - resolution: {integrity: sha512-RVnVQxTXuerk653XfuliOxBP81Sf0+qfQE73LIYKcyMYHG94AuH0kgrQpRDuTZnSmjpysHmzxJXKNfa6PjFhyQ==} - dev: true - - /shebang-command@2.0.0: - resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} - engines: {node: '>=8'} - dependencies: - shebang-regex: 3.0.0 - dev: true - - /shebang-regex@3.0.0: - resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} - engines: {node: '>=8'} - dev: true - - /side-channel@1.0.4: - resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} - dependencies: - call-bind: 1.0.2 - get-intrinsic: 1.2.0 - object-inspect: 1.12.3 - dev: false - - /siginfo@2.0.0: - resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} - - /signal-exit@3.0.7: - resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} - dev: true - - /sirv@2.0.3: - resolution: {integrity: sha512-O9jm9BsID1P+0HOi81VpXPoDxYP374pkOLzACAoyUQ/3OUVndNpsz6wMnY2z+yOxzbllCKZrM+9QrWsv4THnyA==} - engines: {node: '>= 10'} - dependencies: - '@polka/url': 1.0.0-next.21 - mrmime: 1.0.1 - totalist: 3.0.1 - dev: true - - /sisteransi@1.0.5: - resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} - dev: true - - /skeleton-elements@4.0.1: - resolution: {integrity: sha512-T7YSF/Vu/raUcM6v3HiE4VSY/OvrNflg8Dur3Zza6VVJkq4slxm4pJRpGLNhoOfblIPZLQKh1cu7ADKveyqm/Q==} - dev: false - - /slash@3.0.0: - resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} - engines: {node: '>=8'} - dev: true - - /sorcery@0.10.0: - resolution: {integrity: sha512-R5ocFmKZQFfSTstfOtHjJuAwbpGyf9qjQa1egyhvXSbM7emjrtLXtGdZsDJDABC85YBfVvrOiGWKSYXPKdvP1g==} - hasBin: true - dependencies: - buffer-crc32: 0.2.13 - minimist: 1.2.8 - sander: 0.5.1 - sourcemap-codec: 1.4.8 - dev: true - - /sorcery@0.11.0: - resolution: {integrity: sha512-J69LQ22xrQB1cIFJhPfgtLuI6BpWRiWu1Y3vSsIwK/eAScqJxd/+CJlUuHQRdX2C9NGFamq+KqNywGgaThwfHw==} - hasBin: true - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - buffer-crc32: 0.2.13 - minimist: 1.2.8 - sander: 0.5.1 - - /source-map-js@1.0.2: - resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} - engines: {node: '>=0.10.0'} - - /source-map-support@0.5.13: - resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==} - dependencies: - buffer-from: 1.1.2 - source-map: 0.6.1 - dev: true - - /source-map-support@0.5.21: - resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} - dependencies: - buffer-from: 1.1.2 - source-map: 0.6.1 - dev: true - - /source-map@0.6.1: - resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} - engines: {node: '>=0.10.0'} - - /source-map@0.7.4: - resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} - engines: {node: '>= 8'} - dev: true - - /sourcemap-codec@1.4.8: - resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} - deprecated: Please use @jridgewell/sourcemap-codec instead - dev: true - - /sprintf-js@1.0.3: - resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} - - /sshpk@1.17.0: - resolution: {integrity: sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==} - engines: {node: '>=0.10.0'} - hasBin: true - dependencies: - asn1: 0.2.6 - assert-plus: 1.0.0 - bcrypt-pbkdf: 1.0.2 - dashdash: 1.14.1 - ecc-jsbn: 0.1.2 - getpass: 0.1.7 - jsbn: 0.1.1 - safer-buffer: 2.1.2 - tweetnacl: 0.14.5 - dev: false - - /ssr-window@4.0.2: - resolution: {integrity: sha512-ISv/Ch+ig7SOtw7G2+qkwfVASzazUnvlDTwypdLoPoySv+6MqlOV10VwPSE6EWkGjhW50lUmghPmpYZXMu/+AQ==} - dev: false - - /stack-utils@2.0.6: - resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} - engines: {node: '>=10'} - dependencies: - escape-string-regexp: 2.0.0 - dev: true - - /stackback@0.0.2: - resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} - - /standardized-audio-context@25.3.45: - resolution: {integrity: sha512-d1UVvbz0mDmEqNehvoTKlpSevRJ3YiVZ6kdboeaWX+8cl94H1w8x7c5RNdg0nqxiE049LMeF4tFPuDl5Vm78Kg==} - dependencies: - '@babel/runtime': 7.21.0 - automation-events: 6.0.0 - tslib: 2.5.1 - dev: false - - /std-env@3.3.3: - resolution: {integrity: sha512-Rz6yejtVyWnVjC1RFvNmYL10kgjC49EOghxWn0RFqlCHGFpQx+Xe7yW3I4ceK1SGrWIGMjD5Kbue8W/udkbMJg==} - - /stream-transform@3.2.6: - resolution: {integrity: sha512-/pyOvaCQFqYTmrFhmMbnAEVo3SsTx1H39eUVPOtYeAgbEUc+rDo7GoP8LbHJgU83mKtzJe/7Nq/ipaAnUOHgJQ==} - dev: false - - /streamsearch@1.1.0: - resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==} - engines: {node: '>=10.0.0'} - dev: true - - /string-argv@0.3.1: - resolution: {integrity: sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==} - engines: {node: '>=0.6.19'} - dev: false - - /string-length@4.0.2: - resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==} - engines: {node: '>=10'} - dependencies: - char-regex: 1.0.2 - strip-ansi: 6.0.1 - dev: true - - /string-width@4.2.3: - resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} - engines: {node: '>=8'} - dependencies: - emoji-regex: 8.0.0 - is-fullwidth-code-point: 3.0.0 - strip-ansi: 6.0.1 - dev: true - - /string_decoder@1.1.1: - resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==} - dependencies: - safe-buffer: 5.1.2 - dev: false - - /strip-ansi@6.0.1: - resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} - engines: {node: '>=8'} - dependencies: - ansi-regex: 5.0.1 - dev: true - - /strip-bom@4.0.0: - resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==} - engines: {node: '>=8'} - dev: true - - /strip-final-newline@2.0.0: - resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} - engines: {node: '>=6'} - dev: true - - /strip-indent@3.0.0: - resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} - engines: {node: '>=8'} - dependencies: - min-indent: 1.0.1 - - /strip-json-comments@3.1.1: - resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} - engines: {node: '>=8'} - - /strip-literal@1.0.1: - resolution: {integrity: sha512-QZTsipNpa2Ppr6v1AmJHESqJ3Uz247MUS0OjrnnZjFAvEoWqxuyFuXn2xLgMtRnijJShAa1HL0gtJyUs7u7n3Q==} - dependencies: - acorn: 8.9.0 - - /style-mod@4.0.3: - resolution: {integrity: sha512-78Jv8kYJdjbvRwwijtCevYADfsI0lGzYJe4mMFdceO8l75DFFDoqBhR1jVDicDRRaX4//g1u9wKeo+ztc2h1Rw==} - dev: false - - /subscribable-things@2.1.14: - resolution: {integrity: sha512-+0e6wGpFVa7snrwzY/xwiiQhlpBglvPAhsYK9EhFAcboP5z0eN1W3CQoROYyeY3psiCbwcleb9vaXasKAcvISw==} - dependencies: - '@babel/runtime': 7.21.0 - rxjs-interop: 2.0.0 - tslib: 2.5.1 - dev: false - - /sucrase@3.32.0: - resolution: {integrity: sha512-ydQOU34rpSyj2TGyz4D2p8rbktIOZ8QY9s+DGLvFU1i5pWJE8vkpruCjGCMHsdXwnD7JDcS+noSwM/a7zyNFDQ==} - engines: {node: '>=8'} - hasBin: true - dependencies: - '@jridgewell/gen-mapping': 0.3.3 - commander: 4.1.1 - glob: 7.1.6 - lines-and-columns: 1.2.4 - mz: 2.7.0 - pirates: 4.0.6 - ts-interface-checker: 0.1.13 - - /supports-color@5.5.0: - resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} - engines: {node: '>=4'} - dependencies: - has-flag: 3.0.0 - dev: true - - /supports-color@7.2.0: - resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} - engines: {node: '>=8'} - dependencies: - has-flag: 4.0.0 - dev: true - - /supports-color@8.1.1: - resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} - engines: {node: '>=10'} - dependencies: - has-flag: 4.0.0 - dev: true - - /supports-preserve-symlinks-flag@1.0.0: - resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} - engines: {node: '>= 0.4'} - - /svelte-bootstrap-icons@2.3.1: - resolution: {integrity: sha512-Vqhgmcd55hEoB/MrPESvVYo4+m++2q9l00a5lzGkgbXTiO6go21PTU9DaeAJ446WBiEmg3Q8sv9QVOBmh5c1ww==} - dev: false - - /svelte-check@2.2.6(postcss-load-config@3.1.4)(postcss@8.4.21)(svelte@3.58.0): - resolution: {integrity: sha512-oJux/afbmcZO+N+ADXB88h6XANLie8Y2rh2qBlhgfkpr2c3t/q/T0w2JWrHqagaDL8zeNwO8a8RVFBkrRox8gg==} - hasBin: true - peerDependencies: - svelte: ^3.24.0 - dependencies: - chalk: 4.1.2 - chokidar: 3.5.3 - fast-glob: 3.2.12 - import-fresh: 3.3.0 - minimist: 1.2.8 - sade: 1.8.1 - source-map: 0.7.4 - svelte: 3.58.0 - svelte-preprocess: 4.10.1(postcss-load-config@3.1.4)(postcss@8.4.21)(svelte@3.58.0)(typescript@5.0.3) - typescript: 5.0.3 - transitivePeerDependencies: - - '@babel/core' - - coffeescript - - less - - node-sass - - postcss - - postcss-load-config - - pug - - sass - - stylus - - sugarss - dev: true - - /svelte-check@3.4.4(sass@1.63.6)(svelte@4.0.0): - resolution: {integrity: sha512-Uys9+R65cj8TmP8f5UpS7B2xKpNLYNxEWJsA5ZoKcWq/uwvABFF7xS6iPQGLoa7hxz0DS6xU60YFpmq06E4JxA==} - hasBin: true - peerDependencies: - svelte: ^3.55.0 || ^4.0.0-next.0 || ^4.0.0 - dependencies: - '@jridgewell/trace-mapping': 0.3.18 - chokidar: 3.5.3 - fast-glob: 3.2.12 - import-fresh: 3.3.0 - picocolors: 1.0.0 - sade: 1.8.1 - svelte: 4.0.0 - svelte-preprocess: 5.0.4(sass@1.63.6)(svelte@4.0.0)(typescript@5.1.3) - typescript: 5.1.3 - transitivePeerDependencies: - - '@babel/core' - - coffeescript - - less - - postcss - - postcss-load-config - - pug - - sass - - stylus - - sugarss - dev: true - - /svelte-dnd-action@0.9.22(svelte@4.0.0): - resolution: {integrity: sha512-lOQJsNLM1QWv5mdxIkCVtk6k4lHCtLgfE59y8rs7iOM6erchbLC9hMEFYSveZz7biJV0mpg7yDSs4bj/RT/YkA==} - peerDependencies: - svelte: '>=3.23.0' - dependencies: - svelte: 4.0.0 - dev: true - - /svelte-feather-icons@4.0.1: - resolution: {integrity: sha512-DMDrlbblaRUHLcTFtKHE4GWQ/Fk/kneGIZrrI75EmTxCu1hgHe8uq8e80ONrmdjL/i3f1d8fkcx73SWng2X6Gg==} - dependencies: - svelte: 3.59.2 - dev: false - - /svelte-floating-ui@1.2.8: - resolution: {integrity: sha512-8Ifi5CD2Ui7FX7NjJRmutFtXjrB8T/FMNoS2H8P81t5LHK4I9G4NIs007rLWG/nRl7y+zJUXa3tWuTjYXw/O5A==} - dependencies: - '@floating-ui/core': 1.3.1 - '@floating-ui/dom': 1.4.2 - dev: false - - /svelte-floating-ui@1.5.3: - resolution: {integrity: sha512-yjLeRQ4SNcICbMabp5S2cXc5ubBd2eua+swfTqqGBeg8ZrUvotZYK8jsRWETl/3RgLQsaZbEYKx8OmLA3wL/yw==} - dependencies: - '@floating-ui/core': 1.3.1 - '@floating-ui/dom': 1.4.2 - dev: false - - /svelte-hmr@0.15.1(svelte@3.58.0): - resolution: {integrity: sha512-BiKB4RZ8YSwRKCNVdNxK/GfY+r4Kjgp9jCLEy0DuqAKfmQtpL38cQK3afdpjw4sqSs4PLi3jIPJIFp259NkZtA==} - engines: {node: ^12.20 || ^14.13.1 || >= 16} - peerDependencies: - svelte: '>=3.19.0' - dependencies: - svelte: 3.58.0 - dev: true - - /svelte-hmr@0.15.2(svelte@4.0.0): - resolution: {integrity: sha512-q/bAruCvFLwvNbeE1x3n37TYFb3mTBJ6TrCq6p2CoFbSTNhDE9oAtEfpy+wmc9So8AG0Tja+X0/mJzX9tSfvIg==} - engines: {node: ^12.20 || ^14.13.1 || >= 16} - peerDependencies: - svelte: ^3.19.0 || ^4.0.0-next.0 - dependencies: - svelte: 4.0.0 - dev: false - - /svelte-preprocess@4.10.1(postcss-load-config@3.1.4)(postcss@8.4.21)(svelte@3.58.0)(typescript@4.5.4): - resolution: {integrity: sha512-NSNloaylf+o9UeyUR2KvpdxrAyMdHl3U7rMnoP06/sG0iwJvlUM4TpMno13RaNqovh4AAoGsx1jeYcIyuGUXMw==} - engines: {node: '>= 9.11.2'} - requiresBuild: true - peerDependencies: - '@babel/core': ^7.10.2 - coffeescript: ^2.5.1 - less: ^3.11.3 - node-sass: '*' - postcss: ^7 || ^8 - postcss-load-config: ^2.1.0 || ^3.0.0 - pug: ^3.0.0 - sass: ^1.26.8 - stylus: ^0.54.7 - sugarss: ^2.0.0 - svelte: ^3.23.0 - typescript: ^4.5.2 - peerDependenciesMeta: - '@babel/core': - optional: true - coffeescript: - optional: true - less: - optional: true - node-sass: - optional: true - postcss: - optional: true - postcss-load-config: - optional: true - pug: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - typescript: - optional: true - dependencies: - '@types/pug': 2.0.6 - '@types/sass': 1.45.0 - detect-indent: 6.1.0 - magic-string: 0.25.9 - postcss: 8.4.21 - postcss-load-config: 3.1.4(postcss@8.4.21) - sorcery: 0.10.0 - strip-indent: 3.0.0 - svelte: 3.58.0 - typescript: 4.5.4 - dev: true - - /svelte-preprocess@4.10.1(postcss-load-config@3.1.4)(postcss@8.4.21)(svelte@3.58.0)(typescript@5.0.3): - resolution: {integrity: sha512-NSNloaylf+o9UeyUR2KvpdxrAyMdHl3U7rMnoP06/sG0iwJvlUM4TpMno13RaNqovh4AAoGsx1jeYcIyuGUXMw==} - engines: {node: '>= 9.11.2'} - requiresBuild: true - peerDependencies: - '@babel/core': ^7.10.2 - coffeescript: ^2.5.1 - less: ^3.11.3 - node-sass: '*' - postcss: ^7 || ^8 - postcss-load-config: ^2.1.0 || ^3.0.0 - pug: ^3.0.0 - sass: ^1.26.8 - stylus: ^0.54.7 - sugarss: ^2.0.0 - svelte: ^3.23.0 - typescript: ^4.5.2 - peerDependenciesMeta: - '@babel/core': - optional: true - coffeescript: - optional: true - less: - optional: true - node-sass: - optional: true - postcss: - optional: true - postcss-load-config: - optional: true - pug: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - typescript: - optional: true - dependencies: - '@types/pug': 2.0.6 - '@types/sass': 1.45.0 - detect-indent: 6.1.0 - magic-string: 0.25.9 - postcss: 8.4.21 - postcss-load-config: 3.1.4(postcss@8.4.21) - sorcery: 0.10.0 - strip-indent: 3.0.0 - svelte: 3.58.0 - typescript: 5.0.3 - dev: true - - /svelte-preprocess@5.0.4(sass@1.63.6)(svelte@4.0.0)(typescript@5.1.3): - resolution: {integrity: sha512-ABia2QegosxOGsVlsSBJvoWeXy1wUKSfF7SWJdTjLAbx/Y3SrVevvvbFNQqrSJw89+lNSsM58SipmZJ5SRi5iw==} - engines: {node: '>= 14.10.0'} - requiresBuild: true - peerDependencies: - '@babel/core': ^7.10.2 - coffeescript: ^2.5.1 - less: ^3.11.3 || ^4.0.0 - postcss: ^7 || ^8 - postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0 - pug: ^3.0.0 - sass: ^1.26.8 - stylus: ^0.55.0 - sugarss: ^2.0.0 || ^3.0.0 || ^4.0.0 - svelte: ^3.23.0 || ^4.0.0-next.0 || ^4.0.0 - typescript: '>=3.9.5 || ^4.0.0 || ^5.0.0' - peerDependenciesMeta: - '@babel/core': - optional: true - coffeescript: - optional: true - less: - optional: true - postcss: - optional: true - postcss-load-config: - optional: true - pug: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - typescript: - optional: true - dependencies: - '@types/pug': 2.0.6 - detect-indent: 6.1.0 - magic-string: 0.27.0 - sass: 1.63.6 - sorcery: 0.11.0 - strip-indent: 3.0.0 - svelte: 4.0.0 - typescript: 5.1.3 - - /svelte-range-slider-pips@2.0.1: - resolution: {integrity: sha512-sCHvcTgi0ZYE4c/mwSsdALRsfuqEmpwTsSUdL+PUrumZ8u2gv1GKwZ3GohcAcTB6gfmqRBkyn6ujRXrOIga1gw==} - dev: false - - /svelte-select@5.6.1: - resolution: {integrity: sha512-Powj91VAWyaNMSSOQ0E29UMTw/ExWsHEsA83H7yQgfji2S2DhG6Rs5qZHslZ+ihbCPxXel5uEzwLsSqDABkQDw==} - dependencies: - '@floating-ui/dom': 1.4.2 - svelte-floating-ui: 1.2.8 - dev: false - - /svelte-splitpanes@0.7.15(svelte@4.0.0): - resolution: {integrity: sha512-WKonaZexyCK4xX9lQrmTn4hhYvmtonjtVRuHPx7pW5kc64XN+EUWX7HTpLFwiHXQZ7UnfE2PvltuVcwWAJUm4Q==} - peerDependencies: - svelte: ^3.54.0 - dependencies: - esm-env-robust: 0.0.3 - svelte: 4.0.0 - dev: false - - /svelte-tiny-virtual-list@2.0.5: - resolution: {integrity: sha512-xg9ckb8UeeIme4/5qlwCrl2QNmUZ8SCQYZn3Ji83cUsoASqRNy3KWjpmNmzYvPDqCHSZjruBBsoB7t5hwuzw5g==} - dev: false - - /svelte-vega@1.2.0(vega-lite@0.6.7)(vega@5.22.1): - resolution: {integrity: sha512-MsDdO+l7o/d9d4mVkh8MBDhqZvJ45lpuprBaTj0V/ZilIG902QERHFQlam3ZFcR9C9OIKSpmPqINssWNPkDdcA==} - peerDependencies: - vega: '*' - vega-lite: '*' - dependencies: - fast-deep-equal: 3.1.3 - vega: 5.22.1 - vega-embed: 6.22.1(vega-lite@0.6.7)(vega@5.22.1) - vega-lite: 0.6.7 - dev: false - - /svelte@3.58.0: - resolution: {integrity: sha512-brIBNNB76mXFmU/Kerm4wFnkskBbluBDCjx/8TcpYRb298Yh2dztS2kQ6bhtjMcvUhd5ynClfwpz5h2gnzdQ1A==} - engines: {node: '>= 8'} - - /svelte@3.59.2: - resolution: {integrity: sha512-vzSyuGr3eEoAtT/A6bmajosJZIUWySzY2CzB3w2pgPvnkUjGqlDnsNnA0PMO+mMAhuyMul6C2uuZzY6ELSkzyA==} - engines: {node: '>= 8'} - dev: false - - /svelte@4.0.0: - resolution: {integrity: sha512-+yCYu3AEUu9n91dnQNGIbnVp8EmNQtuF/YImW4+FTXRHard7NMo+yTsWzggPAbj3fUEJ1FBJLkql/jkp6YB5pg==} - engines: {node: '>=16'} - dependencies: - '@ampproject/remapping': 2.2.1 - '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.18 - acorn: 8.9.0 - aria-query: 5.2.1 - axobject-query: 3.2.1 - code-red: 1.0.3 - css-tree: 2.3.1 - estree-walker: 3.0.3 - is-reference: 3.0.1 - locate-character: 3.0.0 - magic-string: 0.30.0 - periscopic: 3.1.0 - - /swiper@9.4.1: - resolution: {integrity: sha512-1nT2T8EzUpZ0FagEqaN/YAhRj33F2x/lN6cyB0/xoYJDMf8KwTFT3hMOeoB8Tg4o3+P/CKqskP+WX0Df046fqA==} - engines: {node: '>= 4.7.0'} - dependencies: - ssr-window: 4.0.2 - dev: false - - /symbol-tree@3.2.4: - resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} - dev: true - - /sync-request@6.1.0: - resolution: {integrity: sha512-8fjNkrNlNCrVc/av+Jn+xxqfCjYaBoHqCsDz6mt030UMxJGr+GSfCV1dQt2gRtlL63+VPidwDVLr7V2OcTSdRw==} - engines: {node: '>=8.0.0'} - dependencies: - http-response-object: 3.0.2 - sync-rpc: 1.3.6 - then-request: 6.0.2 - dev: false - - /sync-rpc@1.3.6: - resolution: {integrity: sha512-J8jTXuZzRlvU7HemDgHi3pGnh/rkoqR/OZSjhTyyZrEkkYQbk7Z33AXp37mkPfPpfdOuj7Ex3H/TJM1z48uPQw==} - dependencies: - get-port: 3.2.0 - dev: false - - /tailwindcss@3.3.1: - resolution: {integrity: sha512-Vkiouc41d4CEq0ujXl6oiGFQ7bA3WEhUZdTgXAhtKxSy49OmKs8rEfQmupsfF0IGW8fv2iQkp1EVUuapCFrZ9g==} - engines: {node: '>=12.13.0'} - hasBin: true - dependencies: - arg: 5.0.2 - chokidar: 3.5.3 - color-name: 1.1.4 - didyoumean: 1.2.2 - dlv: 1.1.3 - fast-glob: 3.2.12 - glob-parent: 6.0.2 - is-glob: 4.0.3 - jiti: 1.18.2 - lilconfig: 2.1.0 - micromatch: 4.0.5 - normalize-path: 3.0.0 - object-hash: 3.0.0 - picocolors: 1.0.0 - postcss: 8.4.21 - postcss-import: 14.1.0(postcss@8.4.21) - postcss-js: 4.0.1(postcss@8.4.21) - postcss-load-config: 3.1.4(postcss@8.4.21) - postcss-nested: 6.0.0(postcss@8.4.21) - postcss-selector-parser: 6.0.11 - postcss-value-parser: 4.2.0 - quick-lru: 5.1.1 - resolve: 1.22.2 - sucrase: 3.32.0 - transitivePeerDependencies: - - ts-node - dev: true - - /tailwindcss@3.3.2: - resolution: {integrity: sha512-9jPkMiIBXvPc2KywkraqsUfbfj+dHDb+JPWtSJa9MLFdrPyazI7q6WX2sUrm7R9eVR7qqv3Pas7EvQFzxKnI6w==} - engines: {node: '>=14.0.0'} - hasBin: true - dependencies: - '@alloc/quick-lru': 5.2.0 - arg: 5.0.2 - chokidar: 3.5.3 - didyoumean: 1.2.2 - dlv: 1.1.3 - fast-glob: 3.2.12 - glob-parent: 6.0.2 - is-glob: 4.0.3 - jiti: 1.18.2 - lilconfig: 2.1.0 - micromatch: 4.0.5 - normalize-path: 3.0.0 - object-hash: 3.0.0 - picocolors: 1.0.0 - postcss: 8.4.24 - postcss-import: 15.1.0(postcss@8.4.24) - postcss-js: 4.0.1(postcss@8.4.24) - postcss-load-config: 4.0.1(postcss@8.4.24) - postcss-nested: 6.0.1(postcss@8.4.24) - postcss-selector-parser: 6.0.13 - postcss-value-parser: 4.2.0 - resolve: 1.22.2 - sucrase: 3.32.0 - transitivePeerDependencies: - - ts-node - dev: false - - /test-exclude@6.0.0: - resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} - engines: {node: '>=8'} - dependencies: - '@istanbuljs/schema': 0.1.3 - glob: 7.2.3 - minimatch: 3.1.2 - dev: true - - /text-table@0.2.0: - resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} - dev: true - - /then-request@6.0.2: - resolution: {integrity: sha512-3ZBiG7JvP3wbDzA9iNY5zJQcHL4jn/0BWtXIkagfz7QgOL/LqjCEOBQuJNZfu0XYnv5JhKh+cDxCPM4ILrqruA==} - engines: {node: '>=6.0.0'} - dependencies: - '@types/concat-stream': 1.6.1 - '@types/form-data': 0.0.33 - '@types/node': 8.10.66 - '@types/qs': 6.9.7 - caseless: 0.12.0 - concat-stream: 1.6.2 - form-data: 2.5.1 - http-basic: 8.1.3 - http-response-object: 3.0.2 - promise: 8.3.0 - qs: 6.11.1 - dev: false - - /thenify-all@1.6.0: - resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} - engines: {node: '>=0.8'} - dependencies: - thenify: 3.3.1 - - /thenify@3.3.1: - resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} - dependencies: - any-promise: 1.3.0 - - /time-zone@1.0.0: - resolution: {integrity: sha512-TIsDdtKo6+XrPtiTm1ssmMngN1sAhyKnTO2kunQWqNPWIVvCm15Wmw4SWInwTVgJ5u/Tr04+8Ei9TNcw4x4ONA==} - engines: {node: '>=4'} - dev: false - - /tiny-glob@0.2.9: - resolution: {integrity: sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==} - dependencies: - globalyzer: 0.1.0 - globrex: 0.1.2 - dev: true - - /tiny-invariant@1.3.1: - resolution: {integrity: sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw==} - dev: true - - /tinybench@2.4.0: - resolution: {integrity: sha512-iyziEiyFxX4kyxSp+MtY1oCH/lvjH3PxFN8PGCDeqcZWAJ/i+9y+nL85w99PxVzrIvew/GSkSbDYtiGVa85Afg==} - dev: false - - /tinybench@2.5.0: - resolution: {integrity: sha512-kRwSG8Zx4tjF9ZiyH4bhaebu+EDz1BOx9hOigYHlUW4xxI/wKIUQUqo018UlU4ar6ATPBsaMrdbKZ+tmPdohFA==} - dev: true - - /tinypool@0.3.1: - resolution: {integrity: sha512-zLA1ZXlstbU2rlpA4CIeVaqvWq41MTWqLY3FfsAXgC8+f7Pk7zroaJQxDgxn1xNudKW6Kmj4808rPFShUlIRmQ==} - engines: {node: '>=14.0.0'} - dev: true - - /tinypool@0.5.0: - resolution: {integrity: sha512-paHQtnrlS1QZYKF/GnLoOM/DN9fqaGOFbCbxzAhwniySnzl9Ebk8w73/dd34DAhe/obUbPAOldTyYXQZxnPBPQ==} - engines: {node: '>=14.0.0'} - dev: false - - /tinyspy@1.1.1: - resolution: {integrity: sha512-UVq5AXt/gQlti7oxoIg5oi/9r0WpF7DGEVwXgqWSMmyN16+e3tl5lIvTaOpJ3TAtu5xFzWccFRM4R5NaWHF+4g==} - engines: {node: '>=14.0.0'} - dev: true - - /tinyspy@2.1.0: - resolution: {integrity: sha512-7eORpyqImoOvkQJCSkL0d0mB4NHHIFAy4b1u8PHdDa7SjGS2njzl6/lyGoZLm+eyYEtlUmFGE0rFj66SWxZgQQ==} - engines: {node: '>=14.0.0'} - dev: false - - /tmpl@1.0.5: - resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} - dev: true - - /to-fast-properties@2.0.0: - resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} - engines: {node: '>=4'} - - /to-regex-range@5.0.1: - resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} - engines: {node: '>=8.0'} - dependencies: - is-number: 7.0.0 - - /topojson-client@3.1.0: - resolution: {integrity: sha512-605uxS6bcYxGXw9qi62XyrV6Q3xwbndjachmNxu8HWTtVPxZfEJN9fd/SZS1Q54Sn2y0TMyMxFj/cJINqGHrKw==} - hasBin: true - dependencies: - commander: 2.20.3 - dev: false - - /totalist@3.0.1: - resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} - engines: {node: '>=6'} - dev: true - - /tough-cookie@2.5.0: - resolution: {integrity: sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==} - engines: {node: '>=0.8'} - dependencies: - psl: 1.9.0 - punycode: 2.3.0 - dev: false - - /tough-cookie@4.1.3: - resolution: {integrity: sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==} - engines: {node: '>=6'} - dependencies: - psl: 1.9.0 - punycode: 2.3.0 - universalify: 0.2.0 - url-parse: 1.5.10 - dev: true - - /tr46@0.0.3: - resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - dev: false - - /tr46@4.1.1: - resolution: {integrity: sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw==} - engines: {node: '>=14'} - dependencies: - punycode: 2.3.0 - dev: true - - /ts-interface-checker@0.1.13: - resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - - /ts-morph@17.0.1: - resolution: {integrity: sha512-10PkHyXmrtsTvZSL+cqtJLTgFXkU43Gd0JCc0Rw6GchWbqKe0Rwgt1v3ouobTZwQzF1mGhDeAlWYBMGRV7y+3g==} - dependencies: - '@ts-morph/common': 0.18.1 - code-block-writer: 11.0.3 - dev: false - - /tsconfck@2.1.1(typescript@5.1.3): - resolution: {integrity: sha512-ZPCkJBKASZBmBUNqGHmRhdhM8pJYDdOXp4nRgj/O0JwUwsMq50lCDRQP/M5GBNAA0elPrq4gAeu4dkaVCuKWww==} - engines: {node: ^14.13.1 || ^16 || >=18} - hasBin: true - peerDependencies: - typescript: ^4.3.5 || ^5.0.0 - peerDependenciesMeta: - typescript: - optional: true - dependencies: - typescript: 5.1.3 - dev: true - - /tslib@1.14.1: - resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} - dev: true - - /tslib@2.5.0: - resolution: {integrity: sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==} - - /tslib@2.5.1: - resolution: {integrity: sha512-KaI6gPil5m9vF7DKaoXxx1ia9fxS4qG5YveErRRVknPDXXriu5M8h48YRjB6h5ZUOKuAKlSJYb0GaDe8I39fRw==} - dev: false - - /tslib@2.5.3: - resolution: {integrity: sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==} - dev: false - optional: true - - /tsutils@3.21.0(typescript@5.0.3): - resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} - engines: {node: '>= 6'} - peerDependencies: - typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' - dependencies: - tslib: 1.14.1 - typescript: 5.0.3 - dev: true - - /tunnel-agent@0.6.0: - resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==} - dependencies: - safe-buffer: 5.2.1 - dev: false - - /tweetnacl@0.14.5: - resolution: {integrity: sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==} - dev: false - - /type-check@0.4.0: - resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} - engines: {node: '>= 0.8.0'} - dependencies: - prelude-ls: 1.2.1 - dev: true - - /type-detect@4.0.8: - resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} - engines: {node: '>=4'} - - /type-fest@0.20.2: - resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} - engines: {node: '>=10'} - dev: true - - /type-fest@0.21.3: - resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} - engines: {node: '>=10'} - dev: true - - /typedarray@0.0.6: - resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} - dev: false - - /typescript@4.5.4: - resolution: {integrity: sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==} - engines: {node: '>=4.2.0'} - hasBin: true - dev: true - - /typescript@4.8.4: - resolution: {integrity: sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==} - engines: {node: '>=4.2.0'} - hasBin: true - dev: false - - /typescript@5.0.3: - resolution: {integrity: sha512-xv8mOEDnigb/tN9PSMTwSEqAnUvkoXMQlicOb0IUVDBSQCgBSaAAROUZYy2IcUy5qU6XajK5jjjO7TMWqBTKZA==} - engines: {node: '>=12.20'} - hasBin: true - dev: true - - /typescript@5.1.3: - resolution: {integrity: sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==} - engines: {node: '>=14.17'} - hasBin: true - - /ufo@1.1.2: - resolution: {integrity: sha512-TrY6DsjTQQgyS3E3dBaOXf0TpPD8u9FVrVYmKVegJuFw51n/YB9XPt+U6ydzFG5ZIN7+DIjPbNmXoBj9esYhgQ==} - - /undici@5.20.0: - resolution: {integrity: sha512-J3j60dYzuo6Eevbawwp1sdg16k5Tf768bxYK4TUJRH7cBM4kFCbf3mOnM/0E3vQYXvpxITbbWmBafaDbxLDz3g==} - engines: {node: '>=12.18'} - dependencies: - busboy: 1.6.0 - dev: true - - /universalify@0.1.2: - resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} - engines: {node: '>= 4.0.0'} - dev: false - - /universalify@0.2.0: - resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} - engines: {node: '>= 4.0.0'} - dev: true - - /universalify@2.0.0: - resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==} - engines: {node: '>= 10.0.0'} - - /update-browserslist-db@1.0.11(browserslist@4.21.5): - resolution: {integrity: sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==} - hasBin: true - peerDependencies: - browserslist: '>= 4.21.0' - dependencies: - browserslist: 4.21.5 - escalade: 3.1.1 - picocolors: 1.0.0 - dev: true - - /update-browserslist-db@1.0.11(browserslist@4.21.9): - resolution: {integrity: sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==} - hasBin: true - peerDependencies: - browserslist: '>= 4.21.0' - dependencies: - browserslist: 4.21.9 - escalade: 3.1.1 - picocolors: 1.0.0 - dev: true - - /uri-js@4.4.1: - resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} - dependencies: - punycode: 2.3.0 - - /url-parse@1.5.10: - resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} - dependencies: - querystringify: 2.2.0 - requires-port: 1.0.0 - dev: true - - /util-deprecate@1.0.2: - resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - - /uuid@3.4.0: - resolution: {integrity: sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==} - deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. - hasBin: true - dev: false - - /uuid@9.0.0: - resolution: {integrity: sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==} - hasBin: true - dev: false - - /v8-to-istanbul@9.1.0: - resolution: {integrity: sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA==} - engines: {node: '>=10.12.0'} - dependencies: - '@jridgewell/trace-mapping': 0.3.18 - '@types/istanbul-lib-coverage': 2.0.4 - convert-source-map: 1.9.0 - dev: true - - /validator@13.9.0: - resolution: {integrity: sha512-B+dGG8U3fdtM0/aNK4/X8CXq/EcxU2WPrPEkJGslb47qyHsxmbggTWK0yEA4qnYVNF+nxNlN88o14hIcPmSIEA==} - engines: {node: '>= 0.10'} - dev: false - - /vega-canvas@1.2.7: - resolution: {integrity: sha512-OkJ9CACVcN9R5Pi9uF6MZBF06pO6qFpDYHWSKBJsdHP5o724KrsgR6UvbnXFH82FdsiTOff/HqjuaG8C7FL+9Q==} - dev: false - - /vega-crossfilter@4.1.1: - resolution: {integrity: sha512-yesvlMcwRwxrtAd9IYjuxWJJuAMI0sl7JvAFfYtuDkkGDtqfLXUcCzHIATqW6igVIE7tWwGxnbfvQLhLNgK44Q==} - dependencies: - d3-array: 3.2.3 - vega-dataflow: 5.7.5 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega-dataflow@5.7.5: - resolution: {integrity: sha512-EdsIl6gouH67+8B0f22Owr2tKDiMPNNR8lEvJDcxmFw02nXd8juimclpLvjPQriqn6ta+3Dn5txqfD117H04YA==} - dependencies: - vega-format: 1.1.1 - vega-loader: 4.5.1 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega-embed@6.22.1(vega-lite@0.6.7)(vega@5.22.1): - resolution: {integrity: sha512-5a3SVhPwG5/Mz3JbcJV4WE38s/7AFrkANtPxoln7E8fbNLIbrurIennaAxB9+l0QOAg63lPSuJBNMUkM6yXvLA==} - peerDependencies: - vega: ^5.21.0 - vega-lite: '*' - dependencies: - fast-json-patch: 3.1.1 - json-stringify-pretty-compact: 3.0.0 - semver: 7.4.0 - tslib: 2.5.1 - vega: 5.22.1 - vega-interpreter: 1.0.5 - vega-lite: 0.6.7 - vega-schema-url-parser: 2.2.0 - vega-themes: 2.13.0(vega-lite@0.6.7)(vega@5.22.1) - vega-tooltip: 0.32.0 - dev: false - bundledDependencies: - - yallist - - /vega-encode@4.9.1: - resolution: {integrity: sha512-05JB47UZaqIBS9t6rtHI/aKjEuH4EsSIH+wJWItht4BFj33eIl4XRNtlXdE31uuQT2pXWz5ZWW3KboMuaFzKLw==} - dependencies: - d3-array: 3.2.3 - d3-interpolate: 3.0.1 - vega-dataflow: 5.7.5 - vega-scale: 7.3.0 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega-event-selector@3.0.1: - resolution: {integrity: sha512-K5zd7s5tjr1LiOOkjGpcVls8GsH/f2CWCrWcpKy74gTCp+llCdwz0Enqo013ZlGaRNjfgD/o1caJRt3GSaec4A==} - dev: false - - /vega-expression@5.0.1: - resolution: {integrity: sha512-atfzrMekrcsuyUgZCMklI5ki8cV763aeo1Y6YrfYU7FBwcQEoFhIV/KAJ1vae51aPDGtfzvwbtVIo3WShFCP2Q==} - dependencies: - '@types/estree': 1.0.1 - vega-util: 1.17.1 - dev: false - - /vega-force@4.1.1: - resolution: {integrity: sha512-T6fJAUz9zdXf2qj2Hz0VlmdtaY7eZfcKNazhUV8hza4R3F9ug6r/hSrdovfc9ExmbUjL5iyvDUsf63r8K3/wVQ==} - dependencies: - d3-force: 3.0.0 - vega-dataflow: 5.7.5 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega-format@1.1.1: - resolution: {integrity: sha512-Rll7YgpYbsgaAa54AmtEWrxaJqgOh5fXlvM2wewO4trb9vwM53KBv4Q/uBWCLK3LLGeBXIF6gjDt2LFuJAUtkQ==} - dependencies: - d3-array: 3.2.3 - d3-format: 3.1.0 - d3-time-format: 4.1.0 - vega-time: 2.1.1 - vega-util: 1.17.1 - dev: false - - /vega-functions@5.13.1: - resolution: {integrity: sha512-0LhntimnvBl4VzRO/nkCwCTbtaP8bE552galKQbCg88GDxdmcmlsoTCwUzG0vZ/qmNM3IbqnP5k5/um3zwFqLw==} - dependencies: - d3-array: 3.2.3 - d3-color: 3.1.0 - d3-geo: 3.1.0 - vega-dataflow: 5.7.5 - vega-expression: 5.0.1 - vega-scale: 7.3.0 - vega-scenegraph: 4.10.2 - vega-selections: 5.4.1 - vega-statistics: 1.8.1 - vega-time: 2.1.1 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega-geo@4.4.1: - resolution: {integrity: sha512-s4WeZAL5M3ZUV27/eqSD3v0FyJz3PlP31XNSLFy4AJXHxHUeXT3qLiDHoVQnW5Om+uBCPDtTT1ROx1smGIf2aA==} - dependencies: - d3-array: 3.2.3 - d3-color: 3.1.0 - d3-geo: 3.1.0 - vega-canvas: 1.2.7 - vega-dataflow: 5.7.5 - vega-projection: 1.6.0 - vega-statistics: 1.8.1 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega-hierarchy@4.1.1: - resolution: {integrity: sha512-h5mbrDtPKHBBQ9TYbvEb/bCqmGTlUX97+4CENkyH21tJs7naza319B15KRK0NWOHuhbGhFmF8T0696tg+2c8XQ==} - dependencies: - d3-hierarchy: 3.1.2 - vega-dataflow: 5.7.5 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega-interpreter@1.0.5: - resolution: {integrity: sha512-po6oTOmeQqr1tzTCdD15tYxAQLeUnOVirAysgVEemzl+vfmvcEP7jQmlc51jz0jMA+WsbmE6oJywisQPu/H0Bg==} - dev: false - - /vega-label@1.2.1: - resolution: {integrity: sha512-n/ackJ5lc0Xs9PInCaGumYn2awomPjJ87EMVT47xNgk2bHmJoZV1Ve/1PUM6Eh/KauY211wPMrNp/9Im+7Ripg==} - dependencies: - vega-canvas: 1.2.7 - vega-dataflow: 5.7.5 - vega-scenegraph: 4.10.2 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega-lite@0.6.7: - resolution: {integrity: sha512-yO/r6Muh81chnREHVKkHvS9ibQDYYd3ogltMz31EmFK7UOSARbWGGSiK0p8Zqtu/VaOk4WPToQ3F4CUvp0u80g==} - dependencies: - datalib: 1.9.3 - dev: false - - /vega-loader@4.5.1: - resolution: {integrity: sha512-qy5x32SaT0YkEujQM2yKqvLGV9XWQ2aEDSugBFTdYzu/1u4bxdUSRDREOlrJ9Km3RWIOgFiCkobPmFxo47SKuA==} - dependencies: - d3-dsv: 3.0.1 - node-fetch: 2.6.9 - topojson-client: 3.1.0 - vega-format: 1.1.1 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega-parser@6.1.4: - resolution: {integrity: sha512-tORdpWXiH/kkXcpNdbSVEvtaxBuuDtgYp9rBunVW9oLsjFvFXbSWlM1wvJ9ZFSaTfx6CqyTyGMiJemmr1QnTjQ==} - dependencies: - vega-dataflow: 5.7.5 - vega-event-selector: 3.0.1 - vega-functions: 5.13.1 - vega-scale: 7.3.0 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega-projection@1.5.0: - resolution: {integrity: sha512-aob7qojh555x3hQWZ/tr8cIJNSWQbm6EoWTJaheZgFOY2x3cDa4Qrg3RJbGw6KwVj/IQk2p40paRzixKZ2kr+A==} - dependencies: - d3-geo: 3.1.0 - d3-geo-projection: 4.0.0 - dev: false - - /vega-projection@1.6.0: - resolution: {integrity: sha512-LGUaO/kpOEYuTlul+x+lBzyuL9qmMwP1yShdUWYLW+zXoeyGbs5OZW+NbPPwLYqJr5lpXDr/vGztFuA/6g2xvQ==} - dependencies: - d3-geo: 3.1.0 - d3-geo-projection: 4.0.0 - vega-scale: 7.3.0 - dev: false - - /vega-regression@1.1.1: - resolution: {integrity: sha512-98i/z0vdDhOIEhJUdYoJ2nlfVdaHVp2CKB39Qa7G/XyRw0+QwDFFrp8ZRec2xHjHfb6bYLGNeh1pOsC13FelJg==} - dependencies: - d3-array: 3.2.3 - vega-dataflow: 5.7.5 - vega-statistics: 1.8.1 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega-runtime@6.1.4: - resolution: {integrity: sha512-0dDYXyFLQcxPQ2OQU0WuBVYLRZnm+/CwVu6i6N4idS7R9VXIX5581EkCh3pZ20pQ/+oaA7oJ0pR9rJgJ6rukRQ==} - dependencies: - vega-dataflow: 5.7.5 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega-scale@7.2.0: - resolution: {integrity: sha512-QYltO/otrZHLrCGGf06Y99XtPtqWXITr6rw7rO9oL+l3d9o5RFl9sjHrVxiM7v+vGoZVWbBd5IPbFhPsXZ6+TA==} - dependencies: - d3-array: 3.2.3 - d3-interpolate: 3.0.1 - d3-scale: 4.0.2 - vega-time: 2.1.1 - vega-util: 1.17.1 - dev: false - - /vega-scale@7.3.0: - resolution: {integrity: sha512-pMOAI2h+e1z7lsqKG+gMfR6NKN2sTcyjZbdJwntooW0uFHwjLGjMSY7kSd3nSEquF0HQ8qF7zR6gs1eRwlGimw==} - dependencies: - d3-array: 3.2.3 - d3-interpolate: 3.0.1 - d3-scale: 4.0.2 - vega-time: 2.1.1 - vega-util: 1.17.1 - dev: false - - /vega-scenegraph@4.10.2: - resolution: {integrity: sha512-R8m6voDZO5+etwNMcXf45afVM3XAtokMqxuDyddRl9l1YqSJfS+3u8hpolJ50c2q6ZN20BQiJwKT1o0bB7vKkA==} - dependencies: - d3-path: 3.1.0 - d3-shape: 3.2.0 - vega-canvas: 1.2.7 - vega-loader: 4.5.1 - vega-scale: 7.3.0 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega-schema-url-parser@2.2.0: - resolution: {integrity: sha512-yAtdBnfYOhECv9YC70H2gEiqfIbVkq09aaE4y/9V/ovEFmH9gPKaEgzIZqgT7PSPQjKhsNkb6jk6XvSoboxOBw==} - dev: false - - /vega-selections@5.4.1: - resolution: {integrity: sha512-EtYc4DvA+wXqBg9tq+kDomSoVUPCmQfS7hUxy2qskXEed79YTimt3Hcl1e1fW226I4AVDBEqTTKebmKMzbSgAA==} - dependencies: - d3-array: 3.2.2 - vega-expression: 5.0.1 - vega-util: 1.17.1 - dev: false - - /vega-statistics@1.8.1: - resolution: {integrity: sha512-eRR3LZBusnTXUkc/uunAvWi1PjCJK+Ba4vFvEISc5Iv5xF4Aw2cBhEz1obEt6ID5fGVCTAl0E1LOSFxubS89hQ==} - dependencies: - d3-array: 3.2.3 - dev: false - - /vega-themes@2.13.0(vega-lite@0.6.7)(vega@5.22.1): - resolution: {integrity: sha512-SVr/YDqGhkVDO2bRS62TeGyr1dVuXaNLJNCu42b1tbcnnmX2m9cyaq8G6gcputPeibArvHT1MsTF7MUzboOIWg==} - peerDependencies: - vega: '*' - vega-lite: '*' - dependencies: - vega: 5.22.1 - vega-lite: 0.6.7 - dev: false - - /vega-time@2.1.1: - resolution: {integrity: sha512-z1qbgyX0Af2kQSGFbApwBbX2meenGvsoX8Nga8uyWN8VIbiySo/xqizz1KrP6NbB6R+x5egKmkjdnyNThPeEWA==} - dependencies: - d3-array: 3.2.3 - d3-time: 3.1.0 - vega-util: 1.17.1 - dev: false - - /vega-tooltip@0.32.0: - resolution: {integrity: sha512-Sc4/vZsXDM9nOiHrxc8hfpc9lYc7Nr0FIYYkIi90v2d6IoE6thm6T4Exo2m7cMK4rwevwf6c4/FABwjOMIs4MQ==} - dependencies: - vega-util: 1.17.1 - dev: false - - /vega-transforms@4.10.1: - resolution: {integrity: sha512-0uWrUZaYl8kjWrGbvPOQSKk6kcNXQFY9moME+bUmkADAvFptphCGbaEIn/nSsG6uCxj8E3rqKmKfjSWdU5yOqA==} - dependencies: - d3-array: 3.2.3 - vega-dataflow: 5.7.5 - vega-statistics: 1.8.1 - vega-time: 2.1.1 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega-typings@0.22.3: - resolution: {integrity: sha512-PREcya3nXT9Tk7xU0IhEpOLVTlqizNtKXV55NhI6ApBjJtqVYbJL7IBh2ckKxGBy3YeUQ37BQZl56UqqiYVWBw==} - dependencies: - vega-event-selector: 3.0.1 - vega-expression: 5.0.1 - vega-util: 1.17.1 - dev: false - - /vega-util@1.17.1: - resolution: {integrity: sha512-ToPkWoBdP6awoK+bnYaFhgdqZhsNwKxWbuMnFell+4K/Cb6Q1st5Pi9I7iI5Y6n5ZICDDsd6eL7/IhBjEg1NUQ==} - dev: false - - /vega-view-transforms@4.5.9: - resolution: {integrity: sha512-NxEq4ZD4QwWGRrl2yDLnBRXM9FgCI+vvYb3ZC2+nVDtkUxOlEIKZsMMw31op5GZpfClWLbjCT3mVvzO2xaTF+g==} - dependencies: - vega-dataflow: 5.7.5 - vega-scenegraph: 4.10.2 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega-view@5.11.1: - resolution: {integrity: sha512-RoWxuoEMI7xVQJhPqNeLEHCezudsf3QkVMhH5tCovBqwBADQGqq9iWyax3ZzdyX1+P3eBgm7cnLvpqtN2hU8kA==} - dependencies: - d3-array: 3.2.3 - d3-timer: 3.0.1 - vega-dataflow: 5.7.5 - vega-format: 1.1.1 - vega-functions: 5.13.1 - vega-runtime: 6.1.4 - vega-scenegraph: 4.10.2 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega-voronoi@4.2.1: - resolution: {integrity: sha512-zzi+fxU/SBad4irdLLsG3yhZgXWZezraGYVQfZFWe8kl7W/EHUk+Eqk/eetn4bDeJ6ltQskX+UXH3OP5Vh0Q0Q==} - dependencies: - d3-delaunay: 6.0.4 - vega-dataflow: 5.7.5 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega-wordcloud@4.1.4: - resolution: {integrity: sha512-oeZLlnjiusLAU5vhk0IIdT5QEiJE0x6cYoGNq1th+EbwgQp153t4r026fcib9oq15glHFOzf81a8hHXHSJm1Jw==} - dependencies: - vega-canvas: 1.2.7 - vega-dataflow: 5.7.5 - vega-scale: 7.3.0 - vega-statistics: 1.8.1 - vega-util: 1.17.1 - transitivePeerDependencies: - - encoding - dev: false - - /vega@5.22.1: - resolution: {integrity: sha512-KJBI7OWSzpfCPbmWl3GQCqBqbf2TIdpWS0mzO6MmWbvdMhWHf74P9IVnx1B1mhg0ZTqWFualx9ZYhWzMMwudaQ==} - dependencies: - vega-crossfilter: 4.1.1 - vega-dataflow: 5.7.5 - vega-encode: 4.9.1 - vega-event-selector: 3.0.1 - vega-expression: 5.0.1 - vega-force: 4.1.1 - vega-format: 1.1.1 - vega-functions: 5.13.1 - vega-geo: 4.4.1 - vega-hierarchy: 4.1.1 - vega-label: 1.2.1 - vega-loader: 4.5.1 - vega-parser: 6.1.4 - vega-projection: 1.5.0 - vega-regression: 1.1.1 - vega-runtime: 6.1.4 - vega-scale: 7.2.0 - vega-scenegraph: 4.10.2 - vega-statistics: 1.8.1 - vega-time: 2.1.1 - vega-transforms: 4.10.1 - vega-typings: 0.22.3 - vega-util: 1.17.1 - vega-view: 5.11.1 - vega-view-transforms: 4.5.9 - vega-voronoi: 4.2.1 - vega-wordcloud: 4.1.4 - transitivePeerDependencies: - - encoding - dev: false - - /verror@1.10.0: - resolution: {integrity: sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==} - engines: {'0': node >=0.6.0} - dependencies: - assert-plus: 1.0.0 - core-util-is: 1.0.2 - extsprintf: 1.3.0 - dev: false - - /vite-node@0.27.3(@types/node@20.3.1)(sass@1.63.6): - resolution: {integrity: sha512-eyJYOO64o5HIp8poc4bJX+ZNBwMZeI3f6/JdiUmJgW02Mt7LnoCtDMRVmLaY9S05SIsjGe339ZK4uo2wQ+bF9g==} - engines: {node: '>=v14.16.0'} - hasBin: true - dependencies: - cac: 6.7.14 - debug: 4.3.4 - mlly: 1.4.0 - pathe: 0.2.0 - picocolors: 1.0.0 - source-map: 0.6.1 - source-map-support: 0.5.21 - vite: 4.3.9(@types/node@20.3.1)(sass@1.63.6) - transitivePeerDependencies: - - '@types/node' - - less - - sass - - stylus - - sugarss - - supports-color - - terser - dev: true - - /vite-node@0.31.0(@types/node@18.16.0): - resolution: {integrity: sha512-8x1x1LNuPvE2vIvkSB7c1mApX5oqlgsxzHQesYF7l5n1gKrEmrClIiZuOFbFDQcjLsmcWSwwmrWrcGWm9Fxc/g==} - engines: {node: '>=v14.18.0'} - hasBin: true - dependencies: - cac: 6.7.14 - debug: 4.3.4 - mlly: 1.2.1 - pathe: 1.1.0 - picocolors: 1.0.0 - vite: 4.3.8(@types/node@18.16.0) - transitivePeerDependencies: - - '@types/node' - - less - - sass - - stylus - - sugarss - - supports-color - - terser - dev: false - - /vite-plugin-checker@0.5.6(eslint@8.37.0)(typescript@5.0.3)(vite@4.2.1): - resolution: {integrity: sha512-ftRyON0gORUHDxcDt2BErmsikKSkfvl1i2DoP6Jt2zDO9InfvM6tqO1RkXhSjkaXEhKPea6YOnhFaZxW3BzudQ==} - engines: {node: '>=14.16'} - peerDependencies: - eslint: '>=7' - meow: ^9.0.0 - optionator: ^0.9.1 - stylelint: '>=13' - typescript: '*' - vite: '>=2.0.0' - vls: '*' - vti: '*' - vue-tsc: '*' - peerDependenciesMeta: - eslint: - optional: true - meow: - optional: true - optionator: - optional: true - stylelint: - optional: true - typescript: - optional: true - vls: - optional: true - vti: - optional: true - vue-tsc: - optional: true - dependencies: - '@babel/code-frame': 7.21.4 - ansi-escapes: 4.3.2 - chalk: 4.1.2 - chokidar: 3.5.3 - commander: 8.3.0 - eslint: 8.37.0 - fast-glob: 3.2.12 - fs-extra: 11.1.1 - lodash.debounce: 4.0.8 - lodash.pick: 4.4.0 - npm-run-path: 4.0.1 - strip-ansi: 6.0.1 - tiny-invariant: 1.3.1 - typescript: 5.0.3 - vite: 4.2.1 - vscode-languageclient: 7.0.0 - vscode-languageserver: 7.0.0 - vscode-languageserver-textdocument: 1.0.8 - vscode-uri: 3.0.7 - dev: true - - /vite-plugin-dts@2.2.0(vite@4.2.1): - resolution: {integrity: sha512-XmZtv02I7eGWm3DrZbLo1AdJK5gCisk9GqJBpY4N63pDYR6AVUnlyjFP5FCBvSBUfgE0Ppl90bKgtJU9k3AzFw==} - engines: {node: ^14.18.0 || >=16.0.0} - peerDependencies: - vite: '>=2.9.0' - dependencies: - '@babel/parser': 7.21.4 - '@microsoft/api-extractor': 7.34.4 - '@rollup/pluginutils': 5.0.2 - '@rushstack/node-core-library': 3.55.2 - debug: 4.3.4 - fast-glob: 3.2.12 - fs-extra: 10.1.0 - kolorist: 1.8.0 - magic-string: 0.29.0 - ts-morph: 17.0.1 - vite: 4.2.1 - transitivePeerDependencies: - - '@types/node' - - rollup - - supports-color - dev: false - - /vite-plugin-full-reload@1.0.5(vite@4.3.9): - resolution: {integrity: sha512-kVZFDFWr0DxiHn6MuDVTQf7gnWIdETGlZh0hvTiMXzRN80vgF4PKbONSq8U1d0WtHsKaFODTQgJeakLacoPZEQ==} - peerDependencies: - vite: ^2 || ^3 || ^4 - dependencies: - picocolors: 1.0.0 - picomatch: 2.3.1 - vite: 4.3.9(sass@1.63.6) - dev: false - - /vite-plugin-glsl@1.1.2(vite@4.3.9): - resolution: {integrity: sha512-zmXsfc1vn2MlYve9t3FAoWuhLyoCkNS1TuQL+TkXZL7tGmBjRErp10eNYxcse5tK9oUC5MyJpNc4ElpQnx8DoA==} - engines: {node: '>= 16.15.1', npm: '>= 8.11.0'} - peerDependencies: - vite: ^3.0.0 || ^4.0.0 - dependencies: - '@rollup/pluginutils': 5.0.2 - vite: 4.3.9(sass@1.63.6) - transitivePeerDependencies: - - rollup - dev: true - - /vite-plugin-static-copy@0.14.0(vite@4.3.9): - resolution: {integrity: sha512-RMFmb4czomcrsbQBiUZs9HcDGN3kxGvF+OrtkfTVocp12CuoUCuJQhcY26RK35A6KS4WasGzEwcYZqHMjkAvVw==} - engines: {node: ^14.18.0 || >=16.0.0} - peerDependencies: - vite: ^3.0.0 || ^4.0.0 - dependencies: - chokidar: 3.5.3 - fast-glob: 3.2.12 - fs-extra: 11.1.1 - picocolors: 1.0.0 - vite: 4.3.9(sass@1.63.6) - dev: true - - /vite-plugin-svelte-console-remover@1.0.10(sass@1.63.6): - resolution: {integrity: sha512-e1C/zS3xfkYrW0IDKnlB3lQC0bT+AGsf4a3Ts67HXJWnmDnbZKW1518oV+RReyqdYeySjOYzFB6mRWoUe0W1gQ==} - dependencies: - '@babel/core': 7.22.5 - babel-plugin-transform-remove-console: 6.9.4 - vite: 2.9.16(sass@1.63.6) - transitivePeerDependencies: - - less - - sass - - stylus - - supports-color - dev: true - - /vite-tsconfig-paths@4.2.0(typescript@5.1.3)(vite@4.3.9): - resolution: {integrity: sha512-jGpus0eUy5qbbMVGiTxCL1iB9ZGN6Bd37VGLJU39kTDD6ZfULTTb1bcc5IeTWqWJKiWV5YihCaibeASPiGi8kw==} - peerDependencies: - vite: '*' - peerDependenciesMeta: - vite: - optional: true - dependencies: - debug: 4.3.4 - globrex: 0.1.2 - tsconfck: 2.1.1(typescript@5.1.3) - vite: 4.3.9(sass@1.63.6) - transitivePeerDependencies: - - supports-color - - typescript - dev: true - - /vite@2.9.16(sass@1.63.6): - resolution: {integrity: sha512-X+6q8KPyeuBvTQV8AVSnKDvXoBMnTx8zxh54sOwmmuOdxkjMmEJXH2UEchA+vTMps1xw9vL64uwJOWryULg7nA==} - engines: {node: '>=12.2.0'} - hasBin: true - peerDependencies: - less: '*' - sass: '*' - stylus: '*' - peerDependenciesMeta: - less: - optional: true - sass: - optional: true - stylus: - optional: true - dependencies: - esbuild: 0.14.54 - postcss: 8.4.24 - resolve: 1.22.2 - rollup: 2.77.3 - sass: 1.63.6 - optionalDependencies: - fsevents: 2.3.2 - dev: true - - /vite@2.9.9: - resolution: {integrity: sha512-ffaam+NgHfbEmfw/Vuh6BHKKlI/XIAhxE5QSS7gFLIngxg171mg1P3a4LSRME0z2ZU1ScxoKzphkipcYwSD5Ew==} - engines: {node: '>=12.2.0'} - hasBin: true - peerDependencies: - less: '*' - sass: '*' - stylus: '*' - peerDependenciesMeta: - less: - optional: true - sass: - optional: true - stylus: - optional: true - dependencies: - esbuild: 0.14.54 - postcss: 8.4.21 - resolve: 1.22.2 - rollup: 2.79.1 - optionalDependencies: - fsevents: 2.3.2 - dev: true - - /vite@4.2.1: - resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==} - engines: {node: ^14.18.0 || >=16.0.0} - hasBin: true - peerDependencies: - '@types/node': '>= 14' - less: '*' - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - dependencies: - esbuild: 0.17.18 - postcss: 8.4.21 - resolve: 1.22.2 - rollup: 3.21.0 - optionalDependencies: - fsevents: 2.3.2 - - /vite@4.3.1: - resolution: {integrity: sha512-EPmfPLAI79Z/RofuMvkIS0Yr091T2ReUoXQqc5ppBX/sjFRhHKiPPF/R46cTdoci/XgeQpB23diiJxq5w30vdg==} - engines: {node: ^14.18.0 || >=16.0.0} - hasBin: true - peerDependencies: - '@types/node': '>= 14' - less: '*' - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - dependencies: - esbuild: 0.17.18 - postcss: 8.4.21 - rollup: 3.21.0 - optionalDependencies: - fsevents: 2.3.2 - dev: true - - /vite@4.3.1(@types/node@18.16.0): - resolution: {integrity: sha512-EPmfPLAI79Z/RofuMvkIS0Yr091T2ReUoXQqc5ppBX/sjFRhHKiPPF/R46cTdoci/XgeQpB23diiJxq5w30vdg==} - engines: {node: ^14.18.0 || >=16.0.0} - hasBin: true - peerDependencies: - '@types/node': '>= 14' - less: '*' - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - dependencies: - '@types/node': 18.16.0 - esbuild: 0.17.18 - postcss: 8.4.21 - rollup: 3.21.0 - optionalDependencies: - fsevents: 2.3.2 - dev: false - - /vite@4.3.8(@types/node@18.16.0): - resolution: {integrity: sha512-uYB8PwN7hbMrf4j1xzGDk/lqjsZvCDbt/JC5dyfxc19Pg8kRm14LinK/uq+HSLNswZEoKmweGdtpbnxRtrAXiQ==} - engines: {node: ^14.18.0 || >=16.0.0} - hasBin: true - peerDependencies: - '@types/node': '>= 14' - less: '*' - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - dependencies: - '@types/node': 18.16.0 - esbuild: 0.17.18 - postcss: 8.4.23 - rollup: 3.21.0 - optionalDependencies: - fsevents: 2.3.2 - dev: false - - /vite@4.3.9(@types/node@20.3.1)(sass@1.63.6): - resolution: {integrity: sha512-qsTNZjO9NoJNW7KnOrgYwczm0WctJ8m/yqYAMAK9Lxt4SoySUfS5S8ia9K7JHpa3KEeMfyF8LoJ3c5NeBJy6pg==} - engines: {node: ^14.18.0 || >=16.0.0} - hasBin: true - peerDependencies: - '@types/node': '>= 14' - less: '*' - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - dependencies: - '@types/node': 20.3.1 - esbuild: 0.17.19 - postcss: 8.4.24 - rollup: 3.25.1 - sass: 1.63.6 - optionalDependencies: - fsevents: 2.3.2 - dev: true - - /vite@4.3.9(sass@1.63.6): - resolution: {integrity: sha512-qsTNZjO9NoJNW7KnOrgYwczm0WctJ8m/yqYAMAK9Lxt4SoySUfS5S8ia9K7JHpa3KEeMfyF8LoJ3c5NeBJy6pg==} - engines: {node: ^14.18.0 || >=16.0.0} - hasBin: true - peerDependencies: - '@types/node': '>= 14' - less: '*' - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - dependencies: - esbuild: 0.17.19 - postcss: 8.4.24 - rollup: 3.25.1 - sass: 1.63.6 - optionalDependencies: - fsevents: 2.3.2 - - /vitefu@0.2.4: - resolution: {integrity: sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==} - peerDependencies: - vite: ^3.0.0 || ^4.0.0 - peerDependenciesMeta: - vite: - optional: true - dev: true - - /vitefu@0.2.4(vite@4.3.9): - resolution: {integrity: sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==} - peerDependencies: - vite: ^3.0.0 || ^4.0.0 - peerDependenciesMeta: - vite: - optional: true - dependencies: - vite: 4.3.9(sass@1.63.6) - dev: false - - /vitest@0.27.3(happy-dom@9.20.3)(jsdom@22.1.0)(sass@1.63.6): - resolution: {integrity: sha512-Ld3UVgRVhJUtqvQ3dW89GxiApFAgBsWJZBCWzK+gA3w2yG68csXlGZZ4WDJURf+8ecNfgrScga6xY+8YSOpiMg==} - engines: {node: '>=v14.16.0'} - hasBin: true - peerDependencies: - '@edge-runtime/vm': '*' - '@vitest/browser': '*' - '@vitest/ui': '*' - happy-dom: '*' - jsdom: '*' - peerDependenciesMeta: - '@edge-runtime/vm': - optional: true - '@vitest/browser': - optional: true - '@vitest/ui': - optional: true - happy-dom: - optional: true - jsdom: - optional: true - dependencies: - '@types/chai': 4.3.5 - '@types/chai-subset': 1.3.3 - '@types/node': 20.3.1 - acorn: 8.9.0 - acorn-walk: 8.2.0 - cac: 6.7.14 - chai: 4.3.7 - debug: 4.3.4 - happy-dom: 9.20.3 - jsdom: 22.1.0 - local-pkg: 0.4.3 - picocolors: 1.0.0 - source-map: 0.6.1 - std-env: 3.3.3 - strip-literal: 1.0.1 - tinybench: 2.5.0 - tinypool: 0.3.1 - tinyspy: 1.1.1 - vite: 4.3.9(@types/node@20.3.1)(sass@1.63.6) - vite-node: 0.27.3(@types/node@20.3.1)(sass@1.63.6) - why-is-node-running: 2.2.2 - transitivePeerDependencies: - - less - - sass - - stylus - - sugarss - - supports-color - - terser - dev: true - - /vitest@0.31.0: - resolution: {integrity: sha512-JwWJS9p3GU9GxkG7eBSmr4Q4x4bvVBSswaCFf1PBNHiPx00obfhHRJfgHcnI0ffn+NMlIh9QGvG75FlaIBdKGA==} - engines: {node: '>=v14.18.0'} - hasBin: true - peerDependencies: - '@edge-runtime/vm': '*' - '@vitest/browser': '*' - '@vitest/ui': '*' - happy-dom: '*' - jsdom: '*' - playwright: '*' - safaridriver: '*' - webdriverio: '*' - peerDependenciesMeta: - '@edge-runtime/vm': - optional: true - '@vitest/browser': - optional: true - '@vitest/ui': - optional: true - happy-dom: - optional: true - jsdom: - optional: true - playwright: - optional: true - safaridriver: - optional: true - webdriverio: - optional: true - dependencies: - '@types/chai': 4.3.4 - '@types/chai-subset': 1.3.3 - '@types/node': 18.16.0 - '@vitest/expect': 0.31.0 - '@vitest/runner': 0.31.0 - '@vitest/snapshot': 0.31.0 - '@vitest/spy': 0.31.0 - '@vitest/utils': 0.31.0 - acorn: 8.8.2 - acorn-walk: 8.2.0 - cac: 6.7.14 - chai: 4.3.7 - concordance: 5.0.4 - debug: 4.3.4 - local-pkg: 0.4.3 - magic-string: 0.30.0 - pathe: 1.1.0 - picocolors: 1.0.0 - std-env: 3.3.3 - strip-literal: 1.0.1 - tinybench: 2.4.0 - tinypool: 0.5.0 - vite: 4.3.1(@types/node@18.16.0) - vite-node: 0.31.0(@types/node@18.16.0) - why-is-node-running: 2.2.2 - transitivePeerDependencies: - - less - - sass - - stylus - - sugarss - - supports-color - - terser - dev: false - - /vscode-jsonrpc@6.0.0: - resolution: {integrity: sha512-wnJA4BnEjOSyFMvjZdpiOwhSq9uDoK8e/kpRJDTaMYzwlkrhG1fwDIZI94CLsLzlCK5cIbMMtFlJlfR57Lavmg==} - engines: {node: '>=8.0.0 || >=10.0.0'} - dev: true - - /vscode-languageclient@7.0.0: - resolution: {integrity: sha512-P9AXdAPlsCgslpP9pRxYPqkNYV7Xq8300/aZDpO35j1fJm/ncize8iGswzYlcvFw5DQUx4eVk+KvfXdL0rehNg==} - engines: {vscode: ^1.52.0} - dependencies: - minimatch: 3.1.2 - semver: 7.5.0 - vscode-languageserver-protocol: 3.16.0 - dev: true - - /vscode-languageserver-protocol@3.16.0: - resolution: {integrity: sha512-sdeUoAawceQdgIfTI+sdcwkiK2KU+2cbEYA0agzM2uqaUy2UpnnGHtWTHVEtS0ES4zHU0eMFRGN+oQgDxlD66A==} - dependencies: - vscode-jsonrpc: 6.0.0 - vscode-languageserver-types: 3.16.0 - dev: true - - /vscode-languageserver-textdocument@1.0.8: - resolution: {integrity: sha512-1bonkGqQs5/fxGT5UchTgjGVnfysL0O8v1AYMBjqTbWQTFn721zaPGDYFkOKtfDgFiSgXM3KwaG3FMGfW4Ed9Q==} - dev: true - - /vscode-languageserver-types@3.16.0: - resolution: {integrity: sha512-k8luDIWJWyenLc5ToFQQMaSrqCHiLwyKPHKPQZ5zz21vM+vIVUSvsRpcbiECH4WR88K2XZqc4ScRcZ7nk/jbeA==} - dev: true - - /vscode-languageserver@7.0.0: - resolution: {integrity: sha512-60HTx5ID+fLRcgdHfmz0LDZAXYEV68fzwG0JWwEPBode9NuMYTIxuYXPg4ngO8i8+Ou0lM7y6GzaYWbiDL0drw==} - hasBin: true - dependencies: - vscode-languageserver-protocol: 3.16.0 - dev: true - - /vscode-uri@3.0.7: - resolution: {integrity: sha512-eOpPHogvorZRobNqJGhapa0JdwaxpjVvyBp0QIUMRMSf8ZAlqOdEquKuRmw9Qwu0qXtJIWqFtMkmvJjUZmMjVA==} - dev: true - - /w3c-keyname@2.2.6: - resolution: {integrity: sha512-f+fciywl1SJEniZHD6H+kUO8gOnwIr7f4ijKA6+ZvJFjeGi1r4PDLl53Ayud9O/rk64RqgoQine0feoeOU0kXg==} - dev: false - - /w3c-keyname@2.2.8: - resolution: {integrity: sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==} - dev: false - - /w3c-xmlserializer@4.0.0: - resolution: {integrity: sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==} - engines: {node: '>=14'} - dependencies: - xml-name-validator: 4.0.0 - dev: true - - /walker@1.0.8: - resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} - dependencies: - makeerror: 1.0.12 - dev: true - - /webidl-conversions@3.0.1: - resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} - dev: false - - /webidl-conversions@7.0.0: - resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} - engines: {node: '>=12'} - dev: true - - /well-known-symbols@2.0.0: - resolution: {integrity: sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q==} - engines: {node: '>=6'} - dev: false - - /whatwg-encoding@2.0.0: - resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==} - engines: {node: '>=12'} - dependencies: - iconv-lite: 0.6.3 - dev: true - - /whatwg-mimetype@3.0.0: - resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==} - engines: {node: '>=12'} - dev: true - - /whatwg-url@12.0.1: - resolution: {integrity: sha512-Ed/LrqB8EPlGxjS+TrsXcpUond1mhccS3pchLhzSgPCnTimUCKj3IZE75pAs5m6heB2U2TMerKFUXheyHY+VDQ==} - engines: {node: '>=14'} - dependencies: - tr46: 4.1.1 - webidl-conversions: 7.0.0 - dev: true - - /whatwg-url@5.0.0: - resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} - dependencies: - tr46: 0.0.3 - webidl-conversions: 3.0.1 - dev: false - - /which@2.0.2: - resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} - engines: {node: '>= 8'} - hasBin: true - dependencies: - isexe: 2.0.0 - dev: true - - /why-is-node-running@2.2.2: - resolution: {integrity: sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==} - engines: {node: '>=8'} - hasBin: true - dependencies: - siginfo: 2.0.0 - stackback: 0.0.2 - - /word-wrap@1.2.3: - resolution: {integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==} - engines: {node: '>=0.10.0'} - dev: true - - /worker-factory@6.0.76: - resolution: {integrity: sha512-W1iBNPmE9p0asU4aFmYJYCnMxhkvk4qlKc660GlHxWgmflY64NxxTbmKqipu4K5p9LiKKPjqXfcQme6153BZEQ==} - dependencies: - '@babel/runtime': 7.21.0 - compilerr: 10.0.2 - fast-unique-numbers: 7.0.2 - tslib: 2.5.1 - dev: false - - /worker-factory@7.0.0: - resolution: {integrity: sha512-2ZWJxbaGaJ3E84SkSTdcpzHY4bqoCaUDYh/HR1rkq2/3pPDkLtwbgLxvRc930GZapkOr0geLDHCS8qxHbay9Lg==} - dependencies: - '@babel/runtime': 7.21.0 - compilerr: 11.0.0 - fast-unique-numbers: 8.0.0 - tslib: 2.5.1 - dev: false - - /wrap-ansi@7.0.0: - resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} - engines: {node: '>=10'} - dependencies: - ansi-styles: 4.3.0 - string-width: 4.2.3 - strip-ansi: 6.0.1 - dev: true - - /wrappy@1.0.2: - resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - - /write-file-atomic@4.0.2: - resolution: {integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dependencies: - imurmurhash: 0.1.4 - signal-exit: 3.0.7 - dev: true - - /ws@8.13.0: - resolution: {integrity: sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==} - engines: {node: '>=10.0.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: '>=5.0.2' - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - - /xml-name-validator@4.0.0: - resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} - engines: {node: '>=12'} - dev: true - - /xmlchars@2.2.0: - resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} - dev: true - - /y18n@5.0.8: - resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} - engines: {node: '>=10'} - dev: true - - /yallist@3.1.1: - resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} - dev: true - - /yallist@4.0.0: - resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} - - /yaml@1.10.2: - resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} - engines: {node: '>= 6'} - dev: true - - /yaml@2.3.1: - resolution: {integrity: sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==} - engines: {node: '>= 14'} - dev: false - - /yargs-parser@21.1.1: - resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} - engines: {node: '>=12'} - dev: true - - /yargs@17.7.1: - resolution: {integrity: sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==} - engines: {node: '>=12'} - dependencies: - cliui: 8.0.1 - escalade: 3.1.1 - get-caller-file: 2.0.5 - require-directory: 2.1.1 - string-width: 4.2.3 - y18n: 5.0.8 - yargs-parser: 21.1.1 - dev: true - - /yargs@17.7.2: - resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} - engines: {node: '>=12'} - dependencies: - cliui: 8.0.1 - escalade: 3.1.1 - get-caller-file: 2.0.5 - require-directory: 2.1.1 - string-width: 4.2.3 - y18n: 5.0.8 - yargs-parser: 21.1.1 - dev: true - - /yocto-queue@0.1.0: - resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} - engines: {node: '>=10'} - dev: true - - /yocto-queue@1.0.0: - resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} - engines: {node: '>=12.20'} - dev: false - - /z-schema@5.0.5: - resolution: {integrity: sha512-D7eujBWkLa3p2sIpJA0d1pr7es+a7m0vFAnZLlCEKq/Ij2k0MLi9Br2UPxoxdYystm5K1yeBGzub0FlYUEWj2Q==} - engines: {node: '>=8.0.0'} - hasBin: true - dependencies: - lodash.get: 4.4.2 - lodash.isequal: 4.5.0 - validator: 13.9.0 - optionalDependencies: - commander: 9.5.0 - dev: false - - /zod@3.21.4: - resolution: {integrity: sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==} - dev: false - - github.com/andywer/typed-emitter/9a139b6fa0ec6b0db6141b5b756b784e4f7ef4e4: - resolution: {tarball: https://codeload.github.com/andywer/typed-emitter/tar.gz/9a139b6fa0ec6b0db6141b5b756b784e4f7ef4e4} - name: typed-emitter - version: 2.1.0 - optionalDependencies: - rxjs: 7.8.1 - dev: false diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml deleted file mode 100644 index 0cf1b02..0000000 --- a/pnpm-workspace.yaml +++ /dev/null @@ -1,4 +0,0 @@ -packages: - - 'gradio/js/*' - - 'gradio/client/js' - - 'litegraph/packages/*' diff --git a/bin/run.bat b/run.bat similarity index 100% rename from bin/run.bat rename to run.bat diff --git a/bin/run.sh b/run.sh similarity index 100% rename from bin/run.sh rename to run.sh diff --git a/bin/serve.py b/serve.py similarity index 100% rename from bin/serve.py rename to serve.py diff --git a/public/sound/notification.mp3 b/sound/notification.mp3 similarity index 100% rename from public/sound/notification.mp3 rename to sound/notification.mp3 diff --git a/src/App.svelte b/src/App.svelte deleted file mode 100644 index 8aed45d..0000000 --- a/src/App.svelte +++ /dev/null @@ -1,15 +0,0 @@ - - -{#if isMobile} -
        Redirecting...
        -{:else} - -{/if} diff --git a/src/AppMobile.svelte b/src/AppMobile.svelte deleted file mode 100644 index 6081b20..0000000 --- a/src/AppMobile.svelte +++ /dev/null @@ -1,237 +0,0 @@ - - - - - - {#if appSetupPromise} - {#await appSetupPromise} -
        -
        - -
        -
        - {:then} - - - {#if $interfaceState.selectedWorkflowIndex && $interfaceState.showingWorkflow} - - {/if} - - {:catch error} -
        -
        - Error loading app -
        -
        {error}
        - {#if error != null && error.stack} - {@const lines = error.stack.split("\n")} - {#each lines as line} -
        {line}
        - {/each} - {/if} -
        - {/await} - {/if} -
        - - - diff --git a/src/app.d.ts b/src/app.d.ts deleted file mode 100644 index f59b884..0000000 --- a/src/app.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -// See https://kit.svelte.dev/docs/types#app -// for information about these interfaces -declare global { - namespace App { - // interface Error {} - // interface Locals {} - // interface PageData {} - // interface Platform {} - } -} - -export {}; diff --git a/src/global.d.ts b/src/global.d.ts deleted file mode 100644 index a72ab10..0000000 --- a/src/global.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -declare type Item = import('svelte-dnd-action').Item; -declare type DndEvent = import('svelte-dnd-action').DndEvent; -declare namespace svelte.JSX { - interface HTMLAttributes { - onconsider?: (event: CustomEvent> & { target: EventTarget & T }) => void; - onfinalize?: (event: CustomEvent> & { target: EventTarget & T }) => void; - } -} diff --git a/src/index.test.js b/src/index.test.js deleted file mode 100644 index e07cbbd..0000000 --- a/src/index.test.js +++ /dev/null @@ -1,7 +0,0 @@ -import { describe, it, expect } from 'vitest'; - -describe('sum test', () => { - it('adds 1 + 2 to equal 3', () => { - expect(1 + 2).toBe(3); - }); -}); diff --git a/src/lib/ComfyBoxStdPrompt.ts b/src/lib/ComfyBoxStdPrompt.ts deleted file mode 100644 index 61833a0..0000000 --- a/src/lib/ComfyBoxStdPrompt.ts +++ /dev/null @@ -1,263 +0,0 @@ -import { z, type ZodTypeAny } from "zod" - -/* - * This metadata can be attached to each entry in a group to assist in - * identifying the correct nodes to apply it to. - * - * As an example, positive and negative conditioning are deployed as two - * separate nodes in ComfyUI. This makes bundling them into a { positive, - * negative } entry difficult as either one can be missing. So instead they're - * tagged like - * - * { - * conditioning: [ - * { text: "masterpiece", "$meta": { types: ["positive"] } }, - * { text: "worst quality", "$meta": { types: ["negative"] } }, - * ] - * } - * - * The reasoning is the "types" information isn't required to reinstantiate - * the node, it's only semantic information describing how the node is used in - * the encompassing workflow. When the prompt is loaded the workflow can be - * searched for a node with the compatible type to attach the information to. - */ -const GroupMetadata = z.object({ - types: z.array(z.string()).nonempty().optional() -}) -export type ComfyBoxStdGroupMetadata = z.infer - -const group = (obj: Record): ZodTypeAny => { - const meta = z.object({ "$meta": GroupMetadata.optional() }) - return z.object(obj).and(meta) -} - -const ModelHashes = z.object({ - a1111_shorthash: z.string().optional(), - sha256: z.string().optional(), -}).refine(({ a1111_shorthash, sha256 }) => - a1111_shorthash !== undefined || sha256 !== undefined, - { message: "At least one model hash must be specified" }) - -const GroupConditioning = group({ - text: z.string(), -}) -export type ComfyBoxStdGroupConditioning = z.infer - -const GroupCheckpoint = group({ - model_name: z.string().optional(), - model_hashes: ModelHashes.optional(), -}).refine(({ model_name, model_hashes }) => - model_name !== undefined || model_hashes !== undefined, - { message: "Must include either model name or model hash" } -) -export type ComfyBoxStdGroupCheckpoint = z.infer - -const GroupVAE = group({ - model_name: z.string().optional(), - model_hashes: ModelHashes.optional(), - type: z.enum(["internal", "external"]) -}).refine(({ model_name, model_hashes }) => - model_name !== undefined || model_hashes !== undefined, - { message: "Must include either model name or model hashes" } -) -export type ComfyBoxStdGroupVAE = z.infer - -const GroupKSampler = group({ - cfg_scale: z.number(), - seed: z.number(), - steps: z.number(), - sampler_name: z.string(), - scheduler: z.string(), - denoise: z.number().default(1.0), - type: z.enum(["empty", "image", "upscale"]).optional() -}) -export type ComfyBoxStdGroupKSampler = z.infer - -const GroupLatentImage = group({ - width: z.number(), - height: z.number(), - mask_blur: z.number().optional(), - batch_count: z.number().default(1).optional(), - batch_pos: z.number().default(0).optional() -}) -export type ComfyBoxStdGroupLatentImage = z.infer - -const GroupLatentUpscale = group({ - width: z.number(), - height: z.number(), - upscale_method: z.string().optional(), - upscale_by: z.number().optional(), - crop: z.string().optional() -}) -export type ComfyBoxStdGroupLatentUpscale = z.infer - -const GroupSDUpscale = group({ - upscaler: z.string(), - overlap: z.number(), -}) -export type ComfyBoxStdGroupSDUpscale = z.infer - -const GroupSelfAttentionGuidance = group({ - guidance_scale: z.number(), - mask_threshold: z.number(), -}) -export type ComfyBoxStdGroupSelfAttentionGuidance = z.infer - -const GroupHypernetwork = group({ - model_name: z.string(), - model_hashes: ModelHashes.optional(), - strength: z.number() -}) -export type ComfyBoxStdGroupHypernetwork = z.infer - -const LoRAModelHashes = z.object({ - addnet_shorthash: z.string().optional(), - addnet_shorthash_legacy: z.string().optional(), - sha256: z.string().optional(), -}).refine(({ addnet_shorthash, addnet_shorthash_legacy, sha256 }) => - addnet_shorthash !== undefined || addnet_shorthash_legacy !== undefined || sha256 !== undefined, - { message: "At least one model hash must be specified" }) - -const GroupLoRA = group({ - model_name: z.string(), - module_name: z.string().optional(), - model_hashes: LoRAModelHashes.optional(), - strength_unet: z.number(), - strength_tenc: z.number() -}) -export type ComfyBoxStdGroupLoRA = z.infer - -const GroupControlNet = group({ - model: z.string(), - model_hashes: ModelHashes.optional(), - strength: z.number(), -}) -export type ComfyBoxStdGroupControlNet = z.infer - -const GroupCLIP = group({ - clip_skip: z.number().optional() -}) -export type ComfyBoxStdGroupCLIP = z.infer - -const GroupDynamicThresholding = group({ - mimic_scale: z.number(), - threshold_percentile: z.number(), - mimic_mode: z.string(), - mimic_scale_minimum: z.number(), - cfg_mode: z.string(), - cfg_scale_minimum: z.number() -}) -export type ComfyBoxStdGroupDynamicThresholding = z.infer - -const GroupAestheticEmbedding = group({ - model_name: z.string(), - lr: z.number(), - slerp: z.boolean(), - slerp_angle: z.number().optional(), - steps: z.number(), - text: z.string(), - text_negative: z.boolean(), - weight: z.number(), -}) -export type ComfyBoxStdGroupAestheticEmbedding = z.infer - -const GroupDDetailer = group({ - positive_prompt: z.string(), - negative_prompt: z.string(), - bitwise: z.string(), - model: z.string().optional(), - model_hashes: ModelHashes.optional(), - conf: z.number(), - mask_blur: z.number(), - denoise: z.number(), - dilation: z.number(), - offset_x: z.number(), - offset_y: z.number(), - preprocess: z.boolean(), - inpaint_full: z.boolean(), - inpaint_padding: z.number(), - cfg: z.number() -}) -export type ComfyBoxStdGroupDDetailer = z.infer - -const groupArray = (entry: ZodTypeAny) => { - return z.optional(z.array(entry).nonempty()); -} - -const Parameters = z.object({ - conditioning: groupArray(GroupConditioning), - checkpoint: groupArray(GroupCheckpoint), - vae: groupArray(GroupVAE), - k_sampler: groupArray(GroupKSampler), - clip: groupArray(GroupCLIP), - latent_image: groupArray(GroupLatentImage), - latent_upscale: groupArray(GroupLatentUpscale), - sd_upscale: groupArray(GroupSDUpscale), - hypernetwork: groupArray(GroupHypernetwork), - lora: groupArray(GroupLoRA), - control_net: groupArray(GroupControlNet), - dynamic_thresholding: groupArray(GroupDynamicThresholding), - aesthetic_embedding: groupArray(GroupAestheticEmbedding), - self_attention_guidance: groupArray(GroupSelfAttentionGuidance), - ddetailer: groupArray(GroupDDetailer) -}).partial() -export type ComfyBoxStdParameters = z.infer - -const ComfyBoxExtraData = z.object({ - workflows: z.array(z.string()) -}) - -const A1111ExtraData = z.object({ - params: z.any() -}) - -const ExtraData = z.object({ - comfybox: ComfyBoxExtraData.optional(), - a1111: A1111ExtraData.optional() -}) - -const Metadata = z.object({ - created_with: z.string(), - author: z.string().optional(), - app_version: z.string().optional(), - commit_hash: z.string().optional(), - extra_data: ExtraData -}) - -const ComfyBoxStdPrompt = z.object({ - version: z.number(), - metadata: Metadata, - parameters: Parameters -}) - -export default ComfyBoxStdPrompt - -/* - * A standardized Stable Diffusion parameter format that should be used with an - * encompassing workflow. Aims to encompass an arbitrary number of parameter - * counts and types, so that most ComfyUI workflows can have parts of their - * prompts transferred between each other. - * - * This format does *not* describe how the information should be used in the - * underlying workflow, i.e. it does not specify the structure of a ComfyUI - * execution graph. It only gives hints via tagged input types on each input - * entry as to where the data should be inserted. To recreate a ComfyBox - * workflow with the exact state of the UI intact, the `SerializedAppState` type - * should be used instead. It suffices to embed data of that type in the output - * PNGs for recreating their workflows. This type is meant as an interchange - * format *between* workflows so their inputs can be copied to and from each - * other in a sane-enough manner. (In ComfyBox, copying workflow outputs like - * images to other workflows is handled separately, since this type does not - * retain the actual image data.) - * - * In contrast with a serialized workflow, which is concerned with the - * connections between nodes and the state of the frontend's UI, this format - * concerns itself with the exact values that the execution backend receives, - * after the data in the UI have finished processing. - * - * (Take for example a "scale by" slider that adjusts the width and height of an - * img2img input image of 512 x 512 resolution by 2x. The backend will only - * "see" width 1024 and height 1024, even though the only parameter exposed from - * the frontend was the scale of 2.) - */ -export type ComfyBoxStdPrompt = z.infer diff --git a/src/lib/ComfyBoxStdPromptSerializer.ts b/src/lib/ComfyBoxStdPromptSerializer.ts deleted file mode 100644 index 86f9714..0000000 --- a/src/lib/ComfyBoxStdPromptSerializer.ts +++ /dev/null @@ -1,55 +0,0 @@ -import type { ComfyBoxStdGroupLoRA, ComfyBoxStdPrompt } from "$lib/ComfyBoxStdPrompt"; -import type { SerializedPrompt, SerializedPromptInputs } from "./components/ComfyApp"; - -export type ComfyPromptConverter = (stdPrompt: ComfyBoxStdPrompt, inputs: SerializedPromptInputs, nodeID: ComfyNodeID) => void; - -function LoraLoader(stdPrompt: ComfyBoxStdPrompt, inputs: SerializedPromptInputs) { - const params = stdPrompt.parameters - - const lora: ComfyBoxStdGroupLoRA = { - model_name: inputs["lora_name"], - strength_unet: inputs["strength_model"], - strength_tenc: inputs["strength_clip"] - } - - if (params.lora) - params.lora.push(lora) - else - params.lora = [lora] -} - -const ALL_CONVERTERS: Record = { - LoraLoader -} - -const COMMIT_HASH: string = __GIT_COMMIT_HASH__; - -export default class ComfyBoxStdPromptSerializer { - serialize(prompt: SerializedPrompt): ComfyBoxStdPrompt { - const stdPrompt: ComfyBoxStdPrompt = { - version: 1, - metadata: { - created_with: "ComfyBox", - commit_hash: COMMIT_HASH, - extra_data: { - comfybox: { - } - } - }, - parameters: {} - } - - for (const [nodeID, inputs] of Object.entries(prompt.output)) { - const classType = inputs.class_type - const converter = ALL_CONVERTERS[classType] - if (converter) { - converter(stdPrompt, inputs.inputs, nodeID) - } - else { - console.warn("No StdPrompt type converter for comfy class!", classType) - } - } - - return stdPrompt - } -} diff --git a/src/lib/ComfyBoxTemplate.ts b/src/lib/ComfyBoxTemplate.ts deleted file mode 100644 index c7dc080..0000000 --- a/src/lib/ComfyBoxTemplate.ts +++ /dev/null @@ -1,466 +0,0 @@ -import { Subgraph, type LGraphNode, type LLink, type SerializedLGraphNode, type SerializedLLink, LGraph, type NodeID, type UUID, type Vector2 } from "@litegraph-ts/core" -import layoutStates, { isComfyWidgetNode, type ContainerLayout, type SerializedDragEntry, type WidgetLayout, type DragItemID, type WritableLayoutStateStore, type DragItemEntry, type SerializedLayoutState } from "./stores/layoutStates" -import type { ComfyWidgetNode } from "./nodes/widgets" -import type ComfyGraphCanvas from "./ComfyGraphCanvas" -import C2S from "canvas-to-svg"; -import { calcNodesBoundingBox, download } from "./utils"; -import { v4 as uuidv4 } from "uuid"; -import uiState from "./stores/uiState"; - -/* - * In ComfyBox a template contains a subset of nodes in the graph and the set of - * components they represent in the UI. - */ -export type ComfyBoxTemplate = { - version: 1, - id: UUID, - metadata: ComfyBoxTemplateMetadata, - nodes: LGraphNode[], - links: LLink[], - container?: DragItemEntry -} - -export type SerializedTemplateLink = [NodeID, number, NodeID, number]; - -export type ComfyBoxTemplateMetadata = { - title: string, - author: string, - description: string, - tags: string[], - category: string, - createdAt: number - - // TODO required/optional python extensions -} - -/* - * In ComfyBox a template contains a subset of nodes in the graph and the set of - * components they represent in the UI. - */ -export type SerializedComfyBoxTemplate = { - isComfyBoxTemplate: true, - version: 1, - id: UUID, - commitHash: string, - isBuiltIn?: boolean, - - /* - * Serialized metadata - */ - metadata: ComfyBoxTemplateMetadata, - - /* - * Serialized nodes - */ - nodes: SerializedLGraphNode[] - - /* - * Serialized inner links - */ - links: SerializedTemplateLink[], - - /* - * Serialized container type drag item - */ - layout?: SerializedLayoutState - - /* - * SVG of the graph ndoes - */ - svg?: string -} - -function isSerializedComfyBoxTemplate(param: any): param is SerializedComfyBoxTemplate { - return param && param.isComfyBoxTemplate; -} - -const DEFAULT_TEMPLATE_METADATA = { - title: "New Template", - author: "Anonymous", - description: "A brand-new ComfyBox template", - tags: [], - category: "general" -} - -export type ComfyBoxTemplateError = { - error: string -} - -export type ComfyBoxTemplateResult = ComfyBoxTemplate | ComfyBoxTemplateError; - -function findIdealParentContainerForNodes(layout: WritableLayoutStateStore, widgets: WidgetLayout[]): DragItemEntry | null { - const widgetIds = new Set(widgets.map(w => w.id)); - - const containsExactlyTheWidgets = (container: ContainerLayout): boolean => { - const found: Set = new Set(); - for (const { dragItem } of layout.iterateBreadthFirst(container.id)) { - if (dragItem.type === "widget") { - if (!widgetIds.has(dragItem.id)) - return false; - - found.add(dragItem.id); - } - } - - return found.size === widgetIds.size; - } - - for (const entry of layout.iterateBreadthFirst()) { - if (entry.dragItem.type === "container" && entry.children.length > 0) { - const container = entry.dragItem as ContainerLayout; - if (containsExactlyTheWidgets(container)) { - return entry; - } - } - } - - return null; -} - -function getWidgetNodes(nodes: LGraphNode[]): ComfyWidgetNode[] { - let result = [] - - for (const node of nodes) { - if (isComfyWidgetNode(node)) { - result.push(node) - } - else if (node.is(Subgraph)) { - result = result.concat(Array.from(node.subgraph.iterateNodesInOrderRecursive()) - .filter(isComfyWidgetNode)) - } - } - - return result; -} - -function getInnerLinks(nodes: LGraphNode[]): LLink[] { - const nodeIds = new Set(nodes.map(n => n.id)); - const result = [] - - for (const node of nodes) { - for (const link of node.iterateAllLinks()) { - if (nodeIds.has(link.origin_id) && nodeIds.has(link.target_id)) - result.push(link) - } - } - - return result; -} - -function escapeXml(unsafe) { - return unsafe.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">"); -} -function unescapeXml(safe) { - return safe.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">"); -} - -const TEMPLATE_SVG_PADDING: number = 50; - -function renderSvg(canvas: ComfyGraphCanvas, graph: LGraph, padding: number, extraData?: SerializedComfyBoxTemplate | null): string { - // Calculate the min max bounds for the nodes on the graph - const bounds = graph._nodes.reduce( - (p, n) => { - if (n.pos[0] < p[0]) p[0] = n.pos[0]; - if (n.pos[1] < p[1]) p[1] = n.pos[1]; - const r = n.pos[0] + n.size[0]; - const b = n.pos[1] + n.size[1]; - if (r > p[2]) p[2] = r; - if (b > p[3]) p[3] = b; - return p; - }, - [Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY, - Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY] - ); - - bounds[0] -= padding; - bounds[1] -= padding; - bounds[2] += padding; - bounds[3] += padding; - - // Store current canvas values to reset after drawing - const ctx = canvas.ctx; - const scale = canvas.ds.scale; - const width = canvas.canvas.width; - const height = canvas.canvas.height; - const offset = canvas.ds.offset; - const show_info = canvas.show_info; - const background_image = canvas.background_image; - const clear_background = canvas.clear_background; - const render_canvas_border = canvas.render_canvas_border; - const render_subgraph_panels = canvas.render_subgraph_panels - const render_subgraph_stack_header = canvas.render_subgraph_stack_header - - canvas.openSubgraph(graph) - canvas.show_info = false; - canvas.background_image = null; - canvas.clear_background = false; - canvas.render_canvas_border = false; - canvas.render_subgraph_panels = false; - canvas.render_subgraph_stack_header = false; - - const svgCtx = new C2S(bounds[2] - bounds[0], bounds[3] - bounds[1]); - - svgCtx.canvas.getBoundingClientRect = function() { - return { width: svgCtx.width, height: svgCtx.height }; - }; - - // Override the c2s handling of images to draw images as canvases - // const drawImage = svgCtx.drawImage; - // svgCtx.drawImage = function(...args) { - // const image = args[0]; - // // If we are an image node and not a datauri then we need to replace with a canvas - // // we cant convert to data uri here as it is an async process - // if (image.nodeName === "IMG" && !image.src.startsWith("data:image/")) { - // const canvas = document.createElement("canvas"); - // canvas.width = image.width; - // canvas.height = image.height; - // const imgCtx = canvas.getContext("2d"); - // imgCtx.drawImage(image, 0, 0); - // args[0] = canvas; - // } - - // return drawImage.apply(this, args); - // }; - - // Implement missing required functions - svgCtx.getTransform = function() { - return ctx.getTransform(); - }; - svgCtx.resetTransform = function() { - return ctx.resetTransform(); - }; - svgCtx.roundRect = svgCtx.rect; - - // Force the canvas to render the whole graph to the svg context - canvas.ds.scale = 1; - canvas.canvas.width = bounds[2] - bounds[0]; - canvas.canvas.height = bounds[3] - bounds[1]; - canvas.ds.offset = [-bounds[0], -bounds[1]]; - canvas.ctx = svgCtx; - - // Trigger saving - canvas.isExportingSVG = true; - canvas.draw(true, true); - canvas.isExportingSVG = false; - - // Restore original settings - canvas.closeSubgraph(); - canvas.ds.scale = scale; - canvas.canvas.width = width; - canvas.canvas.height = height; - canvas.ds.offset = offset; - canvas.ctx = ctx; - canvas.show_info = show_info; - canvas.clear_background = clear_background; - canvas.background_image = background_image; - canvas.render_canvas_border = render_canvas_border; - canvas.render_subgraph_panels = render_subgraph_panels; - canvas.render_subgraph_stack_header = render_subgraph_stack_header; - - canvas.draw(true, true); - - let svg = svgCtx.getSerializedSvg(true) - return svg -} - -export function embedTemplateInSvg(template: SerializedComfyBoxTemplate): string { - let oldSvg = template.svg; - template.svg = undefined; - const json = JSON.stringify(template); - const svg = oldSvg.replace("", `${escapeXml(json)}`); - template.svg = oldSvg; - return svg -} - -/* - * Moves nodes so their origin is at (0, 0) - */ -function relocateNodes(nodes: SerializedLGraphNode[]): SerializedLGraphNode[] { - let [min_x, min_y, max_x, max_y] = calcNodesBoundingBox(nodes); - - for (const node of nodes) { - node.pos = [node.pos[0] - min_x, node.pos[1] - min_y]; - } - - return nodes; -} - -/* - * Strips tags from top-level nodes - */ -function stripTags(nodes: SerializedLGraphNode[]): SerializedLGraphNode[] { - for (const node of nodes) { - if (Array.isArray(node.properties.tags)) { - node.properties.tags = [] - } - } - - return nodes; -} - -function pruneDetachedLinks(nodes: SerializedLGraphNode[], links: SerializedTemplateLink[]): [SerializedLGraphNode[], SerializedTemplateLink[]] { - const nodeIds = new Set(nodes.map(n => n.id)); - - for (const node of nodes) { - if (node.inputs) { - for (const input of node.inputs) { - if (input.link && (!nodeIds.has(input.link))) - input.link = null; - } - } - if (node.outputs) { - for (const output of node.outputs) { - if (output.links) { - output.links = output.links.filter(l => nodeIds.has(l)) - } - } - } - } - - links = links.filter(l => { - return nodeIds.has(l[0]) && nodeIds.has(l[2]); - }) - - return [nodes, links] -} - -function convLinkForTemplate(link: LLink): SerializedTemplateLink { - return [link.origin_id, link.origin_slot, link.target_id, link.target_slot]; -} - -export function serializeTemplate(canvas: ComfyGraphCanvas, template: ComfyBoxTemplate): SerializedComfyBoxTemplate { - let graph: LGraph - if (template.nodes.length === 1 && template.nodes[0].is(Subgraph)) { - graph = template.nodes[0].subgraph - } else { - // TODO render graph portion - graph = canvas.graph; - } - - const layoutState = layoutStates.getLayoutByDragItemID(template.container.dragItem.id); - if (layoutState == null) - throw "Couldn't find layout for template being serialized!" - - uiState.update(s => { s.forceSaveUserState = false; return s; }); - - const metadata = template.metadata; - let nodes = template.nodes.map(n => n.serialize()); - let links = template.links.map(convLinkForTemplate); - const layout = layoutState.serializeAtRoot(template.container.dragItem.id); - - uiState.update(s => { s.forceSaveUserState = null; return s; }); - - nodes = relocateNodes(nodes); - nodes = stripTags(nodes); - [nodes, links] = pruneDetachedLinks(nodes, links); - - const svg = renderSvg(canvas, graph, TEMPLATE_SVG_PADDING); - - const serTemplate: SerializedComfyBoxTemplate = { - isComfyBoxTemplate: true, - version: 1, - commitHash: __GIT_COMMIT_HASH__, - id: template.id, - metadata, - nodes, - links, - layout, - svg - } - - return serTemplate; -} - - -/* - * Extract embedded workflow from desc tags - */ -export function extractTemplateJSONFromSVG(svg: string): string | null { - const descEnd = svg.lastIndexOf(""); - if (descEnd !== -1) { - const descStart = svg.lastIndexOf("", descEnd); - if (descStart !== -1) { - const json = svg.substring(descStart + 6, descEnd); - return unescapeXml(json); - } - } - - return null; -} - -/* - * Credit goes to pythongosssss for this format - */ -export function deserializeTemplateFromSVG(svg: string): SerializedComfyBoxTemplate | null { - let template = null; - let templateJSON = extractTemplateJSONFromSVG(svg); - if (templateJSON) - template = JSON.parse(templateJSON); - - if (!isSerializedComfyBoxTemplate(template)) { - return null; - } - else { - template.svg = svg; - return template; - } -} - -export function createTemplate(nodes: LGraphNode[]): ComfyBoxTemplateResult { - if (nodes.length === 0) { - return { - error: "No nodes selected." - } - } - // Find all UI nodes in this subgraph recursively - const widgetNodes = getWidgetNodes(nodes) - const links = getInnerLinks(nodes) - - const layout = layoutStates.getLayoutByNode(nodes[0]) - if (layout == null) { - return { - error: "Node(s) not contained in a layout!" - } - } - - let title = "New Template"; - if (nodes.length === 1) { - title = nodes[0].title || title; - } - - if (widgetNodes.length > 0) { - // Find the highest-level container that contains all these nodes and - // contains no other widgets - const widgets = widgetNodes.map(node => node.dragItem) - if (!widgets.every(Boolean)) { - return { - error: "At least one widget node was missing an entry in the UI!" - } - } - const container = findIdealParentContainerForNodes(layout, widgets); - if (container == null) { - return { - error: "Couldn't find a suitable container in the UI for these nodes. Ensure all the widget nodes in the subgraph are kept inside a single container in the UI." - } - } - - return { - version: 1, - id: uuidv4(), - metadata: { ...DEFAULT_TEMPLATE_METADATA, title, createdAt: Date.now() }, - nodes: nodes, - links: links, - container: container - } - } - else { - // No UI to serialize. - return { - version: 1, - id: uuidv4(), - metadata: { ...DEFAULT_TEMPLATE_METADATA, title, createdAt: Date.now() }, - nodes: nodes, - links: links, - } - } -} diff --git a/src/lib/ComfyGraph.ts b/src/lib/ComfyGraph.ts deleted file mode 100644 index 6aa669c..0000000 --- a/src/lib/ComfyGraph.ts +++ /dev/null @@ -1,290 +0,0 @@ -import { LConnectionKind, LGraph, LGraphNode, type INodeSlot, type SlotIndex, LiteGraph, getStaticProperty, type LGraphAddNodeOptions, LGraphCanvas, type LGraphRemoveNodeOptions, Subgraph, type LGraphAddNodeMode, type SerializedLGraphNode, type Vector2, type NodeID, reassignGraphIDs, type GraphIDMapping, type SerializedLGraph } from "@litegraph-ts/core"; -import GraphSync from "./GraphSync"; -import EventEmitter from "events"; -import type TypedEmitter from "typed-emitter"; -import uiState from "./stores/uiState"; -import { get } from "svelte/store"; -import type ComfyGraphNode from "./nodes/ComfyGraphNode"; -import type IComfyInputSlot from "./IComfyInputSlot"; -import type { ComfyBackendNode } from "./nodes/ComfyBackendNode"; -import type { ComfyComboNode, ComfyWidgetNode } from "./nodes/widgets"; -import selectionState from "./stores/selectionState"; -import type { WritableLayoutStateStore } from "./stores/layoutStates"; -import layoutStates from "./stores/layoutStates"; -import type { ComfyBoxWorkflow, WorkflowInstID } from "./stores/workflowState"; -import workflowState from "./stores/workflowState"; -import type { SerializedComfyBoxTemplate } from "./ComfyBoxTemplate"; -import { v4 as uuidv4 } from "uuid" - -type ComfyGraphEvents = { - configured: (graph: LGraph) => void - nodeAdded: (node: LGraphNode) => void - nodeRemoved: (node: LGraphNode) => void - nodeConnectionChanged: (kind: LConnectionKind, node: LGraphNode, slot: SlotIndex, targetNode: LGraphNode, targetSlot: SlotIndex) => void - cleared: () => void - beforeChange: (graph: LGraph, param: any) => void - afterChange: (graph: LGraph, param: any) => void - afterExecute: () => void -} - -export default class ComfyGraph extends LGraph { - eventBus: TypedEmitter = new EventEmitter() as TypedEmitter; - - workflowID: WorkflowInstID | null = null; - - get workflow(): ComfyBoxWorkflow | null { - const workflowID = (this.getRootGraph() as ComfyGraph)?.workflowID; - if (workflowID == null) - return null; - return workflowState.getWorkflow(workflowID) - } - - get layout(): WritableLayoutStateStore | null { - return this.workflow?.layout; - } - - constructor(workflowID?: WorkflowInstID) { - super(); - this.workflowID = workflowID; - } - - override onConfigure() { - console.debug("Configured"); - } - - override onBeforeChange(graph: LGraph, info: any) { - if (this.workflow != null) - this.workflow.notifyModified() - - console.debug("BeforeChange", info); - } - - override onAfterChange(graph: LGraph, info: any) { - console.debug("AfterChange", info); - } - - override onAfterExecute() { - this.eventBus.emit("afterExecute"); - } - - /* - * NOTE: This function will also be called by child subgraphs on their - * parent graphs. So we have to be sure the node that receives the callback - * is a root graph (this._is_subgraph is false). If a subgraph calls this - * then options.subgraphsh will have the list of subgraphs down the chain. - */ - override onNodeAdded(node: LGraphNode, options: LGraphAddNodeOptions) { - // Don't add nodes in subgraphs until this callback reaches the root - // graph - // Only root graphs will have a workflow ID, so we don't mind subgraphs - // missing it - if (node.getRootGraph() != null && !this._is_subgraph && this.workflowID != null) { - const layoutState = get(layoutStates).all[this.workflowID] - if (layoutState === null) { - throw new Error(`LGraph with workflow missing layout! ${this.workflowID}`) - } - - this.doAddNode(node, layoutState, options); - } - - if (this.workflow != null) - this.workflow.notifyModified() - - this.eventBus.emit("nodeAdded", node); - } - - /* - * Add widget UI/groups for newly added nodes. - */ - private doAddNode(node: LGraphNode, layoutState: WritableLayoutStateStore, options: LGraphAddNodeOptions) { - layoutState.nodeAdded(node, options) - - // All nodes whether they come from base litegraph or ComfyBox should - // have tags added to them. Can't override serialization for litegraph's - // base node types to add `tags` as a new field so putting it in - // properties is better. - if (node.properties.tags == null) - node.properties.tags = [] - - if ((node as any).canInheritSlotTypes && node.inputs.length > 1) { - node.color ||= LGraphCanvas.node_colors["green"].color; - node.bgColor ||= LGraphCanvas.node_colors["green"].bgColor; - } - - if ("outputProperties" in node) { - const widgetNode = node as ComfyWidgetNode; - for (const propName of widgetNode.outputProperties) { - widgetNode.addPropertyAsOutput(propName.name, propName.type) - } - } - - // Check if the class declared a default widget layout - if ("defaultWidgets" in node && !("svelteComponentType" in node)) { - const comfyNode = node as ComfyGraphNode; - const widgets = comfyNode.defaultWidgets; - - if (widgets) { - if (widgets.inputs) { - for (const pair of Object.entries(comfyNode.defaultWidgets.inputs)) { - const [index, spec] = pair - const input = comfyNode.inputs[index] as IComfyInputSlot; - input.defaultWidgetNode = spec.defaultWidgetNode; - if (spec.config) { - input.config = spec.config - } - } - } - } - } - - if (get(uiState).autoAddUI) { - if (!("svelteComponentType" in node) && options.addedBy == null) { - console.debug("[ComfyGraph] AutoAdd UI") - const comfyNode = node as ComfyGraphNode; - const widgetNodesAdded: ComfyWidgetNode[] = [] - for (let index = 0; index < comfyNode.inputs.length; index++) { - const input = comfyNode.inputs[index]; - if ("config" in input) { - const comfyInput = input as IComfyInputSlot; - if (comfyInput.defaultWidgetNode) { - const widgetNode = LiteGraph.createNode(comfyInput.defaultWidgetNode) - const inputPos = comfyNode.getConnectionPos(true, index); - node.graph.add(widgetNode) - widgetNode.connect(0, comfyNode, index); - widgetNode.collapse(); - widgetNode.pos = [inputPos[0] - 140, inputPos[1] + LiteGraph.NODE_SLOT_HEIGHT / 2]; - widgetNodesAdded.push(widgetNode) - - // Set combo box as loaded - if (widgetNode.type === "ui/combo" && widgetNode.properties.values != null) { - (widgetNode as ComfyComboNode).formatValues(widgetNode.properties.values); - } - } - } - } - const dragItemIDs = widgetNodesAdded.map(wn => get(layoutState).allItemsByNode[wn.id]?.dragItem?.id).filter(Boolean) - console.debug("[ComfyGraph] Group new widgets", dragItemIDs) - - // Use the default node title instead of custom node title, in - // case node was cloned - const reg = LiteGraph.registered_node_types[node.type] - - layoutState.groupItems(dragItemIDs, { title: reg.title, variant: "accordion", openOnStartup: true }) - } - } - - // Handle nodes in subgraphs being attached to this graph indirectly - // ************** RECURSION ALERT ! ************** - if (node.is(Subgraph)) { - for (const child of node.subgraph.iterateNodesInOrder()) { - this.doAddNode(child, layoutState, options) - } - } - // ************** RECURSION ALERT ! ************** - - if (this.workflow != null) - this.workflow.notifyModified() - } - - override onNodeRemoved(node: LGraphNode, options: LGraphRemoveNodeOptions) { - selectionState.clear(); // safest option - - if (!this._is_subgraph && this.workflowID != null) { - const layoutState = get(layoutStates).all[this.workflowID] - if (layoutState === null) { - throw new Error(`ComfyGraph with workflow missing layout! ${this.workflowID}`) - } - - layoutState.nodeRemoved(node, options); - - // Handle subgraphs being removed - if (node.is(Subgraph)) { - for (const child of node.subgraph.iterateNodesInOrder()) { - this.onNodeRemoved(child, options) - } - } - } - - if (this.workflow != null) - this.workflow.notifyModified() - - this.eventBus.emit("nodeRemoved", node); - } - - override onInputsOutputsChange() { - if (this.workflow != null) - this.workflow.notifyModified() - } - - override onNodeConnectionChange(kind: LConnectionKind, node: LGraphNode, slot: SlotIndex, targetNode: LGraphNode, targetSlot: SlotIndex) { - if (this.workflow != null) - this.workflow.notifyModified() - - // console.debug("ConnectionChange", node); - this.eventBus.emit("nodeConnectionChanged", kind, node, slot, targetNode, targetSlot); - } - - /* - * Inserts a template. - * Layout deserialization must be handled afterwards. - * NOTE: Modifies the template in-place, be sure you cloned it beforehand! - */ - insertTemplate(template: SerializedComfyBoxTemplate, pos: Vector2): Record { - const minPos = [0, 0] - - const templateNodeIDToNewNode: Record = {} - - var nodes = []; - for (var i = 0; i < template.nodes.length; ++i) { - var node_data = template.nodes[i]; - var node = LiteGraph.createNode(node_data.type); - - let mapping: GraphIDMapping = null; - if (node_data.type === "graph/subgraph") { - mapping = reassignGraphIDs((node_data as any).subgraph as SerializedLGraph); - } - - if (node) { - const prevNodeId = node_data.id; - node_data.id = uuidv4(); - templateNodeIDToNewNode[prevNodeId] = node - - // Strip tags from top-level nodes - if (Array.isArray(node_data.properties.tags)) { - node_data.properties.tags = [] - } - - node.configure(node_data); - - if (mapping) { - for (const subnode of (node as Subgraph).subgraph.iterateNodesInOrderRecursive()) { - const oldNodeID = mapping.nodeIDs[subnode.id]; - templateNodeIDToNewNode[oldNodeID] = subnode; - } - } - - node.pos[0] += pos[0] - minPos[0]; //+= 5; - node.pos[1] += pos[1] - minPos[1]; //+= 5; - - this.add(node, { doProcessChange: false, addedBy: "template" as any }); - - nodes.push(node); - } - } - - //create links - for (var i = 0; i < template.links.length; ++i) { - var link_info = template.links[i]; - var origin_node = templateNodeIDToNewNode[link_info[0]]; - var target_node = templateNodeIDToNewNode[link_info[2]]; - if (origin_node && target_node) - origin_node.connect(link_info[1], target_node, link_info[3]); - else - console.error("[ComfyGraphCanvas] nodes missing on template insertion!", link_info); - } - - this.afterChange(); - - return templateNodeIDToNewNode; - } -} diff --git a/src/lib/ComfyGraphCanvas.ts b/src/lib/ComfyGraphCanvas.ts deleted file mode 100644 index c6ae720..0000000 --- a/src/lib/ComfyGraphCanvas.ts +++ /dev/null @@ -1,752 +0,0 @@ -import { BuiltInSlotShape, ContextMenu, LGraphCanvas, LGraphNode, LLink, LiteGraph, NodeMode, Subgraph, TitleMode, type ContextMenuItem, type IContextMenuItem, type MouseEventExt, type NodeID, type Vector2, type Vector4, LGraph, type SlotIndex, type SlotNameOrIndex } from "@litegraph-ts/core"; -import { get, type Unsubscriber } from "svelte/store"; -import { createTemplate, serializeTemplate, type ComfyBoxTemplate, type SerializedComfyBoxTemplate } from "./ComfyBoxTemplate"; -import type ComfyGraph from "./ComfyGraph"; -import type { ComfyGraphErrorLocation, ComfyGraphErrors, ComfyNodeErrors } from "./apiErrors"; -import type ComfyApp from "./components/ComfyApp"; -import { ComfyReroute } from "./nodes"; -import notify from "./notify"; -import layoutStates, { type ContainerLayout } from "./stores/layoutStates"; -import queueState from "./stores/queueState"; -import selectionState from "./stores/selectionState"; -import templateState from "./stores/templateState"; -import { calcNodesBoundingBox } from "./utils"; -import interfaceState from "./stores/interfaceState"; - -export type SerializedGraphCanvasState = { - offset: Vector2, - scale: number -} - -export default class ComfyGraphCanvas extends LGraphCanvas { - app: ComfyApp | null; - private _unsubscribe: Unsubscriber; - isExportingSVG: boolean = false; - activeErrors?: ComfyGraphErrors = null; - blinkError: ComfyGraphErrorLocation | null = null; - blinkErrorTime: number = 0; - highlightNodeAndInput: [LGraphNode, number | null] | null = null; - - get comfyGraph(): ComfyGraph | null { - return this.graph as ComfyGraph; - } - - clearErrors() { - this.activeErrors = null; - this.blinkError = null; - this.blinkErrorTime = 0; - this.highlightNodeAndInput = null; - } - - constructor( - app: ComfyApp, - canvas: HTMLCanvasElement | string, - graph?: ComfyGraph, - options: { - skip_render?: boolean; - skip_events?: boolean; - autoresize?: boolean; - viewport?: Vector4; - } = {} - ) { - super(canvas, graph, options); - this.app = app; - this._unsubscribe = selectionState.subscribe(ss => { - for (const node of Object.values(this.selected_nodes)) { - node.is_selected = false; - } - this.selected_nodes = {} - for (const node of ss.currentSelectionNodes) { - this.selected_nodes[node.id] = node; - node.is_selected = true - } - this._selectedNodes = new Set() - this.setDirty(true, true); - }) - } - - _selectedNodes: Set = new Set(); - - serialize(): SerializedGraphCanvasState { - let offset = this.ds.offset; - let scale = this.ds.scale; - - // Use top-level graph for saved offset if we're viewing a subgraph - if (this._graph_stack?.length > 0) { - offset = this._graph_stack[0].offset; - scale = this._graph_stack[0].scale; - } - - return { offset, scale } - } - - deserialize(data: SerializedGraphCanvasState) { - this.ds.offset = data.offset; - this.ds.scale = data.scale; - } - - recenter() { - this.ds.reset(); - this.setDirty(true, true) - } - - override drawNodeShape( - node: LGraphNode, - ctx: CanvasRenderingContext2D, - size: Vector2, - fgColor: string, - bgColor: string, - selected: boolean, - mouseOver: boolean - ): void { - super.drawNodeShape(node, ctx, size, fgColor, bgColor, selected, mouseOver); - - let state = get(queueState); - let ss = get(selectionState); - - const isExecuting = state.executingNodes.has(node.id); - const nodeErrors = this.activeErrors?.errorsByID[node.id]; - const isHighlightedNode = this.highlightNodeAndInput && this.highlightNodeAndInput[0].id === node.id; - - if (this.blinkErrorTime > 0) { - this.blinkErrorTime -= this.graph.elapsed_time; - } - - let color = null; - let thickness = 1; - let blink = false; - // if (this._selectedNodes.has(node.id)) { - // color = "yellow"; - // thickness = 5; - // } - if (nodeErrors) { - const hasExecutionError = nodeErrors.find(e => e.errorType === "execution"); - if (hasExecutionError) { - blink = true; - color = "#f0f"; - } - else { - color = "red"; - } - thickness = 2 - } - else if (isHighlightedNode) { - color = "cyan"; - thickness = 2 - - // Blink node if no input highlighted - if (this.highlightNodeAndInput[1] == null) { - if (this.blinkErrorTime > 0) { - if ((Math.floor(this.blinkErrorTime / 2)) % 2 === 0) { - color = null; - } - } - } - } - else if (ss.currentHoveredNodes.has(node.id)) { - color = "lightblue"; - } - else if (isExecuting) { - color = "#0f0"; - } - - if (blink) { - if (nodeErrors && nodeErrors.includes(this.blinkError) && this.blinkErrorTime > 0) { - if ((Math.floor(this.blinkErrorTime / 2)) % 2 === 0) { - color = null; - } - } - } - - if (color) { - this.drawNodeOutline(node, ctx, size, mouseOver, fgColor, bgColor, color, thickness) - } - - if (isExecuting && state.progress) { - ctx.fillStyle = "green"; - ctx.fillRect(0, 0, size[0] * (state.progress.value / state.progress.max), 6); - ctx.fillStyle = bgColor; - } - - if (nodeErrors) { - this.drawFailedValidationInputs(node, nodeErrors, color, ctx); - } - - if (isHighlightedNode) { - let draw = true; - if (this.blinkErrorTime > 0) { - if ((Math.floor(this.blinkErrorTime / 2)) % 2 === 0) { - draw = false; - } - } - if (draw) { - const [node, inputSlot] = this.highlightNodeAndInput; - if (inputSlot != null) { - ctx.lineWidth = 2; - ctx.strokeStyle = color; - this.highlightNodeInput(node, inputSlot, ctx); - } - } - } - } - - private drawFailedValidationInputs(node: LGraphNode, errors: ComfyGraphErrorLocation[], color: string, ctx: CanvasRenderingContext2D) { - ctx.lineWidth = 2; - ctx.strokeStyle = color || "red"; - for (const errorLocation of errors) { - if (errorLocation.input != null) { - if (errorLocation === this.blinkError && this.blinkErrorTime > 0) { - if ((Math.floor(this.blinkErrorTime / 2)) % 2 === 0) { - continue; - } - } - this.highlightNodeInput(node, errorLocation.input.name, ctx); - } - } - } - - private static CONNECTION_POS: Vector2 = [0, 0]; - - private highlightNodeInput(node: LGraphNode, inputSlot: SlotNameOrIndex, ctx: CanvasRenderingContext2D) { - let inputIndex: number; - if (typeof inputSlot === "number") - inputIndex = inputSlot - else - inputIndex = node.findInputSlotIndexByName(inputSlot) - if (inputIndex !== -1) { - let pos = node.getConnectionPos(true, inputIndex, ComfyGraphCanvas.CONNECTION_POS); - ctx.beginPath(); - ctx.arc(pos[0] - node.pos[0], pos[1] - node.pos[1], 12, 0, 2 * Math.PI, false) - ctx.stroke(); - } - } - - private drawNodeOutline(node: LGraphNode, ctx: CanvasRenderingContext2D, size: Vector2, mouseOver: boolean, fgColor: string, bgColor: string, outlineColor: string, outlineThickness: number) { - const shape = node.shape || BuiltInSlotShape.ROUND_SHAPE; - - var render_title = true; - if (node.titleMode == TitleMode.TRANSPARENT_TITLE || node.titleMode == TitleMode.NO_TITLE) { - render_title = false; - } else if (node.titleMode == TitleMode.AUTOHIDE_TITLE && mouseOver) { - render_title = true; - } - const titleHeight = render_title ? LiteGraph.NODE_TITLE_HEIGHT : 0; - - ctx.lineWidth = outlineThickness; - ctx.globalAlpha = 0.8; - ctx.beginPath(); - if (shape == BuiltInSlotShape.BOX_SHAPE) - ctx.rect(-6, -6 + titleHeight, 12 + size[0] + 1, 12 + size[1] + titleHeight); - else if (shape == BuiltInSlotShape.ROUND_SHAPE || (shape == BuiltInSlotShape.CARD_SHAPE && node.flags.collapsed)) - ctx.roundRect( - -6, - -6 - titleHeight, - 12 + size[0] + 1, - 12 + size[1] + titleHeight, - this.round_radius * 2 - ); - else if (shape == BuiltInSlotShape.CARD_SHAPE) - ctx.roundRect( - -6, - -6 + titleHeight, - 12 + size[0] + 1, - 12 + size[1] + titleHeight, - this.round_radius * 2, - 2 - ); - else if (shape == BuiltInSlotShape.CIRCLE_SHAPE) - ctx.arc(size[0] * 0.5, size[1] * 0.5, size[0] * 0.5 + 6, 0, Math.PI * 2); - ctx.strokeStyle = outlineColor; - ctx.stroke(); - ctx.strokeStyle = fgColor; - ctx.globalAlpha = 1; - } - - private alignToGrid(node: LGraphNode, ctx: CanvasRenderingContext2D) { - const x = LiteGraph.CANVAS_GRID_SIZE * Math.round(node.pos[0] / LiteGraph.CANVAS_GRID_SIZE); - const y = LiteGraph.CANVAS_GRID_SIZE * Math.round(node.pos[1] / LiteGraph.CANVAS_GRID_SIZE); - - const shiftX = x - node.pos[0]; - let shiftY = y - node.pos[1]; - - let w, h; - if (node.flags.collapsed) { - w = node._collapsed_width; - h = LiteGraph.NODE_TITLE_HEIGHT; - shiftY -= LiteGraph.NODE_TITLE_HEIGHT; - } else { - w = node.size[0]; - h = node.size[1]; - let titleMode = node.titleMode - if (titleMode !== TitleMode.TRANSPARENT_TITLE && titleMode !== TitleMode.NO_TITLE) { - h += LiteGraph.NODE_TITLE_HEIGHT; - shiftY -= LiteGraph.NODE_TITLE_HEIGHT; - } - } - const f = ctx.fillStyle; - ctx.fillStyle = "rgba(100, 100, 100, 0.5)"; - ctx.fillRect(shiftX, shiftY, w, h); - ctx.fillStyle = f; - } - - override drawNode(node: LGraphNode, ctx: CanvasRenderingContext2D): void { - if ((window as any)?.app?.shiftDown && this.node_dragged && node.id in this.selected_nodes) { - this.alignToGrid(node, ctx) - } - - // Fade out inactive nodes - var editor_alpha = this.editor_alpha; - if (node.mode === NodeMode.NEVER) { // never - this.editor_alpha = 0.4; - } - const res = super.drawNode(node, ctx); - this.editor_alpha = editor_alpha; - - return res; - } - - override drawGroups(canvas: HTMLCanvasElement, ctx: CanvasRenderingContext2D) { - if (!this.graph) { - return; - } - - var groups = this.graph._groups; - - ctx.save(); - ctx.globalAlpha = 0.7 * this.editor_alpha; - - for (var i = 0; i < groups.length; ++i) { - var group = groups[i]; - - if (!LiteGraph.overlapBounding(this.visible_area, group.bounding)) { - continue; - } //out of the visible area - - ctx.fillStyle = group.color || "#335"; - ctx.strokeStyle = group.color || "#335"; - var pos = group.pos; - var size = group.size; - ctx.globalAlpha = 0.25 * this.editor_alpha; - ctx.beginPath(); - var font_size = - group.fontSize || LiteGraph.DEFAULT_GROUP_FONT_SIZE; - ctx.rect(pos[0] + 0.5, pos[1] + 0.5, size[0], font_size * 1.4); - ctx.fill(); - ctx.globalAlpha = this.editor_alpha; - } - - ctx.restore(); - - const res = super.drawGroups(canvas, ctx); - return res; - } - - /** - * Handle keypress - * - * Ctrl + M mute/unmute selected nodes - * Ctrl + Space open node searchbox - */ - override processKey(e: KeyboardEvent): boolean | undefined { - const res = super.processKey(e); - - if (res === false) { - return res; - } - - if (!this.graph) { - return; - } - - var block_default = false; - - if ("localName" in e.target && e.target.localName == "input") { - return; - } - - if (e.type == "keydown") { - // Ctrl + M - mute/unmute - if (e.keyCode == 77 && e.ctrlKey) { - if (this.selected_nodes) { - for (var i in this.selected_nodes) { - if (this.selected_nodes[i].mode === 2) { // never - this.selected_nodes[i].mode = 0; // always - } else { - this.selected_nodes[i].mode = 2; // never - } - } - } - block_default = true; - } - // Ctrl + Space - open node searchbox - else if (e.keyCode == 32 && e.ctrlKey) { - const event = new MouseEvent("click"); - const searchBox = this.showSearchBox(event); - const rect = this.canvas.getBoundingClientRect(); - const sbRect = searchBox.getBoundingClientRect(); - const clientX = rect.left + rect.width / 2 - sbRect.width / 2; - const clientY = rect.top + rect.height / 2 - sbRect.height / 2 - searchBox.style.left = `${clientX}px`; - searchBox.style.top = `${clientY}px`; - // TODO better API - event.initMouseEvent("click", true, true, window, 1, clientX, clientY, clientX, clientY, false, false, false, false, 0, null); - this.adjustMouseEvent(event); - block_default = true; - } - } - - this.graph.change(); - - if (block_default) { - e.preventDefault(); - e.stopImmediatePropagation(); - return false; - } - - return res; - } - - override onSelectionChange(nodes: Record) { - selectionState.update(ss => { - ss.currentSelectionNodes = Object.values(nodes) - ss.currentSelection = [] - const layoutState = layoutStates.getLayoutByGraph(this.graph); - if (layoutState) { - const ls = get(layoutState) - for (const node of ss.currentSelectionNodes) { - const widget = ls.allItemsByNode[node.id] - if (widget) - ss.currentSelection.push(widget.dragItem.id) - } - } - return ss - }) - } - - override onHoverChange(node: LGraphNode | null) { - selectionState.update(ss => { - ss.currentHoveredNodes.clear() - if (node) { - ss.currentHoveredNodes.add(node.id) - } - ss.currentHovered.clear() - const layoutState = layoutStates.getLayoutByGraph(this.graph); - if (layoutState) { - const ls = get(layoutState) - for (const nodeID of ss.currentHoveredNodes) { - const widget = ls.allItemsByNode[nodeID] - if (widget) - ss.currentHovered.add(widget.dragItem.id) - } - } - return ss - }) - } - - override clear() { - super.clear(); - selectionState.update(ss => { - ss.currentSelectionNodes = []; - ss.currentHoveredNodes.clear() - return ss; - }) - } - - override onNodeMoved(node: LGraphNode) { - if (super.onNodeMoved) - super.onNodeMoved(node); - - if ((window as any)?.app?.shiftDown) { - // Ensure all selected nodes are realigned - for (const id in this.selected_nodes) { - this.selected_nodes[id].alignToGrid(); - } - } - } - - private reinstantiate(_value: IContextMenuItem, _options, mouseEvent, prevMenu, node?: LGraphNode) { - if ((node as any).isBackendNode) - return - - const newNode = LiteGraph.createNode(node.type); - - const createInputReroute = (slotIndex: number, link: LLink | null): ComfyReroute => { - const reroute = LiteGraph.createNode(ComfyReroute); - reroute.properties.ignoreTypes = true; - node.graph.add(reroute) - const inputPos = node.getConnectionPos(true, slotIndex); - reroute.pos = [inputPos[0] - 140, inputPos[1] + LiteGraph.NODE_SLOT_HEIGHT / 2]; - node.graph.getNodeById(link.origin_id).connect(link.origin_slot, reroute, 0) - return reroute - } - - for (let index = node.inputs.length - 1; index >= 0; index--) { - let link: LLink | null = null; - - link = node.getInputLink(index); - node.disconnectInput(index) - - if (link) - createInputReroute(index, link); - - node.removeInput(index); - } - - for (let index = 0; index < newNode.inputs.length; index++) { - const newInput = newNode.inputs[index] - const input = node.addInput(newInput.name, newInput.type); - } - - const createOutputReroute = (index: number, links: LLink[], connect: boolean = true): ComfyReroute => { - const reroute = LiteGraph.createNode(ComfyReroute); - reroute.properties.ignoreTypes = true; - node.graph.add(reroute) - const rerouteSize = reroute.computeSize(); - const outputPos = node.getConnectionPos(false, index); - reroute.pos = [outputPos[0] + rerouteSize[0] + 20, outputPos[1] + LiteGraph.NODE_SLOT_HEIGHT / 2]; - for (const link of links) { - reroute.connect(0, node.graph.getNodeById(link.target_id), link.target_slot) - } - return reroute - } - - for (let index = node.outputs.length - 1; index >= 0; index--) { - let links = node.getOutputLinks(index) - node.disconnectOutput(index) - - if (links.length > 0) - createOutputReroute(index, links); - - node.removeOutput(index); - } - - for (let index = 0; index < newNode.outputs.length; index++) { - const newOutput = newNode.outputs[index] - const output = node.addOutput(newOutput.name, newOutput.type); - } - } - - private insertReroute(_value: IContextMenuItem, _options, mouseEvent: MouseEventExt, prevMenu?: ContextMenu, link?: LLink) { - if (link == null) - return - - const originNode = this.graph.getNodeById(link.origin_id); - const targetNode = this.graph.getNodeById(link.target_id); - - if (originNode == null || targetNode == null) - return; - - if (typeof prevMenu?.options?.event?.canvasX === "number") - mouseEvent = prevMenu.options.event as MouseEventExt; - - const reroute = LiteGraph.createNode(ComfyReroute); - const size = reroute.computeSize(); - const pos: Vector2 = [mouseEvent.canvasX - size[0] * 0.5, mouseEvent.canvasY - size[1] * 0.5]; - - this.graph.removeLink(link.id); - this.graph.add(reroute, { pos }); - - originNode.connect(link.origin_slot, reroute, 0) - reroute.connect(0, targetNode, link.target_slot); - } - - private convertToSubgraph(_value: IContextMenuItem, _options, mouseEvent, prevMenu, callback?: (node: LGraphNode) => void) { - if (Object.keys(this.selected_nodes).length === 0) - return - - const selected = Object.values(this.selected_nodes).filter(n => n != null); - this.selected_nodes = {} - - const subgraph = LiteGraph.createNode(Subgraph); - subgraph.buildFromNodes(selected) - - this.graph.add(subgraph) - } - - /* - * Inserts a ComfyBox template. Logic is similar to pasting from the - * clipboard in vanilla litegraph. - */ - insertTemplate(template: SerializedComfyBoxTemplate, pos: Vector2, container: ContainerLayout, containerIndex: number): [LGraphNode[], IDragItem] { - const comfyGraph = this.graph as ComfyGraph; - - let [min_x, min_y, max_x, max_y] = calcNodesBoundingBox(template.nodes); - - const width = max_x - min_x - const height = max_y - min_y - - pos[0] -= width / 2 - pos[1] -= height / 2 - - const layout = comfyGraph.layout; - if (layout == null) { - console.error("[ComfyGraphCanvas] graph has no layout!", comfyGraph) - return; - } - - // The following operations modify the template in-place, so be sure it's been cloned first - const cloned = LiteGraph.cloneObject(template) - const nodeMapping = comfyGraph.insertTemplate(cloned, pos); - const templateLayoutRoot = layout.insertTemplate(cloned, comfyGraph, nodeMapping, container, containerIndex); - - this.selectNodes(Object.values(nodeMapping).filter(n => n.graph === this.graph)); - - return [Object.values(nodeMapping), templateLayoutRoot] - } - - saveAsTemplate(_value: IContextMenuItem, _options, mouseEvent, prevMenu, node?: LGraphNode) { - if (!this.selected_nodes || Object.values(this.selected_nodes).length === 0) - return; - - const result = createTemplate(Object.values(this.selected_nodes)); - - if ("error" in result) { - notify(`Couldn't create template: ${result.error}`, { type: "error", timeout: 5000 }); - return; - } - - const template = result as ComfyBoxTemplate; - - const serialized = serializeTemplate(this, template); - - try { - if (templateState.addTemplate(serialized)) { - notify("Template saved!", { type: "success" }) - } - else { - notify("Failed to save template: already exists in LocalStorage", { type: "error" }) - } - } - catch (error) { - // Quota exceeded? - notify(`Failed to save template: ${error}`, { type: "error", timeout: 10000 }) - } - } - - override getCanvasMenuOptions(): ContextMenuItem[] { - const options = super.getCanvasMenuOptions(); - - options.push( - { - content: "Convert to Subgraph", - has_submenu: false, - disabled: Object.keys(this.selected_nodes).length === 0, - callback: this.convertToSubgraph.bind(this) - }, - ) - - return options - } - - override getNodeMenuOptions(node: LGraphNode): ContextMenuItem[] { - const options = super.getNodeMenuOptions(node); - - options.push( - { - content: "Reinstantiate", - has_submenu: false, - disabled: false, - callback: this.reinstantiate.bind(this) - }, - ) - - options.push( - { - content: "Save as Template", - has_submenu: false, - disabled: false, - callback: this.saveAsTemplate.bind(this) - }, - ) - - return options - } - - override getLinkMenuOptions(link: LLink): ContextMenuItem[] { - const options = super.getLinkMenuOptions(link); - - options.push( - { - content: "Insert Reroute", - has_submenu: false, - disabled: false, - callback: this.insertReroute.bind(this) - }, - ) - - return options - } - - override onRenderBackground(canvas: HTMLCanvasElement, ctx: CanvasRenderingContext2D): boolean { - if (this.isExportingSVG) { - ctx.clearRect( - this.visible_area[0], - this.visible_area[1], - this.visible_area[2], - this.visible_area[3] - ); - return true; - } - return false; - } - - jumpToFirstError() { - this.jumpToError(0); - } - - jumpToError(index: number | ComfyGraphErrorLocation) { - if (this.activeErrors == null) { - return; - } - - let error; - if (typeof index === "number") { - error = this.activeErrors.errors[index] - } - else { - error = index; - } - - if (error == null) { - return; - } - - const rootGraph = this.graph.getRootGraph() - if (rootGraph == null) { - return - } - - const node = rootGraph.getNodeByIdRecursive(error.nodeID); - if (node == null) { - notify(`Couldn't find node '${error.comfyNodeType}' (${error.nodeID})`, { type: "warning" }) - return - } - - this.jumpToNode(node) - - this.highlightNodeAndInput = null; - this.blinkError = error; - this.blinkErrorTime = 20; - } - - jumpToNode(node: LGraphNode) { - interfaceState.update(s => { s.isJumpingToNode = true; return s; }) - - this.closeAllSubgraphs(); - - const subgraphs = Array.from(node.iterateParentSubgraphNodes()).reverse(); - - for (const subgraph of subgraphs) { - this.openSubgraph(subgraph.subgraph) - } - - this.centerOnNode(node); - this.selectNode(node); - } - - jumpToNodeAndInput(node: LGraphNode, slotIndex: number | null) { - this.jumpToNode(node); - this.highlightNodeAndInput = [node, slotIndex]; - this.blinkErrorTime = 20; - } -} diff --git a/src/lib/ComfyNodeDef.ts b/src/lib/ComfyNodeDef.ts deleted file mode 100644 index 70a726a..0000000 --- a/src/lib/ComfyNodeDef.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { range } from "./utils" -import ComfyWidgets from "./widgets" - -export type ComfyNodeDef = { - name: string - display_name?: string - category: string - output_node?: boolean, - input: ComfyNodeDefInputs - /** Output type like "LATENT" or "IMAGE" */ - output: string[] - output_name: string[] - output_is_list: boolean[] -} - -export type ComfyNodeDefInputs = { - required: Record, - optional?: Record -} -export type ComfyNodeDefInput = [ComfyNodeDefInputType, ComfyNodeDefInputOptions | null] - - -/** - * - Array: Combo widget. Usually the values are strings but they can also be other stuff like booleans. - * - "INT"/"FLOAT"/etc.: Non-combo type widgets. See ComfyWidgets type. - * - other string: Must be a backend input type, usually something lke "IMAGE" or "LATENT". - */ -export type ComfyNodeDefInputType = any[] | keyof typeof ComfyWidgets | string - -export type ComfyNodeDefInputOptions = { - forceInput?: boolean; - - // NOTE: For COMBO type inputs, the default value is always the first entry in the list. - default?: any, - - // INT/FLOAT options - min?: number, - max?: number, - step?: number, - - // STRING options - multiline?: boolean, -} - -// TODO if/when comfy refactors -export type ComfyNodeDefOutput = { - type: string, - name: string, - is_list?: boolean -} - -export function isBackendNodeDefInputType(inputName: string, type: ComfyNodeDefInputType): type is string { - return !Array.isArray(type) && !(type in ComfyWidgets) && !(`${type}:${inputName}` in ComfyWidgets); -} - -export function iterateNodeDefInputs(def: ComfyNodeDef): Iterable<[string, ComfyNodeDefInput]> { - var inputs = def.input.required || {} - if (def.input.optional != null) { - inputs = Object.assign({}, def.input.required, def.input.optional) - } - return Object.entries(inputs); -} - -export function iterateNodeDefOutputs(def: ComfyNodeDef): Iterable { - const outputCount = def.output ? def.output.length : 0; - return range(outputCount).map(i => { - return { - type: def.output[i], - name: def.output_name[i] || def.output[i], - is_list: def.output_is_list[i], - } - }) -} diff --git a/src/lib/DanbooruTags.ts b/src/lib/DanbooruTags.ts deleted file mode 100644 index 3b1eb1b..0000000 --- a/src/lib/DanbooruTags.ts +++ /dev/null @@ -1,195 +0,0 @@ -import { parse } from 'csv-parse/browser/esm/sync'; -import { timeExecutionMs } from './utils'; -import { insertCompletionText, type Completion, type CompletionContext, type CompletionResult, type CompletionSource, autocompletion } from '@codemirror/autocomplete'; -import { syntaxTree } from '@codemirror/language'; -import type { Extension } from '@codemirror/state'; -import type { EditorView } from '@codemirror/view'; -import type { StyleSpec } from "style-mod" - -export enum DanbooruTagCategory { - General = 0, - Artist = 1, - Copyright = 3, - Character = 4, -} - -export type DanbooruTagCategoryData = { - name: string, - color: string -} - -const TAG_CATEGORY_DATA: Record = { - [DanbooruTagCategory.General]: { - name: "general", - color: "lightblue" - }, - [DanbooruTagCategory.Artist]: { - name: "artist", - color: "red", - }, - [DanbooruTagCategory.Copyright]: { - name: "copyright", - color: "lightpurple" - }, - [DanbooruTagCategory.Character]: { - name: "character", - color: "green" - } -} - -export const TAG_CATEGORY_COLORS: StyleSpec = Object.values(TAG_CATEGORY_DATA) - .flatMap(d => { - return [ - [`.cm-autocompletion-${d.name}`, { color: d.color + " !important" }], - ] - }) - .reduce((dict: StyleSpec, el: [string, any]) => (dict[el[0]] = el[1], dict), {}) - -export type DanbooruTag = { - text: string, - category: DanbooruTagCategory, - count: number, - aliases: string[] -} - -function escapeRegExp(s: string) { - return s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); -} - -function formatPostCount(postCount: number): string { - if (!postCount || !isNaN(postCount)) - return "" - - let formatter: Intl.NumberFormat; - - // Danbooru formats numbers with a padded fraction for 1M or 1k, but not for 10/100k - if (postCount >= 1000000 || (postCount >= 1000 && postCount < 10000)) - formatter = Intl.NumberFormat("en", { notation: "compact", minimumFractionDigits: 1, maximumFractionDigits: 1 }); - else - formatter = Intl.NumberFormat("en", { notation: "compact" }); - - return formatter.format(postCount); -} - -export default class DanbooruTags { - private static _instance: DanbooruTags; - - tags: DanbooruTag[] = []; - tagsByCategory: Record = {} - aliases: Record = {} - - static get instance(): DanbooruTags { - if (!DanbooruTags._instance) - DanbooruTags._instance = new DanbooruTags() - return DanbooruTags._instance - } - - async load(force: boolean = false) { - if (this.tags.length > 0 && !force) { - console.warn("Danbooru tags already parsed") - return; - } - - this.tags = [] - - const transformTag = (data: string[]): DanbooruTag => { - return { - text: data[0], - category: parseInt(data[1]), - count: parseInt(data[2]), - aliases: data[3].split(",") - } - } - - const time = await timeExecutionMs(async () => { - const resp = await fetch("/extra/danbooru.csv"); - const csv = await resp.text(); - const raw: string[][] = parse(csv, { - delimiter: ',' - }); - - const refined = raw.map(transformTag); - - this.tags = refined - }) - - console.log(`Parsed ${this.tags.length} tags in ${time / 1000}ms.`) - } - - autocomplete(context: CompletionContext): CompletionResult { - let nodeBefore = syntaxTree(context.state).resolveInner(context.pos, -1) - let textBefore = context.state.sliceDoc(nodeBefore.from, context.pos) - - let weightBefore = /:[0-9.]+$/.exec(textBefore) - if (weightBefore) return null - - let tagBefore = /\b[a-zA-Z0-9_()-]+$/.exec(textBefore) - if (!tagBefore) return null - - let tagword = tagBefore[0] - console.warn(tagword) - - let searchRegex: RegExp; - if (tagword.startsWith("*")) { - tagword = tagword.slice(1); - searchRegex = new RegExp(`${escapeRegExp(tagword)}`, 'i'); - } else { - searchRegex = new RegExp(`(^|[^a-zA-Z])${escapeRegExp(tagword)}`, 'i'); - } - - const sanitize = (rawTag: string): string => { - let sanitized = rawTag.replaceAll("_", " "); - - // TODO config - const escapeParentheses = true; - const isTagType = true; - if (escapeParentheses && isTagType) { - sanitized = sanitized - .replaceAll("(", "\\(") - .replaceAll(")", "\\)") - .replaceAll("[", "\\[") - .replaceAll("]", "\\]"); - } - - return sanitized - } - - const apply = (view: EditorView, completion: Completion, from: number, to: number) => { - const sanitized = sanitize(completion.label); - view.dispatch(insertCompletionText(view.state, sanitized, from, to)); - } - - const filter = (x: DanbooruTag) => x.text.toLowerCase().search(searchRegex) > -1; - - const options: Completion[] = this.tags.filter(filter).map(t => { - const categoryName = TAG_CATEGORY_DATA[t.category]?.name || "unknown"; - return { - label: t.text, - apply, - detail: formatPostCount(t.count), - type: categoryName, - section: "Tags" - } - }) - - return { - from: tagBefore ? nodeBefore.from + tagBefore.index : context.pos, - options, - validFor: /^\b([\w_()-]+)?$/ - } - } - - static getCompletionExt(): Extension { - const source: CompletionSource = DanbooruTags.instance.autocomplete.bind(DanbooruTags.instance) - - const optionClass = (completion: Completion): string => { - return `cm-autocompletion-${completion.type}` - } - - return autocompletion({ - override: [source], - interactionDelay: 250, - optionClass - }) - } -} diff --git a/src/lib/IComfyInputSlot.ts b/src/lib/IComfyInputSlot.ts deleted file mode 100644 index 612723b..0000000 --- a/src/lib/IComfyInputSlot.ts +++ /dev/null @@ -1,20 +0,0 @@ -import type { INodeInputSlot } from "@litegraph-ts/core"; -import type { ComfyWidgetNode } from "./nodes"; - -// TODO generalize -export type ComfyInputConfig = { - min?: number, - max?: number, - step?: number, - precision?: number, - defaultValue?: any, - values?: any[], - multiline?: boolean -} - -export default interface IComfyInputSlot extends INodeInputSlot { - serialize: boolean, - defaultWidgetNode: new (name?: string) => ComfyWidgetNode - widgetNodeType?: string, - config: ComfyInputConfig, // stores range min/max/step, etc. -} diff --git a/src/lib/ImageViewer.ts b/src/lib/ImageViewer.ts deleted file mode 100644 index 21ec44e..0000000 --- a/src/lib/ImageViewer.ts +++ /dev/null @@ -1,191 +0,0 @@ -import { negmod } from "./utils"; - -export class ImageViewer { - root: HTMLDivElement; - lightboxModal: HTMLDivElement; - currentImages: string[] = [] - selectedIndex: number = -1; - currentGallery: HTMLDivElement | null = null; - private static _instance: ImageViewer; - - static get instance(): ImageViewer { - if (!ImageViewer._instance) - ImageViewer._instance = new ImageViewer((window as any).app.rootEl) - return ImageViewer._instance - } - - get modalImage(): HTMLImageElement | null { - return this.root.querySelector("#modalImage"); - } - - constructor(root: HTMLDivElement) { - this.root = root; - this.lightboxModal = this.root.querySelector("#lightboxModal"); - } - - // A full size 'lightbox' preview modal shown when left clicking on gallery previews - closeModal() { - this.lightboxModal.style.display = "none"; - this.currentImages = [] - this.selectedIndex = -1; - this.currentGallery = null; - } - - static all_gallery_buttons(gallery: HTMLDivElement): HTMLButtonElement[] { - var allGalleryButtons = gallery.querySelectorAll('.preview > .thumbnails > .thumbnail-item.thumbnail-small'); - var visibleGalleryButtons = []; - allGalleryButtons.forEach((elem) => { - if (elem.parentElement.offsetParent) { - visibleGalleryButtons.push(elem); - } - }) - return visibleGalleryButtons; - } - - static selected_gallery_button(gallery: HTMLDivElement): [HTMLButtonElement | null, number] { - var allCurrentButtons = gallery.querySelectorAll('.preview > .thumbnails > .thumbnail-item.thumbnail-small'); - console.log(allCurrentButtons) - var visibleCurrentButton = null; - let index = -1; - allCurrentButtons.forEach((elem, i) => { - if (elem.parentElement.offsetParent && elem.classList.contains("selected")) { - visibleCurrentButton = elem; - index = i; - } - }) - return [visibleCurrentButton, index]; - } - - showModal(imageUrls: string[], index: number, galleryElem?: HTMLDivElement) { - this.currentImages = imageUrls - this.selectedIndex = index - this.currentGallery = galleryElem; - this.setModalImageSrc(imageUrls[index]) - this.lightboxModal.style.display = "flex"; - - const left = this.lightboxModal.querySelector(".modalPrev") - const right = this.lightboxModal.querySelector(".modalNext") - if (imageUrls.length <= 1) { - left.style.display = "none" - right.style.display = "none" - } - else { - left.style.display = "block" - right.style.display = "block" - } - - setTimeout(() => { - this.modalImage.focus() - }, 200) - } - - static get_gallery_urls(galleryElem: HTMLDivElement): string[] { - return ImageViewer.all_gallery_buttons(galleryElem) - .map(b => (b.children[0] as HTMLImageElement).src) - } - - refreshImages() { - if (this.currentGallery) { - this.currentImages = ImageViewer.get_gallery_urls(this.currentGallery) - let [_currentButton, index] = ImageViewer.selected_gallery_button(this.currentGallery); - this.selectedIndex = index; - } - - const selectedImageUrl = this.currentImages[this.selectedIndex]; - this.setModalImageSrc(selectedImageUrl) - } - - private setModalImageSrc(src: string, isTiling: boolean = false) { - const modalImage = this.modalImage - const modal = this.lightboxModal - modalImage.src = src; - if (isTiling) { - modalImage.style.display = 'none'; - modal.style.setProperty('background-image', `url(${modalImage.src})`) - } else { - modalImage.style.display = 'block'; - modal.style.setProperty('background-image', 'none') - } - } - - modalImageSwitch(offset: number) { - this.selectedIndex = negmod(this.selectedIndex + offset, this.currentImages.length); - const selectedImageUrl = this.currentImages[this.selectedIndex]; - - this.setModalImageSrc(selectedImageUrl) - - if (this.currentGallery) { - const galleryButtons = ImageViewer.all_gallery_buttons(this.currentGallery); - const nextButton = galleryButtons[this.selectedIndex]; - if (nextButton) { - nextButton.click() - } - } - - setTimeout(() => { this.lightboxModal.focus() }, 10) - } - - modalNextImage(event) { - this.modalImageSwitch(1) - event.stopPropagation() - } - - modalPrevImage(event) { - this.modalImageSwitch(-1) - event.stopPropagation() - } - - modalKeyHandler(event) { - switch (event.key) { - case "ArrowLeft": - this.modalPrevImage(event) - break; - case "ArrowRight": - this.modalNextImage(event) - break; - case "Escape": - this.closeModal(); - break; - } - } - - showLightbox(source: HTMLImageElement) { - if (this.lightboxModal.style.display != "none") - this.closeModal(); - - const initiallyZoomed = true - this.modalZoomSet(this.modalImage, initiallyZoomed) - - const galleryElem = source.closest("div.block") - console.debug("[ImageViewer] showModal", event, source, galleryElem); - if (!galleryElem || ImageViewer.all_gallery_buttons(galleryElem).length === 0) { - console.error("No buttons found on gallery element!", galleryElem) - return; - } - - let urls = ImageViewer.get_gallery_urls(galleryElem) - const [_currentButton, index] = ImageViewer.selected_gallery_button(galleryElem) - - this.showModal(urls, index, galleryElem) - } - - modalZoomSet(modalImage: HTMLImageElement, enable: boolean) { - if (enable) { - modalImage.classList.add('modalImageFullscreen'); - } else { - modalImage.classList.remove('modalImageFullscreen'); - } - } - - modalZoomToggle(event: Event) { - const modalImage = this.modalImage; - this.modalZoomSet(modalImage, !modalImage.classList.contains('modalImageFullscreen')) - event.stopPropagation() - } - - modalTileImageToggle(event: Event) { - const isTiling = this.modalImage.style.display === 'none'; - this.setModalImageSrc(this.modalImage.src, isTiling) - event.stopPropagation() - } -} diff --git a/src/lib/api.ts b/src/lib/api.ts deleted file mode 100644 index ec54872..0000000 --- a/src/lib/api.ts +++ /dev/null @@ -1,425 +0,0 @@ -import type { Progress, SerializedPrompt, SerializedPromptInputsForNode, SerializedPromptInputsAll, SerializedPromptOutputs, SerializedAppState, SerializedPromptInput, SerializedPromptInputLink } from "./components/ComfyApp"; -import type TypedEmitter from "typed-emitter"; -import EventEmitter from "events"; -import type { ComfyImageLocation } from "$lib/utils"; -import type { SerializedLGraph, UUID } from "@litegraph-ts/core"; -import type { SerializedLayoutState } from "./stores/layoutStates"; -import type { ComfyNodeDef, ComfyNodeDefInput } from "./ComfyNodeDef"; -import type { WorkflowInstID } from "./stores/workflowState"; -import type { ComfyAPIPromptErrorResponse, ComfyExecutionError, ComfyInterruptedError } from "./apiErrors"; - -export type ComfyPromptRequest = { - client_id?: string, - prompt: SerializedPromptInputsAll, - extra_data: ComfyBoxPromptExtraData, - front?: boolean, - number?: number -} - -export type QueueItemType = "queue" | "history"; - -export type ComfyAPIStatusExecInfo = { - queueRemaining: number | "X"; -} - -export type ComfyAPIStatusResponse = { - execInfo?: ComfyAPIStatusExecInfo, - error?: string -} - -export type ComfyAPIQueueResponse = { - running: ComfyAPIHistoryItem[], - pending: ComfyAPIHistoryItem[], - error?: string -} - -export type ComfyNodeID = UUID; // To distinguish from Litegraph NodeID -export type PromptID = UUID; // UUID - -export type ComfyAPIHistoryItem = [ - number, // prompt number - PromptID, - SerializedPromptInputsAll, - ComfyBoxPromptExtraData, - ComfyNodeID[] // good outputs -] - -export type ComfyAPIPromptSuccessResponse = { - promptID: PromptID, - number: number -} - -export type ComfyAPIPromptResponse = ComfyAPIPromptSuccessResponse | ComfyAPIPromptErrorResponse - -export type ComfyAPIHistoryEntry = { - prompt: ComfyAPIHistoryItem, - outputs: SerializedPromptOutputs -} - -export type ComfyAPIHistoryResponse = { - history: Record, - error?: string -} - -export type ComfyDevice = { - name: string, - type: string, - index: number, - vram_total: number - vram_free: number - torch_vram_total: number - torch_vram_free: number -} - -export type ComfyAPISystemStatsResponse = { - devices: ComfyDevice[] -} - -export type SerializedComfyBoxPromptData = { - subgraphs: string[] -} - -export type ComfyPromptPNGInfo = { - workflow?: SerializedLGraph, // ComfyUI format - comfyBoxWorkflow: SerializedAppState, - comfyBoxPrompt: SerializedComfyBoxPromptData, -} - -export type ComfyBoxPromptExtraData = ComfyUIPromptExtraData & { - /* Workflow tab that sent the prompt. */ - workflowID?: WorkflowInstID, - - workflowTitle?: string, - - /* Thumbnails to show in the queue */ - thumbnails?: ComfyImageLocation[], -} - -export type ComfyUIPromptExtraData = { - extra_pnginfo?: ComfyPromptPNGInfo, - client_id?: UUID, // UUID -} - -type ComfyAPIEvents = { - // JSON - status: (status: ComfyAPIStatusResponse | null, error?: Error | null) => void, - progress: (progress: Progress) => void, - reconnecting: () => void, - reconnected: () => void, - executing: (promptID: PromptID | null, runningNodeID: ComfyNodeID | null) => void, - executed: (promptID: PromptID, nodeID: ComfyNodeID, output: SerializedPromptOutputs) => void, - execution_start: (promptID: PromptID) => void, - execution_cached: (promptID: PromptID, nodes: ComfyNodeID[]) => void, - execution_interrupted: (error: ComfyInterruptedError) => void, - execution_error: (error: ComfyExecutionError) => void, - - // Binary - b_preview: (imageBlob: Blob) => void -} - -export default class ComfyAPI { - private eventBus: TypedEmitter = new EventEmitter() as TypedEmitter; - - socket: WebSocket | null = null; - clientId: string | null = null; - hostname: string | null = null; - port: number | null = 8188; - - addEventListener(type: E, callback: ComfyAPIEvents[E]) { - this.eventBus.addListener(type, callback); - } - - /** - * Poll status for colab and other things that don't support websockets. - */ - private pollQueue() { - setInterval(async () => { - try { - const resp = await fetch(this.getBackendUrl() + "/prompt"); - const status = await resp.json(); - this.eventBus.emit("status", { execInfo: { queueRemaining: status.exec_info.queue_remaining } }); - } catch (error) { - this.eventBus.emit("status", { error: error.toString() }); - } - }, 1000); - } - - private getHostname(): string { - let hostname = this.hostname || location.hostname; - if (hostname === "localhost") { - // For dev use, assume same hostname as connected server - hostname = location.hostname; - } - return hostname; - } - - private getBackendUrl(): string { - const hostname = this.getHostname() - const port = this.port || location.port; - return `${window.location.protocol}//${hostname}:${port}` - } - - /** - * Creates and connects a WebSocket for realtime updates - * @param {boolean} isReconnect If the socket is connection is a reconnect attempt - */ - private createSocket(isReconnect: boolean = false) { - if (this.socket) { - return; - } - - let opened = false; - let existingSession = sessionStorage["Comfy.SessionId"] || ""; - if (existingSession) { - existingSession = "?clientId=" + existingSession; - } - - const hostname = this.getHostname() - const port = this.port || location.port; - - this.socket = new WebSocket( - `ws${window.location.protocol === "https:" ? "s" : ""}://${hostname}:${port}/ws${existingSession}` - ); - this.socket.binaryType = "arraybuffer"; - - this.socket.addEventListener("open", () => { - opened = true; - if (isReconnect) { - this.eventBus.emit("reconnected"); - } - }); - - this.socket.addEventListener("error", () => { - if (this.socket) this.socket.close(); - if (!isReconnect && !opened) { - this.pollQueue(); - } - }); - - this.socket.addEventListener("close", () => { - setTimeout(() => { - this.socket = null; - this.createSocket(true); - }, 300); - if (opened) { - this.eventBus.emit("status", null); - this.eventBus.emit("reconnecting"); - } - }); - - this.socket.addEventListener("message", (event) => { - try { - if (event.data instanceof ArrayBuffer) { - const view = new DataView(event.data); - const eventType = view.getUint32(0); - const buffer = event.data.slice(4); - switch (eventType) { - case 1: - const view2 = new DataView(event.data); - const imageType = view2.getUint32(0) - let imageMime: string - switch (imageType) { - case 1: - default: - imageMime = "image/jpeg"; - break; - case 2: - imageMime = "image/png" - } - const imageBlob = new Blob([buffer.slice(4)], { type: imageMime }); - this.eventBus.emit("b_preview", imageBlob); - break; - default: - throw new Error(`Unknown binary websocket message of type ${eventType}`); - } - } - else { - const msg = JSON.parse(event.data); - switch (msg.type) { - case "status": - if (msg.data.sid) { - this.clientId = msg.data.sid; - sessionStorage["Comfy.SessionId"] = this.clientId; - } - this.eventBus.emit("status", { execInfo: { queueRemaining: msg.data.status.exec_info.queue_remaining } }); - break; - case "progress": - this.eventBus.emit("progress", msg.data as Progress); - break; - case "executing": - this.eventBus.emit("executing", msg.data.prompt_id, msg.data.node); - break; - case "executed": - this.eventBus.emit("executed", msg.data.prompt_id, msg.data.node, msg.data.output); - break; - case "execution_start": - this.eventBus.emit("execution_start", msg.data.prompt_id); - break; - case "execution_cached": - this.eventBus.emit("execution_cached", msg.data.prompt_id, msg.data.nodes); - break; - case "execution_interrupted": - this.eventBus.emit("execution_interrupted", msg.data); - break; - case "execution_error": - this.eventBus.emit("execution_error", msg.data); - break; - default: - console.warn("Unhandled message:", event.data); - } - } - } catch (error) { - console.error("Error handling message", event.data, error); - } - }); - } - - /** - * Initialises sockets and realtime updates - */ - init() { - this.createSocket(); - } - - /** - * Gets a list of extension urls - * @returns An array of script urls to import - */ - async getExtensions(): Promise { - return fetch(this.getBackendUrl() + `/extensions`, { cache: "no-store" }) - .then(resp => resp.json()) - } - - /** - * Gets a list of embedding names - * @returns An array of script urls to import - */ - async getEmbeddings(): Promise { - return fetch(this.getBackendUrl() + "/embeddings", { cache: "no-store" }) - .then(resp => resp.json()) - } - - /** - * Loads node object definitions for the graph - * @returns The node definitions - */ - async getNodeDefs(): Promise> { - return fetch(this.getBackendUrl() + "/object_info", { cache: "no-store" }) - .then(resp => resp.json()) - } - - /** - * - * @param {number} number The index at which to queue the prompt, passing -1 will insert the prompt at the front of the queue - * @param {object} prompt The prompt data to queue - */ - async queuePrompt(body: ComfyPromptRequest): Promise { - body.client_id = this.clientId; - - if (body.number === -1) { - body.front = true; - } - - let postBody = null; - try { - postBody = JSON.stringify(body) - } - catch (error) { - return Promise.reject({ error: error.toString() }) - } - - return fetch(this.getBackendUrl() + "/prompt", { - method: "POST", - headers: { - "Content-Type": "application/json", - }, - body: postBody - }) - .then(async (res) => { - if (res.status != 200) { - throw await res.json() - } - return res.json() - }) - .then(raw => { return { promptID: raw.prompt_id, number: raw.number } }) - .catch(error => { return error }) - } - - /** - * Gets the current state of the queue - * @returns The currently running and queued items - */ - async getQueue(): Promise { - return fetch(this.getBackendUrl() + "/queue") - .then(res => res.json()) - .then(data => { - return { - running: data.queue_running, - pending: data.queue_pending, - } - }) - .catch(error => { return { running: [], pending: [], error } }) - } - - /** - * Gets the prompt execution history - * @returns Prompt history including node outputs - */ - async getHistory(): Promise { - return fetch(this.getBackendUrl() + "/history") - .then(res => res.json()) - .then(history => { return { history } }) - .catch(error => { return { history: {}, error } }) - } - - /** - * Sends a POST request to the API - * @param {*} type The endpoint to post to - * @param {*} body Optional POST data - */ - private async postItem(type: QueueItemType, body: any): Promise { - try { - body = body ? JSON.stringify(body) : body - } - catch (error) { - return Promise.reject(error) - } - - return fetch(this.getBackendUrl() + "/" + type, { - method: "POST", - headers: { - "Content-Type": "application/json", - }, - body: body - }); - } - - /** - * Deletes an item from the specified list - * @param {string} type The type of item to delete, queue or history - * @param {number} id The id of the item to delete - */ - async deleteItem(type: QueueItemType, id: PromptID): Promise { - return this.postItem(type, { delete: [id] }); - } - - /** - * Clears the specified list - * @param {string} type The type of list to clear, queue or history - */ - async clearItems(type: QueueItemType): Promise { - return this.postItem(type, { clear: true }); - } - - /** - * Interrupts the execution of the running prompt - */ - async interrupt(): Promise { - return fetch(this.getBackendUrl() + "/interrupt", { method: "POST" }); - } - - async getSystemStats(): Promise { - return fetch(this.getBackendUrl() + "/system_stats") - .then(async (resp) => (await resp.json()) as ComfyAPISystemStatsResponse); - } -} diff --git a/src/lib/apiErrors.ts b/src/lib/apiErrors.ts deleted file mode 100644 index e631cbc..0000000 --- a/src/lib/apiErrors.ts +++ /dev/null @@ -1,270 +0,0 @@ -import type { NodeID } from "@litegraph-ts/core" -import type { ComfyNodeDefInput } from "./ComfyNodeDef" -import type { ComfyNodeID, PromptID } from "./api" -import type { SerializedPromptInputLink } from "./components/ComfyApp" -import type { WorkflowError, WorkflowInstID } from "./stores/workflowState" -import { exclude_internal_props } from "svelte/internal" -import type ComfyGraphCanvas from "./ComfyGraphCanvas" -import type { QueueEntry } from "./stores/queueState" - -enum ComfyPromptErrorType { - NoOutputs = "prompt_no_outputs", - OutputsFailedValidation = "prompt_outputs_failed_validation", -} - -export interface ComfyPromptError { - type: ComfyPromptErrorType, - message: string, - details: string, - extra_info: T -} - -export interface CPENoOutputs extends ComfyPromptError { - type: ComfyPromptErrorType.NoOutputs -} - -export interface CPEOutputsFailedValidation extends ComfyPromptError { - type: ComfyPromptErrorType.OutputsFailedValidation -} - -export enum ComfyNodeErrorType { - RequiredInputMissing = "required_input_missing", - BadLinkedInput = "bad_linked_input", - ReturnTypeMismatch = "return_type_mismatch", - InvalidInputType = "invalid_input_type", - ValueSmallerThanMin = "value_smaller_than_min", - ValueBiggerThanMax = "value_bigger_than_max", - CustomValidationFailed = "custom_validation_failed", - ValueNotInList = "value_not_in_list", - ExceptionDuringValidation = "exception_during_validation", - ExceptionDuringInnerValidation = "exception_during_inner_validation", -} - -export interface ComfyNodeError { - type: ComfyNodeErrorType, - message: string, - details: string, - extra_info: T -} - -export type ComfyNodeErrors = { - errors: ComfyNodeError[], - dependent_outputs: ComfyNodeID[], - class_type: string -} - -export type InputWithValue = { - input_name: string, - input_config: ComfyNodeDefInput, - received_value: any -} - -function isInputWithValue(param: any): param is InputWithValue { - return param && "input_name" in param; -} - -export type InputWithValueAndException = InputWithValue & { - exception_message: string -} - -export type InputWithLinkedNode = { - input_name: string, - input_config: ComfyNodeDefInput, - linked_node: SerializedPromptInputLink -} - -export type ValidationException = { - exception_type: string, - traceback: string[] -} - -function isValidationException(param: any): param is ValidationException { - return param && "exception_type" in param && "traceback" in param; -} - -export interface CNERequiredInputMissing extends ComfyNodeError<{ input_name: string }> { - type: ComfyNodeErrorType.RequiredInputMissing -} - -export interface CNEBadLinkedInput extends ComfyNodeError { - type: ComfyNodeErrorType.BadLinkedInput -} - -export interface CNEReturnTypeMismatch extends ComfyNodeError { - type: ComfyNodeErrorType.ReturnTypeMismatch -} - -export interface CNEInvalidInputType extends ComfyNodeError { - type: ComfyNodeErrorType.InvalidInputType -} - -export interface CNEValueSmallerThanMin extends ComfyNodeError { - type: ComfyNodeErrorType.ValueSmallerThanMin -} - -export interface CNEValueBiggerThanMax extends ComfyNodeError { - type: ComfyNodeErrorType.ValueBiggerThanMax -} - -export interface CNECustomValidationFailed extends ComfyNodeError { - type: ComfyNodeErrorType.CustomValidationFailed -} - -export interface CNEValueNotInList extends ComfyNodeError { - type: ComfyNodeErrorType.ValueNotInList -} - -export interface CNEExceptionDuringValidation extends ComfyNodeError { - type: ComfyNodeErrorType.ExceptionDuringValidation -} - -export interface CNEExceptionDuringInnerValidation extends ComfyNodeError { - type: ComfyNodeErrorType.ExceptionDuringInnerValidation -} - -export type ComfyAPIPromptErrorResponse = { - error: ComfyPromptError, - node_errors: Record, -} - -export type ComfyInterruptedError = { - prompt_id: PromptID, - node_id: ComfyNodeID, - node_type: string, - executed: ComfyNodeID[] -} - -export type ComfyExecutionError = ComfyInterruptedError & { - exception_message: string, - exception_type: string, - traceback: string[], - current_inputs: any[], - current_outputs: any[][], -} - -export function formatValidationError(error: ComfyAPIPromptErrorResponse) { - return `${error.error.message}: ${error.error.details}` -} - -export function formatExecutionError(error: ComfyExecutionError) { - return error.exception_message -} - -export type ComfyGraphErrorInput = { - name: string, - config?: ComfyNodeDefInput, - - receivedValue?: any, - receivedType?: string, - linkedNode?: SerializedPromptInputLink -} - -export type ComfyGraphErrorLocation = { - workflowID: WorkflowInstID, - nodeID: NodeID, - comfyNodeType: string, - errorType: ComfyNodeErrorType | "execution", - message: string, - dependentOutputs: NodeID[], - queueEntry: QueueEntry, - - input?: ComfyGraphErrorInput, - - exceptionMessage?: string, - exceptionType?: string, - traceback?: string[], - - inputValues?: any[], - outputValues?: any[][], -} - -export type ComfyGraphErrors = { - message: string, - errors: ComfyGraphErrorLocation[], - errorsByID: Record -} - -export function validationErrorToGraphErrors(workflowID: WorkflowInstID, validationError: ComfyAPIPromptErrorResponse, queueEntry: QueueEntry): ComfyGraphErrors { - const errorsByID: Record = {} - - for (const [nodeID, nodeErrors] of Object.entries(validationError.node_errors)) { - errorsByID[nodeID] = nodeErrors.errors.map(e => { - const loc: ComfyGraphErrorLocation = { - workflowID, - nodeID, - comfyNodeType: nodeErrors.class_type, - errorType: e.type, - message: e.message, - dependentOutputs: nodeErrors.dependent_outputs, - queueEntry - } - - if (isInputWithValue(e.extra_info)) { - loc.input = { - name: e.extra_info.input_name, - config: e.extra_info.input_config, - receivedValue: e.extra_info.received_value - } - - if ("received_type" in e.extra_info) { - loc.input.receivedType = e.extra_info.received_type as string; - } - if ("linked_node" in e.extra_info) { - loc.input.linkedNode = e.extra_info.linked_node as SerializedPromptInputLink; - } - } - - if ("exception_message" in e.extra_info) { - loc.exceptionMessage = e.extra_info.exception_message as "string" - } - - if (isValidationException(e.extra_info)) { - loc.exceptionType = e.extra_info.exception_type; - loc.traceback = e.extra_info.traceback; - } - - return loc; - }) - } - - return { - message: validationError.error.message, - errors: Object.values(errorsByID).flatMap(e => e), - errorsByID - } -} - -export function executionErrorToGraphErrors(workflowID: WorkflowInstID, executionError: ComfyExecutionError, queueEntry: QueueEntry): ComfyGraphErrors { - const errorsByID: Record = {} - - errorsByID[executionError.node_id] = [{ - workflowID, - nodeID: executionError.node_id, - comfyNodeType: executionError.node_type, - errorType: "execution", - message: executionError.exception_message, - dependentOutputs: [], // TODO - queueEntry, - - exceptionMessage: executionError.exception_message, - exceptionType: executionError.exception_type, - traceback: executionError.traceback, - inputValues: executionError.current_inputs, - outputValues: executionError.current_outputs, - }] - - return { - message: executionError.exception_message, - errors: Object.values(errorsByID).flatMap(e => e), - errorsByID - } -} - -export function workflowErrorToGraphErrors(workflowID: WorkflowInstID, workflowError: WorkflowError, queueEntry: QueueEntry): ComfyGraphErrors { - if (workflowError.type === "validation") { - return validationErrorToGraphErrors(workflowID, workflowError.error, queueEntry) - } - else { - return executionErrorToGraphErrors(workflowID, workflowError.error, queueEntry) - } -} diff --git a/src/lib/components/AccordionContainer.svelte b/src/lib/components/AccordionContainer.svelte deleted file mode 100644 index 2a1718f..0000000 --- a/src/lib/components/AccordionContainer.svelte +++ /dev/null @@ -1,242 +0,0 @@ - - -{#if container} - {@const selected = $uiState.uiUnlocked && $selectionState.currentSelection.includes(container.id)} -
        - {#if edit} - - -
        - {#each children.filter(item => item.id !== SHADOW_PLACEHOLDER_ITEM_ID) as item(item.id)} - {@const hidden = isHidden(item)} -
        - - {#if item[SHADOW_ITEM_MARKER_PROPERTY_NAME]} -
        - {/if} -
        - {/each} -
        - {#if isHidden(container) && edit} -
        - {/if} - {#if showHandles} -
        - {/if} - - - {:else} - - - {#each children.filter(item => item.id !== SHADOW_PLACEHOLDER_ITEM_ID) as item(item.id)} - - {/each} - - - {/if} -
        -{/if} - - diff --git a/src/lib/components/BlockContainer.svelte b/src/lib/components/BlockContainer.svelte deleted file mode 100644 index fef033e..0000000 --- a/src/lib/components/BlockContainer.svelte +++ /dev/null @@ -1,329 +0,0 @@ - - -{#if container} - {@const selected = $uiState.uiUnlocked && $selectionState.currentSelection.includes(container.id)} -
        - - {#if container.attrs.title && container.attrs.title !== ""} - - {/if} -
        - {#each children.filter(item => item.id !== SHADOW_PLACEHOLDER_ITEM_ID) as item(item.id)} - {@const hidden = isHidden(item) && !edit} -
        - - {#if item[SHADOW_ITEM_MARKER_PROPERTY_NAME]} -
        - {/if} -
        - {/each} -
        - {#if isHidden(container) && edit} -
        - {/if} - {#if showHandles} -
        - {/if} - -
        -{/if} - - diff --git a/src/lib/components/ComfyApp.svelte b/src/lib/components/ComfyApp.svelte deleted file mode 100644 index f600474..0000000 --- a/src/lib/components/ComfyApp.svelte +++ /dev/null @@ -1,83 +0,0 @@ - - - - {#if uiTheme === "anapnoe"} - - {/if} - - - - -
        -
        - - - - - - - - -
        - - -
        - - - diff --git a/src/lib/components/ComfyApp.ts b/src/lib/components/ComfyApp.ts deleted file mode 100644 index 0f0369c..0000000 --- a/src/lib/components/ComfyApp.ts +++ /dev/null @@ -1,1382 +0,0 @@ -import ComfyAPI, { type iomfyAPIPromptResponse, type ComfyAPIStatusResponse, type ComfyBoxPromptExtraData, type ComfyNodeID, type ComfyPromptRequest, type PromptID, type QueueItemType } from "$lib/api"; -import { parsePNGMetadata } from "$lib/pnginfo"; -import { BuiltInSlotType, LGraphCanvas, LGraphNode, LiteGraph, NodeMode, type INodeInputSlot, type LGraphNodeConstructor, type NodeID, type NodeTypeOpts, type SerializedLGraph, type SlotIndex } from "@litegraph-ts/core"; -import A1111PromptModal from "./modal/A1111PromptModal.svelte"; -import ConfirmConvertWithMissingNodeTypesModal from "./modal/ConfirmConvertWithMissingNodeTypesModal.svelte"; -import MissingNodeTypesModal from "./modal/MissingNodeTypesModal.svelte"; -import WorkflowLoadErrorModal from "./modal/WorkflowLoadErrorModal.svelte"; -import EditTemplateModal from "./modal/EditTemplateModal.svelte"; - -import * as nodes from "$lib/nodes/index"; - -import type { ComfyBoxStdPrompt } from "$lib/ComfyBoxStdPrompt"; -import ComfyBoxStdPromptSerializer from "$lib/ComfyBoxStdPromptSerializer"; -import ComfyGraphCanvas, { type SerializedGraphCanvasState } from "$lib/ComfyGraphCanvas"; -import { isBackendNodeDefInputType, iterateNodeDefInputs, iterateNodeDefOutputs, type ComfyNodeDef } from "$lib/ComfyNodeDef"; -import convertA1111ToStdPrompt from "$lib/convertA1111ToStdPrompt"; -import convertVanillaWorkflow from "$lib/convertVanillaWorkflow"; -import { blankGraph } from "$lib/defaultGraph"; -import type IComfyInputSlot from "$lib/IComfyInputSlot"; -import { ComfyBackendNode } from "$lib/nodes/ComfyBackendNode"; -import type ComfyGraphNode from "$lib/nodes/ComfyGraphNode"; -import { ComfyComboNode } from "$lib/nodes/widgets"; -import notify from "$lib/notify"; -import parseA1111, { type A1111ParsedInfotext } from "$lib/parseA1111"; -import configState, { type ConfigState } from "$lib/stores/configState"; -import layoutStates, { defaultWorkflowAttributes, isComfyWidgetNode, type SerializedLayoutState } from "$lib/stores/layoutStates"; -import modalState from "$lib/stores/modalState"; -import queueState from "$lib/stores/queueState"; -import selectionState from "$lib/stores/selectionState"; -import uiState from "$lib/stores/uiState"; -import workflowState, { ComfyBoxWorkflow, type WorkflowAttributes, type WorkflowInstID } from "$lib/stores/workflowState"; -import { playSound, readFileToText, type SerializedPromptOutput } from "$lib/utils"; -import { basename, capitalize, download, graphToGraphVis, jsonToJsObject, promptToGraphVis, range } from "$lib/utils"; -import { tick } from "svelte"; -import { type SvelteComponentDev } from "svelte/internal"; -import { get, writable, type Writable } from "svelte/store"; -import ComfyPromptSerializer, { isActiveBackendNode, nodeHasTag, UpstreamNodeLocator } from "./ComfyPromptSerializer"; -import DanbooruTags from "$lib/DanbooruTags"; -import { deserializeTemplateFromSVG, type SerializedComfyBoxTemplate } from "$lib/ComfyBoxTemplate"; -import templateState from "$lib/stores/templateState"; -import { formatValidationError, type ComfyAPIPromptErrorResponse, formatExecutionError, type ComfyExecutionError } from "$lib/apiErrors"; -import systemState from "$lib/stores/systemState"; - -export const COMFYBOX_SERIAL_VERSION = 1; - -if (typeof window !== "undefined") { - // Load default visibility - nodes.ComfyReroute.setDefaultTextVisibility(!!localStorage["Comfy.ComfyReroute.DefaultVisibility"]); -} - -export type OpenWorkflowOptions = { - setActive?: boolean, - refreshCombos?: boolean | Record, - warnMissingNodeTypes?: boolean, -} - -/* - * Queued prompt that hasn't been sent to the backend yet. - */ -type PromptQueueItem = { - num: number, - batchCount: number - workflow: ComfyBoxWorkflow -} - -export type A1111PromptAndInfo = { - infotext: string, - parsedInfotext: A1111ParsedInfotext, - stdPrompt: ComfyBoxStdPrompt, - imageFile: File -} - -/* - * Represents a single workflow that can be loaded into the program from JSON. - */ -export type SerializedAppState = { - /** For easy structural typing use */ - comfyBoxWorkflow: true, - /** Program identifier, should be something like "ComfyBox" or "ComfyUI" */ - createdBy: string, - /** Serial version, should be incremented on breaking changes */ - version: number, - /** Commit hash if found */ - commitHash?: string, - /** Graph state */ - workflow: SerializedLGraph, - /** Workflow attributes */ - attrs: WorkflowAttributes, - /** UI state */ - layout: SerializedLayoutState, - /** Position/offset of the canvas at the time of saving */ - canvas: SerializedGraphCanvasState -} - -/** [link_origin, link_slot_index] | input_value */ -export type SerializedPromptInputLink = [ComfyNodeID, number] -export type SerializedPromptInput = SerializedPromptInputLink | any - -export type SerializedPromptInputs = Record; - -/* - * A single node in the prompt and its input values. - */ -export type SerializedPromptInputsForNode = { - /* property name -> value or link */ - inputs: SerializedPromptInputs, - class_type: string -} - -/* - * All nodes in the graph and their input values. - */ -export type SerializedPromptInputsAll = Record - -export type SerializedPrompt = { - workflow: SerializedLGraph, - output: SerializedPromptInputsAll -} - -/* - * Outputs for each node. - */ -export type SerializedPromptOutputs = Record - -export type Progress = { - value: number, - max: number -} - -/* - * A combo node and the backend node that will send an updated config over, for - * refreshing lists of model files - */ -type BackendComboNode = { - comboNode: ComfyComboNode, - comfyInput: IComfyInputSlot, - backendNode: ComfyBackendNode -} - -type CanvasState = { - canvasEl: HTMLCanvasElement, - canvasCtx: CanvasRenderingContext2D, - canvas: ComfyGraphCanvas, -} - -export type WorkflowLoadError = { - message: string, - error: Error -} - -export type VanillaWorkflowConvertResult = { - comfyBoxWorkflow: SerializedAppState, - missingNodeTypes: Set -} - -function isComfyBoxWorkflow(data: any): data is SerializedAppState { - return data != null && (typeof data === "object") && data.comfyBoxWorkflow; -} - -function isVanillaWorkflow(data: any): data is SerializedLGraph { - return data != null && (typeof data === "object") && data.last_node_id != null; -} - -type BackendNodeDef = { - nodeDef: ComfyNodeDef -} - -export default class ComfyApp { - api: ComfyAPI; - - rootEl: HTMLDivElement | null = null; - canvasEl: HTMLCanvasElement | null = null; - canvasCtx: CanvasRenderingContext2D | null = null; - lCanvas: ComfyGraphCanvas | null = null; - - shiftDown: boolean = false; - ctrlDown: boolean = false; - selectedGroupMoving: boolean = false; - alreadySetup: Writable = writable(false); - - private queueItems: PromptQueueItem[] = []; - private processingQueue: boolean = false; - private promptSerializer: ComfyPromptSerializer; - private stdPromptSerializer: ComfyBoxStdPromptSerializer; - - constructor() { - this.api = new ComfyAPI(); - this.promptSerializer = new ComfyPromptSerializer(); - this.stdPromptSerializer = new ComfyBoxStdPromptSerializer(); - } - - async setup(): Promise { - if (get(this.alreadySetup)) { - console.log("Already setup") - return; - } - - await this.loadConfig(); - - this.api.hostname = get(configState).comfyUIHostname - this.api.port = get(configState).comfyUIPort - - this.setupColorScheme() - - this.rootEl = document.getElementById("app-root") as HTMLDivElement; - this.canvasEl = document.getElementById("graph-canvas") as HTMLCanvasElement; - this.lCanvas = new ComfyGraphCanvas(this, this.canvasEl); - this.canvasCtx = this.canvasEl.getContext("2d"); - - const uiUnlocked = get(uiState).uiUnlocked; - this.lCanvas.allow_dragnodes = uiUnlocked; - this.lCanvas.allow_interaction = uiUnlocked; - - // await this.#invokeExtensionsAsync("init"); - let defs; - try { - defs = await this.api.getNodeDefs(); - } - catch (error) { - throw new Error(`Could not reach ComfyUI at ${this.api.getBackendUrl()}`); - } - await this.registerNodes(defs); - - // Load previous workflow - let restored = false; - try { - restored = await this.loadStateFromLocalStorage(defs); - } catch (err) { - console.error("Error loading previous workflow", err); - notify(`Error loading previous workflow:\n${err}`, { type: "error", timeout: null }) - } - - // We failed to restore a workflow so load the default - if (!restored) { - const options: OpenWorkflowOptions = { - refreshCombos: defs, - setActive: false - } - await this.initDefaultWorkflow("defaultWorkflow", options); - await this.initDefaultWorkflow("upscaleByModel", options); - await this.initDefaultWorkflow("conditioningRegions", options); - } - - // Save current workflow automatically - // setInterval(this.saveStateToLocalStorage.bind(this), 1000); - - this.addApiUpdateHandlers(); - this.addPasteHandler(); - this.addKeyboardHandler(); - - await this.updateHistoryAndQueue(); - - const builtInTemplates = await this.loadBuiltInTemplates(); - templateState.load(builtInTemplates); - - await this.initFrontendFeatures(); - - // await this.#invokeExtensionsAsync("setup"); - - // Ensure the canvas fills the window - this.resizeCanvas(); - window.addEventListener("resize", this.resizeCanvas.bind(this)); - - this.requestPermissions(); - - this.alreadySetup.set(true); - - return Promise.resolve(); - } - - async loadConfig() { - try { - console.log("Loading config.json...") - const config = localStorage.getItem("config") - if (config == null) - configState.loadDefault(); - else - configState.load(JSON.parse(config)); - } - catch (error) { - console.error(`Failed to load config, falling back to defaults`, error) - configState.loadDefault(); - } - - // configState.onChange("linkDisplayType", (newValue) => { - // if (!this.lCanvas) - // return; - - // this.lCanvas.links_render_mode = newValue; - // this.lCanvas.setDirty(true, true); - // }) - - configState.runOnChangedEvents(); - } - - async loadBuiltInTemplates(): Promise { - const builtInTemplates = get(configState).builtInTemplates - const options: RequestInit = get(configState).cacheBuiltInResources ? {} : { cache: "no-store" } - const promises = builtInTemplates.map(basename => { - return fetch(`/templates/${basename}.svg`, options) - .then(res => res.text()) - .catch(error => error) - }) - - const [templates, error] = await Promise.all(promises).then((results) => { - const templates: SerializedComfyBoxTemplate[] = [] - const errors: string[] = [] - - for (const r of results) { - if (r instanceof Error) { - errors.push(r.toString()) - } - else { - // bare filename of image - const svg = r as string; - const templateAndSvg = deserializeTemplateFromSVG(svg) - if (templateAndSvg == null) { - errors.push("Invalid SVG template format") - } - else { - templates.push(templateAndSvg) - } - } - } - - let error = null; - if (errors && errors.length > 0) - error = "Error(s) loading builtin templates:\n" + errors.join("\n"); - - console.log(`Loaded ${templates.length} builtin templates.`); - - return [templates, error] - }) - - if (error) - notify(error, { type: "error" }) - - return templates; - } - - resizeCanvas() { - if (!this.canvasEl) - return; - - this.canvasEl.width = this.canvasEl.parentElement.offsetWidth; - this.canvasEl.height = this.canvasEl.parentElement.offsetHeight; - this.canvasEl.style.width = "" - this.canvasEl.style.height = "" - this.lCanvas.draw(true, true); - } - - serialize(workflow: ComfyBoxWorkflow, canvas?: SerializedGraphCanvasState): SerializedAppState { - const layoutState = layoutStates.getLayout(workflow.id); - if (layoutState == null) - throw new Error("Workflow has no layout!") - - const { graph, layout, attrs } = workflow.serialize(layoutState); - canvas ||= this.lCanvas.serialize(); - - return { - comfyBoxWorkflow: true, - createdBy: "ComfyBox", - version: COMFYBOX_SERIAL_VERSION, - commitHash: __GIT_COMMIT_HASH__, - workflow: graph, - attrs, - layout, - canvas - } - } - - saveStateToLocalStorage(doNotify: boolean = true) { - try { - uiState.update(s => { s.forceSaveUserState = true; return s; }) - const state = get(workflowState) - const workflows = state.openedWorkflows - const savedWorkflows = workflows.map(w => this.serialize(w)); - const activeWorkflowIndex = workflows.findIndex(w => state.activeWorkflowID === w.id); - const json = JSON.stringify({ workflows: savedWorkflows, activeWorkflowIndex }); - localStorage.setItem("workflows", json) - for (const workflow of workflows) - workflow.isModified = false; - workflowState.set(get(workflowState)); - if (doNotify) - notify("Saved to local storage.") - } - catch (err) { - if (doNotify) - notify(`Failed saving to local storage:\n${err}`, { type: "error" }) - } - finally { - uiState.update(s => { s.forceSaveUserState = null; return s; }) - } - } - - async loadStateFromLocalStorage(defs: Record): Promise { - const json = localStorage.getItem("workflows"); - if (!json) { - return false - } - - const state = JSON.parse(json); - if (!("workflows" in state)) - return false; - - const workflows = state.workflows as SerializedAppState[]; - if (workflows.length === 0) - return false; - - await Promise.all(workflows.map(w => { - return this.openWorkflow(w, { refreshCombos: defs, warnMissingNodeTypes: false, setActive: false }).catch(error => { - console.error("Failed restoring previous workflow", error) - notify(`Failed restoring previous workflow: ${error}`, { type: "error" }) - }) - })); - - if (typeof state.activeWorkflowIndex === "number") { - workflowState.setActiveWorkflow(this.lCanvas, state.activeWorkflowIndex); - selectionState.clear(); - } - - return true; - } - - static node_type_overrides: Record = {} - static widget_type_overrides: Record = {} - - static knownBackendNodes: Record = {} - - private async registerNodes(defs: Record) { - ComfyApp.knownBackendNodes = {} - - // Register a node for each definition - for (const [nodeId, nodeDef] of Object.entries(defs)) { - const typeOverride = ComfyApp.node_type_overrides[nodeId] - if (typeOverride) - console.debug("Attaching custom type to received node:", nodeId, typeOverride) - const baseClass: typeof ComfyBackendNode = typeOverride || ComfyBackendNode; - - const ctor = class extends baseClass { - constructor(title?: string) { - super(title, nodeId, nodeDef); - } - } - - const node: LGraphNodeConstructor = { - class: ctor, - title: nodeDef.display_name || nodeDef.name, - type: nodeId, - desc: `ComfyNode: ${nodeId}` - } - - LiteGraph.registerNodeType(node); - node.category = nodeDef.category; - ComfyApp.knownBackendNodes[nodeId] = { - nodeDef - } - - ComfyApp.registerDefaultSlotHandlers(nodeId, nodeDef) - } - - ComfyApp.registerComfyBoxSlotTypes() - } - - static registerComfyBoxSlotTypes() { - const reg = (type: string) => { - const lowerType = type.toLowerCase(); - if (!LiteGraph.slot_types_in.includes(lowerType)) { - LiteGraph.slot_types_in.push(lowerType); - } - if (!LiteGraph.slot_types_out.includes(type)) { - LiteGraph.slot_types_out.push(type); - } - } - - reg("COMFYBOX_IMAGE") - reg("COMFYBOX_IMAGES") - reg("COMFYBOX_REGION") - - // hide base litegraph reroute from context menus since ComfyUI provides its own - LiteGraph.registered_node_types["basic/reroute"].hide_in_node_lists = true; - } - - static registerDefaultSlotHandlers(nodeId: string, nodeDef: ComfyNodeDef) { - const nodeTypeSpec: NodeTypeOpts = { - node: nodeId, - title: nodeDef.display_name || nodeDef.name, - properties: null, - inputs: null, - outputs: null - } - - for (const [inputName, [inputType, _inputOpts]] of iterateNodeDefInputs(nodeDef)) { - if (isBackendNodeDefInputType(inputName, inputType)) { - LiteGraph.slot_types_default_out[inputType] ||= ["utils/reroute"] - LiteGraph.slot_types_default_out[inputType].push(nodeTypeSpec) - - // Input types have to be stored as lower case - // Store each node that can handle this input type - const lowerType = inputType.toLocaleLowerCase(); - if (!(lowerType in LiteGraph.registered_slot_in_types)) { - LiteGraph.registered_slot_in_types[lowerType] = { nodes: [] }; - } - LiteGraph.registered_slot_in_types[lowerType].nodes.push(nodeId); - - if (!LiteGraph.slot_types_in.includes(lowerType)) { - LiteGraph.slot_types_in.push(lowerType); - } - } - else { - // inputType is an array of combo box entries (["euler", "karras", ...]) - // or a widget input type ("INT"). - } - } - - for (const output of iterateNodeDefOutputs(nodeDef)) { - LiteGraph.slot_types_default_in[output.type] ||= ["utils/reroute"] - LiteGraph.slot_types_default_in[output.type].push(nodeTypeSpec) - - // Store each node that can handle this output type - if (!(output.type in LiteGraph.registered_slot_out_types)) { - LiteGraph.registered_slot_out_types[output.type] = { nodes: [] }; - } - LiteGraph.registered_slot_out_types[output.type].nodes.push(nodeId); - - if (!LiteGraph.slot_types_out.includes(output.type)) { - LiteGraph.slot_types_out.push(output.type); - } - } - - const maxNodeSuggestions = 5 // TODO config - - // TODO config beforeChanged - for (const key of Object.keys(LiteGraph.slot_types_default_in)) { - LiteGraph.slot_types_default_in[key] = LiteGraph.slot_types_default_in[key].slice(0, maxNodeSuggestions) - } - for (const key of Object.keys(LiteGraph.slot_types_default_out)) { - LiteGraph.slot_types_default_out[key] = LiteGraph.slot_types_default_out[key].slice(0, maxNodeSuggestions) - } - } - - /** - * Adds a handler on paste that extracts and loads workflows from pasted JSON data - */ - private addPasteHandler() { - document.addEventListener("paste", (e) => { - let data = (e.clipboardData || (window as any).clipboardData).getData("text/plain"); - let workflow; - try { - data = data.slice(data.indexOf("{")); - workflow = JSON.parse(data); - } catch (err) { - try { - data = data.slice(data.indexOf("workflow\n")); - data = data.slice(data.indexOf("{")); - workflow = JSON.parse(data); - } catch (error) { } - } - - if (workflow == null) - return; - - if (typeof workflow === "object") { - if (typeof workflow.createdBy === "string") - this.openWorkflow(workflow); - else { - // TODO handle vanilla workflows - throw new Error("Workflow was not in ComfyBox format!") - } - } - }); - } - - /** - * Handles updates from the API socket - */ - private addApiUpdateHandlers() { - this.api.addEventListener("status", (status: ComfyAPIStatusResponse) => { - queueState.statusUpdated(status); - }); - - this.api.addEventListener("reconnecting", () => { - uiState.reconnecting() - }); - - this.api.addEventListener("reconnected", () => { - uiState.reconnected() - }); - - this.api.addEventListener("progress", (progress: Progress) => { - queueState.progressUpdated(progress); - workflowState.getActiveWorkflow()?.graph?.setDirtyCanvas(true, false); // TODO PromptID - }); - - this.api.addEventListener("executing", (promptID: PromptID | null, nodeID: ComfyNodeID | null) => { - const queueEntry = queueState.executingUpdated(promptID, nodeID); - if (queueEntry != null && queueEntry.extraData?.workflowID != null) { - const workflow = workflowState.getWorkflow(queueEntry.extraData.workflowID); - workflow?.graph?.setDirtyCanvas(true, false); - } - }); - - this.api.addEventListener("executed", (promptID: PromptID, nodeID: ComfyNodeID, output: SerializedPromptOutput) => { - const queueEntry = queueState.onExecuted(promptID, nodeID, output) - if (queueEntry != null) { - const workflow = workflowState.getWorkflow(queueEntry.extraData.workflowID); - if (workflow != null) { - workflow.graph.setDirtyCanvas(true, false); - const node = workflow.graph.getNodeByIdRecursive(nodeID) as ComfyGraphNode; - if (node?.onExecuted) { - node.onExecuted(output); - } - } - } - }); - - this.api.addEventListener("execution_start", (promptID: PromptID) => { - queueState.executionStart(promptID) - }); - - this.api.addEventListener("execution_cached", (promptID: PromptID, nodes: ComfyNodeID[]) => { - queueState.executionCached(promptID, nodes) - }); - - this.api.addEventListener("execution_error", (error: ComfyExecutionError) => { - const completedEntry = queueState.executionError(error) - let workflow: ComfyBoxWorkflow | null; - if (completedEntry) { - const workflowID = completedEntry.entry.extraData.workflowID; - if (workflowID) { - workflow = workflowState.getWorkflow(workflowID) - } - } - - if (workflow) { - workflowState.executionError(workflow.id, error.prompt_id) - notify( - `Execution error in workflow "${workflow.attrs.title}".\nClick for details.`, - { - type: "error", - showBar: true, - timeout: 15 * 1000, - onClick: () => { - uiState.update(s => { s.activeError = error.prompt_id; return s }) - } - }) - } - else { - const message = formatExecutionError(error); - notify(`Execution error: ${message}`, { type: "error", timeout: 10000 }) - } - }); - - this.api.addEventListener("b_preview", (imageBlob: Blob) => { - queueState.previewUpdated(imageBlob); - }); - - const config = get(configState); - - if (config.pollSystemStatsInterval > 0) { - const interval = Math.max(config.pollSystemStatsInterval, 250); - const refresh = async () => { - try { - const resp = await this.api.getSystemStats(); - systemState.updateState(resp) - } catch (error) { - // console.debug("Error retrieving stats", error) - systemState.updateState({ devices: [] }) - } - setTimeout(refresh, interval); - } - setTimeout(refresh, interval); - } - - this.api.init(); - } - - async interrupt() { - if (get(queueState).isInterrupting) - return - - queueState.update(s => { s.isInterrupting = true; return s; }) - await this.api.interrupt() - .finally(() => { - queueState.update(s => { s.isInterrupting = true; return s }) - }); - } - - async deleteQueueItem(type: QueueItemType, promptID: PromptID) { - if (get(queueState).isInterrupting) - return - - queueState.update(s => { s.isInterrupting = true; return s; }) - await this.api.deleteItem(type, promptID) - .then(() => { - queueState.queueItemDeleted(type, promptID); - }) - .finally(() => { - queueState.update(s => { s.isInterrupting = false; return s; }) - }); - } - - async clearQueue(type: QueueItemType) { - if (get(queueState).isInterrupting) - return - - queueState.update(s => { s.isInterrupting = true; return s; }) - await this.api.clearItems(type) - .then(() => { - queueState.queueCleared(type); - notify(`${capitalize(type)} cleared.`); - }) - .finally(() => { - queueState.update(s => { s.isInterrupting = false; return s; }) - }); - } - - private addKeyboardHandler() { - window.addEventListener("keydown", (e) => { - this.shiftDown = e.shiftKey; - this.ctrlDown = e.ctrlKey; - - // Queue prompt using ctrl or command + enter - if ((e.ctrlKey || e.metaKey) && (e.key === "Enter" || e.code === "Enter" || e.keyCode === 10)) { - e.preventDefault(); - e.stopImmediatePropagation(); - this.runDefaultQueueAction(); - } - else if ((e.ctrlKey) && (e.key === "s" || e.code === "KeyS")) { - e.preventDefault(); - e.stopImmediatePropagation(); - this.saveStateToLocalStorage(); - } - }); - window.addEventListener("keyup", (e) => { - this.shiftDown = e.shiftKey; - this.ctrlDown = e.ctrlKey; - }); - } - - private async initFrontendFeatures() { - await DanbooruTags.instance.load(); - } - - private async updateHistoryAndQueue() { - const queue = await this.api.getQueue(); - const history = await this.api.getHistory(); - queueState.queueUpdated(queue); - queueState.historyUpdated(history); - } - - private requestPermissions() { - if (window.Notification != null) { - if (window.Notification.permission === "default") { - window.Notification.requestPermission() - .then((result) => console.log("Notification status:", result)); - } - } - } - - private setupColorScheme() { - const setColor = (type: any, color: string) => { - LGraphCanvas.DEFAULT_LINK_TYPE_COLORS[type] = color - LGraphCanvas.DEFAULT_CONNECTION_COLORS_BY_TYPE[type] = color - } - - // Distinguish frontend/backend connections - const BACKEND_TYPES = ["CLIP", "CLIP_VISION", "CLIP_VISION_OUTPUT", "CONDITIONING", "CONTROL_NET", "IMAGE", "LATENT", "MASK", "MODEL", "STYLE_MODEL", "VAE", "UPSCALE_MODEL"] - for (const type of BACKEND_TYPES) { - setColor(type, "orange") - } - - setColor("COMFYBOX_IMAGES", "rebeccapurple") - setColor("COMFYBOX_IMAGE", "fuchsia") - setColor("COMFYBOX_REGION", "salmon") - setColor(BuiltInSlotType.EVENT, "lightseagreen") - setColor(BuiltInSlotType.ACTION, "lightseagreen") - } - - async openWorkflow(data: SerializedAppState, options: OpenWorkflowOptions = { - setActive: true, - refreshCombos: true, - warnMissingNodeTypes: true - } - ): Promise { - if (data.version !== COMFYBOX_SERIAL_VERSION) { - const mes = `Invalid ComfyBox saved data format: ${data.version} ` - notify(mes, { type: "error" }) - return Promise.reject(mes); - } - - this.clean(); - - let workflow: ComfyBoxWorkflow; - try { - workflow = workflowState.openWorkflow(this.lCanvas, data, options.setActive); - } - catch (error) { - modalState.pushModal({ - svelteComponent: WorkflowLoadErrorModal, - svelteProps: { - error - } - }) - return Promise.reject(error) - } - - if (workflow.missingNodeTypes.size > 0 && options.warnMissingNodeTypes) { - modalState.pushModal({ - svelteComponent: MissingNodeTypesModal, - svelteProps: { - missingNodeTypes: workflow.missingNodeTypes - } - }) - } - - // Restore canvas offset/zoom - this.lCanvas.deserialize(data.canvas) - - if (options.refreshCombos) { - let defs = null; - if (typeof options.refreshCombos === "object") - defs = options.refreshCombos; - await this.refreshComboInNodes(workflow, defs); - } - - return workflow; - } - - async openVanillaWorkflow(data: SerializedLGraph, filename: string) { - const title = basename(filename) - - const attrs: WorkflowAttributes = { - ...defaultWorkflowAttributes, - title - } - - const canvas: SerializedGraphCanvasState = { - offset: [0, 0], - scale: 1 - } - - const [comfyBoxWorkflow, layoutState] = convertVanillaWorkflow(data, attrs); - - const addWorkflow = () => { - notify("Converted ComfyUI workflow to ComfyBox format.", { type: "info" }) - workflowState.addWorkflow(this.lCanvas, comfyBoxWorkflow) - this.lCanvas.deserialize(canvas); - } - - if (comfyBoxWorkflow.missingNodeTypes.size > 0) { - modalState.pushModal({ - svelteComponent: ConfirmConvertWithMissingNodeTypesModal, - svelteProps: { - missingNodeTypes: comfyBoxWorkflow.missingNodeTypes - }, - closeOnClick: false, - showCloseButton: false, - buttons: [ - { - name: "Cancel", - variant: "secondary", - onClick: () => { - layoutStates.remove(comfyBoxWorkflow.id) - } - }, - { - name: "Convert", - variant: "primary", - onClick: addWorkflow - }, - ] - }) - } - else { - addWorkflow() - } - } - - setActiveWorkflow(id: WorkflowInstID) { - const index = get(workflowState).openedWorkflows.findIndex(w => w.id === id) - if (index === -1) - return; - workflowState.setActiveWorkflow(this.lCanvas, index); - selectionState.clear(); - } - - createNewWorkflow() { - workflowState.createNewWorkflow(this.lCanvas, undefined, true); - selectionState.clear(); - } - - closeWorkflow(id: WorkflowInstID) { - const index = get(workflowState).openedWorkflows.findIndex(w => w.id === id) - if (index === -1) - return; - workflowState.closeWorkflow(this.lCanvas, index); - selectionState.clear(); - } - - async initDefaultWorkflow(name: string = "defaultWorkflow", options?: OpenWorkflowOptions) { - let state = null; - try { - const options: RequestInit = get(configState).cacheBuiltInResources ? {} : { cache: "no-store" } - const graphResponse = await fetch(`/workflows/${name}.json`, options); - state = await graphResponse.json() as SerializedAppState; - } - catch (error) { - console.error(`Failed to load default graph ${name}`, error) - notify(`Failed to load default graph ${name}: ${error} `, { type: "error" }) - state = structuredClone(blankGraph) - } - await this.openWorkflow(state, options) - } - - saveWorkflowStateAsDefault(workflow: ComfyBoxWorkflow | null) { - workflow ||= workflowState.getActiveWorkflow(); - if (workflow == null) - return; - - for (const node of workflow.graph.iterateNodesInOrderRecursive()) { - if (isComfyWidgetNode(node)) { - node.properties.defaultValue = node.getValue(); - } - } - } - - resetCurrentWorkflow() { - const workflow = workflowState.getActiveWorkflow(); - if (workflow == null) - return; - - for (const node of workflow.graph.iterateNodesInOrderRecursive()) { - if (isComfyWidgetNode(node)) { - node.setValue(node.properties.defaultValue); - } - } - } - - clear() { - this.clean(); - - this.lCanvas.closeAllSubgraphs(); - workflowState.closeAllWorkflows(this.lCanvas); - uiState.update(s => { - s.uiUnlocked = true; - s.uiEditMode = "widgets"; - return s; - }) - } - - runDefaultQueueAction() { - const workflow = workflowState.getActiveWorkflow(); - if (workflow == null) - return; - - for (const node of workflow.graph.iterateNodesInOrderRecursive()) { - if ("onDefaultQueueAction" in node) { - (node as ComfyGraphNode).onDefaultQueueAction() - } - } - - if (workflow.attrs.queuePromptButtonRunWorkflow) { - // Hold control to queue at the front - const num = this.ctrlDown ? -1 : 0; - let tag = null; - if (workflow.attrs.queuePromptButtonDefaultWorkflow) { - tag = workflow.attrs.queuePromptButtonDefaultWorkflow - } - this.queuePrompt(workflow, num, 1, tag); - } - } - - querySave() { - const workflow = workflowState.getActiveWorkflow(); - if (workflow == null) { - notify("No active workflow!", { type: "error" }) - return; - } - - this.saveWorkflowStateAsDefault(workflow); - - const promptFilename = get(configState).promptForWorkflowName; - - const title = workflow.attrs.title.trim() || "workflow" - - let filename = `${title}.json`; - if (promptFilename) { - filename = prompt("Save workflow as:", filename); - if (!filename) return; - if (!filename.toLowerCase().endsWith(".json")) { - filename += ".json"; - } - } - else { - const date = new Date(); - const formattedDate = date.toISOString().replace(/:/g, '-').replace(/\.\d{3}/g, '').replace('T', '_').replace("Z", ""); - filename = `${title} - ${formattedDate}.json` - } - - const indent = 2 - const json = JSON.stringify(this.serialize(workflow), null, indent) - - download(filename, json, "application/json") - - workflow.isModified = false; - workflowState.set(get(workflowState)); - - console.debug(jsonToJsObject(json)) - } - - /** - * Converts the current graph workflow for sending to the API - * @returns The workflow and node links - */ - graphToPrompt(workflow: ComfyBoxWorkflow, tag: string | null = null): SerializedPrompt { - return this.promptSerializer.serialize(workflow.graph, tag) - } - - async queuePrompt(targetWorkflow: ComfyBoxWorkflow, num: number, batchCount: number = 1, tag: string | null = null) { - this.queueItems.push({ num, batchCount, workflow: targetWorkflow }); - - // Only have one action process the items so each one gets a unique seed correctly - if (this.processingQueue) { - return; - } - - if (tag === "") - tag = null; - - if (targetWorkflow.attrs.showDefaultNotifications) { - notify("Prompt queued.", { type: "info", showOn: "web" }); - } - - this.processingQueue = true; - let workflow: ComfyBoxWorkflow; - - try { - while (this.queueItems.length) { - ({ num, batchCount, workflow } = this.queueItems.pop()); - console.debug(`Queue get! ${num} ${batchCount} ${tag} `); - - const thumbnails = [] - for (const node of workflow.graph.iterateNodesInOrderRecursive()) { - if (node.mode !== NodeMode.ALWAYS || (tag != null && !nodeHasTag(node, tag, true))) - continue; - - if ("getPromptThumbnails" in node) { - const thumbsToAdd = (node as ComfyGraphNode).getPromptThumbnails(); - console.warn("THUMBNAILS", thumbsToAdd) - if (thumbsToAdd) - thumbnails.push(...thumbsToAdd) - } - } - - for (let i = 0; i < batchCount; i++) { - for (const node of workflow.graph.iterateNodesInOrderRecursive()) { - if (node.mode !== NodeMode.ALWAYS) - continue; - - if ("beforeQueued" in node) { - (node as ComfyGraphNode).beforeQueued(tag); - } - } - - const p = this.graphToPrompt(workflow, tag); - const wf = this.serialize(workflow) - // console.debug(graphToGraphVis(workflow.graph)) - // console.debug(promptToGraphVis(p)) - - const stdPrompt = this.stdPromptSerializer.serialize(p); - // console.warn("STD", stdPrompt); - - const extraData: ComfyBoxPromptExtraData = { - extra_pnginfo: { - comfyBoxWorkflow: wf, - comfyBoxPrompt: { - subgraphs: [tag] - } - }, - workflowID: workflow.id, - workflowTitle: workflow.attrs.title, - thumbnails - } - - let error: ComfyAPIPromptErrorResponse | null = null; - let errorMes: string | null = null; - let errorPromptID: PromptID | null = null; - - const request: ComfyPromptRequest = { - number: num, - extra_data: extraData, - prompt: p.output - } - - try { - const response = await this.api.queuePrompt(request); - if ("error" in response) { - error = response; - errorMes = formatValidationError(error) - errorPromptID = queueState.promptError(workflow.id, response, p, extraData) - workflowState.promptError(workflow.id, errorPromptID) - } - else { - queueState.afterQueued(workflow.id, response.promptID, response.number, p.output, extraData) - workflowState.afterQueued(workflow.id, response.promptID) - } - } catch (err) { - errorMes = err?.toString(); - } - - if (error != null) { - notify( - `Prompt validation failed.\nClick for details.`, - { - type: "error", - showBar: true, - timeout: 1000 * 15, - onClick: () => { - uiState.update(s => { s.activeError = errorPromptID; return s }) - } - }) - console.error(graphToGraphVis(workflow.graph)) - console.error(promptToGraphVis(p)) - console.error("Error queuing prompt", error, num, p) - } - else if (errorMes != null) { - break; - } - - for (const node of workflow.graph.iterateNodesInOrderRecursive()) { - if ("afterQueued" in node) { - (node as ComfyGraphNode).afterQueued(p, tag); - } - } - - this.lCanvas.draw(true, true); - } - } - } finally { - console.log("Queue finished!"); - this.processingQueue = false; - } - } - - /** - * Loads workflow data from the specified file - */ - async handleFile(file: File) { - if (file.type === "image/png") { - const buffer = await file.arrayBuffer(); - const pngInfo = await parsePNGMetadata(buffer); - if (pngInfo) { - if (pngInfo.comfyBoxWorkflow) { - await this.openWorkflow(JSON.parse(pngInfo.comfyBoxWorkflow)); - } else if (pngInfo.workflow) { - const workflow = JSON.parse(pngInfo.workflow); - await this.openVanillaWorkflow(workflow, file.name); - } else if (pngInfo.parameters) { - const parsed = parseA1111(pngInfo.parameters) - if ("error" in parsed) { - notify(`Couldn't parse webui prompt: ${parsed.error}`, { type: "error" }) - return; - } - const converted = convertA1111ToStdPrompt(parsed) - const a1111Info: A1111PromptAndInfo = { - infotext: pngInfo.parameters, - parsedInfotext: parsed, - stdPrompt: converted, - imageFile: file - } - modalState.pushModal({ - title: "A1111 Prompt Details", - svelteComponent: A1111PromptModal, - svelteProps: { - prompt: a1111Info - }, - }) - } - else { - console.error("No metadata found in image file.", pngInfo) - notify("No metadata found in image file.", { type: "error" }) - } - } - } else if (file.type === "application/json" || file.name.endsWith(".json")) { - const reader = new FileReader(); - reader.onload = async () => { - const result = JSON.parse(reader.result as string) - if (isComfyBoxWorkflow(result)) { - await this.openWorkflow(result); - } - else if (isVanillaWorkflow(result)) { - await this.openVanillaWorkflow(result, file.name); - } - }; - reader.readAsText(file); - } else if (file.type === "image/svg+xml" || file.name.endsWith(".svg")) { - const svg = await readFileToText(file); - const templateAndSvg = deserializeTemplateFromSVG(svg); - if (templateAndSvg == null) { - notify("Invalid SVG template format!", { type: "error" }) - return; - } - - const importTemplate = () => { - try { - if (templateState.addTemplate(templateAndSvg)) { - notify("Template imported successfully!", { type: "success" }) - } - else { - notify("Template already exists in saved list.", { type: "warning" }) - } - } - catch (error) { - notify(`Error importing template: ${error}`, { type: "error", timeout: 10000 }) - } - } - - modalState.pushModal({ - title: "ComfyBox Template Preview", - svelteComponent: EditTemplateModal, - closeOnClick: false, - showCloseButton: false, - svelteProps: { - templateAndSvg, - editable: false - }, - buttons: [ - { - name: "Import", - variant: "primary", - onClick: importTemplate - }, - { - name: "Close", - variant: "secondary", - onClick: () => { } - }, - ] - }) - } - } - - // registerExtension(extension) { - // if (!extension.name) { - // throw new Error("Extensions must have a 'name' property."); - // } - // if (this.extensions.find((ext) => ext.name === extension.name)) { - // throw new Error(`Extension named '${extension.name}' already registered.`); - // } - // this.extensions.push(extension); - // } - - /** - * Refresh combo list on whole nodes - */ - async refreshComboInNodes(workflow?: ComfyBoxWorkflow, defs?: Record, flashUI: boolean = false) { - workflow ||= workflowState.getActiveWorkflow(); - if (workflow == null) { - notify("No active workflow!", { type: "error" }) - return - } - - if (defs == null) - defs = await this.api.getNodeDefs(); - - const isComfyComboNode = (node: LGraphNode): node is ComfyComboNode => { - return node - && node.type === "ui/combo" - && "doAutoConfig" in node; - } - - const isComfyComboInput = (input: INodeInputSlot): input is IComfyInputSlot => { - return "config" in input - && "widgetNodeType" in input - && input.widgetNodeType === "ui/combo"; - } - - // Node IDs of combo widgets attached to a backend node - const backendUpdatedCombos: Record = {} - - console.debug("[refreshComboInNodes] start") - - // Figure out which combo nodes to update. They need to be connected to - // an input slot on a backend node with a backend config in the input - // slot connected to. - const nodeLocator = new UpstreamNodeLocator(isComfyComboNode) - - const findComfyInputAndAttachedCombo = (node: LGraphNode, i: SlotIndex): [IComfyInputSlot, ComfyComboNode] | null => { - const input = node.inputs[i] - - // Does this input autocreate a combo box on creation? - const isComfyInput = isComfyComboInput(input) - if (!isComfyInput) - return null; - - // Find an attached combo node even if it's inside/outside of a - // subgraph, linked after several nodes, etc. - const [comboNode, _link] = nodeLocator.locateUpstream(node, i, null); - - if (comboNode == null) - return null; - - const result: [IComfyInputSlot, ComfyComboNode] = [input, comboNode as ComfyComboNode] - return result - } - - for (const node of workflow.graph.iterateNodesInOrderRecursive()) { - if (!isActiveBackendNode(node)) - continue; - - const found = range(node.inputs.length) - .map((i) => findComfyInputAndAttachedCombo(node, i)) - .filter(Boolean); - - for (const [comfyInput, comboNode] of found) { - const def = defs[node.type]; - - const hasBackendConfig = def["input"]["required"][comfyInput.name] !== undefined - - if (hasBackendConfig) { - backendUpdatedCombos[comboNode.id] = { comboNode, comfyInput, backendNode: node } - } - } - } - - console.debug("[refreshComboInNodes] found:", backendUpdatedCombos.length, backendUpdatedCombos) - - // Mark combo nodes without backend configs as being loaded already. - for (const node of workflow.graph.iterateNodesOfClassRecursive(ComfyComboNode)) { - if (backendUpdatedCombos[node.id] != null) { - continue; - } - - // This node isn't connected to a backend node, so it's configured - // by the frontend instead. - const comboNode = node as ComfyComboNode; - let values = comboNode.properties.values; - - // Frontend nodes can declare defaultWidgets which creates a - // config inside their own inputs slots too. - const foundInput = range(node.outputs.length) - .flatMap(i => node.getInputSlotsConnectedTo(i)) - .find(inp => "config" in inp && Array.isArray((inp.config as any).values)) - - let defaultValue = null; - if (foundInput != null) { - const comfyInput = foundInput as IComfyInputSlot; - console.warn("[refreshComboInNodes] found frontend config:", node.title, node.type, comfyInput.config.values.length) - values = comfyInput.config.values; - defaultValue = comfyInput.config.defaultValue; - } - - comboNode.formatValues(values, defaultValue); - } - - await tick(); - - // Load definitions from the backend. - for (const { comboNode, comfyInput, backendNode } of Object.values(backendUpdatedCombos)) { - const def = defs[backendNode.type]; - const [rawValues, opts] = def.input.required[comfyInput.name]; - - console.debug("[ComfyApp] Reconfiguring combo widget", backendNode.type, "=>", comboNode.type, rawValues.length) - comboNode.doAutoConfig(comfyInput, { includeProperties: new Set(["values"]), setWidgetTitle: false }) - - const values = rawValues as string[] - const defaultValue = rawValues[0]; - - comboNode.formatValues(values, defaultValue, true) - if (!rawValues?.includes(get(comboNode.value))) { - comboNode.setValue(rawValues[0], comfyInput.config.defaultValue) - } - } - } - - /** - * Clean current state - */ - clean() { - } -} diff --git a/src/lib/components/ComfyBoxWorkflowView.svelte b/src/lib/components/ComfyBoxWorkflowView.svelte deleted file mode 100644 index d0846dc..0000000 --- a/src/lib/components/ComfyBoxWorkflowView.svelte +++ /dev/null @@ -1,207 +0,0 @@ - - -{#if workflow != null} - {#if layoutState != null} -
        - -
        - {/if} - - {#if showMenu} - - moveUp()} - text="Move Up" /> - moveDown()} - text="Move Down" /> - sendToTop()} - text="Send to Top" /> - sendToBottom()} - text="Send to Bottom" /> - - groupWidgets(false)} - text="Group" /> - groupWidgets(true)} - text="Group Horizontally" /> - - - {/if} -{:else} -
        - No workflow loaded -
        -{/if} - - diff --git a/src/lib/components/ComfyBoxWorkflowsView.svelte b/src/lib/components/ComfyBoxWorkflowsView.svelte deleted file mode 100644 index f7c3e4c..0000000 --- a/src/lib/components/ComfyBoxWorkflowsView.svelte +++ /dev/null @@ -1,640 +0,0 @@ - - - - -
        - - - - - - - - - - - - - - - - - - -
        -
        - {#each openedWorkflows.filter(item => item.id !== SHADOW_PLACEHOLDER_ITEM_ID) as item(item.id)} - {@const workflow = workflowState.getWorkflow(item.id)} - - {#if workflow[SHADOW_ITEM_MARKER_PROPERTY_NAME]} -
        - {/if} - - {/each} -
        - -
        -
        -
        -
        - {#if workflow != null && workflow.attrs.queuePromptButtonName != ""} - - {/if} - - - - - - - - - - - - - - - - - - -
        -
        - -
        -
        -
        -
        - - -{#if appSetupPromise} - {#await appSetupPromise} -
        - Loading... -
        - {:catch error} -
        -
        - Error loading app -
        -
        {error}
        - {#if error != null && error.stack} - {@const lines = error.stack.split("\n")} - {#each lines as line} -
        {line}
        - {/each} - {/if} -
        - {/await} -{/if} - - diff --git a/src/lib/components/ComfyComboProperty.svelte b/src/lib/components/ComfyComboProperty.svelte deleted file mode 100644 index 5b9b671..0000000 --- a/src/lib/components/ComfyComboProperty.svelte +++ /dev/null @@ -1,61 +0,0 @@ - - - - - diff --git a/src/lib/components/ComfyGraphErrorList.svelte b/src/lib/components/ComfyGraphErrorList.svelte deleted file mode 100644 index 8028093..0000000 --- a/src/lib/components/ComfyGraphErrorList.svelte +++ /dev/null @@ -1,361 +0,0 @@ - - -
        -
        - -
        -
        - {#each Object.entries(errors.errorsByID) as [nodeID, nodeErrors], i} - {@const first = nodeErrors[0]} - {@const parent = getParentNode(first)} - {@const last = i === Object.keys(errors.errorsByID).length - 1} -
        -
        - {first.comfyNodeType} - {#if parent} - ({parent.title}) - {/if} -
        -
        - {#each nodeErrors as error} - {@const isExecutionError = error.errorType === "execution"} -
        -
        -
        - -
        - {#if missingTag && nodeToJumpTo} -
        -
        Node "{nodeToJumpTo.title}" was missing tag used in workflow:{missingTag}
        -
        Tags on node: {(nodeToJumpTo?.properties?.tags || []).join(", ")}
        -
        - {:else} - {error.message} - {/if} - {#if error.exceptionType} - ({error.exceptionType}) - {/if} - {#if error.exceptionMessage && !isExecutionError} -
        {error.exceptionMessage}
        - {/if} - {#if nodeToJumpTo != null} -
        - - {#if missingTag} - Jump to node: {nodeToJumpTo.title} - {:else} - Find disconnected input - {/if} -
        - {/if} - {#if error.input && !missingTag} -
        - Input: {error.input.name} - {#if error.input.config} - ({getInputTypeName(error.input.config[0])}) - {/if} -
        - - {#if error.input.receivedValue} -
        - Received value: {error.input.receivedValue} -
        - {/if} - {#if error.input.receivedType} -
        - Received type: {error.input.receivedType} -
        - {/if} - {#if error.input.config} -
        - -
        -
        - -
        -
        -
        -
        - {/if} - {/if} -
        -
        -
        - {#if error.traceback} -
        - -
        -
        - {#each error.traceback as line} -
        {line}
        - {/each} -
        -
        -
        -
        - {/if} -
        - {/each} -
        -
        - {/each} -
        -
        - - diff --git a/src/lib/components/ComfyGraphView.svelte b/src/lib/components/ComfyGraphView.svelte deleted file mode 100644 index 6dea59b..0000000 --- a/src/lib/components/ComfyGraphView.svelte +++ /dev/null @@ -1,101 +0,0 @@ - - -
        -
        - - -
        -
        - - - {#if $uiState.activeError != null} - - {/if} - -
        - {#if $uiState.activeError && app?.lCanvas?.activeErrors != null} - - {/if} -
        - - diff --git a/src/lib/components/ComfyNumberProperty.svelte b/src/lib/components/ComfyNumberProperty.svelte deleted file mode 100644 index 8ff877e..0000000 --- a/src/lib/components/ComfyNumberProperty.svelte +++ /dev/null @@ -1,56 +0,0 @@ - - - - - diff --git a/src/lib/components/ComfyPaneView.svelte b/src/lib/components/ComfyPaneView.svelte deleted file mode 100644 index 62bc99d..0000000 --- a/src/lib/components/ComfyPaneView.svelte +++ /dev/null @@ -1,109 +0,0 @@ - - - - -
        -
        - {#if mode === "activeWorkflow"} - - {:else if mode === "graph"} - - {:else if mode === "properties"} - - {:else if mode === "templates"} - - {:else if mode === "queue"} - - {:else} -
        (Blank)
        - {/if} -
        - {#if showSwitcher} -
        - {#each MODES as [theMode, icon]} - - - {/each} -
        - {/if} -
        - - - diff --git a/src/lib/components/ComfyPromptSerializer.ts b/src/lib/components/ComfyPromptSerializer.ts deleted file mode 100644 index ec21339..0000000 --- a/src/lib/components/ComfyPromptSerializer.ts +++ /dev/null @@ -1,317 +0,0 @@ -import type ComfyGraph from "$lib/ComfyGraph"; -import type { ComfyBackendNode } from "$lib/nodes/ComfyBackendNode"; -import type ComfyGraphNode from "$lib/nodes/ComfyGraphNode"; -import { GraphInput, GraphOutput, LGraph, LGraphNode, LLink, NodeMode, Subgraph, type SlotIndex } from "@litegraph-ts/core"; -import type { SerializedPrompt, SerializedPromptInput, SerializedPromptInputsForNode, SerializedPromptInputsAll, SerializedPromptInputs } from "./ComfyApp"; -import type IComfyInputSlot from "$lib/IComfyInputSlot"; -import { Reroute } from "@litegraph-ts/nodes-basic"; -import { ComfyReroute } from "$lib/nodes"; - -function isReroute(node: LGraphNode): boolean { - return node.is(Reroute) || node.is(ComfyReroute) -} - -function isGraphInputOutput(node: LGraphNode): boolean { - return node.is(GraphInput) || node.is(GraphOutput) -} - -export function nodeHasTag(node: LGraphNode, tag: string, checkParents: boolean): boolean { - while (node != null) { - if ("tags" in node.properties) { - if (node.properties.tags.indexOf(tag) !== -1) - return true; - } - - if (!checkParents) { - return false; - } - - // Count parent subgraphs having the tag also. - node = node.graph?._subgraph_node; - } - - return false; -} - -export function isActiveNode(node: LGraphNode, tag: string | null = null): boolean { - if (!node) - return false; - - // Ignore tags on reroutes since they're just movable wires and it defeats - // the convenience gains to have to set tags for all them - // Also ignore graph inputs/outputs - if (!isReroute(node) && !isGraphInputOutput(node) && (tag && !nodeHasTag(node, tag, true))) { - console.debug("Skipping tagged node", tag, node.properties.tags, node) - return false; - } - - if (node.mode !== NodeMode.ALWAYS) { - // Don't serialize muted nodes - return false; - } - - return true; -} - -export function isActiveBackendNode(node: LGraphNode, tag: string | null = null): node is ComfyBackendNode { - if (!(node as any).isBackendNode) - return false; - - if (!isActiveNode(node, tag)) - return false; - - // Make sure this node is not contained in an inactive subgraph, even if the - // node itself is considered active - if (node.graph._is_subgraph) { - const isInsideDisabledSubgraph = Array.from(node.iterateParentSubgraphNodes()).some(n => !isActiveNode(n, tag)) - if (isInsideDisabledSubgraph) - return false; - } - - return true; -} - -export type UpstreamResult = [LGraph | null, LLink | null, number | null, LGraphNode | null]; - -function followSubgraph(subgraph: Subgraph, link: LLink): UpstreamResult { - if (link.origin_id != subgraph.id) - throw new Error("Invalid link and graph output!") - - const innerGraphOutput = subgraph.getInnerGraphOutputByIndex(link.origin_slot) - if (innerGraphOutput == null) - throw new Error("No inner graph input!") - - const nextLink = innerGraphOutput.getInputLink(0) - return [innerGraphOutput.graph, nextLink, 0, innerGraphOutput]; -} - -function followGraphInput(graphInput: GraphInput, link: LLink): UpstreamResult { - if (link.origin_id != graphInput.id) - throw new Error("Invalid link and graph input!") - - const outerSubgraph = graphInput.getParentSubgraph(); - if (outerSubgraph == null) - throw new Error("No outer subgraph!") - - const outerInputIndex = outerSubgraph.inputs.findIndex(i => i.name === graphInput.nameInGraph) - if (outerInputIndex === -1) - throw new Error("No outer input slot!") - - const nextLink = outerSubgraph.getInputLink(outerInputIndex) - return [outerSubgraph.graph, nextLink, outerInputIndex, outerSubgraph]; -} - -export function getUpstreamLink(parent: LGraphNode, currentLink: LLink): UpstreamResult { - if (parent.is(Subgraph)) { - console.debug("FollowSubgraph") - return followSubgraph(parent, currentLink); - } - else if (parent.is(GraphInput)) { - console.debug("FollowGraphInput") - return followGraphInput(parent, currentLink); - } - else if ("getUpstreamLink" in parent) { - const link = (parent as ComfyGraphNode).getUpstreamLink(); - return [parent.graph, link, link?.target_slot, parent]; - } - else if (parent.inputs.length === 1) { - // Only one input, so assume we can follow it backwards. - const link = parent.getInputLink(0); - if (link) { - return [parent.graph, link, 0, parent] - } - } - console.warn("[graphToPrompt] Frontend node does not support getUpstreamLink", parent.type) - return [null, null, null, null]; -} - -export class UpstreamNodeLocator { - constructor(private isTheTargetNode: (node: LGraphNode, currentLink: LLink) => boolean) { - } - - /* - * Traverses the graph upstream from outputs towards inputs across - * a sequence of nodes dependent on a condition. - * - * Returns the node and the output link attached to it that leads to the - * starting node if any. - */ - locateUpstream(fromNode: LGraphNode, inputIndex: SlotIndex, tag: string | null): [LGraphNode | null, LLink | null, number | null, LGraphNode | null] { - let parent = fromNode.getInputNode(inputIndex); - if (!parent) - return [null, null, null, null]; - - const seen = {} - let currentLink = fromNode.getInputLink(inputIndex); - let currentInputSlot = inputIndex; - let currentNode = fromNode; - - const shouldFollowParent = (parent: LGraphNode, currentLink: LLink) => { - return isActiveNode(parent, tag) && !this.isTheTargetNode(parent, currentLink); - } - - // If there are non-target nodes between us and another - // target node, we have to traverse them first. This - // behavior is dependent on the type of node. Reroute nodes - // will simply follow their single input, while branching - // nodes have conditional logic that determines which link - // to follow backwards. - while (shouldFollowParent(parent, currentLink)) { - const [nextGraph, nextLink, nextInputSlot, nextNode] = getUpstreamLink(parent, currentLink); - - currentInputSlot = nextInputSlot; - currentNode = nextNode; - - if (nextLink == null) { - console.warn("[graphToPrompt] No upstream link found in frontend node", parent) - break; - } - - if (nextLink && !seen[nextLink.id]) { - seen[nextLink.id] = true - const nextParent = nextGraph.getNodeById(nextLink.origin_id); - if (!isActiveNode(parent, tag)) { - parent = null; - } - else { - console.debug("[graphToPrompt] Traverse upstream link", parent.id, nextParent?.id, (nextParent as any)?.isBackendNode) - currentLink = nextLink; - parent = nextParent; - } - } else { - parent = null; - } - } - - if (!isActiveNode(parent, tag) || !this.isTheTargetNode(parent, currentLink) || currentLink == null) - return [null, currentLink, currentInputSlot, currentNode]; - - return [parent, currentLink, currentInputSlot, currentNode] - } -} - -export default class ComfyPromptSerializer { - serializeInputValues(node: ComfyBackendNode): SerializedPromptInputs { - // Store input values passed by frontend-only nodes - if (!node.inputs) { - return {} - } - - const inputs = {} - - for (let i = 0; i < node.inputs.length; i++) { - const inp = node.inputs[i]; - const inputLink = node.getInputLink(i) - const inputNode = node.getInputNode(i) - - // We don't check tags for non-backend nodes. - // Just check for node inactivity (so you can toggle groups of - // tagged frontend nodes on/off) - if (inputNode && inputNode.mode !== NodeMode.ALWAYS) { - console.debug("Skipping inactive node", inputNode) - continue; - } - - if (!inputLink || !inputNode) { - if ("config" in inp) { - const defaultValue = (inp as IComfyInputSlot).config?.defaultValue - if (defaultValue !== null && defaultValue !== undefined) - inputs[inp.name] = defaultValue - } - continue; - } - - let serialize = true; - if ("config" in inp) - serialize = (inp as IComfyInputSlot).serialize - - let isBackendNode = node.isBackendNode; - let isInputBackendNode = false; - if ("isBackendNode" in inputNode) - isInputBackendNode = (inputNode as ComfyGraphNode).isBackendNode; - - // The reasoning behind this check: - // We only want to serialize inputs to nodes with backend equivalents. - // And in ComfyBox, the backend nodes in litegraph *never* have widgets, instead they're all inputs. - // All values are passed by separate frontend-only nodes, - // either UI-bound or something like ConstantInteger. - // So we know that any value passed into a backend node *must* come from - // a frontend node. - // The rest (links between backend nodes) will be serialized after this bit runs. - if (serialize && isBackendNode && !isInputBackendNode) { - inputs[inp.name] = inputLink.data - } - } - - return inputs - } - - serializeBackendLinks(node: ComfyBackendNode, tag: string | null): Record { - const inputs = {} - - // Find a backend node upstream following before any number of frontend nodes - const test = (node: LGraphNode) => (node as any).isBackendNode - const nodeLocator = new UpstreamNodeLocator(test) - - // Store links between backend-only and hybrid nodes - for (let i = 0; i < node.inputs.length; i++) { - const [backendNode, linkLeadingTo] = nodeLocator.locateUpstream(node, i, tag) - if (backendNode) { - console.debug("[graphToPrompt] final link", backendNode.id, "-->", node.id) - const input = node.inputs[i] - if (!(input.name in inputs)) - inputs[input.name] = [String(linkLeadingTo.origin_id), linkLeadingTo.origin_slot]; - } - else { - console.warn("[graphToPrompt] Didn't find upstream link!", node.id, node.type, node.title) - } - } - - return inputs - } - - serialize(graph: ComfyGraph, tag: string | null = null): SerializedPrompt { - // Run frontend-only logic - graph.runStep(1) - - const workflow = graph.serialize(); - - const output: SerializedPromptInputsAll = {}; - - // Process nodes in order of execution - for (const node of graph.computeExecutionOrderRecursive(false, null)) { - const n = workflow.nodes.find((n) => n.id === node.id); - - if (!isActiveBackendNode(node, tag)) { - continue; - } - - const inputs = this.serializeInputValues(node); - const links = this.serializeBackendLinks(node, tag); - - console.warn("OUTPUT", node.id, node.comfyClass, node.mode) - - output[String(node.id)] = { - inputs: { ...inputs, ...links }, - class_type: node.comfyClass, - }; - } - - // Remove inputs connected to removed nodes - for (const nodeId in output) { - for (const inputName in output[nodeId].inputs) { - if (Array.isArray(output[nodeId].inputs[inputName]) - && output[nodeId].inputs[inputName].length === 2 - && !output[output[nodeId].inputs[inputName][0]]) { - console.debug("Prune removed node link", nodeId, inputName, output[nodeId].inputs[inputName]) - delete output[nodeId].inputs[inputName]; - } - } - } - - // console.debug({ workflow, output }) - // console.debug(promptToGraphVis({ workflow, output })) - - return { workflow, output }; - } -} diff --git a/src/lib/components/ComfyProperties.svelte b/src/lib/components/ComfyProperties.svelte deleted file mode 100644 index 1ac68b6..0000000 --- a/src/lib/components/ComfyProperties.svelte +++ /dev/null @@ -1,632 +0,0 @@ - - -
        -
        -
        -
        -
        - {target?.attrs?.title || node?.title || "Workflow"} - {#if targetType !== ""} - ({targetType}) - {/if} -
        - {#if node != null} -
        - -
        - {/if} -
        -
        -
        - {#if workflow != null && layoutState != null} - {#key workflow.id} - {#key $layoutStates.refreshPropsPanel} - {#each ALL_ATTRIBUTES as category(category.categoryName)} -
        - - {category.categoryName} - -
        - {#each category.specs as spec(spec.id)} - {#if validWidgetAttribute(spec, target)} -
        - {#if spec.type === "string"} - updateAttribute(spec, target, e.detail)} - on:input={(e) => updateAttribute(spec, target, e.detail)} - disabled={!$uiState.uiUnlocked || !spec.editable} - label={spec.name} - max_lines={spec.multiline ? 5 : 1} - /> - {:else if spec.type === "boolean"} - updateAttribute(spec, target, e.detail)} - disabled={!$uiState.uiUnlocked || !spec.editable} - label={spec.name} - /> - {:else if spec.type === "number"} - updateAttribute(spec, target, e.detail)} - /> - {:else if spec.type === "enum"} - updateAttribute(spec, target, e.detail)} - /> - {/if} -
        - {:else if node} - {#if validNodeProperty(spec, node)} -
        - {#if spec.type === "string"} - updateProperty(spec, e.detail)} - on:input={(e) => updateProperty(spec, e.detail)} - label={spec.name} - disabled={!$uiState.uiUnlocked || !spec.editable} - max_lines={spec.multiline ? 5 : 1} - /> - {:else if spec.type === "boolean"} - updateProperty(spec, e.detail)} - /> - {:else if spec.type === "number"} - updateProperty(spec, e.detail)} - /> - {:else if spec.type === "enum"} - updateProperty(spec, e.detail)} - /> - {/if} -
        - {:else if validNodeVar(spec, node)} -
        - {#if spec.type === "string"} - updateVar(spec, e.detail)} - on:input={(e) => updateVar(spec, e.detail)} - label={spec.name} - disabled={!$uiState.uiUnlocked || !spec.editable} - max_lines={spec.multiline ? 5 : 1} - /> - {:else if spec.type === "boolean"} - updateVar(spec, e.detail)} - disabled={!$uiState.uiUnlocked || !spec.editable} - label={spec.name} - /> - {:else if spec.type === "number"} - updateVar(spec, e.detail)} - /> - {:else if spec.type === "enum"} - updateVar(spec, e.detail)} - /> - {/if} -
        - {/if} - {:else if !node && !target && validWorkflowAttribute(spec)} -
        - {#if spec.type === "string"} - updateWorkflowAttribute(spec, e.detail)} - on:input={(e) => updateWorkflowAttribute(spec, e.detail)} - label={spec.name} - disabled={!$uiState.uiUnlocked || !spec.editable} - max_lines={spec.multiline ? 5 : 1} - /> - {:else if spec.type === "boolean"} - updateWorkflowAttribute(spec, e.detail)} - disabled={!$uiState.uiUnlocked || !spec.editable} - label={spec.name} - /> - {:else if spec.type === "number"} - updateWorkflowAttribute(spec, e.detail)} - /> - {:else if spec.type === "enum"} - updateWorkflowAttribute(spec, e.detail)} - /> - {/if} -
        - {/if} - {/each} - {/each} - {/key} - {/key} - {/if} -
        -
        -
        - - diff --git a/src/lib/components/ComfyQueue.svelte b/src/lib/components/ComfyQueue.svelte deleted file mode 100644 index 0425c79..0000000 --- a/src/lib/components/ComfyQueue.svelte +++ /dev/null @@ -1,402 +0,0 @@ - - - - -
        -

        Prompt Details

        -
        - - {#if selectedPrompt} - { closeModal(); closeDialog(); }} {app} prompt={selectedPrompt} images={selectedImages} {expandAll} /> - {/if} - -
        - - -
        -
        - -
        - {#if mode === "history"} -
        -
        switchDisplayMode("list")} - class:selected={displayMode === "list"}> - -
        -
        switchDisplayMode("grid")} - class:selected={displayMode === "grid"}> - -
        -
        - {/if} -
        - {#if _entries.length > 0} - {#if mode === "history" && displayMode === "grid"} - - {:else} - - {/if} - {:else} -
        -
        -
        - -
        -
        - (No entries) -
        -
        -
        - {/if} -
        -
        -
        switchMode("queue")} - class:selected={mode === "queue"}> - Queue -
        -
        switchMode("history")} - class:selected={mode === "history"}> - History -
        -
        -
        -
        - {#if inProgress} - -
        - Queued prompts: {$queueState.queueRemaining} -
        - {:else} -
        - Nothing queued. -
        - {/if} -
        - {#if queued} -
        - Node: {getNodeInfo($queueState.runningNodeID)} -
        -
        - -
        -
        - -
        -
        - -
        - {/if} -
        -
        - - diff --git a/src/lib/components/ComfyQueueGridDisplay.svelte b/src/lib/components/ComfyQueueGridDisplay.svelte deleted file mode 100644 index ce8e5c3..0000000 --- a/src/lib/components/ComfyQueueGridDisplay.svelte +++ /dev/null @@ -1,142 +0,0 @@ - - -
        -
        -
        - -
        - -
        -
        -
        -
        -
        - {#each allEntries as [entry, image], i} -
        - - handleClick(e, entry, i)} - src={image} - loading="lazy" - alt="thumbnail" /> -
        - {/each} -
        -
        -
        - - diff --git a/src/lib/components/ComfyQueueListDisplay.svelte b/src/lib/components/ComfyQueueListDisplay.svelte deleted file mode 100644 index d8dd4ab..0000000 --- a/src/lib/components/ComfyQueueListDisplay.svelte +++ /dev/null @@ -1,265 +0,0 @@ - - -
        - {#if mode === "history"} -
        -
        - -
        - -
        -
        -
        - {/if} -
        - {#each entries as entry} -
        showPrompt(entry, e)}> - - {#if entry.images.length > 0} -
        - {#each entry.images.slice(0, 4) as image, i} - {@const imageURL = convertComfyOutputToComfyURL(image, true)} -
        - - showLightbox(entry.images, i, e)} - src={imageURL} - loading="lazy" - alt="thumbnail" /> -
        - {/each} -
        - {/if} -
        -
        - {truncateString(entry.message, 20)} -
        -
        - {entry.submessage} -
        -
        -
        -
        - {#if entry.date != null} - - {entry.date} - - {/if} -
        - {/each} -
        -
        - - diff --git a/src/lib/components/ComfySettingsView.svelte b/src/lib/components/ComfySettingsView.svelte deleted file mode 100644 index 15d3dcd..0000000 --- a/src/lib/components/ComfySettingsView.svelte +++ /dev/null @@ -1,260 +0,0 @@ - - -
        -
        - {#each CONFIG_CATEGORIES as category} - -
        selectCategory(category)}> - {capitalize(category)} -
        - {/each} -
        -
        - {#if selectedCategory} - {@const categoryDefs = CONFIG_DEFS_BY_CATEGORY[selectedCategory]} - {#key $configState} -
        - {#each categoryDefs as def} - {@const value = $configState[def.name]} -
        -
        {def.name}
        - {#if def.type === "boolean"} - - setOption(def, e.detail)} /> - - {:else if def.type === "number"} -
        {def.description}
        - - setOption(def, e.detail)} /> - - {:else if def.type === "string"} -
        {def.description}
        - - setOption(def, e.detail)} /> - - {:else if def.type === "string[]"} -
        {def.description}
        - - {value.join(",")} - - {:else if def.type === "enum"} -
        {def.description}
        - - - - {:else} - (Unknown config type {def.type}) - {/if} -
        - {/each} -
        - {/key} - {:else} - Please select a category. - {/if} -
        -
        -
        - -
        -
        - -
        -
        -
        -
        - -
        - - diff --git a/src/lib/components/ComfyTemplates.svelte b/src/lib/components/ComfyTemplates.svelte deleted file mode 100644 index 758895a..0000000 --- a/src/lib/components/ComfyTemplates.svelte +++ /dev/null @@ -1,373 +0,0 @@ - - -
        -
        - {#if _sorted.length > 0} - {@const draggable = $uiState.uiUnlocked} -
        -
        -
        - General -
        -
        - {#each _sorted.filter(i => i.id !== SHADOW_PLACEHOLDER_ITEM_ID) as item(item.id)} - -
        handleClick(item)}> -
        {item.template.metadata.title}
        -
        {item.template.metadata.description}
        -
        - {#if item[SHADOW_ITEM_MARKER_PROPERTY_NAME]} -
        - {/if} - {/each} -
        -
        -
        -
        -
        - -
        -
        -
        - {storageUsedMB.toFixed(2)} / {MAX_LOCAL_STORAGE_MB} MB -
        -
        -
        - {:else} -
        -
        - -
        -
        - (No templates) -
        -
        - {/if} -
        -
        - - diff --git a/src/lib/components/ComfyUnlockUIButton.svelte b/src/lib/components/ComfyUnlockUIButton.svelte deleted file mode 100644 index fbf215b..0000000 --- a/src/lib/components/ComfyUnlockUIButton.svelte +++ /dev/null @@ -1,46 +0,0 @@ - - -
        - -
        - - diff --git a/src/lib/components/Container.svelte b/src/lib/components/Container.svelte deleted file mode 100644 index 3f798a1..0000000 --- a/src/lib/components/Container.svelte +++ /dev/null @@ -1,43 +0,0 @@ - - -{#if container} - {@const edit = $uiState.uiUnlocked && $uiState.uiEditMode === "widgets"} - {@const dragDisabled = zIndex === 0 || $selectionState.currentSelection.length > 2 || !$uiState.uiUnlocked} - {#key $attrsChanged} - {#if edit || !isHidden(container)} - {#if container.attrs.variant === "tabs"} - - {:else if container.attrs.variant === "accordion"} - - {:else} - - {/if} - {/if} - {/key} -{/if} diff --git a/src/lib/components/DropZone.svelte b/src/lib/components/DropZone.svelte deleted file mode 100644 index 2acf441..0000000 --- a/src/lib/components/DropZone.svelte +++ /dev/null @@ -1,76 +0,0 @@ - - - - -{#if !disabled} -
        -{/if} - - diff --git a/src/lib/components/GlobalModal.svelte b/src/lib/components/GlobalModal.svelte deleted file mode 100644 index 9bf1528..0000000 --- a/src/lib/components/GlobalModal.svelte +++ /dev/null @@ -1,71 +0,0 @@ - - -{#each $modalState.activeModals as modal(modal.id)} - onClose(modal)}> - - - - -
        - {#if modal != null && modal.buttons?.length > 0} - {#each modal.buttons as button} - {#if !button.hidden} - - {/if} - {/each} - {/if} - {#if modal.showCloseButton} - - {/if} -
        -
        -{/each} - - diff --git a/src/lib/components/ImageComparison.svelte b/src/lib/components/ImageComparison.svelte deleted file mode 100644 index 8124a91..0000000 --- a/src/lib/components/ImageComparison.svelte +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - diff --git a/src/lib/components/ImageUpload.svelte b/src/lib/components/ImageUpload.svelte deleted file mode 100644 index 85358df..0000000 --- a/src/lib/components/ImageUpload.svelte +++ /dev/null @@ -1,224 +0,0 @@ - - -
        - {#if value} - - {#if label != ""} - - {/if} - {#if value && value.length > 0 && !pending_upload} - {@const firstImage = value[0]} - - {firstImage.filename} - {#key mask} - {#if mask} - - {firstImage.filename} - {/if} - {/key} - {:else} - - - - {/if} - - {/if} -
        - - diff --git a/src/lib/components/JsonView.svelte b/src/lib/components/JsonView.svelte deleted file mode 100644 index e3d0173..0000000 --- a/src/lib/components/JsonView.svelte +++ /dev/null @@ -1,141 +0,0 @@ - - -{#if !items.length} - {brackets[0]}{brackets[1]}{#if !_last},{/if} -{:else if collapsed} - {brackets[0]}...{brackets[1]}{#if !_last && collapsed},{/if} -{:else} - {brackets[0]} -
          - {#each items as i, idx} -
        • - {#if !isArray} - "{i}": - {/if} - {#if getType(json[i]) === 'object'} - - {:else} - {format(json[i])}{#if idx < items.length - 1},{/if} - {/if} -
        • - {/each} -
        - {brackets[1]}{#if !_last},{/if} -{/if} - - diff --git a/src/lib/components/LightboxModal.svelte b/src/lib/components/LightboxModal.svelte deleted file mode 100644 index 54f1426..0000000 --- a/src/lib/components/LightboxModal.svelte +++ /dev/null @@ -1,118 +0,0 @@ - - -
        - - diff --git a/src/lib/components/MaskCanvas.svelte b/src/lib/components/MaskCanvas.svelte deleted file mode 100644 index 4463d7a..0000000 --- a/src/lib/components/MaskCanvas.svelte +++ /dev/null @@ -1,669 +0,0 @@ - - - - - - -
        - {#if !isImageLoaded} -
        - (empty) -
        - {:else} -
        -
        -
        - {#if original} - {@const showOriginal = !clipMask} - - {/if} -
        - -
        -
        - {/if} - {#if isImageLoaded && isBrushShowing && !isPanning} -
        - {/if} -
        - - - - - -
        {clipMask = !clipMask; updateMaskImage()}}> - -
        -
        {toggleFullscreen()}}> - {#if fullscreen} - - {:else} - - {/if} -
        -
        -
        - - diff --git a/src/lib/components/Modal.svelte b/src/lib/components/Modal.svelte deleted file mode 100644 index 63f82a5..0000000 --- a/src/lib/components/Modal.svelte +++ /dev/null @@ -1,99 +0,0 @@ - - - - -
        - - -
        - - - - -
        -
        -
        - - diff --git a/src/lib/components/NumberInput.svelte b/src/lib/components/NumberInput.svelte deleted file mode 100644 index a1b3b84..0000000 --- a/src/lib/components/NumberInput.svelte +++ /dev/null @@ -1,120 +0,0 @@ - - - -
        -
        - {#if label} - - {/if} - -
        -
        - - diff --git a/src/lib/components/OnClickToastItem.svelte b/src/lib/components/OnClickToastItem.svelte deleted file mode 100644 index f2b07ab..0000000 --- a/src/lib/components/OnClickToastItem.svelte +++ /dev/null @@ -1,24 +0,0 @@ - - - -
        {message}
        - - diff --git a/src/lib/components/ProgressBar.svelte b/src/lib/components/ProgressBar.svelte deleted file mode 100644 index 7b5682f..0000000 --- a/src/lib/components/ProgressBar.svelte +++ /dev/null @@ -1,48 +0,0 @@ - - -
        -
        - {text} -
        -
        - - diff --git a/src/lib/components/PromptDisplay.svelte b/src/lib/components/PromptDisplay.svelte deleted file mode 100644 index ee9de16..0000000 --- a/src/lib/components/PromptDisplay.svelte +++ /dev/null @@ -1,307 +0,0 @@ - - -
        -
        - - -
        - - {#each Object.entries(prompt) as [nodeID, inputs], i} - {@const classType = inputs.class_type} - {@const filtered = Object.entries(inputs.inputs).filter((i) => !isInputLink(i[1]))} - {#if filtered.length > 0} -
        - - - {#each filtered as [inputName, input]} - - -
        - {#if isInputLink(input)} - Link {input[0]} -> {input[1]} - {:else if typeof input === "object"} - - - - - {:else if isMultiline(input)} - {@const lines = Math.max(countNewLines(input), input.length / splitLength)} - - {:else} - - {/if} -
        -
        - {/each} -
        -
        -
        - {/if} - {/each} -
        -
        -
        -
        - {#if comfyBoxImages.length > 0} - - - - Output type: {litegraphType} - {#if receiveTargets.length > 0} - sendOutput(e.detail.workflow, e.detail.targetNode)} /> - {:else} -
        No receive output targets found across all workflows.
        - {/if} -
        -
        -
        - {/if} -
        - {#if images.length > 0} -
        - - - -
        - {/if} -
        - - diff --git a/src/lib/components/Sidebar.svelte b/src/lib/components/Sidebar.svelte deleted file mode 100644 index 2fb7c51..0000000 --- a/src/lib/components/Sidebar.svelte +++ /dev/null @@ -1,154 +0,0 @@ - - - - -